Re: Lyx and Latex (was Re: [PATCH] Origin of rotation simplified...)

2002-09-03 Thread Juergen Vigna
Kuba Ober wrote: > Alas, we don't need (and shouldn't!) use TeX keywords. I'm all for using > LyX-specific keywords. We can just use TeX-like syntax instead of XML-like > syntax, especially that one can do conversion both ways, say like this > something blah <--> \tag[val1="abc"]{something blah}

Re: Fixing the preview crash when there are more than 999 (!) formulae

2002-09-03 Thread Allan Rae
On Tue, 3 Sep 2002, Angus Leeming wrote: > The setw() call above should obviously be passed the required number of > digits. Given the number of snippets, nsnippets, what's the elegant way to > get ndigits? This is clearly brain-dead: > > ndigits = 1 + int(log10(double(nsnippets))); > > but

spellcheck has stopped working

2002-09-03 Thread Dr. Richard E. Hawkins
Today, lyx took it upon itself to change my spellchecker from aspell to ispell. After two rounds of setting it back, it seems to have taken (in .lyx/preferences, but it now tells me that The spellchacker has failed a dictionary file for the language of this document installed Check your spellch

Re: heads up to watch for backwards quotes

2002-09-03 Thread Dr. Richard E. Hawkins
On Tue, Sep 03, 2002 at 09:55:45PM +0200, Jean-Marc Lasgouttes wrote: > Dr. Richard E. Hawkins wrote: > >the quote would automatically transform itself. Or am I mistaken? > You are mistaken. :( This would seem to be a *really* useful thing to do (at least for those of us that are typo-prone :

Re: heads up to watch for backwards quotes

2002-09-03 Thread Jean-Marc Lasgouttes
Dr. Richard E. Hawkins wrote: > It seems to me that the old behavior was that if I had, say, > > ABC" DEF" > > and used space and delete to get > > ABC "DEF" > > the quote would automatically transform itself. Or am I mistaken? You are mistaken. JMarc

lyx2lyx fails on table.

2002-09-03 Thread Dr. Richard E. Hawkins
my 3x3 table became: HansMariaLoads of Laundry/Hour410Pages Typed/Hour68 The old file was lyxformat 2.16, with a date on it of Sep 5 2000 -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail Th

spurious whitespace in mathed output

2002-09-03 Thread Angus Leeming
Now I'm not exactly worried by this, but the mathed output has changed in the last week or so: diff -u old.lyx new.lyx -\begin_inset Formula $J_{\mathrm{xa}}$ +\begin_inset Formula $ J_{\mathrm{xa}}$ \end_inset , -\begin_inset Formula $J_{\mathrm{ya}}$ +\begin_inset Formula $ J_{\mathrm{ya}}

html output enumerated differently

2002-09-03 Thread Dr. Richard E. Hawkins
I have nested enumerations in a document, e.g. 1) Why is Hitler? a) Yosarrian b) Natalie's whore c) M&M Enterprises It works fine with latex printing, but with the html export option, the answers are labeled 1,2,3 hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ri

Re: Lyx and Latex (was Re: [PATCH] Origin of rotation simplified...)

2002-09-03 Thread Kuba Ober
> > 1. XML, although a nicety, is almost useless for people who edit things > > in it. > > I noticed that. But Lars seems to have a strong aversion against being > "LaTeX centric" so I doubt it is a good idea to openly discuss things like > that ;-) ;-)) Alas, we don't need (and shouldn't!) use

Re: Lyx and Latex (was Re: [PATCH] Origin of rotation simplified...)

2002-09-03 Thread Kuba Ober
> > I think Knuth did a good job with TeX syntax ;-) > Uuh... you just lost me. '\hbox to0mm' is not 'nice syntax'. Neither is the semantic pepper like \leavevmode. But at least it's consistent. \hbox's syntax is like \hbox[ to ]. Optional things aren't *that* unpopular in programming languages

Re: Conversion problem from 5 minutes ago!

2002-09-03 Thread Angus Leeming
On Tuesday 03 September 2002 5:27 pm, Dr. Richard E. Hawkins wrote: > On Tue, Sep 03, 2002 at 05:23:12PM +0100, Jos? Ab?lio Oliveira Matos wrote: > > > The real fix? Install python. I forget which version is recommended. > > > > Anyone above, or equal to, 1.5.2. > > I just installed 2.2.1, rehas

