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

TexLive don't support options: --aux-directory and --include-directory #2

Open
liuyxpp opened this issue Apr 6, 2021 · 5 comments
Open

Comments

@liuyxpp
Copy link

liuyxpp commented Apr 6, 2021

Those options only exists in MiKtex. Texlive only supports an option --output-directory for output, but it lacks an option for include dirs.

@liuyxpp
Copy link
Author

liuyxpp commented Apr 6, 2021

I found a workaround for Texlive, using following option to replace --include-directory

--cnf-line=TEXINPUTS=./tex///:./output///:

@dpo
Copy link

dpo commented Apr 16, 2021

That option helps but I'm not able to build the example on macOS with TeXLive. Almost every \include results in an error.

mossr added a commit that referenced this issue Apr 16, 2021
- Also removed style and lexer submodules
@mossr
Copy link
Owner

mossr commented Apr 16, 2021

I've moved away from make in favor of latexmk to handle any TeX Live vs. MiKTeX issues automatically.

Try pulling the latest changes and running:

latexmk

(see the README if you do not have latexmk installed)

@dpo
Copy link

dpo commented Apr 16, 2021

Works for me! Many thanks!

I found it useful to install dependencies in a Julia environment using

julia --project=tufte_beamer jl/install.jl

and modifying latexmkrc like so:

diff --git a/latexmkrc b/latexmkrc
index 2efd607..637bade 100644
--- a/latexmkrc
+++ b/latexmkrc
@@ -35,7 +35,7 @@ sub mypythontex {
 }

 sub pull_julia_code {
-   system("julia --color=yes jl/pull_julia_code.jl");
+   system("julia --project=tufte_beamer --color=yes jl/pull_julia_code.jl");
 }

 pull_julia_code();

@mossr
Copy link
Owner

mossr commented Apr 16, 2021

That's a great idea. If you'd like to submit a PR I'd be happy to merge it in!

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

3 participants