Hi John, I don't think I had those square brackets, yesterday, but see at the end about them.
Anyway, I thought of something which gives me a result I'd say is Ok for me: 1. Change the .org files as follows - add a space to empty headings (as written yesterday) - add "texht:nil" to the #+OPTIONS: line (without the quotes) 2. Use the following class definition: #+begin_src emacs-lisp (setq org-latex-classes '(("exam" "\\documentclass[12pt]{exam} % BEGIN exam Defaults [NO-DEFAULT-PACKAGES] [PACKAGES] \\usepackage{palatino} \\extrawidth{.5in} \\extraheadheight{-.75in} \\extrafootheight[-3in]{-.75in} \\pagestyle{headandfoot} \\NoKey \\NumberOfVersions{1} \\renewcommand\\thequestion{\\Roman{question}} \\renewcommand\\thepartno{\\arabic{partno}} \\renewcommand\\partlabel{\\thepartno.} % END exam Defaults " ("\\begin{questions} %% %s" "\\end{questions}") ("\\question %% %s" . "\\question* %% %s") ("\\begin{parts} %% %s" "\\end{parts}") ("\\part %% %s" . "\\part* %% %s")))) #+end_src As you can see, I still have the %s (now without the curly braces) but as a LaTeX comment after %... About the labels, well, I'd just leave them; as long as you don't reference them they shouldn't disturb anything. If you still get those square brackets; I use org-mode from the git repository, as of yesterday or the day before. Are you using org-mode 8.0.2 or earlier? I think this gets fixed by Aaron Ecay's patch from May 02/03. If you don't want to use the git version, download version 8.0.5 from orgmode.org. Does this work for you? Best regards Robert On 07/10/2013 10:46 PM, John Rakestraw wrote: > Hi, Robert -- > > Thanks very much for your work on this. I'm now *much* closer than I > was. However, I'm not there yet. > > Here's a snippet of the tex file that I need: > > --8<---------------cut here---------------start------------->8--- > \begin{questions} > \question > A paragraph here describes this section and tells students how many > terms to > identify. > \begin{parts} > \part > term 1 > \vspace*{\fill} > \part > term 2 > \vspace*{\fill} > \part > term 3 > \vspace*{\fill} > \part > term 4 > \vspace*{\fill} > \part > term 5 > \vspace*{\fill} > \part > term 6 > \vspace*{\fill} > \part > term 7 > \vspace*{\fill} > \part > term 7 > \vspace*{\fill} > \part > term 8 > \end{parts} > \end{questions} > --8<---------------cut here---------------end--------------->8--- > > However, if I use the org-latex-class definition that you suggested, > this is what I get: > > --8<---------------cut here---------------start------------->8--- > \begin[]{questions}{} > \label{sec-1} > \question[]{} > \label{sec-1-1} > A paragraph here describes this section and tells students how many > terms to > identify. > \begin[]{parts}{} > \label{sec-1-1-1} > \part[]{} > \label{sec-1-1-1-1} > term 1 > \vspace*{\fill} > > \part[]{} > \label{sec-1-1-1-2} > term 2 > \vspace*{\fill} > > \part[]{} > \label{sec-1-1-1-3} > term 3 > \vspace*{\fill} > > \part[]{} > \label{sec-1-1-1-4} > term 4 > \vspace*{\fill} > > \part[]{} > \label{sec-1-1-1-5} > term 5 > \vspace*{\fill} > > \part[]{} > \label{sec-1-1-1-6} > term 6 > \vspace*{\fill} > > \part[]{} > \label{sec-1-1-1-7} > term 7 > \vspace*{\fill} > > \part[]{} > \label{sec-1-1-1-8} > term 8 > \vspace*{\fill} > > \part[]{} > \label{sec-1-1-1-9} > term 9 > \newpage > \fillwithdottedlines{\fill} > \newpage > \end{parts} > > --8<---------------cut here---------------end--------------->8--- > > > The additional lines in the tex file add numbers and oddly formatted > text to the pdf. The numbering scheme is also off -- these lines in the > class definition: > > \renewcommand\thequestion{\Roman{question}} > \renewcommand\thepartno{\arabic{partno}} > \renewcommand\partlabel{\thepartno.} > > are supposed to have to have the question-level headings numbered with > Roman numerals and the part-level headings numbered with Arabic numbers. > But for some reason that numbering scheme isn't imposed. > > Perhaps I need either just to write in latex or to work with what Rasmus > is suggesting; I've not had time yet to digest his suggestions. I'm > floating on the edge of my knowledge here.... > > Thanks again. > > --John > -- Robert Klein - Max Planck-Institut für Polymerforschung Ackermannweg 10 55128 Mainz