William Hanson | 2 Mar 23:56 2015
Picon

Reference Problem Redux

Dear All, 
Last summer Stefano Franchi did something for me that I was unable do.  He created a tex file out of a lyx file and a bib file.  I'm in the same bind again.  The problem, then and now, is that when I try to create a tex file of my LyX document, the resulting tex file does not contain the References that are in the original LyX document.  (All the references are from BiBtex.  Following Stefano's instructions, I have the document itself (a lyx file) and my Bibtex database (a bib file) in the same folder--under My Documents in Windows 7). 

When I use LyX to create a tex file (by selecting  File -> Export -> LaTeX (plain)),  I get an error message saying that the filename "... can cause troubles when running the exported file through LaTeX and opening the resulting DVI".  If I ignore this warning and press on, I get another error message that says, "There are spaces in the paths to your BibTeX database.  BibTeX will be unable to find them".  (The only space in the path in question is between "My" and "Documents" in "My Documents".  I've tried closing this space by renaming "My Documents" in Windows 7 as "MyDocuments", but it doesn't help.  I still get the same two error messages.)  If I ignore this second warning and continue I get a tex file of the document itself but without any of the references.

What should I do? 

Bill
Johannes Böttcher | 2 Mar 21:52 2015
Picon

Re: KOMA Skript

Hi Aline,

the following example patches package `nomencl` to use the commands 
available with KOMA-script. Please test the example in it presented way, 
then implement it in LyX.

You can find more information about KOMA-script in the manual.

Please keep the list in cc.

Johannes

% >8 %%
\documentclass[listof=totoc]{scrbook}
\usepackage{etoolbox}
\usepackage{nomencl}
\makenomenclature
%\tracingpatches%for debugging
%\patchcmd{\thenomenclature}{\chapter*}{\addchap*}{}{}
%removes any preset header, no toc-entry
\patchcmd{\thenomenclature}{\chapter*}{\addchap}{}{}
%sets headers and toc entry
\usepackage{scrlayer-scrpage}
\ihead*{\leftmark}%for debugging visualization
\usepackage{blindtext}
\begin{document}
\tableofcontents
\listoftables
\listoffigures
\printnomenclature

\chapter{Aline}
\nomenclature{h}{Ein Buchstabe}
\captionof{figure}{Beschriftung}
\captionof{table}{andere Beschriftung}
\blindtext[2]
\end{document}
% >8 %%

On 02.03.2015 21:05, Aline Gautrein wrote:
> Hi Johannes,
>
> thanks for the quick answer.
> I have already generated bot: the List of Tables, as well as the List of
> Abbrevations. They are both in the table of contents. I used :
>
> \renewcommand{\nomname}{}
> \addcontentsline{toc}{chapter}{}
>
> If I use this command, the header of the List of Abbrevations is "List of
> Tables"
>
> If I use
>
> \addchap{}
>
> I will get an empty page just with the chapter title and then a new page
> with the chapter title and the corresponding list.
>
> Do you have any idea?
>
> Thanks a lot!
> Aline
>
> Am 2. März 2015 um 20:41 schrieb Johannes Böttcher <
> johannesbottcher <at> gmail.com>:
>
>> Hi,
>>
>> How can you clear the header when issuing an unnumbered chapter/section?
>>
>> The generic way would be to use `\markboth{}{}`. Depending on how you are
>> generating the List of Abbreviations, you could use `\addchap*` (or
>> `\addsec*` for scrartcl) which is the correct way with KOMA script. If you,
>> by any chance, want to have a numbered list, use `\addchap` (`\addsec`).
>>
>>
>> Best regards
>> Johannes
>>
>> PS: Please note, this is an english speaking list.
>>
>>
>> On 02.03.2015 19:52, Aline Gautrein wrote:
>>
>>> Hallo liebe Lyx-User,
>>>
>>> ich schreibe gerade eine Abschlussarbeit mit Lyx.
>>> Ich schreibe mit KOMA Skript.
>>> Ich habe an den Anfang des Dokumentes Listen für Abbildungen, Tabellen
>>> usw.
>>> gesetzt.
>>> Im Ausgabedokument steht im Seitenkopf, wo man sich gerade befindet, also
>>> zB.: "List of Figures" oder "List of Tables".
>>>
>>>
>>> Jetzt mein Problem:
>>> Nach der "List of Tables" folgt noch "List of Abbrevations".
>>> Das Problem: Alle Seiten der "List of Abbrevations" sind mit "List of
>>> Tables" überschriftet.
>>> Weiß jemand, welchen Trenner ich einfügen kann, dass dies nicht mehr
>>> auftritt?
>>> Sowas wie
>>>
>>> \endcommand
>>>
>>> oder so?
>>>
>>> Danke und Grüße
>>> NewUSER
>>>
>>>
>