Re: Conversion problem from 5 minutes ago!

2002-09-03 Thread Dr. Richard E. Hawkins
On Tue, Sep 03, 2002 at 05:23:12PM +0100, Jos? Ab?lio Oliveira Matos wrote: > > The real fix? Install python. I forget which version is recommended. > Anyone above, or equal to, 1.5.2. I just installed 2.2.1, rehashed, ran Edit-reconfigure, and the problem remains. slytherinttyp1:hawk>which

Re: Conversion problem from 5 minutes ago!

2002-09-03 Thread José Abílio Oliveira Matos
> > The real fix? Install python. I forget which version is recommended. Anyone above, or equal to, 1.5.2. > Angus (who also doesn't have python installed on this machine.) Let me guess, you don't like Monty Python's shows? ;-) -- José Abílio

Re: Conversion problem from 5 minutes ago!

2002-09-03 Thread Angus Leeming
On Tuesday 03 September 2002 5:03 pm, Dr. Richard E. Hawkins wrote: > I closed my week or so old lyx to relaunch with my updated version. It > can't open the file I just saved (or any others!) > > hawk, dead in the water Na. You just don't have python installed. LyX sees that there's been a

Conversion problem from 5 minutes ago!

2002-09-03 Thread Dr. Richard E. Hawkins
I closed my week or so old lyx to relaunch with my updated version. It can't open the file I just saved (or any others!) hawk, dead in the water -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML

heads up to watch for backwards quotes

2002-09-03 Thread Dr. Richard E. Hawkins
I'm not attaching the file, because I fiexed it trivially, but keep an eye out for leading quotes "pointing" the wrong direction; I just fixed this on one of my handouts. It seems to me that the old behavior was that if I had, say, ABC" DEF" and used space and delete to get ABC "DEF" the quo

Re: preview-latex chrashes with xforms

2002-09-03 Thread Angus Leeming
On Tuesday 03 September 2002 10:20 am, Norbert Koksch wrote: > In PreviewLoader.C setw(3) -> setw(5) > In lyxpreview2ppm.sh%03d.ppm -> %05d.ppm, ???.ppm -> ?.ppm, > \{3\}.ppm -> \{5\}.ppm > > Now lyxpreview can handle my files with more than 999 formulas. Ok, Norbert. I have done

Re: Fixing the preview crash when there are more than 999 (!) formulae

2002-09-03 Thread Andre Poenitz
On Tue, Sep 03, 2002 at 03:00:56PM +0100, Angus Leeming wrote: > > Not my doing I believe. > > (Slightly amazed) so? No. I know that almost none of the initial proof-of-concept code is left. And even that was not my doing alone. > Nor is most of the preview code, even if you were the > inspir

Re: Bug in lyxconvert_217.py

2002-09-03 Thread José Abílio Oliveira Matos
On Tuesday 03 September 2002 12:28, Dekel Tsur wrote: > > Apparently, it is not difficult to write a code that will also handle this > case. See attached patch. This patch should be safe as long as we don't change the number of lines inside. Go on, I will test it trying the nested tabular case

Re: Fixing the preview crash when there are more than 999 (!) formulae

2002-09-03 Thread Angus Leeming
On Tuesday 03 September 2002 3:24 pm, Andre Poenitz wrote: > On Tue, Sep 03, 2002 at 02:40:32PM +0100, Angus Leeming wrote: > > Norbert Koksch has discovered a problem with the preview code that is > > triggered if a document contains more than 999 (!) formulae. > > > > The formulae are numbered s

Re: Fixing the preview crash when there are more than 999 (!) formulae

2002-09-03 Thread Andre Poenitz
On Tue, Sep 03, 2002 at 02:40:32PM +0100, Angus Leeming wrote: > Norbert Koksch has discovered a problem with the preview code that is > triggered if a document contains more than 999 (!) formulae. > > The formulae are numbered so: > > ostringstream os; > os << base_

Re: Draft paper about WYSIWYG/LaTeX for TUG2002

2002-09-03 Thread Andre Poenitz
On Tue, Sep 03, 2002 at 02:56:44PM +0100, Jules Bean wrote: > Actually, X fonts are notoriously badly understood, especially by > people from a mixed computer usage background (i.e. using also some > windows or MacOS). I am fairly uncomfortable with xfontsel myself. I > think LyX should at least

Re: Lastfiles

2002-09-03 Thread John Levon
On Tue, Sep 03, 2002 at 12:35:48PM +1000, Allan Rae wrote: > 9 looks a reasonable limit when we're appending lastfiles within the > menu but if as was suggested we move lastfiles into a submenu we > should be able to set it to something much higher like the 50 JMarc > suggests although I'd be inc

Re: Space behaviour and inset code

2002-09-03 Thread Andre Poenitz
On Tue, Sep 03, 2002 at 03:52:48PM +0200, Juergen Vigna wrote: > I'm sure the above will not work. IMO what we have to do is make the inset > itself responsible for unlocking and add a parameter to the BufferView > unlock > function to tell it where the cursor should be after unlocking. I'd rea

Fixing the preview crash when there are more than 999 (!) formulae

2002-09-03 Thread Angus Leeming
Norbert Koksch has discovered a problem with the preview code that is triggered if a document contains more than 999 (!) formulae. The formulae are numbered so: ostringstream os; os << base_ << setfill('0') << setw(3) << counter_++

Re: Debian packages [was: [ANNOUNCE] LyX 1.2.1 is released]

2002-09-03 Thread Jules Bean
On Mon, Aug 26, 2002 at 04:04:09PM +0200, Paul Seelig wrote: > [EMAIL PROTECTED] (Jean-Marc Lasgouttes) writes: > > > > "Paul" == Paul Seelig <[EMAIL PROTECTED]> writes: > > > > Paul> Updated *unofficial* Debian packages compiled with > > Paul> libforms_1.0-RC4.1 are available here: > > > >

PREVIEW code: upgrade to preview.sty 0.73

2002-09-03 Thread Angus Leeming
Ok all. I have removed support for preview.sty 0.72b. >From now on we'll be using the lyx support built into preview.sty 0.73. So, upgrade preview.sty or lose your previews! Angus On Tuesday 03 September 2002 4:52 pm, [EMAIL PROTECTED] wrote: > CVSROOT: /usr/local/lyx/cvsroot > Module name:

Re: Draft paper about WYSIWYG/LaTeX for TUG2002

2002-09-03 Thread Jules Bean
[Apologies for replying to a long-dead thread] On Tue, Aug 13, 2002 at 12:54:42PM +0200, Andre Poenitz wrote: > On Tue, Aug 13, 2002 at 12:20:39PM +0200, David Kastrup wrote: > > > Don't know what one uses with an installed version of LyX. I always > > > run it from the build dir and put /path/to

Re: Space behaviour and inset code

2002-09-03 Thread Juergen Vigna
Andre Poenitz wrote: > On Tue, Sep 03, 2002 at 12:22:11PM +0300, Gady Kozma wrote: > >>There is a small change in LyX behavior between 1.1.6 and 1.2: pressing >>space when at the end of a formula exits, but does not (as per 1.1.6) add a >>space after it. The reason is that the local dispatch re

Re: Feature freeze 2002-09-13

2002-09-03 Thread Jean-Marc Lasgouttes
> Actually I am not sure about the utility of these 'copy layout' (and the > proposed 'copz float') feature at all. It seems that you have not done much layout file maintenance. Before this and Input have been introduced, many layout files just slowly died from bitrot... JMarc

Re: Floats in layout files

2002-09-03 Thread Angus Leeming
On Tuesday 03 September 2002 10:43 am, Martin Vermeer wrote: > On Tue, Sep 03, 2002 at 12:34:06PM +0300, Martin Vermeer wrote: > > I agree with Angus though: why not use the sh convertDefault.sh syntax? > > > > > > Martin > > Here's the patch. Tested and works (for convertDefault at least). > > 03

Re: Bug in lyxconvert_217.py

2002-09-03 Thread Dekel Tsur
On Sun, Sep 01, 2002 at 10:18:36PM +0100, José Abílio Oliveira Matos wrote: > > Nothing prevents me from writing or other token inside a paragraph. So I should be able to skip what is > inside a paragraph. > Does it makes sense? I only skipped that, for the moment, since I > don't expect th

Re: Feature freeze 2002-09-13

2002-09-03 Thread Andre Poenitz
On Tue, Sep 03, 2002 at 12:56:43PM +0200, Lars Gullik Bjønnes wrote: > NoFloat is another though. Indeed. André -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)

