Le Jeudi 1 Novembre 2001 08:04, vous avez écrit : > Laurent Duperval wrote: > > I perused the documentation and nothing is mentioned about conditional > > text. For those who don't know, conditional text is text that is printed > > under certain conditions. This allows you to maintain only one document > > which prints out differently, depending on the purpose for which the > > document is written. For example, you may have two different preambles > > for the same document and put one preamble if you're sending it to your > > cousin, and another if you're sending it to your professor, or whatever. > > You get the drift. > > > > Can this be don in LyX? > > what a question ... ;-) > > http://www.lyx.org/help/IfThen/ifthen.html
Another possibility is to have the main text in one LyX document and have two (or more) other LyX documents that have different preambles and just include the main one. See the included example. -- Je me retire pour éjaculer et ce sont elles qui viennent se battre pour mon foutre qu'elles avalent goulument. Renaud MICHEL
#LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 218 \textclass article \language frenchb \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Section Section \layout Standard Let's say a little something just to show the features. \layout Subsection subsection \layout Section Another section \layout Standard word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word. \the_end
#LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 218 \textclass article \language frenchb \inputencoding auto \fontscheme default \graphics default \paperfontsize 12 \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 2 \papersides 1 \paperpagestyle plain \layout Standard \begin_inset Include \include{ex_main.lyx} \end_inset \the_end
#LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 218 \textclass article \language frenchb \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle empty \layout Standard \begin_inset Include \include{ex_main.lyx} \end_inset \the_end