Aline Gautrein | 2 Mar 21:47 2015

List of Figures to Toc

Hey guys,

I am stil trying to resolve my contents problem:

I now try to use

\addcontentsline{toc}{chapter}{\listoftables}\markboth{}{}
\addcontentsline{toc}{chapter}{\listoffigures}\markboth{}{}

etc...

Now I get the error message:

TeX capacity exceeded, sorry [input stack size=5000].
\addcontentsline{toc}{chapter}{\listoftables}

\markboth{}{}

If you really absolutely need more capacity,

you can ask a wizard to enlarge me.


What can I do?


Greetings!

NewUser


Aline Gautrein | 2 Mar 19:52 2015

KOMA Skript

Hallo liebe Lyx-User,

ich schreibe gerade eine Abschlussarbeit mit Lyx.
Ich schreibe mit KOMA Skript.
Ich habe an den Anfang des Dokumentes Listen für Abbildungen, Tabellen usw. gesetzt.
Im Ausgabedokument steht im Seitenkopf, wo man sich gerade befindet, also zB.: "List of Figures" oder "List of Tables".


Jetzt mein Problem:
Nach der "List of Tables" folgt noch "List of Abbrevations".
Das Problem: Alle Seiten der "List of Abbrevations" sind mit "List of Tables" überschriftet.
Weiß jemand, welchen Trenner ich einfügen kann, dass dies nicht mehr auftritt?
Sowas wie

\endcommand

oder so?

Danke und Grüße
NewUSER
Csikos Bela | 2 Mar 18:45 2015
Picon

Change horizontal spaces in lists without extra package

Hello:

I would like to change the spaces between text and beginning/ending of lists, as well as between list items.

Based on http://en.wikibooks.org/wiki/LaTeX/List_Structures I modified list spacing values, but it
has only partial effect. The space betweens items has changed, but the space between text and list hasn't
disappeared. I would like to decrease the space between text and list beginning/ending to exactly one
linespace. 

I don't want to use enumitem or any other extra package to approach this.

How can I?
Why doesn't the setting in my example's preamble have effect?

I attach an example lyx file and a pdf output.

Thanks,

bcsikos
Attachment (list-example.lyx): application/octet-stream, 3726 bytes
Attachment (list-example.pdf): application/pdf, 19 KiB
Eduardo Bologna | 2 Mar 17:47 2015
Picon

line out of margin

Hi list, I´m using Lyx 2.1.2 in windows 7, my document is article (standar). I´ve adjusted margins to 2.5cm.

Everything goes OK, but when it finds URLs, it does not make a separation, and the line continues beyond the margin, and it cuts off.

For example, this is what I write in lyx:

 