Re: Floats in layout files

2002-09-03 Thread Andre Poenitz
On Tue, Sep 03, 2002 at 12:53:33PM +0200, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | On Mon, Sep 02, 2002 at 11:09:32PM +0200, Lars Gullik Bjønnes wrote: > | > This is my patch for this. > | > This is basic support, it can be enhanced with, NoFloat, CopyFloat > |

Re: Space behaviour and inset code

2002-09-03 Thread Andre Poenitz
On Tue, Sep 03, 2002 at 12:22:11PM +0300, Gady Kozma wrote: > There is a small change in LyX behavior between 1.1.6 and 1.2: pressing > space when at the end of a formula exits, but does not (as per 1.1.6) add a > space after it. The reason is that the local dispatch returns > FINISHED_RIGHT. W

Re: Feature freeze 2002-09-13

2002-09-03 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Mon, Sep 02, 2002 at 08:06:40PM +0200, Lars Gullik Bjønnes wrote: | > Hmm... perhaps... but it will be easy to add later. | > | > | - add a CopyFloat tag | > | > This as well | | | Actually I am not sure about the utility of these 'copy layout'

Re: Floats in layout files

2002-09-03 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Mon, Sep 02, 2002 at 11:09:32PM +0200, Lars Gullik Bjønnes wrote: | > This is my patch for this. | > This is basic support, it can be enhanced with, NoFloat, CopyFloat | > etc. if wanted. | > | > The fileformat changed slightly after the example I p

