Hello.
Is there a technique for getting the value of the output directory from within Latex?
Thanks
General ⇒ Getting the value of the output directory from with Latex
NEW: TikZ book now 40% off at Amazon.com for a short time.

Getting the value of the output directory from with Latex
Hi fundagain,
Welcome to the LaTeX community!
One possibility is the currfile package by Martin Scharrer:
You need to run it once with the option
Regards
Welcome to the LaTeX community!
One possibility is the currfile package by Martin Scharrer:
Code: Select all
% arara: pdflatex: { options: --recorder }
% arara: pdflatex
\documentclass{article}
\usepackage[abspath]{currfile}
\begin{document}
\getpwd\thepwd
\end{document}
--recorder
to enable it to write the path to a file with the extension fls
. In a second run the data are read from that file.Regards
site moderator & package author
Re: Getting the value of the output directory from with Late
Thank you.
That is perfect.
That is perfect.
Re: Getting the value of the output directory from with Late
I do not think the package currfile will help me with my current problem (although I am pleased to now know about it).
The package currfile returns information regarding the current file.
I seek the package output directory, i.e., the value of the command line option -output-directory.
My package needs to locate an auxiliary file generated by a external tool run against the document and the output directory is the only place to store the auxiliary in an independent manner.
Thanks
The package currfile returns information regarding the current file.
I seek the package output directory, i.e., the value of the command line option -output-directory.
My package needs to locate an auxiliary file generated by a external tool run against the document and the output directory is the only place to store the auxiliary in an independent manner.
Thanks
Re: Getting the value of the output directory from with Late
Ah sorry, I misunderstood the question (or rather answered too fast without thinking
) I'm not aware of a way which doesn't mean there isn't one. I guess LuaTeX could propably provide means but that's really not my expertise...
Regards

Regards
site moderator & package author