(vídeo 9, 10, 11 y 12 relaciones entre variables, disponibles en: http://..................... s, http://.................6k, http://................._0 y http://..........................g

 

And this is what I get in pdf:


 

I can put "enter" to regulate in Lyx the length of the line, but I expect it automatically done as it happens with all the other lines in the document.

 

Thank you very much

 

Harold Mouras | 2 Mar 16:27 2015
Picon

Question regarding the correction mode of LyX

Dear LyX users, 
I have question regarding the correction mode of Lyx. In a document, I used this correction mode and I would like to export my LyX document in a word document in which I could see my LyX corrections under word corrections ? Is that possible ? 
Thank you very much in advance, 
Best regards, 
Harold Mouras
-- 
Harold Mouras
Professeur des Universités
Psychophysiologie, Neurosciences 
---------------------------------------------------------------------------------------------------------------------
UFR SHSP | Département de Psychologie
EA 7273 - Centre de Recherche en Psychologie | Research Center in Psychology
Université de Picardie Jules Verne | Jules Verne Picardy University
Chemin du Thil | 80 025 Amiens Cedex 1
Phone: +33 (6) 51 52 04 29 | Mail: harold.mouras <at> u-picardie.fr
---------------------------------------------------------------------------------------------------------------------
Scott Kostyshak | 1 Mar 22:07 2015

Beamer: adding a frame before another frame (but not after another frame)

Sometimes I find it difficult to add a frame in beamer. The following
is an example. Open examples/beamer.lyx. What is the easiest way to
add a frame before the frame "Purpose of the Beamer class" ?

I've found two ways:

1. Place the cursor to the left of "Default Overlay Specifications",
press return, enter the title of the new frame, then press alt + p,
return, then press the delete key, then put my cursor back up to the
new frame.

2. Place the cursor to the right of the Section title ("Purposes"),
then press return, then run "separator-insert", then press left, then
press return, then insert a frame.

Does anyone know an easier way? The tip under "Separating frames" is
extremely helpful, but I'm wondering if there is any way to just say
"Insert a new frame here", regardless of the circumstances (e.g.
cursor location, whether there is a frame after or a frame before,
etc.) ?

I think the reason this is difficult is that LyX cannot know whether I
want a new frame, or I want to continue the frame above/below.

Scott

Wolfgang Engelmann | 27 Feb 18:32 2015
Picon

PGFplots in LyX

I tried to use PGFplots in LyX. It is difficult for me, but after some 
time I managed to get one figure drawn.
However, I do not know how to plot this figure in the way floating 
objects are used so that I can cross reference to it and LyX takes care 
of where this figure will be placed.
I did not find a cue in Ian's hint

http://chelseas-roost.co.uk/resources/lyx/PlottingGraphsInLyX.pdf

Does somebody know?

Wolfgang

Patrick Dupre | 27 Feb 16:51 2015
Picon

Beamer

Hello,

How can I control the size of the font in the TOC, ie for Section, subsection?
I use the Madrid package.

Thank for your help.

===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre <at> gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===========================================================================

Michael Berger | 27 Feb 09:20 2015
Picon

language encoding in master and child documents

Hi all,
I have a master document with a number of child documents.
Everything exports to PDF without problem.
Now I found that Documents > Settings > Language Encoding are set different in the master and in some of the child documents.

In the Master document and in some of the Child documents
Language: English (USA)
Encoding: Language Default
Language Package: Default

In some Child documents Encoding is set to: Other: Language Default (no inputenc).

As I said before - there are no problems with my documents but when I tried to use the spell checker it
- either complains not to have the dictionaries
- or can find no miss-spellings.

I have to disagree
- the path to hunspell is set to: /usr/share/hunspell with the .dic and .aff files in /usr/share/ hunspell
- I inserted some heavy typos in text to be checked.

I have no real need of the spell checker (in fact I never used it before) yet would like to know what is wrong here.

PS: I tried spell checking with other LyX documents > same failure. Furthermore placing the .aff and .dic files in other sub-directories of the /usr/share/... path > no remedy.

Interface language = English (USA)
Document language = English
Alternative language = German
Lyx 2.1.2, openSUSE 13.2, KDE 4.14.4

Thanks and Cheers!
Michael



Michael Berger, Dipl. Ing.
Im Borngrund 7a
D-35606 Solms
idest <at> online.de
Tel:  06442 706509
Fax: 004932121247536




Gmane