Hi folks,<div><br></div><div>I ran into gost780 bibliography style interacting in a bad way with bibentry package.</div><div>Here is the minimal failing example (it works fine if you replace gost780u with plain):</div><div>
<br></div><div><div>awk@cave:~/bib$ cat bib.tex</div><div>\documentclass[14pt,a4paper]{extreport}</div><div>\usepackage{bibentry}</div><div>\nobibliography*</div><div>\begin{document}</div><div>\bibentry{Wow}</div><div>\bibliographystyle{gost780u}</div>
<div>\nobibliography{bib}</div><div>\end{document}</div><div>awk@cave:~/bib$ cat bib.bib</div><div>@article {Wow,</div><div> author = {John Doe and Jane Doe},</div><div> title = {Cool stuff},</div><div> journal = {Acme},</div>
<div> year = {2010},</div><div> volume = {1},</div><div> pages = {1-2}</div><div>}</div><div>awk@cave:~/bib$ pdflatex bib</div><div>This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009)</div><div>
entering extended mode</div><div>(./bib.tex</div><div>LaTeX2e <2009/09/24></div><div>Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh</div><div>yphenation, german-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, ar</div>
<div>abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc</div><div>h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono</div><div>greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, ku</div>
<div>rmanji, latin, latvian, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, po</div><div>lish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, span</div><div>ish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded.</div>
<div>(/usr/local/texlive/2009/texmf-dist/tex/latex/extsizes/extreport.cls</div><div>Document Class: extreport 1996/10/08 v1.0 Non Standard LaTeX document class</div><div>(/usr/local/texlive/2009/texmf-dist/tex/latex/extsizes/size14.clo)</div>
<div>(/usr/local/texlive/2009/texmf-dist/tex/latex/base/exscale.sty))</div><div>(/usr/local/texlive/2009/texmf-dist/tex/latex/natbib/bibentry.sty)</div><div>No file bib.bbl.</div><div>No file bib.aux.</div><div><br></div>
<div>LaTeX Warning: Citation `Wow' undefined on input line 5.</div><div><br></div><div>No file bib.bbl.</div><div>(./bib.aux)</div><div><br></div><div>LaTeX Warning: There were undefined references.</div><div><br></div>
<div> )</div><div>No pages of output.</div><div>Transcript written on bib.log.</div><div>awk@cave:~/bib$ bibtex bib</div><div>This is BibTeX, Version 0.99c (TeX Live 2009)</div><div>The top-level auxiliary file: bib.aux</div>
<div>The style file: gost780u.bst</div><div>Database file #1: bib.bib</div><div>awk@cave:~/bib$ pdflatex bib</div><div>This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009)</div><div>entering extended mode</div><div>(./bib.tex</div>
<div>LaTeX2e <2009/09/24></div><div>Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh</div><div>yphenation, german-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, ar</div>
<div>abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc</div><div>h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono</div><div>greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, ku</div>
<div>rmanji, latin, latvian, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, po</div><div>lish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, span</div><div>ish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded.</div>
<div>(/usr/local/texlive/2009/texmf-dist/tex/latex/extsizes/extreport.cls</div><div>Document Class: extreport 1996/10/08 v1.0 Non Standard LaTeX document class</div><div>(/usr/local/texlive/2009/texmf-dist/tex/latex/extsizes/size14.clo)</div>
<div>(/usr/local/texlive/2009/texmf-dist/tex/latex/base/exscale.sty))</div><div>(/usr/local/texlive/2009/texmf-dist/tex/latex/natbib/bibentry.sty) (./bib.bbl)</div><div>(./bib.aux)</div><div><br></div><div>LaTeX Warning: Citation `Wow' undefined on input line 5.</div>
<div><br></div><div>! Undefined control sequence.</div><div><argument> \selectlanguageifdefined</div><div> {english} \BibEmph {Doe,~J.} Cool stuff~...</div><div>l.5 \bibentry{Wow}</div>
<div><br></div><div>?</div><div>! Emergency stop.</div><div><argument> \selectlanguageifdefined</div><div> {english} \BibEmph {Doe,~J.} Cool stuff~...</div><div>l.5 \bibentry{Wow}</div>
<div><br></div><div>! ==> Fatal error occurred, no output PDF file produced!</div><div>Transcript written on bib.log.</div><div><br></div></div>