On 2011-03-02, Julien Rioux wrote:
> On 02/03/2011 5:21 PM, Tommaso Cucinotta wrote:
>> one possibility could be of course to define a lyx-specific LaTeX macro
>> package which is actually used when generating latex code, for example
>> in the "author style" case, one would generate smth. like \lyxauthor{}
>> or \lyxsection{} similar. Then, these macros could be implemented in a
>> different way depending on the style that is being used.

> Well, in some cases this is already done, but to me that is the wrong 
> approach. I would like to see special-casing being done at the LyX level 
> in the .layout files, not at the latex level.

There is the "ObsoletedBy" keyword for conversion of Styles. See e.g.
dinbrief.layout.

> Most cases where LyX defines \lyxinternal macros are workarounds for 
> latex syntax which is unsupported by LyX.

Or Unicode characters which are unsupported by LaTeX (see
LyXDIR/unicodesymbols)

Günter

Reply via email to