lyx2lyx roundtrip test failing with BibTeX errors

Scott Kostyshak skostysh at lyx.org
Tue Aug 25 16:40:51 UTC 2020


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%29,_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.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200825/61d8db3b/attachment-0001.asc>


More information about the lyx-devel mailing list