[OS X TeX] TS-Snow Leopard bug

Herbert Schulz herbs at wideopenwest.com
Wed Oct 21 09:59:40 EDT 2009

On Oct 21, 2009, at 7:08 AM, Themis Matsoukas wrote:

> Here is a problem I noticed in texshop under snow leopard:
> Normally, if you command-click on the name of a window, a pull down
> menu opens with the path to the file. I've been using this a lot to
> navigate to the source file when I use a root file with multiple
> inputed files. In the example below, the source file is
> /Users/themis/WorkStuff/Classes/ChE\ 210/Homework/problem-dbase/
> d1b_2rxns_sp05/problem.tex
> <1.png>
> Next, I use \input{../problem-dbase/d1b_2rxns_sp05/problem.tex} to
> input this file into root file Homework/hw-lecture/root.tex. I typeset
> and synchronize from-pdf-to-source, which causes problem.tex to open
> in TS. Now, the path that is displayed by command-clicking is wrong
> (see below):
> <2.png>
> The path contains an extraneous branch, Homework/hw-lecture. This
> segment refers, NOT to the file that is being displayed but to the
> root file through which this window was opened.  This problem does not
> happen in plain leopard: there, the path displayed on the window is
> always the correct path, whether a file is opened in the finder, or by
> the synchronizer is Texshop. The new behavior is inconvenient because
> I had grown to depend on this trick to navigate through my sizable
> database of homework problems.
> Themis
> Themis Matsoukas
> matsoukas at engr.psu.edu


I can confirm that the path to the ``problem' file has a duplicated  
segment. But that seems to happen in either 10.5 or 10.6. The  
difference is that in 10.5 if I then click on the duplicated directory  
it actually opens up the folder with the file while it doesn't in 10.6.

I attach a simple example. The root.tex file is in the RootFolder and  
a second.tex, which is \input in the root.tex file using a relative  
path, is in SecondFolder at the same level as RootFolder. Compile the  
root.tex file and Cmd-Click, to use synctex, in the second line in the  
pdf output; this opens the second.tex file. Cmd-Click on the proxy  
icon (next to the window title) to show the path with the duplicate  
structure. Under 10.5 when I click on the SecondFolder just before the  
second.tex that folder opens showing the file; under 10.6 the folder  
that holds both subfolders open.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: includetest.zip
Type: application/zip
Size: 4281 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20091021/c5c4bd4a/attachment.zip>
-------------- next part --------------

I'm afraid this is a 10.6 bug (or correct/expected behavior?) but the  
duplicate structure was there in both 10.5 and 10.6.

If the second.tex files is already open in TeXShop it isn't re-opened  
and the path remains the same.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

More information about the MacOSX-TeX mailing list