Jürgen Spitzmüller wrote:
Konrad Hofbauer wrote:
Compiling manually in LyX's temp directory, everything works just fine,
but letting LyX compile results in the error "! Paragraph ended before
\...@c@bibitem was complete.".
Sure? It does not compile manually here.
Thanks for testing (!!), but it DOES compile manually here (using
TeXLive 2008). See attached (this is after a failed 'buffer-view pdf2'
in LyX).
P.S. I know that the problem goes away when not using IEEEtran or when
not including a reference with an url-filed. But since it works with
Latex, it should also work with LyX.
I suspect your bst file simply isn't compatible with bibentry.
This was my suspicion as well, and the following fix would point into
this direction, too: I now found that disabling CTLuse_alt_spacing in
the IEEEtran BibTeX style makes the file also compile in LyX.
As if LyX would pick up different stuff, but the pdflatex/bibtex
versions in the log files are the same, and Tools->TeX Information also
shows the TeXLive 2008 directory for every class.
The question is why LyX deletes after a pdf/bib/pdf-tex round the
aux-and bbl file.
Very strange ...
/Konrad
P.S. The way LyX compiles documents (how often it runs what ...), is
this a script somewhere (which I could not find), or is this hard-coded?
dhcp-50-70:~ khofbaue$ cd /private/tmp/lyx_tmpdir.JL4822/lyx_tmpbuf0/
dhcp-50-70:/private/tmp/lyx_tmpdir.JL4822/lyx_tmpbuf0 khofbaue$ ls
total 168
drwxr-xr-x 7 khofbaue wheel 238 Jan 23 17:38 .
drwx------ 4 khofbaue wheel 136 Jan 23 17:38 ..
-rw-r--r-- 1 khofbaue wheel 2066 Jan 23 17:38
0_Users_khofbaue_dummy_testbib.bib
-rw-r--r-- 1 khofbaue wheel 1087 Jan 23 17:38 bibentrytest.blg
-rw-r--r-- 1 khofbaue wheel 5698 Jan 23 17:38 bibentrytest.log
-rw-r--r-- 1 khofbaue wheel 61661 Jan 23 17:38 bibentrytest.pdf
-rw-r--r-- 1 khofbaue wheel 622 Jan 23 17:38 bibentrytest.tex
dhcp-50-70:/private/tmp/lyx_tmpdir.JL4822/lyx_tmpbuf0 khofbaue$ rm *.pdf; rm
*.blg; rm *.log
dhcp-50-70:/private/tmp/lyx_tmpdir.JL4822/lyx_tmpbuf0 khofbaue$ pdflatex
bibentrytest
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
%&-line parsing enabled.
entering extended mode
(./bibentrytest.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, german-x-2008-06-18, ngerman-x-2008-06-18, ancientgreek, ibycus, ar
abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc
h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono
greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, la
tin, mongolian, mongolian2a, bokmal, nynorsk, polish, portuguese, romanian, rus
sian, sanskrit, serbian, slovak, slovenian, spanish, swedish, turkish, ukenglis
h, ukrainian, uppersorbian, welsh, loaded.
dhcp-50-70:/private/tmp/lyx_tmpdir.JL4822/lyx_tmpbuf0 khofbaue$ bibtex
bibentrytest
This is BibTeX, Version 0.99c (Web2C 7.5.7)
The top-level auxiliary file: bibentrytest.aux
The style file: IEEEtran.bst
Database file #1: 0_Users_khofbaue_dummy_testbib.bib
-- IEEEtran.bst version 1.12 (2007/01/11) by Michael Shell.
-- http://www.michaelshell.org/tex/ieeetran/bibtex/
-- See the "IEEEtran_bst_HOWTO.pdf" manual for usage information.
Done.
dhcp-50-70:/private/tmp/lyx_tmpdir.JL4822/lyx_tmpbuf0 khofbaue$ pdflatex
bibentrytest
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
%&-line parsing enabled.
entering extended mode
(./bibentrytest.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, german-x-2008-06-18, ngerman-x-2008-06-18, ancientgreek, ibycus, ar
abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc
h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono
greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, la
tin, mongolian, mongolian2a, bokmal, nynorsk, polish, portuguese, romanian, rus
sian, sanskrit, serbian, slovak, slovenian, spanish, swedish, turkish, ukenglis
h, ukrainian, uppersorbian, welsh, loaded.
dhcp-50-70:/private/tmp/lyx_tmpdir.JL4822/lyx_tmpbuf0 khofbaue$ pdflatex
bibentrytest
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
%&-line parsing enabled.
entering extended mode
(./bibentrytest.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, german-x-2008-06-18, ngerman-x-2008-06-18, ancientgreek, ibycus, ar
abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc
h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono
greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, la
tin, mongolian, mongolian2a, bokmal, nynorsk, polish, portuguese, romanian, rus
sian, sanskrit, serbian, slovak, slovenian, spanish, swedish, turkish, ukenglis
h, ukrainian, uppersorbian, welsh, loaded.
dhcp-50-70:/private/tmp/lyx_tmpdir.JL4822/lyx_tmpbuf0 khofbaue$