[texhax] \include Chapter1} does not work
Adolf Giger
ajgiger at comcast.net
Fri Oct 21 04:56:57 CEST 2011
Herb,
I tried as suggested, and to make the situation more clear I have attached a
5 page pdf with LaTeX source and pdf files. You may be able to quickly find
the problem in these pages. I am really reluctant to bother you again with
this problem. Or is it something that should be made more clear for other
novices in LaTeX as well?
Thanks Adolf
On 10/18/11 4:39 AM, "Herbert Schulz" <herbs at wideopenwest.com> wrote:
>
> On Oct 17, 2011, at 7:37 PM, Adolf Giger wrote:
>
>>> Herb Schulz et.al.
>>>
>>> Thank you very much for your replies and your efforts to answer my puzzle.
>>> Unfortunately I am still not where I am supposed to be.
>>> Herb Schulz asks about my directory structure, something I am very weak
>>> about.
>>> I can give you the location of my tex files. Starting on my Mac's Home
>>> Folder
>>> it goes like this:
>>> --Documents---AJGTexFolder---AJGbook---{AJGbook.tex, AJGbook.pdf..log...aux
>>> which are all LaTeX generated files here}.
>>> There are other Tex files in Applications(TeX) and in the Home Folder
>>> Library(TeXShop).
>>> I have used amsbook to prepare a rough outline (a mock-up) of my book, and
>>> have been able to make it look to my satisfaction, including titlepage,
>>> table
>>> of contents, intro, 2 chapters with figures, appendix and biblio. I was even
>>> able to tweak chapter, section and subsection numbers and font sizes. All
>>> this
>>> is in the single file named AJGbook.tex.
>>> I suspect that I have to generate something like Chapter1.tex to make
>>> \includeonly and \include work, but doing it from within my existing
>>> AJGbook.tex has not been successful.
>>> Perhaps, do I have to start an entirely new TeX session for each chapter,
>>> using the same preamble I used for AJGbook.tex? And then assemble the book
>>> from these many separate TeX sessions?
>>>
>>> Adolf J Giger
>>
>
> Howdy,
>
> Yes, you supply the ChapterN.tex files. They are ``generated'' the same way
> you ``generated'' the AJGbook.tex files from within TeXShop. You then use
> \include commands so that when you typeset AJGbook.tex using pdflatex (by
> default with TeXshop) and it will read in the ChapterN.tex files you include
> (and if you have an \includeonly command it will not include the ones missing
> there).
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AJGbook1.tex.pdf
Type: application/pdf
Size: 213805 bytes
Desc: not available
URL: <http://tug.org/pipermail/texhax/attachments/20111020/79b76c18/attachment-0001.pdf>
More information about the texhax
mailing list