I'm currently writting a library that requires a recent xparse (to have the +b option for environments). Unfortunately, my computer does not have such recent xparse, so I downloaded the package here, ran
latex xparse.ins
and I copied the file into my project, together with my library. I put this file in the repository, so now one can simply do:
git clone https://github.com/leo-colisson/proof-at-the-end.git
pdflatex demo.tex && pdflatex demo.tex
to install and test the library, with a recent xparse. Great.
But there is an issue. My distro is pretty recent compared to overleaf (latex 2017 I think?) and unfortunately expl3 (used by xparse) is too old as well on overleaf (it does not provide \c_novalue_tl used by xparse). So my co-author cannot use the library on overleaf. Damn.
So I tried to download the library expl3, ran
latex l3.ins
And I copied the produced expl3.sty in my main project (so now I have expl3.sty, xparse.sty, proof-at-the-end.sty, and demo.tex). Boom! Now everything is broken:
- On my main computer I have an error:
(/usr/share/texlive/texmf-dist/tex/latex/tools/array.sty) (./xparse.sty
(./expl3.sty (/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3-code.tex
! Package expl3 Error: Mismatched expl3 files detected.
See the expl3 package documentation for explanation.
Type H <return> for immediate help.
...
l.106 \next
- On overleaf I now have an error
Package expl3 Error: No expl3 loader detected.
See the expl3 package documentation for explanation.
Type H <return> for immediate help.
... l.126 \next
You have attempted to use the expl3 code directly rather than using the correct loader. Loading of expl3 will abort.
I am really new to Latex 3, so I have no idea how to fix this issue, on both overleaf and on my local install. What is the proper way to "install" locally a recent expl3/xparse on a desktop and on overleaf, so that everybody can use my library by simply downloading a few files?
Thanks!
l3build, which I wrote, makes them on my PC ... – Joseph Wright May 07 '19 at 18:07TEXINPUTSdirectly. In Overleaf you can do this. – Phelype Oleinik May 07 '19 at 18:14TEXINPUTSmunging. – Joachim Breitner Feb 26 '23 at 16:17siunits.tds) in the current directory and usingTEXINPUTS=./l3kernel.tds//:./siunitx.tds//: pdflatex siunit.texdoes not work –exp3-code.texis not picked up from there. – Joachim Breitner Feb 26 '23 at 16:20