Apologies for responding to myself, but I realized after writing the
message below that if I use sed to remove the lines with the word
"label" and all of the empty brackets (i.e., =[]= and ={}= ) in the tex
file, then I'm very, very close to what I need. I assume I could write a
function and then call it in the publishing routine?
--John
On 10.07.2013 16:46, 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
--
John Rakestraw