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

Alain Schremmer schremmer.alain at gmail.com
Mon Nov 19 17:43:44 CET 2012

On Nov 19, 2012, at 5:23 AM, Peter Dyballa wrote:

> Am 19.11.2012 um 03:18 schrieb Alain Schremmer:
>> So, I must be doing something even more stupid than usual. But what?
> Because you do not update?

As usual, you are correct.

> In my up-to-date TeX Live 2011 your example compiles fine. Could you  
> put the line
> 	\listfiles
> before the \documentclass line and compare your list with mine?  
> Particularly important are the version numbers and dates. Here is  
> mine:
> *File List*
>    book.cls    2007/10/19 v1.4h Standard LaTeX document class
>    bk11.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
> currfile.sty    2012/05/06 v0.6 Provides the file path elements of  
> the current input file
> kvoptions.sty    2011/06/30 v3.11 Key value format for package  
> options (HO)
>  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
> ltxcmds.sty    2011/11/09 v1.22 LaTeX kernel commands for general  
> use (HO)
> kvsetkeys.sty    2012/04/25 v1.16 Key value parser (HO)
> infwarerr.sty    2010/04/08 v1.3 Providing info/warning/error  
> messages (HO)
> etexcmds.sty    2011/02/16 v1.5 Avoid name clashes with e-TeX  
> commands (HO)
> ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)
> filehook.sty    2011/10/12 v0.5d Hooks for input files
> currfile-abspath.sty    2012/05/06 v0.6 Provides absolute file  
> paths, the parent working directory and the main file name
> ***********
> You can see that some files were updated this year… (with tlmgr or  
> TLU)

So, I just upgraded TeXLive-2011 (with "tlmgr update --all") and now  
the console for Sharpe's

	% !TEX TS-program = pdflatexmk
		some text
		\typeout{^^J^^JFILEPATH: \currfileabspath^^J^^J} % or \currfileabsdir

shows FILEPATH but still not currfileabspath

> Besides this, Martin Scharrer, the author of currfile, wrote me upon  
> my bug report, that he has no access to a Mac…
> With \usepackage[abspath]{currfile} you can use \currfileabspath to  
> output the file's path name. Until the bug is eliminated. This works  
> on Mac OS X 10.6.8 (Snow Leopard) with TeX Live 2012 and 2011 (in  
> 2010 currfile does not provide \currfileabspath).

I will try it on my wife's Intel iMac which she just upgraded to 10.6

Grateful regards

More information about the macostex-archives mailing list