Re: footnote numbering [was: Re: footnotes preview in lyx-1.3]

2003-01-21 Thread Jos Matos
On Tuesday 21 January 2003 17:20, Moritz Moeller-Herrmann wrote: The argument goes like this: Mr. Moeller-Herrmann, in footnote 477, your argument is wrong and you have to cite XYZ. At the moment I have to compile the lyx document, check the dvi, find footnote 477, look for and remember

Re: (for Jos!) analysis of bug 16

2003-02-03 Thread Jos Matos
On Saturday 01 February 2003 12:45, Angus Leeming wrote: However, if we can generate such a table then we should be able to convert an old lyx file with this info into the current format. In fact, going from lyxformat 217 Column alignment=8 valignment=0 leftline=1 rightline=2 width=

Re: Table format question (for Jos?)

2003-02-05 Thread Jos Matos
On Wednesday 05 February 2003 13:18, Angus Leeming wrote: José, two questions: lyxconvert_215.py converts from 215 format to 216 format, correct? Yes, at least that was my purpose. ;-) That being the case, I'm a bit confused by the codes in lyxconvert_215.py which talks about: # Update

Re: Table format question (for Jos?)

2003-02-05 Thread Jos Matos
On Wednesday 05 February 2003 15:10, Angus Leeming wrote: [...] Well, that wasn't my intention in asking the original question, but major and minor versions make sense since that would allow you to define your linear series of converters 215.py, 216.py and have special code within them to deal

Re: python tutorial required

2003-02-05 Thread Jos Matos
On Wednesday 05 February 2003 15:15, Angus Leeming wrote: def merge_formula_inset(lines): i=0 while 1: i = find_token(lines, \\begin_inset Formula, i) if i == -1: break if lines[i+1] in math_env: lines[i] = lines[i] + lines[i+1]

Re: python tutorial required

2003-02-05 Thread Jos Matos
On Wednesday 05 February 2003 16:07, Angus Leeming wrote: $ cat test_215.lyx | sed 's/\(.\)$/\1X/' On linux I use cat -E for it, although I could use cat -e and be portable (since you care ;-). So, I guess you don't need to do anything and nor do I in this case either. That is what I

Re: lyxformat 216 and reLyX cont.

2003-02-05 Thread Jos Matos
On Wednesday 05 February 2003 17:32, Angus Leeming wrote: José, reLyX doesn't know about these tokens. Should I therefore ignore them? Or should I do as you do and remove the line? def remove_cursor(lines): i = find_token(lines, '\\cursor', 0) if i != -1: del lines[i] def

Re: lyx2lyx test suite?

2003-02-06 Thread Jos Matos
On Thursday 06 February 2003 00:12, Angus Leeming wrote: Angus Leeming wrote: José, I seem to remember you saying that the hardest part of writing lyx2lyx was accumulating a set of test files. Do you still have them? I'm currently unable to generate any differences when upgrading the reLyX

Re: [patch] Trivial lyx2lyx bug

2003-02-06 Thread Jos Matos
On Thursday 06 February 2003 18:35, Angus Leeming wrote: Index: lib/lyx2lyx/lyx2lyx === RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/lyx2lyx/lyx2lyx,v retrieving revision 1.5 diff -u -p -r1.5 lyx2lyx --- lib/lyx2lyx/lyx2lyx 7

Re: I've been experimenting with the web site

2003-02-07 Thread Jos Matos
On Wednesday 05 February 2003 18:12, Angus Leeming wrote: Don't worry. His default colour scheme is _really_ nasty ;-) It gives a new meaning to dark ages. ;-) -- José Abílio

Re: [patch]: pass $...$ and $$...$$ through reLyX unchanged

2003-02-07 Thread Jos Matos
On Friday 07 February 2003 11:39, Angus Leeming wrote: This one has been in my tree for a while. It does not fix the '$ blah$$ foo $ problem, but it doesn't break anything either. It works by setting a switch, $inside_math, so that reLyX knows whether to enter or leave math mode when