[OS X TeX] Tabbed files in TeXShop

Ulrich Groh ugroh at icloud.com
Sun Aug 29 11:13:56 EDT 2021



> Am 29.08.2021 um 16:44 schrieb Herbert Schulz <herbs at wideopenwest.com>:
> 
> 
> 
>> On Aug 29, 2021, at 9:07 AM, Ulrich Groh via MacOSX-TeX <macosx-tex at email.esm.psu.edu> wrote:
>> 
>> Trying to use the tabbed file feature in TeXShop I put 
>> 
>> % !TEX TS-program = pdflatexmk
>> % !TEX useTabsWithFiles
>> % !TEX tabbedFile{~/content/1-Theory.tex}(Kap1)
>> 
>> in my TeX-File, restarting, but nothing happens. If I use
>> 
>> % !TEX TS-program = pdflatexmk
>> % !TEX useTabs
>> 
>> everything works fine. 
>> 
>> Ulrich
> 
> Howdy,
> 
> First, is the path to the file correct? I.e., is content really directly in your HOME folder or a sub-folder of the folder with the root file; do you mean . rather than ~?
> 
> How are you reading that second file into your root file; e.g.
> 
> \include{~/content/1-Theory}
> 
> or
> 
> \input{~/content/1-Theory}
> 
> since I get an error if I have ~ there.
> 
> Also, TeXShop 4.67 seems to open the second file in a tab fine if I use the ~ notation in the TeXShop directive seems to work fine in my testing (although, as I said, if I use that notation in \include or \input I get an error and it won't compile.
> 
> Good Luck,
> 
> Herb Schulz
> herbs at wideopenwest.com
> 
> 

Ups, sorry for disturbing your Sunday. Indeed, should be a point . and not a ~ . A rookie mistake.

Ulrich





More information about the MacOSX-TeX mailing list