[texhax] \include Chapter1} does not work

Adolf Giger ajgiger at comcast.net
Tue Oct 18 02:37:32 CEST 2011

On 10/17/11 8:32 PM, "Adolf Giger" <ajgiger at comcast.net> 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
> On 10/15/11 10:10 AM, "Herbert Schulz" <herbs at wideopenwest.com> wrote:
>> On Oct 14, 2011, at 2:45 PM, Adolf Giger wrote:
>>> Hi,
>>> I have tried everything  in LaTeX (2010) to make \include{Chapter1} and the
>>> corresponding \includeonly{Chapter1} work as intended. I can see that a
>>> Chapter1.aux file is generated but not the Chapter1.tex file. In the log
>>> file it actually sais "No file Chapter1.tex"
>>> This missing Chapter1.tex may be the reason for my problem, but I have not
>>> been able to make it appear.
>>> Also, I tried to make a .sty file of my "book" folder (which contains the
>>> source files book.tex, book.log etc.,  but usepackage{book} came up with an
>>> error.
>>> I know I am imposing on you, but after many days of struggling, I decided to
>>> write this e-mail.
>>> I would be very greatful for any help. The \includeonly command would be
>>> quite time-saving in the writing of my book.
>>> Adolf Giger, Groveland, MA
>> Howdy,
>> Are all the files in the same directory or is there some directory structure?
>> Can you provide a minimal but compilable set of files that demonstrate the
>> problem?
>> Good Luck,
>> Herb Schulz
>> (herbs at wideopenwest dot com)

More information about the texhax mailing list