[OS X TeX] command-click on the name of a console file

Peter Dyballa Peter_Dyballa at Web.DE
Sat Nov 17 19:23:30 CET 2012

Am 17.11.2012 um 18:39 schrieb Michael Sharpe:

> Assuming you're using pdflatex and have included
> \usepackage[abspath]{currfile}
> add the line
> \typeout{^^J^^JFILEPATH: \currfileabspath^^J^^J} % or \currfileabsdir
> just before \end{document}.


	\immediate\write16{==\jobname: == \currfiledir == Bonjour, PDF!==}
	Text! -- \currfiledir{} -- \currfilebase{} -- \currfileext{} -- \currfilename{} -- \currfilepath{} --
	\arabic{currfiledepth} --\\ \currfileabsdir{} -- \currfileabspath{} --\\
	\thepwd{} -- \getmainfile\themainfile{} -- \theabspath{} -- \theabsdir{} --

\currfiledir is empty, in my LaTeX file and also in the included file. Changing the minimal class to article makes no other change. \typeout and \immediate\write16 also cannot output the value of \currfiledir when in the body.

(In four or five hours I might have more time. Also to re-read the documentation.)



War springs from unseen and generally insignificant causes.
				– Anonymous

More information about the macostex-archives mailing list