Paul A. Rubin wrote:
Laurent Duperval wrote:
Hi,
I want to create a document that contains different printing options for
certain paragraphs.
For example, let's say I have a series of questions and answers, I
want to
produce three types of output:
1. A question followed by the answer.
2. Only show the questions.
3. Only show the questions but as \sections or \subsections, not sure
which yet.
Is this feasible?
Branches handles most if not all of this. See section 6.4 of the User
Guide. You can put questions in the main document, answers in a
branch, and include or exclude the branch. I'm not sure about point 3.
On (3), the easiest thing to do would be to define some environment in
which the questions live, and do something conditional. Exactly how
depends upon exactly what you want to do.
Richard
--
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto