Re: Greyed-out notes in figure captions

2018-06-19 Thread Scott Kostyshak
On Tue, Jun 19, 2018 at 05:40:48PM +, Kornel Benko wrote: > Am Dienstag, 19. Juni 2018 13:38:33 CEST schrieb Scott Kostyshak > : > > On Tue, Jun 19, 2018 at 04:13:47PM +, Pavel Sanda wrote: > > > Hi there, > > > > > > when trying to insert greyed out note into figure caption I run into >

Re: Greyed-out notes in figure captions

2018-06-19 Thread Pavel Sanda
Scott Kostyshak wrote: > Thanks to Jürgen's cprotect feature, this works in master branch. Ahh, I had some vague memory we discussed it, but google did not help. Now I see I raised exactly the same issue when cprotect was discussed. Thanks, Pavel

Re: Greyed-out notes in figure captions

2018-06-19 Thread Scott Kostyshak
On Tue, Jun 19, 2018 at 05:38:33PM +, Scott Kostyshak wrote: > On Tue, Jun 19, 2018 at 04:13:47PM +, Pavel Sanda wrote: > > Hi there, > > > > when trying to insert greyed out note into figure caption I run into latex > > compilation problems (debian TL 16). > > Is it lyx macro definition

Re: Greyed-out notes in figure captions

2018-06-19 Thread Kornel Benko
Am Dienstag, 19. Juni 2018 13:38:33 CEST schrieb Scott Kostyshak : > On Tue, Jun 19, 2018 at 04:13:47PM +, Pavel Sanda wrote: > > Hi there, > > > > when trying to insert greyed out note into figure caption I run into latex > > compilation problems (debian TL 16). > > Is it lyx macro definiti

Re: Greyed-out notes in figure captions

2018-06-19 Thread Scott Kostyshak
On Tue, Jun 19, 2018 at 04:13:47PM +, Pavel Sanda wrote: > Hi there, > > when trying to insert greyed out note into figure caption I run into latex > compilation problems (debian TL 16). > Is it lyx macro definition problem or am I not supposed to do that? Thanks to Jürgen's cprotect feature

Greyed-out notes in figure captions

2018-06-19 Thread Pavel Sanda
Hi there, when trying to insert greyed out note into figure caption I run into latex compilation problems (debian TL 16). Is it lyx macro definition problem or am I not supposed to do that? Log: -- Runaway argument? \@captype {\def \@currenvir {lyxgreyedout}\edef \@currenvline {\on@line \ETC. !

Re: [patch] bug 1999: Wrong default label in figure captions

2006-03-17 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> Note the i-- is in the 'test' position. Ha! this is what I did not see! JMarc

Re: [patch] bug 1999: Wrong default label in figure captions

2006-03-16 Thread Andre Poenitz
On Thu, Mar 16, 2006 at 10:28:22AM +0100, Jean-Marc Lasgouttes wrote: > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > Andre> I'd prefer something like > > Andre> for (size_t i = cur.depth(); i--; ) > > You have to test for i>0 somewhere, don't you? Testing for != 0 gives th

Re: [patch] bug 1999: Wrong default label in figure captions

2006-03-16 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> I'd prefer something like Andre> for (size_t i = cur.depth(); i--; ) You have to test for i>0 somewhere, don't you? JMarc

Re: [patch] bug 1999: Wrong default label in figure captions

2006-03-15 Thread Andre Poenitz
On Mon, Mar 13, 2006 at 06:32:52PM +0100, Juergen Spitzmueller wrote: > Jean-Marc Lasgouttes wrote: > > This does not work for example when the caption is inside a minipage > > inside the float (people do that!). > > Of course. I forgot that. > > > You should look at this code snippet from setCou

Re: [patch] bug 1999: Wrong default label in figure captions

2006-03-15 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Thanks. Updated patch attached. Tested and approved. Please apply to branch and trunk. JMarc

Re: [patch] bug 1999: Wrong default label in figure captions

2006-03-13 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > This does not work for example when the caption is inside a minipage > inside the float (people do that!). Of course. I forgot that. > You should look at this code snippet from setCounter (buffer_funcs.C): Thanks. Updated patch attached. Jürgen Index: src/text.C ==

Re: [patch] bug 1999: Wrong default label in figure captions

2006-03-13 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> http://bugzilla.lyx.org/show_bug.cgi?id=1999 The attached Juergen> patch works perfectly for me. Juergen> What do you think? This does not work for example when the caption is inside a minipage inside the float (people

Re: [patch] bug 1999: Wrong default label in figure captions

2006-03-11 Thread Georg Baum
Am Samstag, 11. März 2006 15:34 schrieb Juergen Spitzmueller: > http://bugzilla.lyx.org/show_bug.cgi?id=1999 > > The attached patch works perfectly for me. For me too. > What do you think? Looks good. Some hardcoding, but we can't do without unfortunately. Georg

[patch] bug 1999: Wrong default label in figure captions

2006-03-11 Thread Juergen Spitzmueller
http://bugzilla.lyx.org/show_bug.cgi?id=1999 The attached patch works perfectly for me. What do you think? Jürgen Index: src/text.C === --- src/text.C (Revision 13335) +++ src/text.C (Arbeitskopie) @@ -2264,8 +2264,18 @@ string LyXT

Re: But LyX view: All figure captions get "Figure 1".

2002-08-11 Thread Martin Vermeer
On Sun, Aug 11, 2002 at 08:50:59PM +0900, Rob Lahaye wrote: > Hi, > > On the LyX canvas, figures are now numbered. But each figure gets the number > one, "Figure 1". For some reason the figure numbers are not incremented. > > However, the figures are correctly numbered in "Navigate->Figure". >

Re: But LyX view: All figure captions get "Figure 1".

2002-08-11 Thread Martin Vermeer
On Sun, Aug 11, 2002 at 08:50:59PM +0900, Rob Lahaye wrote: > > Hi, > > On the LyX canvas, figures are now numbered. But each figure gets the number > one, "Figure 1". For some reason the figure numbers are not incremented. > > However, the figures are correctly numbered in "Navigate->Figure".

But LyX view: All figure captions get "Figure 1".

2002-08-11 Thread Rob Lahaye
Hi, On the LyX canvas, figures are now numbered. But each figure gets the number one, "Figure 1". For some reason the figure numbers are not incremented. However, the figures are correctly numbered in "Navigate->Figure". Rob.

Re: Figure captions

2001-07-24 Thread Garst R. Reese
Jean-Marc Lasgouttes wrote: > Anyway, even when LyX shows the caption as centered, it is justified > (when long enough) on paper. So what is the problem wrt journals?? > > JMarc None, sorry, it did not occurr to me that centered would not mean centered on paper. I did not check. Garst

AW: Figure captions

2001-07-24 Thread Danker, Dr. Timm
> Anyway, even when LyX shows the caption as centered, it is justified > (when long enough) on paper. So what is the problem wrt journals?? > > JMarc Seems that he will have to use caption.sty to control this. May be Lyx could support it, but it isn´t too hard to do with some 666 magic.

Re: Figure captions

2001-07-23 Thread Garst R. Reese
ith short > | > captions). > | > > | > JMarc > | Fine, but is there any reason to restrict allowed to 'center' in > | Stdlayouts.inc? > > Only, since whatever the user chooses the choice will be disregarded. > Yes, I understand that and I understand that some ma

Re: Figure captions

2001-07-19 Thread Jean-Marc Lasgouttes
> "Garst" == Garst R Reese <[EMAIL PROTECTED]> writes: Garst> Well, I modified Stdlayouts.inc to allow block, and so far it Garst> has not given me any problems. Garst Yes, this outputs useless (and perhaps nasty with some classes) latex commands. We would have to find a better fix. JMarc

Re: Figure captions

2001-07-18 Thread Garst R. Reese
Dekel Tsur wrote: > > Fine, but is there any reason to restrict allowed to 'center' in > > Stdlayouts.inc? > > Yes, because you can't change the alignment of a caption using the latex > alignment commands/environments. Well, I modified Stdlayouts.inc to allow block, and so far it has not given m

Re: Figure captions

2001-07-18 Thread Dekel Tsur
On Wed, Jul 18, 2001 at 11:37:39AM -0300, Garst R. Reese wrote: > Jean-Marc Lasgouttes wrote: > > > > > "Garst" == Garst R Reese <[EMAIL PROTECTED]> writes: > > > In fact, captions alignment is a bit special: centered when the > > caption is short, and justified otherwise. LyX does not have

Re: Figure captions

2001-07-18 Thread Garst R. Reese
Jean-Marc Lasgouttes wrote: > > > "Garst" == Garst R Reese <[EMAIL PROTECTED]> writes: > In fact, captions alignment is a bit special: centered when the > caption is short, and justified otherwise. LyX does not have support > for that, so it chooses one of the two options. I'm sure people wo

Re: Figure captions

2001-07-18 Thread Jean-Marc Lasgouttes
> "Garst" == Garst R Reese <[EMAIL PROTECTED]> writes: Garst> Stdlayouts.inc restricts captions to center. Is there a reason Garst> for this. It looks pretty ugly with long winded captions. It Garst> seems to work if I change stdlayouts.inc to allow block Garst> captions. Garst In fact, capt

Figure captions

2001-07-13 Thread Garst R. Reese
Stdlayouts.inc restricts captions to center. Is there a reason for this. It looks pretty ugly with long winded captions. It seems to work if I change stdlayouts.inc to allow block captions. Garst

Re: No equations in figure captions in latest 1.1.5cvs

2000-04-23 Thread Dekel Tsur
I've created a patch that adds Ascii() methods to the inset classes (and also few minor fixes). patch.gz

Re: No equations in figure captions in latest 1.1.5cvs

2000-04-23 Thread Lars Gullik Bjønnes
Dekel Tsur <[EMAIL PROTECTED]> writes: | > Can you provide a patch? | | I'll provide a patch if you agree that adding ::Ascii methods is the correct | thing to do (unless you want to do the changes yourself ?) I agree that all output methods should be done in similar ways and currently for inse

Re: No equations in figure captions in latest 1.1.5cvs

2000-04-22 Thread Dekel Tsur
On Sat, Apr 22, 2000 at 11:58:32AM +0200, Lars Gullik Bj&resh;nnes wrote: > Dekel Tsur <[EMAIL PROTECTED]> writes: > > | The problem is in InsetFormula::Latex() > | > | if (fragile) // this is where fragile != 0 was used (Lgb) > | par->Write(os, fragile); > | else > | mathe

Re: No equations in figure captions in latest 1.1.5cvs

2000-04-22 Thread Lars Gullik Bjønnes
Dekel Tsur <[EMAIL PROTECTED]> writes: | The problem is in InsetFormula::Latex() | | if (fragile) // this is where fragile != 0 was used (Lgb) | par->Write(os, fragile); | else | mathed_write(par, os, &ret, fragile, label.c_str()); | | It doesn't make any sense to do compl

Re: No equations in figure captions in latest 1.1.5cvs

2000-04-20 Thread Dekel Tsur
On Thu, Apr 20, 2000 at 03:12:15PM +0100, Ben Cazzolato wrote: > Guys > > Just downloaded the latest version of 1.1.5cvs RPM as of 2:00pm GMT. It fixed > my cut and paste problem but now I can't run latex when I have equations in the > figure captions. I looks like it&#

No equations in figure captions in latest 1.1.5cvs

2000-04-20 Thread Ben Cazzolato
Guys Just downloaded the latest version of 1.1.5cvs RPM as of 2:00pm GMT. It fixed my cut and paste problem but now I can't run latex when I have equations in the figure captions. I looks like it's dropping the $ from around the equations. See below for extract of my log