Re: [PATCH] Minipage

2003-12-06 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Samstag, 6. Dezember 2003 22:19, Georg Baum wrote: > Am Samstag, 6. Dezember 2003 17:48 schrieb Juergen Spitzmueller: > > Georg Baum wrote: > > > Yes please, until tex2lyx is adapted to output the box inset instead of > > > minipage. > > > > Hm, my patch does

Re: Sheesh we've been busy --- or have we?

2003-12-06 Thread Martin Vermeer
On Fri, Dec 05, 2003 at 03:10:35PM +, Angus Leeming spake thusly: > Angus Leeming wrote: > > All that activity --- a whole year's worth --- and the source has > > grown by just 7373 lines!!! > > and if you strip out all comments, then there's even less: > 113174 lines of code in 13x/src > 11

Re: [PATCH] Minipage

2003-12-06 Thread Georg Baum
Am Samstag, 6. Dezember 2003 17:48 schrieb Juergen Spitzmueller: > Georg Baum wrote: > > Yes please, until tex2lyx is adapted to output the box inset instead of > > minipage. > > Hm, my patch does not make anything worse. tex2lyx produces \lyxformat > 225 files, while lyx2lyx's minipage->box conver

[PATCH] Inset VSpace for tex2lyx

2003-12-06 Thread Georg Baum
The attached patch makes tex2lyx output an Inset VSpace where possible for vertical spaces. Unfortunately it needed more code than I thought to handle corner cases correctly. There are some overlaps with lyxlength.C (translate_len() could vanish), but lyxlength.C needs some bufferview stuff, so

Re: [PATCH] Minipage

2003-12-06 Thread Georg Baum
Am Samstag, 6. Dezember 2003 15:36 schrieb Juergen Spitzmueller: > BTW what is the status of lyx2lyx in this regard? Do we need another file > format change? We would have needed one when the box inset and the other changes were introduced. Now it is too late, because we have already several "fla

Re: dvipng reports baseline

