[OS X TeX] Error: I can't write on file '(name)'

Alain Schremmer schremmer.alain at gmail.com
Sat Mar 10 01:43:16 CET 2012


On Mar 9, 2012, at 7:15 PM, Herbert Schulz wrote:

>
> On Mar 9, 2012, at 6:05 PM, Alain Schremmer wrote:
>
>>
>> On Mar 9, 2012, at 5:39 PM, Herbert Schulz wrote:
>>
>>> I've always been amazed that the
>>>
>>> %!TEX root = ../Text-controls/\jobname.tex
>>>
>>> actually works. I wouldn't expect TeXShop (which interprets that  
>>> line BEFORE (pdf)latex ever grabs it) would ever know what  
>>> \jobname even means.
>>
>> John Nairn is the culprit: "Added code to implement %SourceFile  
>> activation of the root file, and thus defined the current TeXShop  
>> root file behavior. Added code to save open \input files when  
>> typesetting." (TeXShop contributors)
>>
>>> Is TeXshop attempting to open the correct 2.pdf file?
>>
>>> As far as I can see, it does without failing,
>>
>>> What is the path to the file it opens? (You can see that path by  
>>> Cmd-Clicking the Window Title for that pdf.)
>>
>> MagnumOpus2FMTo  >  RDAv3-0  >  Texts-contents >  2.tex
>> ...
>
> Howdy,
>
> Huh? I asked about the path to the blank .pdf file not the .tex file?

  Sorry about that.

The path is:

>> MagnumOpus2FMTo  >  RDAv3-0  >  Texts-controls >  1.pdf

which is what it should be namely in the same folder as the root file.

Here is 1.pdf created by LaTeX:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: CreatedByLaTeX.pdf
Type: application/pdf
Size: 26096 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20120309/009326a4/attachment.pdf>
-------------- next part --------------





and here is the very same pdf file but opened by Preview: (Note that  
both mention 8 pages.)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenedByPreview.pdf
Type: application/pdf
Size: 106394 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20120309/009326a4/attachment-0001.pdf>
-------------- next part --------------



More information about the macostex-archives mailing list