Ewan Davies wrote:
> > the output is already nice! a few glitches:
> >
> > 1. '\n' newlines are not correctly detected - compare LFUN_PARAGRAPH_PARAMS 
> > of
> >   the current trunk and your output.
> 
> This problem is due to the dact that the LFUN_PARAGRAPH_PARAMS comment
> contains this string "\\no" (I can't remember the rest sorry) and my
> script finds the "\n" and creates a newline. 

hrrrrm... can you point me to the line where you saw "\no"?
i was talking about line like this:

               <SPACING>: \\paragraph_spacing 
default|single|onehalf|double|other\n

where your script does not produce break at the end of the line.

>Looking at this exposed a
> falw in the doxygen comments that are used in LyXAction.cpp. Are they
> supposed to be written as if a C++ string literal with "\" escaped by
> having "\\" where the output should be a "\"? This is donw in some
> cases (as seen above in the PARAGRAPH_PARAMS example) but not in
> others. It's hard to work round the inconsistent behaviour.

they are supposed to be '\n' as doxygen use newlines this way.
the consistency in new lines is intended this way:
new paragraph for each * \li (like enter in lyx) and end-of-line
(like ctrl+enter) for each '\n' inside the \li environment & at the end of line.

> > 4. send us please gpl statement eg.
> >   http://marc.info/?l=lyx-devel&m=118765575314017

please send the permission as a seperate mail.

> Should I post it to the trac entry of the bug when done or
> attach it to an email to the list? I don't fancy emailing it to the
> list as the code is quite long with the hardcoded .lyx file header as
> a string literal!

its not so big, send it to the list.

> Just as a heads-up I don;t knoe ANYTHING about
> buildsystems or tools like make so I won't be able to write diffs
> which hook the script into the build system, sorry. In a month or so
> when I am less busy I might be able to learn enough about make and
> cmake to do it, but not sooner.

no problem, you are not supposed to do this... frankly i'm bit adverse to
the Georg's proposal of automatical build and would rather keep it manual...

pavel

Reply via email to