[texhax] More \include{Chapter1}

Adolf Giger ajgiger at comcast.net
Thu Oct 27 22:23:14 CEST 2011


Herb

Thank you very much for your patience. It worked like a charm!
Now I don't have to do my work-around to have the chap1.tex file  produce a
pdf printout. But you have to put in FOUR SPACES in Herb's line!
Also big surprise that % didn't comment-out the whole shibang.

Adolf


On 10/27/11 3:13 PM, "Herbert Schulz" <herbs at wideopenwest.com> wrote:

> 
> On Oct 27, 2011, at 1:19 PM, Adolf Giger wrote:
> 
>> Herb
>> 
>> I have tried it before. Your  suggested % before !TEXroot=AJGbook1.tex
>> comments-out everything afterwards (it becomes pink on my screen).
>> Then I removed the % sign altogether and it asked for a begin command, which
>> I added without success. Then I omitted ! And it didn't understand the T of
>> TEX.  ??
>> 
>> Adolf
> 
> It's supposed to be a comment. It isn't read by LaTeX but rather by TeXShop.
> Also, note that you've removed all the spaces from that line; the spaces are
> important!!!
> 
> % !TEX root = root.tex
> 
> will be passed over by LaTeX but is read by TeXShop.
> 
> Good Luck,
> 
> Herb Schulz
> (herbs at wideopenwest dot com)
> 
> 
> 




More information about the texhax mailing list