Re: Feature freeze 2002-09-13

2002-09-03 Thread Andre Poenitz
On Mon, Sep 02, 2002 at 08:06:40PM +0200, Lars Gullik Bjønnes wrote: > Hmm... perhaps... but it will be easy to add later. > > | - add a CopyFloat tag > > This as well Actually I am not sure about the utility of these 'copy layout' (and the proposed 'copz float') feature at all. Together wit

Re: [ANNOUNCE] LyX 1.2.1 is released

2002-09-03 Thread Stephan Witt
Jean-Marc Lasgouttes wrote: > We are glad to announce the release of LyX 1.2.1. > First of all, thanks for the good job... Recently I managed to install the new LyX on the Sun-Server of our site. There was one complaint now: The dvi-preview (View->DVI) doesn't respect the current settings of

Re: Floats in layout files

2002-09-03 Thread Andre Poenitz
On Mon, Sep 02, 2002 at 11:09:32PM +0200, Lars Gullik Bjønnes wrote: > This is my patch for this. > This is basic support, it can be enhanced with, NoFloat, CopyFloat > etc. if wanted. > > The fileformat changed slightly after the example I posted ealier. > > Comments please. Looks ok. No way t

Re: Floats in layout files

2002-09-03 Thread Martin Vermeer
On Tue, Sep 03, 2002 at 12:34:06PM +0300, Martin Vermeer wrote: > I agree with Angus though: why not use the sh convertDefault.sh syntax? > > > Martin Here's the patch. Tested and works (for convertDefault at least). 03-09-2002 Martin Vermeer <[EMAIL PROTECTED]> * graphics/Gra

Space behaviour and inset code

2002-09-03 Thread Gady Kozma
Hi all. There is a small change in LyX behavior between 1.1.6 and 1.2: pressing space when at the end of a formula exits, but does not (as per 1.1.6) add a space after it. The reason is that the local dispatch returns FINISHED_RIGHT. Would it be enough if the local dispatch would return UNDIS

Re: Floats in layout files

2002-09-03 Thread Martin Vermeer
On Tue, Sep 03, 2002 at 12:00:05PM +0300, Martin Vermeer wrote: > I do have a problem with graphics though. Every time I try to latex an > eps, I get this, undoubtedly unrelated: > > > execvp of "/home/mv/lyx-devel/lib/scripts/convertDefault.sh > /home/mv/lyx-devel/lib/scripts/convertDefault.s

Re: Floats in layout files

2002-09-03 Thread Martin Vermeer
On Mon, Sep 02, 2002 at 11:09:32PM +0200, Lars Gullik Bjønnes wrote: > This is my patch for this. > This is basic support, it can be enhanced with, NoFloat, CopyFloat > etc. if wanted. > > The fileformat changed slightly after the example I posted ealier. > > Comments please. > Works fine as