On Fri, Jan 11, 2002 at 10:55:30PM +0100, Claude Ocquidant wrote:
> I am a newbee in TeX and Lyx but
> I would create a new paragraph style that could pass paramameters to a
> special latex command like this one:
> the latex command works like that
> \traduction {first language text}{traduction text}
LyX currently doesn't support this.
You can use the following hack:
Define two commands:
\def\traductiona#1{\def\traductionfirstarg{#1}}
\def\traductionb#1{\traduction{\traductionfirstarg}{#1}}
And then define two paragraph styles: one for \traductiona and the other for
\traductionb.