On Apr 5 2025, at 10:31 am, Scott Kostyshak <skost...@lyx.org> wrote:
> On Sat, Apr 05, 2025 at 10:15:00AM -0400, Alexander Dunlap wrote:
> > On Apr 5 2025, at 9:55 am, Scott Kostyshak <skost...@lyx.org> wrote:
> > > On Sat, Apr 05, 2025 at 09:27:29AM -0400, Alexander Dunlap wrote:
> > > > On Apr 5 2025, at 5:47 am, Scott Kostyshak <skost...@lyx.org> wrote:
> > > > > On Sat, Apr 05, 2025 at 05:15:00AM +0200, Anders Ekberg via lyx-users
> > > > > wrote:
> > > > > > 5 apr. 2025 kl. 00:13 skrev Paul Verschueren
> > > > > > <p...@verschueren.org.uk>:
> > > > > > >
> > > > > > > Scott - Yes, absolutely definitely!!!
> > > > > > > Great idea!
> > > > > > > Paul
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: lyx-users <lyx-users-boun...@lists.lyx.org> On Behalf Of
> > > > > > > Scott Kostyshak
> > > > > > > Sent: 04 April 2025 23:09
> > > > > > > To: LyX Users <lyx-users@lists.lyx.org>
> > > > > > > Subject: Export to an archive for arXiv submission?
> > > > > > >
> > > > > > > Does anyone make submissions to https://arxiv.org/ ?
> > > > > > >
> > > > > > > I wonder if it would be useful to have an easy way to export to a
> > > > > > > .tar.gz, or zip, that is easily uploadable to arXiv.
> > > > > > >
> > > > > > > Would this be useful to others?
> > > > > > >
> > > > > > > Scott
> > > > > > > --
> > > > > > > lyx-users mailing list
> > > > > > > lyx-users@lists.lyx.org
> > > > > > > https://lists.lyx.org/mailman/listinfo/lyx-users
> > > > > >
> > > > > > Doesn’t the export to LyX Archive do exactly that?
> > > > > > /Anders
> > > > >
> > > > > Very similar, but LyX Archive includes a .lyx file. It is for sharing
> > > > > with someone who uses LyX. arXiv wants a .tex file that has nothing to
> > > > > do with LyX.
> > > > >
> > > > > Also, arXiv has some other requirements. I don't know it well, but I
> > > > > think a bbl needs to be included. We also have a script
> > > > > include_bib.py,
> > > > > which I think can be used to get it.
> > > > >
> > > > > Indeed hopefully the code in the LyX archive script and the
> > > > > include_bib
> > > > > script could be shared, since they already does the needed work of
> > > > > collecting the dependencies.
> > > > >
> > > > > Scott
> > > >
> > > > The script https://github.com/djsutherland/arxiv-collector does an
> > > > excellent job of this for LaTeX files in my experience.
> > >
> > > Thanks, I didn't know about that and it indeed seems very useful!
> > > I wonder how it is able to get around the big biblatex issue, that is
> > > avoid this message:
> > > Package biblatex Warning: File '.bbl' is wrong format version
> > > From what I understood, I thought that if you use biblatex you have to
> > > use the same biblatex version that arXiv uses (e.g., currently whatever
> > > version is in TeX Live 2023 now). But now I'm wondering if I
> > > misunderstood something.
> > >
> >
> > I believe it just includes all of the necessary biblatex files in the
> > tarball, so it is not depending on the arXiv version of the biblatex files
> > at all.
>
> Interesting! On arXiv's docs
> (https://info.arxiv.org/help/submit_tex.html#biblatex), they state:
> When uploading the .bbl file for biblatex, it must be compatible with
> the version of biblatex or Biber on the arXiv at the present time. If
> your .bbl for biblatex is not compatible then your submission will
> have errors.
>
> But maybe the point is that arxiv-collector doesn't upload a .bbl and
> works around it by putting it directly in the document or something
> along those lines. No matter how they achieve it, it sounds like a very
> useful feature.
>
> Scott
It does include a bbl, but it also includes copies of all of the biblatex style
files, i.e. biblatex.sty, blx-case-expl3.sty, blx-compat.def, blx-dm.def,
english.lbx, standard.bbx, biblatex.cfg, biblatex.def, numeric.cbx on the most
recent upload I did. So the arXiv version of biblatex is not used at all
because it's shadowed by the version that is included with the upload.
Alex
--
lyx-users mailing list
lyx-users@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-users