Re: [LyX/master] \\noindent in a paragraph that starts with \\vspace is possible

2021-10-31 Thread Jürgen Spitzmüller
Am Sonntag, dem 31.10.2021 um 11:33 +0100 schrieb Juergen Spitzmueller: > commit f0126b9fdff2118f3e9566387bed0cb5da2df9d4 > Author: Juergen Spitzmueller > Date:   Sun Oct 31 11:56:53 2021 +0100 > >     \\noindent in a paragraph that starts with \\vspace is possible >     >

VSpace Crash [was: import fail on working latex doc]

2010-10-31 Thread Richard Heck
.7 on Windows 7 and 1.6.6 on Ubuntu. In debug mode, it crashes. I'm seeing an infinite loop in this code: int VSpace::inPixels(BufferView const & bv) const { // Height of a normal line in pixels (zoom factor considered) int const default_height = defaultRowHeight();

Re: [patch] allow percent lengths for VSpace and HSpace dialog

2009-07-21 Thread Uwe Stöhr
> Thanks, it works now. I committed some small tweaks. Thanks. regards Uwe

Re: [patch] allow percent lengths for VSpace and HSpace dialog

2009-07-21 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > The bug was again that I only did the "-" -> "minus" conversion only when > the length contained a percent unit. This is now fixed. Thanks, it works now. I committed some small tweaks. Jürgen

Re: [patch] allow percent lengths for VSpace and HSpace dialog

2009-07-21 Thread Uwe Stöhr
> Thanks, but the result is not correct. Lyx2lyx reverts to > \hspace*{1cm+1mm-2mm} The bug was again that I only did the "-" -> "minus" conversion only when the length contained a percent unit. This is now fixed. regards Uwe

Re: [patch] allow percent lengths for VSpace and HSpace dialog

2009-07-21 Thread Jürgen Spitzmüller
BTW I think that this code o = document.body[i+1].find("\\length") if o == -1: document.warning("Error: Cannot find lenght for \\hspace!") break # search for the beginning of the value via the space k = document.body[i+1].find(" ") length = documen

Re: [patch] allow percent lengths for VSpace and HSpace dialog

2009-07-21 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > > I was talking about negative *non*-glue lengths such as "-2cm", which do > > not > > > need to be reverted at all. > > This already works correctly. Good. > > Nothing in the test case, BTW, does revert correctly to 1.6. > > Because I only reverted when the glue lengths cont

Re: [patch] allow percent lengths for VSpace and HSpace dialog

2009-07-21 Thread Uwe Stöhr
> I was talking about negative *non*-glue lengths such as "-2cm", which do not > need to be reverted at all. This already works correctly. > Nothing in the test case, BTW, does revert correctly to 1.6. Because I only reverted when the glue lengths contain at least a percent length. This is now

Re: [patch] allow percent lengths for VSpace and HSpace dialog

2009-07-21 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > > Just one question to the lyx2lyx code: did you exclude minus at the first > > > position? "-2cm" is a valid non-glue length that doesn't need to be > reverted. > > minus is never at the first position when there is also a plus. Lengths > like 5col%-2text% are converted correct

Re: [patch] allow percent lengths for VSpace and HSpace dialog

2009-07-21 Thread Uwe Stöhr
Vincent van Ravesteijn - TNW schrieb: Besides the awful duplication of code, I haven't figured out a simpler solution. But anyway, it works. the following looks suspicious: sstring = value + "\\paperwidth" + end ^ Fixed. And is this warning necessary, or a relic of the debugging phase ?

RE: [patch] allow percent lengths for VSpace and HSpace dialog

2009-07-21 Thread Vincent van Ravesteijn - TNW
>> Attached a patch that implements the glue length >> for texted. Maybe you can do the file format/lyx2lyx >> stuff. > > The lyx2lyx part was more complicated than I thought. > However, attached is the patch to go in. Besides the awful duplication of code, the following looks suspicious: sstri

Re: [patch] allow percent lengths for VSpace and HSpace dialog

