Skip to content

How to specify a value in default file from command line #9487

Discussion options

You must be logged in to vote

--resource-path did not work to specify images location.

Since I use LuaLatex as backend, finally, I did:

\graphicspath{{\directlua{tex.sprint(os.getenv('GFX_DIR'))}}}

and set env var GFX_DIR:

GFX_DIR=/path/to/folder pandoc ...

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by laurent-martin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants