Does \getpwd command work only with "pdflatex --recorder file.tex" compiling process? I am using the DVI -> PS -> PDF chain to compile in TeXstudio 2.12.6 and the \getpwd is returning empty text.
Follow the Minimum Work Exemple (MWE) that I want compile using the DVI -> PS -> PDF chain:
\documentclass{article}
\usepackage[abspath]{currfile}
\begin{document}
dir: \getpwd
\end{document}
-recorderoption is necessary. Can you make a small example of how you use\getpwd? – egreg Feb 23 '18 at 17:28\getpwdyou just define\thepwd; if you want to print (or use for other purposes) the name of the directory, with its path, you have to use\thepwd. – egreg Feb 23 '18 at 17:51\getpwdis being used, and associate with other files that they are into the directories in same root directory (of that file which has the\getpwdbeing used). Thus I would access by\inputcommand.I want to make it, because I want beware to move the file with the same root directory without edit the
– Adriano Feb 23 '18 at 19:12\inputcommand every time.