[texhax] lists and included files
Christopher W. Ryan
cryan at binghamton.edu
Mon May 30 16:18:14 CEST 2005
As a rank LaTeX amateur, I hesitate to wade in with my first effort at
answering a question, rather than asking one. But I write a similar
exam for my students, and I use the "exam" class. Although it can
rearrange the questions randomly with each compilation, you can turn
that feature off, and they will be printed in the order of the \include
statements, and they will be numbered sequentially; the counter will not
be reset at each \include. The exam class does a lot of other neat
things too. Would this class solve your problem?
[Be careful; last I looked there were two exam classes, from two
different authors, each with slightly different features, with some
overlap in the .sty file names.]
Douglas Lewan wrote:
> I'm trying to write a final exam and I'd like it to be organized by
> chapter, but with questions numbered sequentially.
> That is the "main" file, final.ltx, would essentially look like the
> The problem is that the enumerate environment doesn't seem to exist once
> the chapter files are included. I get the error:
> Something's wrong --- perhaps a missing \item.
> Each chapter file is full of \items.
> What am I doing wrong? It would be unpleasant to have 12 chapters worth
> of questions (with supporting figures, formulas, etc.) all sitting in
> one dirctory.
> Douglas Lewan
> email: d_lewan2000 at yahoo.com <mailto:d_lewan2000 at yahoo.com>
> cell: 908 7207 908
> Todays assembler command : EXOP Execute
> TeX FAQ: http://www.tex.ac.uk/faq
> TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
More information about the texhax