Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use V2 to use TeXLive's biblatex #1136

Open
HealthyPear opened this issue Jan 22, 2024 · 1 comment
Open

Use V2 to use TeXLive's biblatex #1136

HealthyPear opened this issue Jan 22, 2024 · 1 comment

Comments

@HealthyPear
Copy link

HealthyPear commented Jan 22, 2024

After stumpling upon #893 I tried to follow two routes on my macos:

  1. install biber 2.17 (painful and still didn't work)
  2. tell tectonic to use the biblatex which I installed with tlmgr

The second approach worked using the V1 interface with the -Z search-paths option as suggested by one of the comments,
though this means merging all my tex code into a single file.

Is there a way to achieve this workaround with the V2 interface?
It doesn't seem to like the -Z option even if this is clearly explained in the documentation of the compile subcommand.

This issue might also related to #933.

@HealthyPear HealthyPear changed the title Use V2 to specify TeXLive's biblatex Use V2 to use TeXLive's biblatex Jan 22, 2024
@pkgw
Copy link
Collaborator

pkgw commented Feb 4, 2024

I think that right now, the least-bad way to do this would be to copy all of the files from the biber resource directory (the one that you pass to the -Z search-paths option) into your src/ directory. The engine should just pick up those files and use them.

The key thing to keep in mind for the V2 approach is that the idea is that anyone should be able to run tectonic -X build with the same files and get the same (successful!) results. So all dependencies should be located with the Tectonic.toml fle, and settings that specify/affect the build should all live in that file instead of being specified on the command line.

That's the theory. The problem with biber/biblatex is that introduces a dependency on the "outside-of-Tectonic" world through shell-escape execution, and it's always evolving and breaking its file formats, so that a builtin set of TeX resource files isn't a sufficient answer. But, functionality like -Z search-paths just makes these reproducibility challenges even more complicated, so it doesn't make sense to introduce it in the V2 context. In that context, manually copying is the best answer we have right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants