Document Classes ⇒ Book class and chapter loading problem
-
- Posts: 274
- Joined: Fri Feb 05, 2010 10:15 pm
Book class and chapter loading problem
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Book class and chapter loading problem
It would really speed things up if you reduced the problem to a minimal working example -- though I'd guess that you'll probably solve the problem yourself in the process of creating it.
-
- Posts: 274
- Joined: Fri Feb 05, 2010 10:15 pm
Book class and chapter loading problem
I understand that there is a great deal of code for each chapter I put up, and I don't want anyone going through all the code, that is absurd to do so. I put the chapters in so that if someone ran the file they could see the output of what I was talking about that's all.
Each chapter begins with
Code: Select all
\chapter{Fractions}
\chapter{Order of Operations}
I gave the book code in case I missed something. I gave the entire code because I thought it is easier than the MWE.
I am always thankful for the help and would never want anyone to do something that is tedious.
Thanks for the comment.
Book class and chapter loading problem
But that's just it. You didn't post the entire code. Your code contains the following lines:coachbennett1981 wrote: I gave the book code in case I missed something. I gave the entire code because I thought it is easier than the MWE.
\input{longdiv(2).tex}
\include{Intro}
\include{ch2}
\include{ch3}
\include{ch4}
\include{ch5}
\include{index}
But you only uploaded ch2.tex, ch3.tex, ch4.tex. So we cannot process your code at all, and so having your code at all is worthless.
Secondly, what do you we would do with your code once we got it? Obviously, we would have to test it, and in order to isolate the problem, we'd eliminate more and more until we see where the problem arises. Isn't it simpler if you just do that on your own before you post?
It may be easier for you just to post parts of your code without bothering to try to do any of the work isolating where the problem is on your own beforehand, but it makes things much harder on those who would otherwise volunteer to help you, such as myself.
Please read "How to Ask Questions the Smart Way".
-
- Posts: 274
- Joined: Fri Feb 05, 2010 10:15 pm
Re: Book class and chapter loading problem
Re: Book class and chapter loading problem
Anyway, I think you have a stray \end{document} in line 255 of ch3.tex, and I suspect that's your problem. But I'm not sure because (1) you removed the original and I'm not entirely sure that I didn't accidentally insert that when playing around with it, and (2) I was never able to test your code as it was.
-
- Posts: 274
- Joined: Fri Feb 05, 2010 10:15 pm
Re: Book class and chapter loading problem
Nick
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Book class and chapter loading problem
That is very bad practice! Those who tried to help wasted their time. The thread is completely useless now. Well, at least it can serve as cautionary tail.coachbennett1981 wrote:I removed this post
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 274
- Joined: Fri Feb 05, 2010 10:15 pm
Re: Book class and chapter loading problem
Nick