You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my setup, I employ bib2gls, latexmk, and the VSCode with the LatexWorkshop Extension (On macOS + MacTeX-2023). This combination has been working properly for some time. However, it appears that there is an issue with version 3.7 of bib2gls (https://github.com/nlct/bib2gls/releases/tag/v3.7).
I have a preference for storing auxiliary files (i.e. .aux, .log, .glstex, .glg, etc.) within a subdirectory (i.e. 'build'). Unfortunately, version 3.7 is not working properly with this configuration.
Below is a brief example showcasing a successful build output using version 3.6 alongside latexmk.
------------
Run number 1 of rule 'cusdep aux glstex build/article'
------------
TEXMFOUT not a directory: build
bib2gls 3.6 (2023-09-04)
Reading build/article.aux
Encoding: UTF-8
Reading glossary.bib
Encoding: UTF-8
Writing build/article.glstex
3 entries written to build/article.glstex.
Transcript written to build/article.glg.
Latexmk: applying rule 'biber build/article'...
Rule 'biber build/article': Reasons for rerun
Category 'other':
Rerun of 'biber build/article' forced or previously required
Following that, the output when using version 3.7 of bib2gls in conjunction with latexmk.
------------
Run number 1 of rule 'cusdep aux glstex build/article'
------------
TEXMFOUT not a directory: build
bib2gls 3.7 (2023-09-29)
Reading build/article.aux
Encoding: UTF-8
Error: build/glossary.bib
Transcript written to build/article.glg.
Latexmk: In running custom-dependency rule
to make 'build/article.glstex' from 'build/article.aux'function'run_bib2gls' did not make the destination.
Latexmk: Errors, so I did not complete making targets
Collected error summary (may duplicate other messages):
cusdep aux glstex build/article: Command for'cusdep aux glstex build/article' gave return code -1
I've also attempted only bib2gls: bib2gls --debug -d build --group article
v3.7 output is:
bib2gls version 3.7 (2023-09-29)
Can't find language resource: file:/usr/local/texlive/2023/texmf-dist/scripts/bib2gls/bib2gls.jar!/resources/bib2gls-en-BR.xmlTrying: /resources/bib2gls-en.xmlReading file:/usr/local/texlive/2023/texmf-dist/scripts/bib2gls/resources/bib2gls-en.xmlRunning kpsewhich '--var-value=openin_any'Processed returned: aRunning kpsewhich '--var-value=openout_any'Processed returned: pRunning kpsewhich '--var-value=TEXMFOUTPUT'kpsewhich '--var-value=TEXMFOUTPUT' failed with exit code 1Parsing command line argumentsChecking write access for build/article.glgopenin_any=aopenout_any=pTEXMFOUTPUT=cwd=/Users/user/tmpChecking read access for build/article.logDetected package glossaries-extra 2023/09/29Detected package glossaries 2023/09/29Detected package mfirstuc 2022/10/141 recognised package:amsmath..............................Parsing bib files for resource article.glstex.Error: build/glossary.bibjava.nio.file.NoSuchFileException: build/glossary.bib
v3.6 output is:
bib2gls version 3.6 (2023-09-04)
Can't find language resource: file:/usr/local/texlive/2023/texmf-dist/scripts/bib2gls/bib2gls.jar!/resources/bib2gls-en-BR.xmlTrying: /resources/bib2gls-en.xmlReading file:/usr/local/texlive/2023/texmf-dist/scripts/bib2gls/resources/bib2gls-en.xmlRunning kpsewhich '--var-value=openin_any'Processed returned: aRunning kpsewhich '--var-value=openout_any'Processed returned: pRunning kpsewhich '--var-value=TEXMFOUTPUT'kpsewhich '--var-value=TEXMFOUTPUT' failed with exit code 1Parsing command line argumentsChecking write access for build/article.glgopenin_any=aopenout_any=pTEXMFOUTPUT=cwd=/Users/user/tmpChecking read access for build/article.logDetected package glossaries-extra 2023/09/29Detected package glossaries 2023/09/29Detected package mfirstuc 2022/10/141 recognised package:amsmath..............................3 entries written to build/article.glstex.Transcript written to build/article.glg.
As you can see, in version 3.7, the program is searching for glossary.bib within the subdirectory, rather than in the current directory.
The text was updated successfully, but these errors were encountered:
Hi, thank you for your message. I think it must be the change to the TeX Parser Library (nlct/texparser@707a33c) that's caused the problem. I'll get it fixed.
Dear @nlct ,
In my setup, I employ bib2gls, latexmk, and the VSCode with the LatexWorkshop Extension (On macOS + MacTeX-2023). This combination has been working properly for some time. However, it appears that there is an issue with version 3.7 of bib2gls (https://github.com/nlct/bib2gls/releases/tag/v3.7).
I have a preference for storing auxiliary files (i.e. .aux, .log, .glstex, .glg, etc.) within a subdirectory (i.e. 'build'). Unfortunately, version 3.7 is not working properly with this configuration.
I'm using the following .latexmkrc
Below is a brief example showcasing a successful build output using version 3.6 alongside latexmk.
Following that, the output when using version 3.7 of bib2gls in conjunction with latexmk.
I've also attempted only bib2gls:
bib2gls --debug -d build --group article
v3.7 output is:
v3.6 output is:
As you can see, in version 3.7, the program is searching for glossary.bib within the subdirectory, rather than in the current directory.
The text was updated successfully, but these errors were encountered: