python tutorial required

2003-02-05 Thread Angus Leeming
I read this as saying that a Formula inset in a lyx file in lyxformat 216 should not contain any line breaks. Correct? 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:

Re: image loading in lyx-1.3.0pre3 fails for tgif (at least)

2003-02-05 Thread Michael Schmitt
Christian Ridderström wrote: I tested it with lyx 1.2.2 and it works there. It uses the following to convert the tgif image: #!/bin/sh infile='/afs/md.kth.se/md/home/damek/chr/thesis/images/part3/test2.tgo' infile_base='/afs/md.kth.se/md/home/damek/chr/thesis/images/part3/test2'

Re: image loading in lyx-1.3.0pre3 fails for tgif (at least)

2003-02-05 Thread Angus Leeming
Christian Ridderström wrote: > I tested it with lyx 1.2.2 and it works there. It uses the following to > convert the tgif image: > > #!/bin/sh > infile='/afs/md.kth.se/md/home/damek/chr/thesis/images/part3/test2.tgo' > infile_base='/afs/md.kth.se/md/home/damek/chr/thesis/images/part3/test2' >

Re: image loading in lyx-1.3.0pre3 fails for tgif (at least)

2003-02-05 Thread Christian Ridderström
On Wed, 5 Feb 2003, Michael Schmitt wrote: > Christian Ridderström wrote: > > >I tested it with lyx 1.2.2 and it works there. It uses the following to > >convert the tgif image: > > > >#!/bin/sh > >infile='/afs/md.kth.se/md/home/damek/chr/thesis/images/part3/test2.tgo' >

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: > #

Re: python tutorial required

2003-02-05 Thread José Matos
On Wednesday 05 February 2003 13:53, Angus Leeming wrote: > I read this as saying that a Formula inset in a lyx file in lyxformat 216 > should not contain any line breaks. Correct? Yes. Although this looks sloppy code, the idea is to be able to user older python versions. If I could use

Loading/converting TGif images with lyx-1.3.0pre3 (Qt frontend

2003-02-05 Thread Christian Ridderström
I've had two problems with TGif images and the 1.3/Qt - The converter line didn't work for me from scratch. - Once I got it working, b/w images were inverted in the Lyx window - Color postscript output The first problem -- The problem was that in the following example:

Re: Table format question (for José?)

2003-02-05 Thread Angus Leeming
José Matos wrote: > On Wednesday 05 February 2003 13:18, Angus Leeming wrote: > There are lots of lessons to be learned from previous experience, so I > propose to increment the number file format every time that we make a > change. > > The alternative that table format implements is to have

Re: make install: permission of lyx/xfonts

2003-02-05 Thread Richard Geißler
Angus Leeming wrote: Richard Geißler wrote: So you get exactly what you ask for: higher security, but lower "ease of use". In the case of software installation I would prefer to get the permissions set to reasonable values (so that the installation can be used by normal users). The

Re: make install: permission of lyx/xfonts

2003-02-05 Thread Angus Leeming
On Wednesday 05 February 2003 3:10 pm, Richard Geißler wrote: > What about getting rid of this script. This script provides two features: > > 1) create a directory and the required parent directories. This could be > done by the -p option of mkdir as well. > > 2) create a list of directories.

Re: python tutorial required

2003-02-05 Thread Angus Leeming
José Matos wrote: > On Wednesday 05 February 2003 13:53, Angus Leeming wrote: >> I read this as saying that a Formula inset in a lyx file in lyxformat 216 >> should not contain any line breaks. Correct? > > Yes. > Although this looks sloppy code, the idea is to be able to user older >

Screenshots

2003-02-05 Thread Juergen Spitzmueller
while I was at it, I have also updated the screenshots page. Find it here: http://omnibus.uni-freiburg.de/~spitzmue/lyx-screenshots/screenshots.php3 Regards, Jürgen.

Re: python tutorial required

2003-02-05 Thread Andre Poenitz
On Wed, Feb 05, 2003 at 01:53:05PM +, Angus Leeming wrote: > I read this as saying that a Formula inset in a lyx file in lyxformat 216 > should not contain any line breaks. Correct? > > def merge_formula_inset(lines): > i=0 > while 1: > i = find_token(lines, "\\begin_inset

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

Re: Table format question (for José?)

2003-02-05 Thread Andre Poenitz
On Wed, Feb 05, 2003 at 02:50:15PM +, José Matos wrote: > Or we could have a major and minor file format version number. What do you > (all of you, yes) think? Just incrementing seems to be enough. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have,

Re: Loading/converting TGif images with lyx-1.3.0pre3 (Qt frontend

2003-02-05 Thread Christian Ridderström
On Wed, 5 Feb 2003, Christian Ridderström wrote: > I've had two problems with TGif images and the 1.3/Qt > > - The converter line didn't work for me from scratch. > - Once I got it working, b/w images were inverted in the Lyx window > - Color postscript output > A small patch to

Re: Loading/converting TGif images with lyx-1.3.0pre3 (Qt frontend

2003-02-05 Thread Angus Leeming
Christian Ridderström wrote: > A small patch to lib/configure.m4 fixes this: > > /space/lyx-devel/lib>cvs diff configure.m4 > Index: configure.m4 > === > RCS file: /cvs/lyx/lyx-devel/lib/configure.m4,v > retrieving revision 1.60 >

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] +

Re: python tutorial required

2003-02-05 Thread José Matos
On Wednesday 05 February 2003 15:24, Andre Poenitz wrote: > I read it like that as well, but this is no math parser restriction > as far as I know. The file is well read with present lyx, but I tried as much as I could to make a null diff between two consecutives writes of the documents. That

Re: python tutorial required

2003-02-05 Thread Andre Poenitz
On Wed, Feb 05, 2003 at 03:47:41PM +, José Matos wrote: > On Wednesday 05 February 2003 15:24, Andre Poenitz wrote: > > I read it like that as well, but this is no math parser restriction > > as far as I know. > > The file is well read with present lyx, but I tried as much as I could to >

Re: python tutorial required

2003-02-05 Thread Angus Leeming
José Matos wrote: > 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: >> >>

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: python tutorial required

2003-02-05 Thread Angus Leeming
José Matos wrote: > 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 ;-). chuckle. more a case of don't know better. -- Angus

Re: make install: permission of lyx/xfonts

2003-02-05 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | On Wednesday 05 February 2003 3:10 pm, Richard Geißler wrote: | > What about getting rid of this script. This script provides two features: | > | > 1) create a directory and the required parent directories. This could be | > done by the -p option of

Re: \eqref support

2003-02-05 Thread Dekel Tsur
On Mon, Feb 03, 2003 at 10:56:13AM +0100, Andre Poenitz wrote: > On Sat, Feb 01, 2003 at 05:20:16PM +0200, Dekel Tsur wrote: > > LyX supports \prettyref which is more general than \eqref. > > In my opinion, there is no need for \eqref support. > > But is does no harm and people obviously use

lyxformat 216 and reLyX cont.

2003-02-05 Thread Angus Leeming
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 remove_vcid(lines): i = find_token(lines, '\\lyxvcid', 0)

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

Re: I've been experimenting with the web site

2003-02-05 Thread José Matos
On Wednesday 05 February 2003 08:38, Allan Rae wrote: Hi Allan, > and you can see what a mess I've made here: > > http://www.itee.uq.edu.au/~rae/www-user/ probably it is just me but I got always timeout when trying to see that site. > Allan. (ARRae) -- José Abílio

Re: I've been experimenting with the web site

2003-02-05 Thread Angus Leeming
José Matos wrote: > On Wednesday 05 February 2003 08:38, Allan Rae wrote: > Hi Allan, > >> and you can see what a mess I've made here: >> http://www.itee.uq.edu.au/~rae/www-user/ > probably it is just me but I got always timeout when trying to see that > site. Don't worry. His default colour

Re: lyxformat 216 and reLyX cont.

2003-02-05 Thread Angus Leeming
José Matos wrote: >> reLyX doesn't know about these tokens. Should I therefore ignore them? Or >> should I do as you do and remove the line? > Ignore them. They were produced by lyx. >> This is the last outstanding issue: >> Here's the code. Shall I simply append a '{}' after $name for all of

Re: Gnome frontend

2003-02-05 Thread Martin Craig
Hi, Thanks for the comments, I've enclosed a modified patch. > 1) your patch seems to introduce some changes in the standard header for > some reason ? Not sure what you mean here, though I did copy the Dialogs* files across from the xforms directory which makes it look like I've changed the

Re: Gnome frontend

2003-02-05 Thread Angus Leeming
Martin Craig wrote: Evenin'! > Thanks for the comments, I've enclosed a modified patch. Some more (trivial) commentary, again concerning the header... diff -uN gnome_save/lyx_gui.C gnome_new/lyx_gui.C --- gnome_save/lyx_gui.CThu Jan 1 01:00:00 1970 +++ gnome_new/lyx_gui.C Wed Feb 5

Re: lyx graphical tour

2003-02-05 Thread Mike Ressler
On Wed, 5 Feb 2003, Juergen Spitzmueller wrote: > Angus Leeming wrote: > > 'I strongly suggest you use the middle mouse button (in Netscape) to open > > the image in a new browser window to avoid losing your place' > > Well, this is the original "historical" text. I guess the 1999 unix browsers

Re: Loading/converting TGif images with lyx-1.3.0pre3 (Qt frontend

2003-02-05 Thread Christian Ridderström
On Wed, 5 Feb 2003, Angus Leeming wrote: > Christian Ridderström wrote: > > I'm not happy. You've showed me an elegant and foolproof way of doing this, > so why not use it: > > \\converter tgif eps 'tgif -stdout -print -color -eps $$i > $$o' "" > \\converter tgif png 'tgif -stdout -print

Bug: lyx takes all processing after lyxpipe.

2003-02-05 Thread Joao Luis Meloni Assirati
Hi, In current 1.3.0pre3, lyx takes 99% of CPU usage after reading a command from lyxpipe. Recipe: 1- configure lyx to use pipes (I use ~/server.in and ~/server.out). 2- open the User's Guide. 3- execute from the shell echo LYXCMD:any:paragraph-goto:10 > .lyx/server.in 4- top shows lyx

Re: lyx graphical tour

2003-02-05 Thread John Levon
On Wed, Feb 05, 2003 at 12:38:57PM +, Angus Leeming wrote: > Is there not a way to instruct the browser to open a new window? Although Please no... john

Re: will lyx-qt and lyx-xforms rpms be incompatible?

2003-02-05 Thread John Levon
On Wed, Feb 05, 2003 at 10:54:13AM +0100, Andre Poenitz wrote: > Having something to work on would have made me much happier and I > certainly would not have considered leaving lyx development. I'm still at a complete loss why you had to stop working just because you couldn't commit to the main

Re: Bug: lyx takes all processing after lyxpipe.

2003-02-05 Thread Angus Leeming
Joao Luis Meloni Assirati wrote: > In current 1.3.0pre3, lyx takes 99% of CPU usage after reading a command > from lyxpipe. Recipe: > > 1- configure lyx to use pipes (I use ~/server.in and ~/server.out). > 2- open the User's Guide. > 3- execute from the shell > >echo

Re: will lyx-qt and lyx-xforms rpms be incompatible?

2003-02-05 Thread John Levon
On Wed, Feb 05, 2003 at 10:11:19AM +, Angus Leeming wrote: > We have been talking about using cvs branches for ages but nobody has ever > bothered, simply because noone else would bother to check out this branch > and either (a) comment or (b) help. Nonetheless, the branches we have did

Re: reLyX and minipage

2003-02-05 Thread Georg Baum
Am Mittwoch, 5. Februar 2003 11:18 schrieb Angus Leeming: > As an aside to the rest of the developers: adding stuff like this leads > to a bastardisation of the lyx format output by reLyX. Most of it is > still lyxformat 215 with occasional sprinklings of later formats. Will > this confuse lyx2lyx

Re: I've been experimenting with the web site

2003-02-05 Thread John Levon
On Wed, Feb 05, 2003 at 05:58:31PM +, Jos? Matos wrote: > > http://www.itee.uq.edu.au/~rae/www-user/ Comments : The chosen scheme doesn't seem to be properly persistent. Cookie problem ? I assume the default you have (Bowser's castle ?) isn't going to be the default. Light blue theme

Re: lyx graphical tour

2003-02-05 Thread Juergen Spitzmueller
Mike Ressler wrote: > Wow! People are arguing about my old Graphical Tour. Cool! When I wrote > the original LGT, I was using a Sun Sparc 5 with some old Netscape > browser, and it took _forever_ to load one of those pages. In these days > with 2 GHz processors, pop-ups (and blockers), PHP, and

Re: Loading/converting TGif images with lyx-1.3.0pre3 (Qt frontend

2003-02-05 Thread Christian Ridderström
On Wed, 5 Feb 2003, Christian Ridderström wrote: > On Wed, 5 Feb 2003, Angus Leeming wrote: > > > Christian Ridderström wrote: > > > > I'm not happy. You've showed me an elegant and foolproof way of doing this, > > so why not use it: > > > > \\converter tgif eps 'tgif -stdout -print -color

lyx2lyx test suite?

2003-02-05 Thread Angus Leeming
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 char styles data to lyxformat 2.17. However, I'm not convinced I've got a complete

Re: Bug: lyx gets stuck while "save as".

2003-02-05 Thread John Levon
On Wed, Feb 05, 2003 at 10:10:35AM -0200, Joao Luis Meloni Assirati wrote: > This seems to be an important bug. I only tested it with qt frontend. You forgot to give the Qt version (people please do this as a matter of course !) > "Could not read direcory" with a button "OK", but pressing it

Re: Bug: lyx gets stuck while "save as".

2003-02-05 Thread Joao Luis Meloni Assirati
On Wed, 5 Feb 2003, John Levon wrote: > You forgot to give the Qt version (people please do this as a matter of > course !) Sorry, John. My qt version is 2.3.1. > Can't reproduce with Qt 3.0.5 > > perhaps http://www.trolltech.com/developer/changes/3.0.2.html > > "Fixed endless loop" Probably

Re: 1.3.0-pre3 print dialog oddity

2003-02-05 Thread John Levon
On Wed, Feb 05, 2003 at 01:29:26PM +0100, Helge Hafting wrote: > When I type "10" into the to-field, the "5" gets reset to "1" > in the from-field. Lars, can I apply the below please ? It is very low risk, and fixes a really really braindead behaviour. john Index:

Re: Bug: lyx gets stuck while "save as".

2003-02-05 Thread John Levon
On Wed, Feb 05, 2003 at 09:15:58PM -0200, Joao Luis Meloni Assirati wrote: > > "Fixed endless loop" > > Probably it is it then. We could probalby work around this. Please remind me after 1.3.0 is released. regards john

LyX translations

2003-02-05 Thread Michael Schmitt
Hi, I have informed most translators about the forthcoming release. Some of them have already sent updates, some have promised to send them as soon as possible. I think we can expect a few more updates until Friday. Kind regards, Michael

Re: 1.3.0-pre3 print dialog oddity

2003-02-05 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | On Wed, Feb 05, 2003 at 01:29:26PM +0100, Helge Hafting wrote: | | > When I type "10" into the to-field, the "5" gets reset to "1" | > in the from-field. | | Lars, can I apply the below please ? It is very low risk, and fixes a | really really braindead

Re: Bug: lyx takes all processing after lyxpipe.

2003-02-05 Thread Michael Koziarski
On Wed, Feb 05, 2003 at 06:50:39PM -0200 or thereabouts, Joao Luis Meloni Assirati wrote: > > Hi, > > In current 1.3.0pre3, lyx takes 99% of CPU usage after reading a command > from lyxpipe. Recipe: > > 1- configure lyx to use pipes (I use ~/server.in and ~/server.out). > 2- open the User's

Re: [PATCH] Update UPGRADING

2003-02-05 Thread Angus Leeming
On Tuesday 04 February 2003 2:50 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> bugs to the users list or to the devel list? > > Good question. Maybe devel. > > Angus, feel free to take over the file and change whatever seems > reasonable

Re: Bug: lyx takes all processing after lyxpipe.

2003-02-05 Thread Angus Leeming
Angus Leeming wrote: >> Can someone confirm? Should I bug bugzilla? > > Yes, I can confirm and am investigating. It happens for both frontends, so > is probably in lyxserver.C itself. I've reverted the changes I made in > September last year and am currently recompiling. Ok, I backed out the

Re: lyx2lyx test suite?

2003-02-05 Thread Angus Leeming
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 char > styles data to lyxformat 2.17. However, I'm not

Re: Bug: lyx takes all processing after lyxpipe.

2003-02-05 Thread John Levon
On Wed, Feb 05, 2003 at 11:55:54PM +, Angus Leeming wrote: > With this change everything seems to be fine for both frontends (although I > notice that Qt does not remove the pipes when lyx exits...) known bug, I have a patch for 1.3.1 regards john

Re: Bug: lyx takes all processing after lyxpipe.

2003-02-05 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Angus Leeming wrote: | >> Can someone confirm? Should I bug bugzilla? | > | > Yes, I can confirm and am investigating. It happens for both frontends, so | > is probably in lyxserver.C itself. I've reverted the changes I made in | > September last year

Re: Bug: lyx takes all processing after lyxpipe.

2003-02-05 Thread Angus Leeming
On Thursday 06 February 2003 1:07 am, Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > | Angus Leeming wrote: > | >> Can someone confirm? Should I bug bugzilla? > | > > | > Yes, I can confirm and am investigating. It happens for both frontends, > | > so is probably in

主机托管春节全国最低价3800元/年

2003-02-05 Thread 主机托管
Èç¹ûÄú¶ÔÖ÷»úÍйܲ»¸ÐÐËȤ£¬Çëɾ³ý£¡ÎÒÃÇÍò·Ö±§Ç¸£¬Íû¼ûÁ£¡ Ç×°®µÄÅóÓÑ£ºÄúºÃ£¡ ÕâÊÇÀ´×ÔÕ¿½­ÐÇ»ª¹«Ë¾(www.zj0759.com)µÄÎʺ¸ÐлÄúÊÕ¿´Õâ·âÓʼþ¡£ÎÒÃÇ Õæ³ÏµÄÏ£ÍûÄÜΪÄúÌṩ·þÎñ¡£³ÏÕ÷¸÷µØ´úÀí, »¶Ó­¼ÓÃË ·þÎñÆ÷ÍÐ¹Ü ´º½ÚÈ«¹ú×îµÍ´ÙÏú¼Û¸ñ£º1U 3800Ôª/Ä꣨ÏÞÇ°20̨£¬2003Äê1ÔÂ27ÈÕÆðÖÁ2003Äê2ÔÂ27ÈÕ½áÊø£©

math preview, 1.3.0

2003-02-05 Thread Rod Pinna
Hi all, Minor point...math preview in 1.3.0 don't always seem to update when I change some math. Clicking on the preview will cause it to update. The non-update doesn't always seem to happen. I haven't quite worked out when it occurs yet. If anyone else sees this, I'll file a minor bug for it.

130, preview

2003-02-05 Thread Rod Pinna
More experimentation shows that clicking on the expression does not always cause the preview to show up. Rod _ rod | "Beneath the waves, the waves / That's where I will be / | I'm going to see the cow beneath the sea."

Re: Gnome frontend

2003-02-05 Thread Andre Poenitz
On Wed, Feb 05, 2003 at 07:50:33PM +, Martin Craig wrote: > > 4) You introduce spaces instead of a tab at one point > > I think I've fixed these now. Should I be using tabs all the time? Tabs should be used to logically indent things, not "all the time". I.e. void foo() { int i = 5; if (i

Re: will lyx-qt and lyx-xforms rpms be incompatible?

2003-02-05 Thread Andre Poenitz
On Wed, Feb 05, 2003 at 09:25:30PM +, John Levon wrote: > > Having something to work on would have made me much happier and I > > certainly would not have considered leaving lyx development. > > I'm still at a complete loss why you had to stop working just because > you couldn't commit to the

<    1   2   3