lyx2lyx roundtrip test failing with BibTeX errors

Jürgen Spitzmüller spitz at lyx.org
Thu Aug 27 03:32:18 UTC 2020


Am Dienstag, den 25.08.2020, 12:40 -0400 schrieb Scott Kostyshak:
> On Mon, Aug 24, 2020 at 01:02:36AM -0400, Scott Kostyshak wrote:
> > The following test fails for me:
> > 
> >  
> export/templates/Articles/American_Psychological_Association_%28APA%2
> 9,_v._7_lyx22 (Failed)
> > 
> > To reproduce:
> > 
> >   lyx -e lyx22x
> American_Psychological_Association_%28APA%29,_v._7.lyx && lyx -e pdf2
> American_Psychological_Association_%28APA%29,_v._7.22.lyx 
> > 
> > I get the following errors when exporting from the GUI:
> > 
> >   This is BibTeX, Version 0.99d (TeX Live 2020)
> >   Capacity: max_strings=200000, hash_size=200000, hash_prime=170003
> >   The top-level auxiliary file:
> American_Psychological_Association__28APA_29,_v._7.22.aux
> >   I found no \citation commands---while reading file
> American_Psychological_Association__28APA_29,_v._7.22.aux
> >   I found no \bibdata command---while reading file
> American_Psychological_Association__28APA_29,_v._7.22.aux
> >   I found no \bibstyle command---while reading file
> American_Psychological_Association__28APA_29,_v._7.22.aux
> 
> I'm guessing this happens because we export ERT/preamble stuff in the
> backwards conversion, and in the forwards conversion we
> (understandably)
> do not take into account the ERT. Unless anyone wants to take a
> closer
> look, I plan to invert the test (i.e., mark in the ctests that we
> expect
> this test to fail), especially since it is regarding 2.2.x and not
> even
> 2.3.x.

In this particular case, it is because this file uses Biblatex, so it
is expected that BibTeX fails on it. And the reversion to ERT is the
reason why Biblatex is not detected.

Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200827/082a540c/attachment.asc>


More information about the lyx-devel mailing list