pitfalls with search paths

2008-01-18 Thread Heidemeier Dr, Joachim
Hi,
I just discovered a pitfall (bug, inconsistency or undocumented feature ?) in 
LyX 1.5.3 under XP (haven't tried under linux yet)
I normally use a preamble include file, located in the same directory as the 
main document, which does the main Documents settings. So my normal preambel 
entry in the LyX-file just says:

\input{preamble-inc}

where the inclusion from the local directory is the normal TeX behavior.
Unfortunately, as i have the preamble-inc together with additional styles in 
one cvs-project another version of that file also exists in the tex-search 
paths.
The - dvi compilation from LyX now uses this version, whereas the latex export 
and external compilation works as expected.
The relevant diff between the two log files is:


-Class scrbook Info: longtable captions redefined on input line 14.
- (preamble-inc.tex

+Class scrbook Info: longtable captions redefined on input line 16.
+(C:\localtexmf\tex\latex\ubastyle\preamble-inc.tex 
(C:\texmf\tex\latex\base\ift+hen.sty

BTW
if I include the preamble with

\input{./preamble-inc}

it also works from within LyX.

I'd propose to make the LyX / TeX behavior consistent.
Greetings from Berlin
--
Dr. Joachim Heidemeier
c/o Umweltbundesamt FG II 2.2
Tel.: +49340 2103-2780
eMail: [EMAIL PROTECTED]


pitfalls with search paths

2008-01-18 Thread Heidemeier Dr, Joachim
Hi,
I just discovered a pitfall (bug, inconsistency or undocumented feature ?) in 
LyX 1.5.3 under XP (haven't tried under linux yet)
I normally use a preamble include file, located in the same directory as the 
main document, which does the main Documents settings. So my normal preambel 
entry in the LyX-file just says:

\input{preamble-inc}

where the inclusion from the local directory is the normal TeX behavior.
Unfortunately, as i have the preamble-inc together with additional styles in 
one cvs-project another version of that file also exists in the tex-search 
paths.
The - dvi compilation from LyX now uses this version, whereas the latex export 
and external compilation works as expected.
The relevant diff between the two log files is:


-Class scrbook Info: longtable captions redefined on input line 14.
- (preamble-inc.tex

+Class scrbook Info: longtable captions redefined on input line 16.
+(C:\localtexmf\tex\latex\ubastyle\preamble-inc.tex 
(C:\texmf\tex\latex\base\ift+hen.sty

BTW
if I include the preamble with

\input{./preamble-inc}

it also works from within LyX.

I'd propose to make the LyX / TeX behavior consistent.
Greetings from Berlin
--
Dr. Joachim Heidemeier
c/o Umweltbundesamt FG II 2.2
Tel.: +49340 2103-2780
eMail: [EMAIL PROTECTED]


pitfalls with search paths

2008-01-18 Thread Heidemeier Dr, Joachim
Hi,
I just discovered a pitfall (bug, inconsistency or undocumented feature ?) in 
LyX 1.5.3 under XP (haven't tried under linux yet)
I normally use a preamble include file, located in the same directory as the 
main document, which does the main Documents settings. So my normal preambel 
entry in the LyX-file just says:

\input{preamble-inc}

where the inclusion from the local directory is the normal TeX behavior.
Unfortunately, as i have the preamble-inc together with additional styles in 
one cvs-project another version of that file also exists in the tex-search 
paths.
The -> dvi compilation from LyX now uses this version, whereas the latex export 
and external compilation works as expected.
The relevant diff between the two log files is:


-Class scrbook Info: longtable captions redefined on input line 14.
- (preamble-inc.tex

+Class scrbook Info: longtable captions redefined on input line 16.
+(C:\localtexmf\tex\latex\ubastyle\preamble-inc.tex 
(C:\texmf\tex\latex\base\ift+hen.sty

BTW
if I include the preamble with

\input{./preamble-inc}

it also works from within LyX.

I'd propose to make the LyX / TeX behavior consistent.
Greetings from Berlin
--
Dr. Joachim Heidemeier
c/o Umweltbundesamt FG II 2.2
Tel.: +49340 2103-2780
eMail: [EMAIL PROTECTED]