2003-12-06 Thread Jan-Åke Larsson
Angus Leeming wrote: > First, the preamble. I invoked dvipng so: > dvipng -bg 'rgb 0.980 0.941 0.902' -depth OK, you do want the --height too, I guess? > [1 depth=13/home/angus/preview-latex/devel/dvipng/dvipng warning: at > (-155,18) unimplemented \special{ps::-32891 -32891 32891 32891 957561

Re: [Patch] Re: [Patch] Re: CharStyle discussion

2003-12-06 Thread Martin Vermeer
On Sat, Dec 06, 2003 at 01:10:29PM +0100, Juergen Spitzmueller spake thusly: > > Juergen Spitzmueller wrote: > > BTW is it possible to get rid of the space at the beginning of a char style > > inset? > > Apparently this has more than one source. One part of the problem is that the > insettext in

Re: The current char style UI

2003-12-06 Thread Martin Vermeer
On Sat, Dec 06, 2003 at 04:53:05PM +0100, Lars Gullik Bjønnes spake thusly: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | If the overlapping stuff is out and physical position == locical > | position is in, all-boxes is (a) natural, (b) simple. > > I am not convinced... > > OTOH what I a

Re: CharStyle discussion

2003-12-06 Thread Kuba Ober
> Insets are an appropriate means for structured editing but they are not > suitable for writing consecutive text. If I had had to insert an inset > for every emphasized term, for every capitalized product name, for every > keyword in typewriter font, and for every figure reference in sans serif >

Re: [PATCH] Re: Format=>Document=>Page size not working

2003-12-06 Thread Kuba Ober
On Friday 05 December 2003 05:07 am, Juergen Spitzmueller wrote: > Juergen Spitzmueller wrote: > > > My question (for 1.4.0cvs) would be why this isn't entirely within  the > > > controller ? > > > > Yes, why not. Do you want to do it? > > My plan is to apply the 1.3 fix to 1.4 too for now. I don't

Re: Sheesh we've been busy --- or have we?

2003-12-06 Thread Kuba Ober
On Friday 05 December 2003 06:56 pm, Michael Schmitt wrote: > > Angus Leeming wrote: > >>> All that activity --- a whole year's worth --- and the source has > >>> grown by just 7373 lines!!! > > > > and if you strip out all comments, then there's even less: > > 113174 lines of code in 13x/src > > 1

Re: [PATCH] Minipage

2003-12-06 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Samstag, 6. Dezember 2003 16:33, Juergen Spitzmueller wrote: > Kornel Benko wrote: > > This minipage example is a left over of previous lyx-1.4cvs versions. > > OK, your file has \lyxformat 225, while the Minipage->(Frameless) Boxes > conversion is 223 -> 22

Re: new layout files for g-brief2

2003-12-06 Thread Felix Kurth
Hello sorry for taking that long time. I was very busy. Here is the patch. (against lyx-cvs) thanks felix Jean-Marc Lasgouttes wrote: >> "Felix" == Felix Kurth <[EMAIL PROTECTED]> writes: > > Felix> did you apply it ? Or there are any further thinks to do for me > Felix> ? > > I did not

Re: [PATCH] Minipage

2003-12-06 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > BTW what is the status of lyx2lyx in this regard? Do we need another file > format change? I found it. Jürgen

Re: [PATCH] Minipage

2003-12-06 Thread Juergen Spitzmueller
Georg Baum wrote: > Yes please, until tex2lyx is adapted to output the box inset instead of > minipage. Hm, my patch does not make anything worse. tex2lyx produces \lyxformat 225 files, while lyx2lyx's minipage->box conversion happens between 223 and 225. So files with minipages produced with th

Re: [patch] move ParagraphList of InsetText and Buffer to LyXText

2003-12-06 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Tue, Dec 02, 2003 at 04:49:26PM +0100, Lars Gullik Bjønnes wrote: >> Andre Poenitz <[EMAIL PROTECTED]> writes: >> >> | Step 2. Almost mechanical. >> >> I wonder why this is a good move. > | Because it consolidates common code of InsetText and Buffer

Re: The current char style UI

2003-12-06 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | If the overlapping stuff is out and physical position == locical | position is in, all-boxes is (a) natural, (b) simple. I am not convinced... OTOH what I am convinced about is that we don't need to support overlapping stuff/nested LCS. --

Re: The current char style UI

2003-12-06 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: >> What I'm telling you is that the problem goes completely away with >> ranges, because we then have a natural interface: >> >> Edit->Text_Style->Noun >> Emphasis >> Badger >> Other... > | And? We jus

Re: [PATCH] Minipage

2003-12-06 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > Minipage.lyx, however, is read in with a wrong width value, but this is the > same in 1.3.4. Minipage.lyx uses width="45p%", which is not valid anymore > (lyx2lyx issue?). This is where this changed btw: http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/ lengthcomm

Re: [PATCH] Minipage

2003-12-06 Thread Juergen Spitzmueller
Kornel Benko wrote: > This minipage example is a left over of previous lyx-1.4cvs versions. OK, your file has \lyxformat 225, while the Minipage->(Frameless) Boxes conversion is 223 -> 225. I'd say this is a bleeding edge result where I'd leave you on your own. If you change \lyxformat to 223, t

Re: [PATCH] Minipage

2003-12-06 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Samstag, 6. Dezember 2003 15:51, Juergen Spitzmueller wrote: > Kornel Benko wrote: > > With this patch, the minipages are read in as "boxed". > > Also the width of this inset is changed to 100 col%. (With the > > CVS-Version the value is 70 col%) > > > > Shoul

Re: [PATCH] Minipage

2003-12-06 Thread Juergen Spitzmueller
Kornel Benko wrote: > With this patch, the minipages are read in as "boxed". > Also the width of this inset is changed to 100 col%. (With the > CVS-Version the value is 70 col%) > > Should I try to provide a test-file? Yes please. I cannot reproduce. Here, a minipage from an 1.3.4 file with width

Re: [PATCH] Minipage

2003-12-06 Thread Juergen Spitzmueller
Georg Baum wrote: > (or should we wait a bit)? > > Yes please, until tex2lyx is adapted to output the box inset instead of > minipage. ok. BTW what is the status of lyx2lyx in this regard? Do we need another file format change? Jürgen.

Re: CharStyle discussion

2003-12-06 Thread Helge Hafting
On Fri, Dec 05, 2003 at 02:46:15PM +0100, Andre Poenitz wrote: > On Fri, Dec 05, 2003 at 12:53:04PM +0100, Christian Ridderström wrote: > > > Note: Isn't it overkill drawing something that's emphasized using a box > > AND (e.g.) italics? We don't want to flood the user with visual info. > > Inte

Re: [PATCH] Minipage

2003-12-06 Thread Georg Baum
Juergen Spitzmueller wrote: > One for Angus... > Now that the box inset superceeded minipage, it can theoretically be > removed (or should we wait a bit)? Yes please, until tex2lyx is adapted to output the box inset instead of minipage. Georg

Re: [PATCH] Minipage

2003-12-06 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Samstag, 6. Dezember 2003 12:26, Juergen Spitzmueller wrote: > One for Angus... > Now that the box inset superceeded minipage, it can theoretically be removed > (or should we wait a bit)? With this patch, the minipages are read in as "boxed". Also the width

[PATCH] Minipage

2003-12-06 Thread Juergen Spitzmueller
One for Angus... Now that the box inset superceeded minipage, it can theoretically be removed (or should we wait a bit)? Jürgen. minipage.diff.gz Description: GNU Zip compressed data

Re: [Patch] Re: [Patch] Re: CharStyle discussion

2003-12-06 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > BTW is it possible to get rid of the space at the beginning of a char style > inset? Apparently this has more than one source. One part of the problem is that the insettext inside the inset has indended paragraph if the document uses paragraph indendation. Jürgen

Re: [Patch] Re: [Patch] Re: CharStyle discussion

2003-12-06 Thread Juergen Spitzmueller
Martin Vermeer wrote: > Committed. I fixed one more bug: now the labelfont definition is > actually used for the label (blue default font for all styles; twice > reduced). Also the underline (now having two little end hooks) takes > the label's colour. Looks very promising! I found one bug though.

Re: [Patch] Re: [Patch] Re: CharStyle discussion

2003-12-06 Thread Martin Vermeer
On Fri, Dec 05, 2003 at 12:54:58PM +0200, Martin Vermeer spake thusly: > Patch attached. As I haven't heard any real objections (just blue-sky > ideas building on it) I'll commit later today. Committed. I fixed one more bug: now the labelfont definition is actually used for the label (blue defau

Re: annoying mathed-behaviour (was Re: The current char style UI)

2003-12-06 Thread Martin Vermeer
On Fri, Dec 05, 2003 at 07:49:38PM +0100, Christian Ridderström spake thusly: > In case that was unclear, here's an example: > > a^2+\textrm{aFunction}+2| > > pressing backspace gives > > a^2+\textrm{aFunction}+| > > backspace again... > > a^2+\textrm{aFunction}| > > now w