[OS X TeX] Preview setting

Herbert Schulz via MacOSX-TeX macosx-tex at email.esm.psu.edu
Thu Aug 25 00:17:34 CEST 2022



> On Aug 24, 2022, at 3:05 PM, Robert Bruner <robert.bruner at wayne.edu> wrote:
> 
> Colleagues,
> 
> Feel free to ignore this, since it may be a purely Mac issue, not TeX at all, but it interferes with my use of TeX because it interferes with reading the pdf files TeX produces for me.
> 
> Say I produce a tex file whose origins are obscured by using 
> 
> cat E368.tex > testit.tex
> 
> so that no hidden data about the file E368.tex can be tacked onto my test file.   Then I see
> 
> ~/papers/rrb/[38]: cat E368.tex >testit.tex
> ~/papers/rrb/[39]: ls -lt testit*
> -rw-r--r--  1 rrb  staff   17227 Aug 24 15:51 testit.tex
> 
> After TeXing it using TeXShop,
> 
> ~/papers/rrb/[40]: open testit.tex
> ~/papers/rrb/[41]: ls -lt testit.*
> -rw-r--r--  1 rrb  staff   30353 Aug 24 15:51 testit.log
> -rw-r--r--  1 rrb  staff   68033 Aug 24 15:51 testit.synctex.gz
> -rw-r--r--  1 rrb  staff  169380 Aug 24 15:51 testit.pdf
> -rw-r--r--  1 rrb  staff    1517 Aug 24 15:51 testit.aux
> -rw-r--r--@ 1 rrb  staff   17227 Aug 24 15:51 testit.tex
> 
> it has an xattr, but testit.pdf does not.   But then, invoking Preview on the pdf file gives it one too:
> 
> 
> ~/papers/rrb/[42]: open testit.pdf
> ~/papers/rrb/[43]: ls -lt testit*
> -rw-r--r--  1 rrb  staff   30353 Aug 24 15:51 testit.log
> -rw-r--r--  1 rrb  staff   68033 Aug 24 15:51 testit.synctex.gz
> -rw-r--r--@ 1 rrb  staff  169380 Aug 24 15:51 testit.pdf
> -rw-r--r--  1 rrb  staff    1517 Aug 24 15:51 testit.aux
> -rw-r--r--@ 1 rrb  staff   17227 Aug 24 15:51 testit.tex
> 
> Now, these xattrs aren't harmful;   they may even help by opening the file to the same spot I was looking at last time (just a guess), or some such.
> They're not like the awful xattr's tacked onto pdf files I download from friends' emails, which cause Preview to tell me I am not allowed to open them, even though their permissions are 644 (-rw-r--r--) because of some quarantine which presumably comes from either MS Outlook or Firefox.   Those I deal with by "xattr -c *".
> 
> Still, any insight is welcomed.  I am running Catalina, 10.15.7 (yes, I plan to update as soon as I get done with the paper I am working on).  
> 
> Regards,
> Bob Bruner
> Wayne State Dept of Math
> 
> PS:   Yes, I still drive a stick shift, but since my next car will be electric, that too will end.

Howdy,

What does `ls -lt@` give? That will tell you what the xattr(s) are.

Good Luck,

Herb Schulz
herbs2 at mac.com


----------- Please Consult the Following Before Posting -----------
TeX FAQ: https://www.tug.org/mactex/faq/index.html
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: https://www.tug.org/mactex/index.html
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex


More information about the macostex-archives mailing list.