Re: About the needed Caption dialog

2008-04-22 Thread Juergen Spitzmueller
Abdelrazak Younes wrote: I begun to create a dialog (see attached). Question to LateX experts: are those options mutually exclusive? Can you think of other useful options? Nice idea in general. However, I would do the positioning options in a combo: above, below, default (which might be

Re: About the needed Caption dialog

2008-04-22 Thread Herbert Voss
Uwe Stöhr schrieb: what do you mean with own paragraph? LyX currently allows to put Images to captions like this: \caption{test\includegraphics{image}} If the user does this, we use this code to make it at least compile: \caption{test\protect\includegraphics{image}} But if possible we

Re: About the needed Caption dialog

2008-04-22 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Tue, Apr 22, 2008 at 12:50:37AM +0200, Abdelrazak Younes wrote: AFAIU (but still not sure about that), following your explanation it should be possible to do exactly the same things with inset layouts and modules like we do for InsetFlex for example. Richard,

Re: About the needed Caption dialog

2008-04-22 Thread Abdelrazak Younes
Juergen Spitzmueller wrote: Abdelrazak Younes wrote: I begun to create a dialog (see attached). Question to LateX experts: are those options mutually exclusive? Can you think of other useful options? Nice idea in general. However, I would do the positioning options in a combo:

Re: About the needed Caption dialog

2008-04-22 Thread Jean-Marc Lasgouttes
Abdelrazak Younes [EMAIL PROTECTED] writes: see http://bugzilla.lyx.org/show_bug.cgi?id=4647 I begun to create a dialog (see attached). Question to LateX experts: are those options mutually exclusive? Can you think of other useful options? Ideally those options will also be available in a

Re: About the needed Caption dialog

2008-04-22 Thread Enrico Forestieri
On Tue, Apr 22, 2008 at 08:51:11AM +0200, Abdelrazak Younes wrote: Enrico Forestieri wrote: [...] I would like to be able to customize the appearance of captions through the layout file. I don't know if this is possible when the caption is an inset. No tweaking through context menus, as

Re: About the needed Caption dialog

2008-04-22 Thread Enrico Forestieri
On Tue, Apr 22, 2008 at 08:54:36AM +0200, Abdelrazak Younes wrote: Juergen Spitzmueller wrote: [...] above, below, default (which might be above or below, depending on class options), sideways. That was my understanding of it but Enrico seems to object. What I am objecting is that I

Re: About the needed Caption dialog

2008-04-22 Thread Enrico Forestieri
On Tue, Apr 22, 2008 at 10:14:01AM +0200, Jean-Marc Lasgouttes wrote: Abdelrazak Younes [EMAIL PROTECTED] writes: see http://bugzilla.lyx.org/show_bug.cgi?id=4647 I begun to create a dialog (see attached). Question to LateX experts: are those options mutually exclusive? Can you think

Re: About the needed Caption dialog

2008-04-22 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Tue, Apr 22, 2008 at 08:54:36AM +0200, Abdelrazak Younes wrote: Juergen Spitzmueller wrote: [...] above, below, default (which might be above or below, depending on class options), sideways. That was my understanding of it but Enrico seems to

Re: About the needed Caption dialog

2008-04-22 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes [EMAIL PROTECTED] writes: see http://bugzilla.lyx.org/show_bug.cgi?id=4647 I begun to create a dialog (see attached). Question to LateX experts: are those options mutually exclusive? Can you think of other useful options? Ideally those options

Re: About the needed Caption dialog

2008-04-22 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Tue, Apr 22, 2008 at 08:51:11AM +0200, Abdelrazak Younes wrote: Enrico Forestieri wrote: [...] I would like to be able to customize the appearance of captions through the layout file. I don't know if this is possible when the caption is an inset. No

Re: About the needed Caption dialog

2008-04-22 Thread Juergen Spitzmueller
Abdelrazak Younes wrote: > I begun to create a dialog (see attached). Question to LateX experts: > are those options mutually exclusive? Can you think of other useful > options? Nice idea in general. However, I would do the positioning options in a combo: "above", "below", "default" (which

Re: About the needed Caption dialog

2008-04-22 Thread Herbert Voss
Uwe Stöhr schrieb: > what do you mean with own paragraph? LyX currently allows to put Images to captions like this: \caption{test\includegraphics{image}} If the user does this, we use this code to make it at least compile: \caption{test\protect\includegraphics{image}} But if possible we

Re: About the needed Caption dialog

2008-04-22 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Tue, Apr 22, 2008 at 12:50:37AM +0200, Abdelrazak Younes wrote: AFAIU (but still not sure about that), following your explanation it should be possible to do exactly the same things with inset layouts and modules like we do for InsetFlex for example. Richard,

Re: About the needed Caption dialog

2008-04-22 Thread Abdelrazak Younes
Juergen Spitzmueller wrote: Abdelrazak Younes wrote: I begun to create a dialog (see attached). Question to LateX experts: are those options mutually exclusive? Can you think of other useful options? Nice idea in general. However, I would do the positioning options in a combo:

Re: About the needed Caption dialog

2008-04-22 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > see http://bugzilla.lyx.org/show_bug.cgi?id=4647 > > I begun to create a dialog (see attached). Question to LateX experts: > are those options mutually exclusive? Can you think of other useful > options? > > Ideally those options will also be

Re: About the needed Caption dialog

2008-04-22 Thread Enrico Forestieri
On Tue, Apr 22, 2008 at 08:51:11AM +0200, Abdelrazak Younes wrote: > Enrico Forestieri wrote: [...] > > I would like to be able to customize the appearance of captions through > > the layout file. I don't know if this is possible when the caption is > > an inset. No tweaking through context

Re: About the needed Caption dialog

2008-04-22 Thread Enrico Forestieri
On Tue, Apr 22, 2008 at 08:54:36AM +0200, Abdelrazak Younes wrote: > Juergen Spitzmueller wrote: [...] > > "above", "below", "default" (which might be above or below, depending on > > class options), "sideways". > > > That was my understanding of it but Enrico seems to object. What I am

Re: About the needed Caption dialog

2008-04-22 Thread Enrico Forestieri
On Tue, Apr 22, 2008 at 10:14:01AM +0200, Jean-Marc Lasgouttes wrote: > Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > > see http://bugzilla.lyx.org/show_bug.cgi?id=4647 > > > > I begun to create a dialog (see attached). Question to LateX experts: > > are those options mutually exclusive? Can

Re: About the needed Caption dialog

2008-04-22 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Tue, Apr 22, 2008 at 08:54:36AM +0200, Abdelrazak Younes wrote: Juergen Spitzmueller wrote: [...] "above", "below", "default" (which might be above or below, depending on class options), "sideways". That was my understanding of it but Enrico

Re: About the needed Caption dialog

2008-04-22 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: see http://bugzilla.lyx.org/show_bug.cgi?id=4647 I begun to create a dialog (see attached). Question to LateX experts: are those options mutually exclusive? Can you think of other useful options? Ideally those

Re: About the needed Caption dialog

2008-04-22 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Tue, Apr 22, 2008 at 08:51:11AM +0200, Abdelrazak Younes wrote: Enrico Forestieri wrote: [...] I would like to be able to customize the appearance of captions through the layout file. I don't know if this is possible when the caption is an inset. No

About the needed Caption dialog

2008-04-21 Thread Abdelrazak Younes
see http://bugzilla.lyx.org/show_bug.cgi?id=4647 I begun to create a dialog (see attached). Question to LateX experts: are those options mutually exclusive? Can you think of other useful options? Ideally those options will also be available in a caption context menu. Abdel. attachment:

Re: About the needed Caption dialog

2008-04-21 Thread Uwe Stöhr
I begun to create a dialog (see attached). Question to LateX experts: are those options mutually exclusive? Can you think of other useful options? The caption should have as less options as possible as the caption format has to be set globally to assure an uniform output, see my

Re: About the needed Caption dialog

2008-04-21 Thread Abdelrazak Younes
Uwe Stöhr wrote: I begun to create a dialog (see attached). Question to LateX experts: are those options mutually exclusive? Can you think of other useful options? The caption should have as less options as possible as the caption format has to be set globally to assure an uniform output,

Re: About the needed Caption dialog

2008-04-21 Thread Herbert Voss
Uwe Stöhr schrieb: But in general, when you work at this, please assure that the captions are set in the LaTeX-output in its own paragraph. what do you mean with own paragraph? Herbert

Re: About the needed Caption dialog

2008-04-21 Thread Enrico Forestieri
On Mon, Apr 21, 2008 at 05:50:28PM +0200, Abdelrazak Younes wrote: see http://bugzilla.lyx.org/show_bug.cgi?id=4647 I begun to create a dialog (see attached). Question to LateX experts: are those options mutually exclusive? Can you think of other useful options? Ideally those options

Re: About the needed Caption dialog

2008-04-21 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Mon, Apr 21, 2008 at 05:50:28PM +0200, Abdelrazak Younes wrote: see http://bugzilla.lyx.org/show_bug.cgi?id=4647 I begun to create a dialog (see attached). Question to LateX experts: are those options mutually exclusive? Can you think of other useful options?

Re: About the needed Caption dialog

2008-04-21 Thread Enrico Forestieri
On Tue, Apr 22, 2008 at 12:50:37AM +0200, Abdelrazak Younes wrote: AFAIU (but still not sure about that), following your explanation it should be possible to do exactly the same things with inset layouts and modules like we do for InsetFlex for example. Richard, what do you think? I would

Re: About the needed Caption dialog

2008-04-21 Thread Uwe Stöhr
Abdelrazak Younes schrieb: So could someone please list the possible options? Without any knowledge of LateX, those are the one that would make sense to me: - continued: don't increment the counter, append a (continued) to the caption label As far as I can see, only this one makes sense. -

Re: About the needed Caption dialog

2008-04-21 Thread Uwe Stöhr
what do you mean with own paragraph? LyX currently allows to put Images to captions like this: \caption{test\includegraphics{image}} If the user does this, we use this code to make it at least compile: \caption{test\protect\includegraphics{image}} But if possible we should not allow images

Re: About the needed Caption dialog - correction

2008-04-21 Thread Uwe Stöhr
Ich schrieb: - continued: don't increment the counter, append a (continued) to the caption label As far as I can see, only this one makes sense. This was not correct. As Enrico said, there should only ONE caption inset but customizable by the layout files. Then you can select e.g. one of

Re: About the needed Caption dialog

2008-04-21 Thread Juergen Spitzmueller
Uwe Stöhr wrote: \caption{test\protect\includegraphics{image}} We should do this (protect images). Then people will see the problem in the output, and others who intentionally put a picture in the caption, are allowed to do so. Jürgen

About the needed Caption dialog

2008-04-21 Thread Abdelrazak Younes
see http://bugzilla.lyx.org/show_bug.cgi?id=4647 I begun to create a dialog (see attached). Question to LateX experts: are those options mutually exclusive? Can you think of other useful options? Ideally those options will also be available in a caption context menu. Abdel. <>

Re: About the needed Caption dialog

2008-04-21 Thread Uwe Stöhr
> I begun to create a dialog (see attached). Question to LateX experts: are those options mutually > exclusive? Can you think of other useful options? The caption should have as less options as possible as the caption format has to be set globally to assure an uniform output, see my

Re: About the needed Caption dialog

2008-04-21 Thread Abdelrazak Younes
Uwe Stöhr wrote: > I begun to create a dialog (see attached). Question to LateX > experts: are those options mutually exclusive? Can you think of > other useful options? The caption should have as less options as possible as the caption format has to be set globally to assure an uniform

Re: About the needed Caption dialog

2008-04-21 Thread Herbert Voss
Uwe Stöhr schrieb: But in general, when you work at this, please assure that the captions are set in the LaTeX-output in its own paragraph. what do you mean with own paragraph? Herbert

Re: About the needed Caption dialog

2008-04-21 Thread Enrico Forestieri
On Mon, Apr 21, 2008 at 05:50:28PM +0200, Abdelrazak Younes wrote: > see http://bugzilla.lyx.org/show_bug.cgi?id=4647 > > I begun to create a dialog (see attached). Question to LateX experts: > are those options mutually exclusive? Can you think of other useful options? > > Ideally those

Re: About the needed Caption dialog

2008-04-21 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Mon, Apr 21, 2008 at 05:50:28PM +0200, Abdelrazak Younes wrote: see http://bugzilla.lyx.org/show_bug.cgi?id=4647 I begun to create a dialog (see attached). Question to LateX experts: are those options mutually exclusive? Can you think of other useful options?

Re: About the needed Caption dialog

2008-04-21 Thread Enrico Forestieri
On Tue, Apr 22, 2008 at 12:50:37AM +0200, Abdelrazak Younes wrote: > AFAIU (but still not sure about that), following your explanation it > should be possible to do exactly the same things with inset layouts and > modules > like we do for InsetFlex for example. Richard, what do you think? I

Re: About the needed Caption dialog

2008-04-21 Thread Uwe Stöhr
Abdelrazak Younes schrieb: So could someone please list the possible options? Without any knowledge of LateX, those are the one that would make sense to me: - continued: don't increment the counter, append a (continued) to the caption label As far as I can see, only this one makes sense. -

Re: About the needed Caption dialog

2008-04-21 Thread Uwe Stöhr
> what do you mean with own paragraph? LyX currently allows to put Images to captions like this: \caption{test\includegraphics{image}} If the user does this, we use this code to make it at least compile: \caption{test\protect\includegraphics{image}} But if possible we should not allow images

Re: About the needed Caption dialog - correction

2008-04-21 Thread Uwe Stöhr
Ich schrieb: - continued: don't increment the counter, append a (continued) to the caption label As far as I can see, only this one makes sense. This was not correct. As Enrico said, there should only ONE caption inset but customizable by the layout files. Then you can select e.g. one of

Re: About the needed Caption dialog

2008-04-21 Thread Juergen Spitzmueller
Uwe Stöhr wrote: > \caption{test\protect\includegraphics{image}} We should do this (protect images). Then people will see the problem in the output, and others who intentionally put a picture in the caption, are allowed to do so. Jürgen