Discussion:
Generating a bbl File
Bruce Pourciau
2013-05-03 15:40:34 UTC
Permalink
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?

Bruce
Richard Heck
2013-05-03 18:04:22 UTC
Permalink
Post by Bruce Pourciau
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
Bruce Pourciau
2013-05-03 18:16:31 UTC
Permalink
Post by Bruce Pourciau
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 guess I should update.
Bruce Pourciau
2013-05-03 18:37:02 UTC
Permalink
Post by Bruce Pourciau
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).

Bruce
Richard Heck
2013-05-03 19:23:57 UTC
Permalink
Post by Bruce Pourciau
Post by Bruce Pourciau
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
Bruce Pourciau
2013-05-03 20:58:14 UTC
Permalink
Post by Richard Heck
Post by Bruce Pourciau
Post by Bruce Pourciau
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.
\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
Many thanks, Richard
UD
2013-05-09 21:33:29 UTC
Permalink
I repeat my request to activate this option by default, perhaps with a
warning (shown when the option is actually used) that there are problems
with multiple bibliographies. My colleagues have often complained about
the ornate dance that is required to produce the Latex file /with/ the
content of the .bbl file embedded in it. Since this is a routine
application (until journals accept Lyx files, it must be faced each time
you submit an article to a journal), it would be very helpful to have it
by default.

Ehud Kaplan
Post by Richard Heck
Post by Bruce Pourciau
Post by Richard Heck
Post by Bruce Pourciau
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
\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
Bruce Pourciau
2013-05-26 20:24:16 UTC
Permalink
I repeat my request to activate this option by default, perhaps with a warning (shown when the option is actually used) that there are problems with multiple bibliographies. My colleagues have often complained about the ornate dance that is required to produce the Latex file with the content of the .bbl file embedded in it. Since this is a routine application (until journals accept Lyx files, it must be faced each time you submit an article to a journal), it would be very helpful to have it by default.
Ehud Kaplan
Post by Richard Heck
Post by Bruce Pourciau
Post by Bruce Pourciau
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.
\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
Personally, I wouldn't need or wish to have exporting LaTeX with the bbl file be the default, but given that the bbl file must replace the bibtex bibliography every time one submits a paper for publication, it would indeed seem very useful to have Export > LaTeX (with bib) as a menu choice. How hard would this be?

Bruce
Richard Heck
2013-05-27 14:26:15 UTC
Permalink
Post by Bruce Pourciau
Personally, I wouldn't need or wish to have exporting LaTeX with the
bbl file be the default, but given that the bbl file must replace the
bibtex bibliography every time one submits a paper for publication, it
would indeed seem very useful to have Export > LaTeX (with bib) as a
menu choice. How hard would this be?
This is what Ehud was suggesting.

Someone want to take this to devel? We're approaching 2.1, so this is
the time for this kind of thing to be debated.

Richard

Loading...