Another question about slashes! If the desired behaviour is to treat
all \ except those that occur as \n literally, what do I do about the
following line from PARAGRAPH_PARAMS?

* \li Params: <INDENT>:  \\noindent|

the \\ should be fixed and become a single \ as we discussed, but how
can my script work out whether the \noindent should be a new line, and
'oindent' or the slash character and then 'noindent'?

What might work is for the script to only change \n that occur on the
end of a comment line into newlines. Since the purpose of the \n is to
force a line break, it makes sense that, in LyXAction.cpp, every \n in
the comments (that is supposed to be a new line)
is followed by a line break, so that the comment is continued on the
next line. This is certainly the case in the handful of \n that I have
seen in LyXAction.cpp.

2009/5/16 Pavel Sanda <sa...@lyx.org>:
> Pavel Sanda wrote:
>> >Here's what I sense is the current situation:
>> >
>> > * any \htmlonly text in the fields needs to be stripped
>
> i see - you mean \htmlonly (&ccedil;)\endhtmlonly . yes, its ok to strip them
> -- or if you feel like to substitute those with the correct LyX characters.
> another leftover from doxygen...
>
> pavel
>

Reply via email to