Conditional printing and formatting

2007-09-21 Thread Laurent Duperval
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?

L


-- 
Prenez la parole en public en étant Speak to an audience while being
moins nerveux et plus convaincant! less nervous and more convincing!
Éveillez l'orateur en vous!Bring out the speaker in you!

Information: [EMAIL PROTECTED]   http://www.duperval.com   (514) 902-0186



Re: Conditional printing and formatting

2007-09-21 Thread Paul A. Rubin

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?

L




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.


/Paul



Re: Conditional printing and formatting

2007-09-21 Thread Richard Heck

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



Re: Conditional printing and formatting

2007-09-21 Thread Laurent Duperval
On Fri, 21 Sep 2007 18:34:00 -0400, Paul A. Rubin wrote:
 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.
 

Thanks, I'll take a look at that to see how to set it up correctly.

Thanks!

L



-- 
Prenez la parole en public en étant Speak to an audience while being
moins nerveux et plus convaincant! less nervous and more convincing!
Éveillez l'orateur en vous!Bring out the speaker in you!

Information: [EMAIL PROTECTED]   http://www.duperval.com   (514) 902-0186



Conditional printing and formatting

2007-09-21 Thread Laurent Duperval
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?

L


-- 
Prenez la parole en public en étant Speak to an audience while being
moins nerveux et plus convaincant! less nervous and more convincing!
Éveillez l'orateur en vous!Bring out the speaker in you!

Information: [EMAIL PROTECTED]   http://www.duperval.com   (514) 902-0186



Re: Conditional printing and formatting

2007-09-21 Thread Paul A. Rubin

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?

L




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.


/Paul



Re: Conditional printing and formatting

2007-09-21 Thread Richard Heck

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



Re: Conditional printing and formatting

2007-09-21 Thread Laurent Duperval
On Fri, 21 Sep 2007 18:34:00 -0400, Paul A. Rubin wrote:
 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.
 

Thanks, I'll take a look at that to see how to set it up correctly.

Thanks!

L



-- 
Prenez la parole en public en étant Speak to an audience while being
moins nerveux et plus convaincant! less nervous and more convincing!
Éveillez l'orateur en vous!Bring out the speaker in you!

Information: [EMAIL PROTECTED]   http://www.duperval.com   (514) 902-0186



Conditional printing and formatting

2007-09-21 Thread Laurent Duperval
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?

L


-- 
Prenez la parole en public en étant Speak to an audience while being
moins nerveux et plus convaincant! less nervous and more convincing!
Éveillez l'orateur en vous!Bring out the speaker in you!

Information: [EMAIL PROTECTED]   http://www.duperval.com   (514) 902-0186



Re: Conditional printing and formatting

2007-09-21 Thread Paul A. Rubin

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?

L




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.


/Paul



Re: Conditional printing and formatting

2007-09-21 Thread Richard Heck

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



Re: Conditional printing and formatting

2007-09-21 Thread Laurent Duperval
On Fri, 21 Sep 2007 18:34:00 -0400, Paul A. Rubin wrote:
> 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.
> 

Thanks, I'll take a look at that to see how to set it up correctly.

Thanks!

L



-- 
Prenez la parole en public en étant Speak to an audience while being
moins nerveux et plus convaincant! less nervous and more convincing!
Éveillez l'orateur en vous!Bring out the speaker in you!

Information: [EMAIL PROTECTED]   http://www.duperval.com   (514) 902-0186