On Nov 13, 2006, at 10:12 AM, Georg Baum wrote:
Bennett Helm wrote:
Export to LaTeX does not work (at least on Mac). I have problems with
Bibliographies: the wrong name shows up in the \bibliography{} field
-- initial letters of the .bib file missing, spaces and periods
added.
Can you please look whether this is a lyx2lyx problem (appears also
in .lyx
file), or a .tex export problem?
It's not a lyx2lyx problem, but .tex export problem. The 1.5 .lyx
file contains:
\begin_inset LatexCommand bibtex
options "jox"
bibfiles "Bibdatabase"
\end_inset
The .tex file 1.5 exports contains:
\newpage{}\bibliographystyle{jox}
\bibliography{ bdatabase}
When I have multiple .bib files, the .lyx file contains this:
\begin_inset LatexCommand bibtex
options "jox"
bibfiles "Bibdatabase,Bibdatabase-helm"
\end_inset
... and the .tex file contains this:
\newpage{}\bibliographystyle{jox}
\bibliography{Bibdatabase,Bibd tab{5 }
In this latter case, when I try to export to .pdf, I get the
following error:
\bibliography{^^L
[EMAIL PROTECTED],[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@}
I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.
A second issue with trying to generate .pdfs: Open a new file. Type a
few characters, and then View > PDF. I get a crash. Here's the
backtrace:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x005ebd8c
boost::shared_ptr<boost::re_detail::basic_regex_implementation<char,
boost::regex_traits<char, boost::cpp_regex_traits<char> > > >::swap
(this=0xa0b09b04, [EMAIL PROTECTED]) at /usr/include/c++/4.0.0/bits/
stl_algobase.h:99
99 __b = __tmp;
(gdb) bt
#0
boost::shared_ptr<boost::re_detail::basic_regex_implementation<char,
boost::regex_traits<char, boost::cpp_regex_traits<char> > > >::swap
(this=0xa0b09b04, [EMAIL PROTECTED]) at /usr/include/c++/4.0.0/bits/
stl_algobase.h:99
#1 0x0011ff10 in boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::do_assign (this=0x5ebd8c,
p1=0x5ebdab "", p2=0x0, f=2427709773) at ../../../../boost/boost/
regex/v4/basic_regex.hpp:525
#2 0x00de50e0 in lyx::LaTeX::scanAuxFile(std::string const&,
lyx::Aux_Info&)::reg1 ()
Previous frame inner to this frame (corrupt stack?)
(gdb)
Bennett