On Tue, Oct 1, 2013 at 5:57 PM, Csikos Bela <[email protected]> wrote: > Hello: > > I have a document with texts in 4 ("European") languages. > > Basically the structure is as follows: > > > Short text (statement) in lang 1. > > Short text (statement) in lang 2. > > Short text (statement) in lang 3. > > Short text (statement) in lang 4. > > > Language independent figure or equation. > > > Short text (statement) in lang 1. > > Short text (statement) in lang 2. > > Short text (statement) in lang 3. > > Short text (statement) in lang 4. > > > Language independent figure or equation. > > > and so on. > > > I would like to compile one-one document for each of the languages, > > that is to get one document only in language 1, another one in language 2 > > etc, but I would like to keep the latex source in one document (since the > > figure parts are edited frequently and I don't want to edit 4 times). > > > What would be the way to go? > Branches? 4 branches, one per language. The tricky part would be the babel settings, but maybe these can be set in a branch, too, or if necessary via some appropriate lines in Preamble that you would comment on/off. (Perhaps LyX can take care of babel automatically, by detecting the text language as set up within the LyX document.)
Liviu > I though I could add some switch/command to the preamble to specify > > which language should be used at compilation and add some marks before > > each "language text" that identifies if the given text has to be compiled. > > Then I could compile the document in the selected language. > > Is this feasible? > > Any advice is welcome. > > Thanks > > bcsikos > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
