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?
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