2009-07-20 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > The lyx2lyx part was more complicated than I thought. However, attached is > the patch to go in. Just one question to the lyx2lyx code: did you exclude minus at the first position? "-2cm" is a valid non-glue length that doesn't need to be reverted. Apart from that, it looks go

Re: [patch] allow percent lengths for VSpace and HSpace dialog

2009-07-20 Thread Uwe Stöhr
[365, []], [366, []], - [367, []] + [367, []], + [368, []] ] -revert = [[366, [revert_percent_vspace_lengths, revert_percent_hspace_lengths]], +revert = [[367, [revert_hspace_

Re: [patch] allow percent lengths for VSpace and HSpace dialog

2009-07-20 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > > I won't have time to work further on this the next weeks, so please take > > over as you are deep enough in this business as well as I am. > > I don't have time either. I couldn't resist. Attached a patch that implements the glue length for texted. Maybe you can do t

Re: [patch] allow percent lengths for VSpace and HSpace dialog

2009-07-20 Thread Jürgen Spitzmüller
r texted first. > Moreover VSpace.cpp contains many routines to handle glue lengths in the > lineEdit field. These are missing for GlueLengths and should be implemented > to HSpace.cpp. The HSpace dialog should then use the HSpace class instead > of the Length class. The dialog is independ

Re: [patch] allow percent lengths for VSpace and HSpace dialog

2009-07-20 Thread Uwe Stöhr
> Looks good. The patch is in. >> The HSpace dialog lacks in general support for glue lengths, see >> http://www.lyx.org/trac/ticket/6099 but this is independent from support >> for percent lengths.) > > Should be easy to implement as well, while you're at it. Just replace the > Length in InsetS

Re: [patch] allow percent lengths for VSpace and HSpace dialog

2009-07-19 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > The attached simple patch allows to use percent lengths in the HSpace and > VSpace dialog. (In the VSpace dialog you can with this patch also insert > things like this: 5col%+-1mm Looks good. > The HSpace dialog lacks in general support for glue lengths

[patch] allow percent lengths for VSpace and HSpace dialog

2009-07-19 Thread Uwe Stöhr
The attached simple patch allows to use percent lengths in the HSpace and VSpace dialog. (In the VSpace dialog you can with this patch also insert things like this: 5col%+-1mm The HSpace dialog lacks in general support for glue lengths, see http://www.lyx.org/trac/ticket/6099 but this is

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-05 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > Bernhard Roider <[EMAIL PROTECTED]> writes: | > | Hello Lars, | > | | as Abdel suggested i would like to ask you for SVN commit | > access, to | > | be able to commit my contributions by myself. | > I am a bit reluctant

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-04 Thread Abdelrazak Younes
Lars Gullik Bjønnes wrote: Bernhard Roider <[EMAIL PROTECTED]> writes: | Hello Lars, | | as Abdel suggested i would like to ask you for SVN commit access, to | be able to commit my contributions by myself. I am a bit reluctant, especially since (pardon me if wrong) you havent contributed much

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-04 Thread Bernhard Roider
token != "\\end_inset") { + if (!lex) { lex.printError("Missing \\end_inset at this point. " "Read: `$$Token'"); } Index: src/insets/insetvspace.C ===========

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-04 Thread Bernhard Roider
Georg Baum wrote: Am Freitag, 2. März 2007 23:40 schrieb Bernhard Roider: The rule for using the lexer: if you want to know if the lexer still has data to read (either from the stream or from the pushed token) then use "lex.isOK()". If you want to test if the last reading operation was succ

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-04 Thread Georg Baum
Am Freitag, 2. März 2007 23:40 schrieb Bernhard Roider: > The rule for using the lexer: > > if you want to know if the lexer still has data to read (either from the stream or from the pushed > token) then use "lex.isOK()". > If you want to test if the last reading operation was successful then

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-03 Thread Lars Gullik Bjønnes
Bernhard Roider <[EMAIL PROTECTED]> writes: | Ok, then here's the patch with const methods and mutable member | variable. It fixes bug #3293. The patch does a lot of small code shuffling that might change behavior, so it porbably needs some testing. I'll leave it up to RM if this should be applie

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-03 Thread Bernhard Roider
Lars Gullik Bjønnes wrote: Bernhard Roider <[EMAIL PROTECTED]> writes: | Hello Lars, | | as Abdel suggested i would like to ask you for SVN commit access, to | be able to commit my contributions by myself. I am a bit reluctant, especially since (pardon me if wrong) you havent contributed much

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-03 Thread Bernhard Roider
"\\end_inset") { + if (!lex) { lex.printError("Missing \\end_inset at this point. " "Read: `$$Token'"); } Index: src/insets/insetvspace.C =========

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-03 Thread Lars Gullik Bjønnes
Bernhard Roider <[EMAIL PROTECTED]> writes: | Hello Lars, | | as Abdel suggested i would like to ask you for SVN commit access, to | be able to commit my contributions by myself. I am a bit reluctant, especially since (pardon me if wrong) you havent contributed much yet, and I have not seen/revi

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-03 Thread Bernhard Roider
Andre Poenitz wrote: On Fri, Mar 02, 2007 at 11:41:45PM +0100, Bernhard Roider wrote: The rule for using the lexer: if you want to know if the lexer still has data to read (either from the stream or from the pushed token) then use "lex.isOK()". Why not lex.dataAvailable() or something simila

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-03 Thread Andre Poenitz
On Fri, Mar 02, 2007 at 11:41:45PM +0100, Bernhard Roider wrote: > >The rule for using the lexer: > > > >if you want to know if the lexer still has data to read (either from the > >stream or from the pushed token) then use "lex.isOK()". Why not lex.dataAvailable() or something similar? Andre'

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-02 Thread Bernhard Roider
Lars Gullik Bjønnes wrote: Bernhard Roider <[EMAIL PROTECTED]> writes: | the patch... I think the var "lastReadOk" should be mutable, and you should not remove const from the functions. i already thought about that. i will do it.

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-02 Thread Lars Gullik Bjønnes
Bernhard Roider <[EMAIL PROTECTED]> writes: | the patch... I think the var "lastReadOk" should be mutable, and you should not remove const from the functions. | Index: src/lyxlex.h | === | --- src/lyxlex.h (revision 17394) | ++

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-02 Thread Abdelrazak Younes
Bernhard Roider wrote: Hello all, [...] I tested lyx with the attached patch and found no problems, but who knows... i think this should go in. comments? Only a tiny one from me: Instead of remove the constness of getXXX() methods I suggest that you make lastReadOk_ mutable.. Bernh

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-02 Thread Bernhard Roider
Bernhard Roider wrote: today i searched for the reason why the vspace dialog is completely broken as Michael Gerz wrote in his mail from 27.02.2007. bug #3293 (http://bugzilla.lyx.org/show_bug.cgi?id=3293)

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-02 Thread Bernhard Roider
the patch... Bernhard Roider wrote: Hello all, today i searched for the reason why the vspace dialog is completely broken as Michael Gerz wrote in his mail from 27.02.2007. It turned out that the bug was introduced by the patch that fixed the bug that crashed lyx when "inset-inser

[Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-02 Thread Bernhard Roider
Hello all, today i searched for the reason why the vspace dialog is completely broken as Michael Gerz wrote in his mail from 27.02.2007. It turned out that the bug was introduced by the patch that fixed the bug that crashed lyx when "inset-insert ert" was executed from the command bu

Re: [PATCH] vspace metrics/draw corrections/improvements

2005-09-18 Thread Michael Gerz
Michael Gerz wrote: if you place the cursor in front of a vspace inset, it is displayed way too high. I had a look at method "metrics" in insetvspace.C which IMHO is a bit confusing (and partially wrong - Why is size set to 10 initially? Why do we decrease the font size twice b

Re: [PATCH] vspace metrics/draw corrections/improvements

2005-09-16 Thread Michael Gerz
Georg Baum wrote: if you place the cursor in front of a vspace inset, it is displayed way too high. Did you try different vspace values (very large, very small)? I am not sure whether this behaviour is on purpose or not. Yes, I did. The LyX cursor is determined by the font size of the

Re: [PATCH] vspace metrics/draw corrections/improvements

2005-09-16 Thread Georg Baum
Michael Gerz wrote: > Hello, > > if you place the cursor in front of a vspace inset, it is displayed way > too high. Did you try different vspace values (very large, very small)? I am not sure whether this behaviour is on purpose or not. > I had a look at method "metri

[PATCH] vspace metrics/draw corrections/improvements

2005-09-16 Thread Michael Gerz
Hello, if you place the cursor in front of a vspace inset, it is displayed way too high. I had a look at method "metrics" in insetvspace.C which IMHO is a bit confusing (and partially wrong - Why is size set to 10 initially? Why do we decrease the font size twice but compute some

[Patch] gtk VSpace dialog

2004-11-15 Thread John Spray
This patch adds a gtk VSpace dialog, as well as a function in ghelpers to get a list of units excluding the percentage units. John ? tmp Index: ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/gtk/ChangeLog,v

Re: VSpace and lengths

2004-11-15 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Hm, I noticed that LyXGlueLength::asLaTexString does not Juergen> transform the %-values correctly (as Juergen> LyXLength::asLaTeXString). This would require some more Juergen> coding, and I think I'd rather postpone this

Re: VSpace and lengths

2004-11-15 Thread Juergen Spitzmueller
Am Montag, 15. November 2004 12:00 schrieb Jean-Marc Lasgouttes: > Juergen> I think that screen representation will be just o.k. as is. > Juergen> We'd just need to delete the deletion of %-units in the > Juergen> frontends. > > In any case, avoiding to remove %-units will simplify the code, so it

Re: VSpace and lengths

2004-11-15 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: >> You should be careful though about the screen representation of >> such a length. Juergen> I think that screen representation will be just o.k. as is. Juergen> We'd just need to delete the deletion of %-units in the Juergen> f

Re: VSpace and lengths

2004-11-12 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > I guess \textheight is the only sensible one. Why shouldn't someone find \textwidth sensible? E.g., if he wants produce a blank square (for whatever reason). But textheight is certainly the most important one. > You should be careful > though about the screen rep

Re: VSpace and lengths

2004-11-12 Thread Jean-Marc Lasgouttes
>>>>> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> What were again the reasons why we have excluded the Juergen> %-lengths from VSpace? They certainly work, and IMO at least Juergen> \textheight is highly sensible. I guess \

VSpace and lengths

2004-11-11 Thread Juergen Spitzmueller
What were again the reasons why we have excluded the %-lengths from VSpace? They certainly work, and IMO at least \textheight is highly sensible. Jürgen

Re: [PATCH] Inset VSpace for tex2lyx

2003-12-09 Thread Georg Baum
angeLog 2003/11/19 10:35:50 1.42 +++ src/tex2lyx/ChangeLog 2003/12/09 19:47:26 @@ -1,3 +1,9 @@ +2003-12-08 Georg Baum <[EMAIL PROTECTED]> + + * text.C: Use the new VSpace inset (fixes a bug with added_space top) + * text.C: Fix \= in tabbing env again + * text.C: Fix invocation of parse_co

Re: [PATCH] Inset VSpace for tex2lyx

2003-12-08 Thread Andre Poenitz
On Sat, Dec 06, 2003 at 10:16:01PM +0100, Georg Baum wrote: > Comments? Looks good. Andre'

[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

Re: [PATCH] remove "none" from vspace gui

2003-12-01 Thread Angus Leeming
Juergen Spitzmueller wrote: > The patch removes VSPACE::NONE from both the qt and the xforms > dialog. I haven't touched the inset (and won't). This is half of Michael Schmitt's patch, right? Why not just apply it all? > One problem left (in both frontends): what do I

Re: [Devel] Re: [PATCH] VSpace cleanup

2003-12-01 Thread Andre Poenitz
On Mon, Dec 01, 2003 at 01:41:39PM +0100, Juergen Spitzmueller wrote: > Michael Schmitt wrote: > > NONE is a pretty pointless option with a true VSpace inset. > > > > Please check and apply the attached patch. > > Cool. I merge it with my changes and commit, o.k.? (I

Re: [Devel] [PATCH] remove "none" from vspace gui

2003-12-01 Thread John Levon
On Mon, Dec 01, 2003 at 01:42:39PM +0100, Juergen Spitzmueller wrote: > > Change the policy in the controller. > > Where? To what? in qt2/Dialogs.C: 263 dialog->setController(new ControlVSpace(*dialog)); 264 dialog->setView(new QVSpace(*dialog)); 265

Re: [PATCH] VSpace cleanup

2003-12-01 Thread Juergen Spitzmueller
Michael Schmitt wrote: > NONE is a pretty pointless option with a true VSpace inset. > > Please check and apply the attached patch. Cool. I merge it with my changes and commit, o.k.? (I have a few other changes concerning the VSpace gui). Thanks, Jürgen.

Re: [Devel] [PATCH] remove "none" from vspace gui

2003-12-01 Thread Juergen Spitzmueller
John Levon wrote: > > One problem left (in both frontends): what do I have to do to let the > > ok/apply buttons be enabled if I insert a *new* inset? Currently I have > > to change sth > > Change the policy in the controller. Where? To what? (sorry, but I really can't see it). Jürgen.

Re: [Devel] [PATCH] remove "none" from vspace gui

2003-12-01 Thread John Levon
On Mon, Dec 01, 2003 at 11:16:06AM +0100, Juergen Spitzmueller wrote: > The patch removes VSPACE::NONE from both the qt and the xforms dialog. I > haven't touched the inset (and won't). Whoops, duplicated effort ! I'll let you deal with merging with Michael's if it m

Re: [PATCH] VSpace cleanup

2003-12-01 Thread John Levon
On Mon, Dec 01, 2003 at 10:30:27AM +0100, Michael Schmitt wrote: > NONE is a pretty pointless option with a true VSpace inset. > > Please check and apply the attached patch. Looks good regards john

Re: vspace ui

2003-12-01 Thread John Levon
On Mon, Dec 01, 2003 at 08:35:08AM +0100, Juergen Spitzmueller wrote: > > There are missing tooltips it seems ... (qt) > > Where? Sorry, there wasn't ... but I don't like the tooltip for protect, "reset" is the wrong word here john -- Khendon's Law: If the same point is made twice by the sam

[PATCH] remove "none" from vspace gui

2003-12-01 Thread Juergen Spitzmueller
The patch removes VSPACE::NONE from both the qt and the xforms dialog. I haven't touched the inset (and won't). One problem left (in both frontends): what do I have to do to let the ok/apply buttons be enabled if I insert a *new* inset? Currently I have to change sth in the dialog to

[PATCH] VSpace cleanup

2003-12-01 Thread Michael Schmitt
Hello, NONE is a pretty pointless option with a true VSpace inset. Please check and apply the attached patch. Thanks, Michael Index: src/ChangeLog === RCS file: /cvs/lyx/lyx-devel/src/ChangeLog,v retrieving revision 1.1732 diff -u

Re: vspace ui

2003-12-01 Thread Andre Poenitz
On Mon, Dec 01, 2003 at 12:20:36AM +, John Levon wrote: > > What on earth is a vspace of "none" ? Why is it the default ? Because we used to have two vspace members in the paragraph parameters (that skip above/below) which were unused almost all the time and therefore d

Re: vspace ui

2003-12-01 Thread Juergen Spitzmueller
John Levon wrote: > What on earth is a vspace of "none" ? Why is it the default ? Don't know. But it does not make any sense to me either. > There are missing tooltips it seems ... (qt) Where? Jürgen.

vspace ui

2003-11-30 Thread John Levon
What on earth is a vspace of "none" ? Why is it the default ? There are missing tooltips it seems ... (qt) regards john -- Khendon's Law: If the same point is made twice by the same person, the thread is over.

vspace arrow box does not report height correctly

2002-04-23 Thread Lars Gullik Bjønnes
Just look at this: <> (or table draws outside bounds) -- Lgb

Re: vspace-symbol

2001-12-11 Thread Jean-Marc Lasgouttes
>>>>> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: Herbert> try this in int LyXText::getLengthMarkerHeight(BufferView * Herbert> bv, VSpace const & vsp) const I'll commit something like that soon. JMarc

Re: vspace-symbol

2001-12-10 Thread Jean-Marc Lasgouttes
> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: >> Is your dpi setting correct? Do you have a zoom factor? Herbert> don't know? Changed only the zoom to 150. dpi is 90. is it Herbert> not correct? Assuming the dpi of you monitor in indeed 90, then everything will be 1.5 times larger

Re: vspace-symbol

2001-12-10 Thread Herbert Voss
Jean-Marc Lasgouttes wrote: >>"Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: >> > > Herbert> where is the sense, that I get a long vertical line when I > Herbert> choose for example "-3cm" as vertical length? It should be > Herbert> better to a) draw negative values as is, or b) d

Re: vspace-symbol

2001-12-10 Thread Herbert Voss
length? It should be > Herbert> better to a) draw negative values as is, or b) draw them with > Herbert> the minimum of positive length > > Yes, b) is probably the best option. I'll try to do it tonight. try this in int LyXText::getLengthMarkerHeight(BufferView * bv, VS

Re: vspace-symbol

2001-12-10 Thread Jean-Marc Lasgouttes
> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: Herbert> where is the sense, that I get a long vertical line when I Herbert> choose for example "-3cm" as vertical length? It should be Herbert> better to a) draw negative values as is, or b) draw them with Herbert> the minimum of positi

Re: vspace-symbol

2001-12-10 Thread Herbert Voss
where is the sense, that I get a long vertical line when I choose for example "-3cm" as vertical length? It should be better to a) draw negative values as is, or b) draw them with the minimum of positive length btw: my lines are about 1cm too long on my 1200x1024 monitor HErbert -- http://www

Re: vspace-symbol

2001-12-10 Thread Jean-Marc Lasgouttes
>>>>> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: Herbert> the new vspace marker on the left side is a good thing but Herbert> not in tables! It's very difficult to handle a large table Herbert> when a vspace of 2cm is marked with such a lon

vspace-symbol

2001-12-09 Thread Herbert Voss
the new vspace marker on the left side is a good thing but not in tables! It's very difficult to handle a large table when a vspace of 2cm is marked with such a long vertical line. Should be better to mark it generally with a standard height, because you always write explizit the value o

Re: vspace

2001-12-06 Thread Herbert Voss
John Levon wrote: > > btw, Herbert, if you have any 1.1.6 or other files that 1.2.0cvs isn't > happy with in whatever way, it would be great if you could email > me them with a short note I'll have a look at weekend. Only one thing which is not a real problem but for the users annoying and al

Re: vspace

2001-12-06 Thread John Levon
On Thu, Dec 06, 2001 at 10:22:43PM +0100, Herbert Voss wrote: > A new situation: > > I suppose it's no more a problem, because it happens only > > for 1.1.6 files which I read with 1.2.0 some time (weeks) ago. > With latest cvs I can't reproduce. good - I suspect

Re: vspace

2001-12-06 Thread Herbert Voss
> John Levon wrote: > >> On Thu, Dec 06, 2001 at 07:11:57AM +0100, Herbert Voss wrote: >> >> >>> looks cool ... I have only one problem: >>> why should I see, that I don't have any space where >>> by default is no additional space ... ;-) >>> >>> the floatingfigure is converted from 1.1.6 to 1.2

Re: vspace

2001-12-06 Thread John Levon
On Thu, Dec 06, 2001 at 10:11:59PM +0100, Herbert Voss wrote: > sure, but this was written by lyx into the file: > > \layout Standard > \added_space_top 0cm \added_space_bottom 0cm \align center OK, so for compatibility we should convert these to VSpace::NONE > >Did you ad

Re: vspace

2001-12-06 Thread Herbert Voss
dded_space_bottom 0cm \align center > Did you add the space of 0cm in the old lyx file, or does the 1.2.0 > import introduce it ? this is the same which Lars reported with the two red dashed lines, now the two vspace marker. The appear at all tables and floats. I'll have a look for a 1.1.6 file. Herbert -- http://www.lyx.org/help/

Re: vspace

2001-12-06 Thread John Levon
On Thu, Dec 06, 2001 at 07:11:57AM +0100, Herbert Voss wrote: > looks cool ... I have only one problem: > why should I see, that I don't have any space where > by default is no additional space ... ;-) > > the floatingfigure is converted from 1.1.6 to 1.2 > by lyx. Can I have the original 1.1.

vspace

2001-12-05 Thread Herbert Voss
looks cool ... I have only one problem: why should I see, that I don't have any space where by default is no additional space ... ;-) the floatingfigure is converted from 1.1.6 to 1.2 by lyx. Herbert -- http://www.lyx.org/help/

Re: vspace, Part II

2001-12-03 Thread Andre Poenitz
On Sun, Dec 02, 2001 at 03:32:38PM +0100, Lars Gullik Bjønnes wrote: > I like it, but can you take the cstddef and types part our of it? Aehm.. sure... Andre' -- André Pönitz .. [EMAIL PROTECTED]

Re: vspace, Part II

2001-11-30 Thread Andre Poenitz
On Fri, Nov 30, 2001 at 06:10:51PM +0100, Herbert Voss wrote: > why is this method in vspace? Not my doing. Has been there all the time... Andre' -- André Pönitz .. [EMAIL PROTECTED]

Re: vspace, Part II

2001-11-30 Thread Herbert Voss
Andre Poenitz wrote: > A bit of the interface cleanup. > Removes the inheritance etc, > > +LyXLength::UNIT unitFromString(string const & data) > +{ > + int i = 0; > + while (i < num_units && data != unit_name[i]) [...] why is this method in v

vspace, Part II

2001-11-30 Thread Andre Poenitz
_view->text->setLayout(current_view, 0); - current_view->text-> - setParagraph(current_view, 0, 0, -0, 0, - VSpace (0.3 * buffer->par

Re: vspace.[Ch]

2001-11-30 Thread Andre Poenitz
On Fri, Nov 30, 2001 at 11:04:36AM +0100, Juergen Vigna wrote: ^^ > On 29-Nov-2001 Juergen Spitzmueller wrote: ^^ > > BTW: the patch is missing ;-) > ^ Aaaarggg! ^^^ Passing arg failed. Andre' -- André Pönit

Re: vspace.[Ch]

2001-11-30 Thread Jose Abilio Oliveira Matos
On Fri, Nov 30, 2001 at 11:03:58AM +0100, Juergen Vigna wrote: > > Which patch? See the Urmpf message that André posted later. >Jug -- José Abílio Matos LyX and docbook a perfect match.

RE: vspace.[Ch]

2001-11-30 Thread Juergen Vigna
On 29-Nov-2001 Andre Poenitz wrote: > > This patch is cosmetical. It basically moves stuff from the .h to the .C, Which patch? Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel

Re: vspace.[Ch]

2001-11-30 Thread Juergen Vigna
On 29-Nov-2001 Juergen Spitzmueller wrote: > BTW: the patch is missing ;-) ^ Aaaarggg! Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-047

Re: vspace.[Ch]

2001-11-29 Thread Juergen Spitzmueller
Andre Poenitz wrote: > This patch is cosmetical. It basically moves stuff from the .h to the > .C, changes 'float' to 'double' and changes whitespaces and variable > names to something more similar to the rest of LyX. > > I'll have a look at the interface later. Cool! Please tell me when you're d

vspace.[Ch]

2001-11-29 Thread Andre Poenitz
This patch is cosmetical. It basically moves stuff from the .h to the .C, changes 'float' to 'double' and changes whitespaces and variable names to something more similar to the rest of LyX. I'll have a look at the interface later. Andre' -- André Pönitz ..