General ⇒ Getting the value of the output directory from with Latex
Getting the value of the output directory from with Latex
Is there a technique for getting the value of the output directory from within Latex?
Thanks
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Getting the value of the output directory from with Latex
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
Re: Getting the value of the output directory from with Late
That is perfect.
Re: Getting the value of the output directory from with Late
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

Regards