On 05/03/2013 02:37 PM, Bruce Pourciau wrote:
On May 3, 2013, at 1:04 PM, Richard Heck wrote:

On 05/03/2013 11:40 AM, Bruce Pourciau wrote:
Once a submitted paper has been accepted by a journal, one must replace the 
BibTeX bibliography with a bbl file. What's the easiest way to do this? I have 
instructions around someplace, but has this replacement become more automatic 
(like PDF pdflatex with bbl, as an export option) in the newest versions of LyX?
There's an option to export "LaTeX (with Bib)", which includes the contents of 
the bbl file in the LaTeX file itself. Which is usually what they want.

rh

I just updated to LyX 2.0.5.1, but do not see the export option LaTeX (with 
bib).

Sorry, I forgot, we do not enable it by default.

There are instructions about how to get this in the file include_bib.py, which you will find in your LyX installation (e.g., at /usr/share/lyx/scripts/). The easiest thing to do is to open your preferences file and add these two lines:

\format "ltxbib" "tex" "LaTeX (With Bib)" "" "" "" "document,menu=export"
\converter "pdflatex" "ltxbib" "python -tt $$s/scripts/include_bib.py $$i $$o" "needaux"

in the appropriate places, which should be obvious.

Richard

Reply via email to