Re: Figure list entries

2001-03-23 Thread Dekel Tsur

On Thu, Mar 22, 2001 at 05:43:43PM +0100, Herbert Voss wrote:
 Christopher von Nagy wrote:
  
  I am working with a series of large documents with relatively large numbers
  of figures and complex captions. In LaTeX the caption command allows for a
  figure or table list entry and heading argument, the latter the actual
  caption in the text if it is different from the list entry. My question is,
  how does one do this within LyX? Or is it not possible. I would like to have
  short descriptive entries in the List of Figures and longer actual captions.
 
 have a look at
 
 http://www.educat.hu-berlin.de/~voss/~lyx/caption.html#short

A nicer solution is to modify the stdlayouts.inc file (or just the layout file
you use for your document), adding to it the following lines:
---begin-
Style ShortCaption
  CopyStyle Caption
  LatexName setshortcaption
  LabelString   "Short Caption:"
  LabelType Static
  Preamble
\let\oldcaption=\caption
\renewcommand{\caption}[1]{
\ifx \shortcaption \undefined
   \oldcaption{#1}
\else
   \oldcaption[\shortcaption]{#1}
\fi
}
\newcommand{\setshortcaption}[1]{
\newcommand{\shortcaption}{#1}
}
  EndPreamble
End
-end-
Then you can put a short caption paragraph before your caption paragraph.



Re: Figure list entries

2001-03-23 Thread Dekel Tsur

On Thu, Mar 22, 2001 at 05:43:43PM +0100, Herbert Voss wrote:
 Christopher von Nagy wrote:
  
  I am working with a series of large documents with relatively large numbers
  of figures and complex captions. In LaTeX the caption command allows for a
  figure or table list entry and heading argument, the latter the actual
  caption in the text if it is different from the list entry. My question is,
  how does one do this within LyX? Or is it not possible. I would like to have
  short descriptive entries in the List of Figures and longer actual captions.
 
 have a look at
 
 http://www.educat.hu-berlin.de/~voss/~lyx/caption.html#short

A nicer solution is to modify the stdlayouts.inc file (or just the layout file
you use for your document), adding to it the following lines:
---begin-
Style ShortCaption
  CopyStyle Caption
  LatexName setshortcaption
  LabelString   "Short Caption:"
  LabelType Static
  Preamble
\let\oldcaption=\caption
\renewcommand{\caption}[1]{
\ifx \shortcaption \undefined
   \oldcaption{#1}
\else
   \oldcaption[\shortcaption]{#1}
\fi
}
\newcommand{\setshortcaption}[1]{
\newcommand{\shortcaption}{#1}
}
  EndPreamble
End
-end-
Then you can put a short caption paragraph before your caption paragraph.



Re: Figure list entries

2001-03-23 Thread Dekel Tsur

On Thu, Mar 22, 2001 at 05:43:43PM +0100, Herbert Voss wrote:
> Christopher von Nagy wrote:
> > 
> > I am working with a series of large documents with relatively large numbers
> > of figures and complex captions. In LaTeX the caption command allows for a
> > figure or table list entry and heading argument, the latter the actual
> > caption in the text if it is different from the list entry. My question is,
> > how does one do this within LyX? Or is it not possible. I would like to have
> > short descriptive entries in the List of Figures and longer actual captions.
> 
> have a look at
> 
> http://www.educat.hu-berlin.de/~voss/~lyx/caption.html#short

A nicer solution is to modify the stdlayouts.inc file (or just the layout file
you use for your document), adding to it the following lines:
---begin-
Style ShortCaption
  CopyStyle Caption
  LatexName setshortcaption
  LabelString   "Short Caption:"
  LabelType Static
  Preamble
\let\oldcaption=\caption
\renewcommand{\caption}[1]{
\ifx \shortcaption \undefined
   \oldcaption{#1}
\else
   \oldcaption[\shortcaption]{#1}
\fi
}
\newcommand{\setshortcaption}[1]{
\newcommand{\shortcaption}{#1}
}
  EndPreamble
End
-end-
Then you can put a short caption paragraph before your caption paragraph.



Re: Figure list entries

2001-03-22 Thread Herbert Voss

Christopher von Nagy wrote:
 
 I am working with a series of large documents with relatively large numbers
 of figures and complex captions. In LaTeX the caption command allows for a
 figure or table list entry and heading argument, the latter the actual
 caption in the text if it is different from the list entry. My question is,
 how does one do this within LyX? Or is it not possible. I would like to have
 short descriptive entries in the List of Figures and longer actual captions.

have a look at

http://www.educat.hu-berlin.de/~voss/~lyx/caption.html#short

Herbert


-- 
http://perce.de/lyx/




Re: Figure list entries

2001-03-22 Thread George De Bruin

On Thursday 22 March 2001 h:m:s, Herbert Voss wrote:

 have a look at

 http://www.educat.hu-berlin.de/~voss/~lyx/caption.html#short

Is this the right URL, Herb?  I tried to pull it up but get a 'Not Found' 
error message  Ahh, I found it:

http://www.educat.hu-berlin.de/~voss/lyx/caption.html#short

(The extra ~ was throwing things off...)

// George



Re: Figure list entries

2001-03-22 Thread Herbert Voss

Christopher von Nagy wrote:
 
 I am working with a series of large documents with relatively large numbers
 of figures and complex captions. In LaTeX the caption command allows for a
 figure or table list entry and heading argument, the latter the actual
 caption in the text if it is different from the list entry. My question is,
 how does one do this within LyX? Or is it not possible. I would like to have
 short descriptive entries in the List of Figures and longer actual captions.

have a look at

http://www.educat.hu-berlin.de/~voss/~lyx/caption.html#short

Herbert


-- 
http://perce.de/lyx/




Re: Figure list entries

2001-03-22 Thread George De Bruin

On Thursday 22 March 2001 h:m:s, Herbert Voss wrote:

 have a look at

 http://www.educat.hu-berlin.de/~voss/~lyx/caption.html#short

Is this the right URL, Herb?  I tried to pull it up but get a 'Not Found' 
error message  Ahh, I found it:

http://www.educat.hu-berlin.de/~voss/lyx/caption.html#short

(The extra ~ was throwing things off...)

// George



Re: Figure list entries

2001-03-22 Thread Herbert Voss

Christopher von Nagy wrote:
> 
> I am working with a series of large documents with relatively large numbers
> of figures and complex captions. In LaTeX the caption command allows for a
> figure or table list entry and heading argument, the latter the actual
> caption in the text if it is different from the list entry. My question is,
> how does one do this within LyX? Or is it not possible. I would like to have
> short descriptive entries in the List of Figures and longer actual captions.

have a look at

http://www.educat.hu-berlin.de/~voss/~lyx/caption.html#short

Herbert


-- 
http://perce.de/lyx/




Re: Figure list entries

2001-03-22 Thread George De Bruin

On Thursday 22 March 2001 h:m:s, Herbert Voss wrote:

> have a look at
>
> http://www.educat.hu-berlin.de/~voss/~lyx/caption.html#short

Is this the right URL, Herb?  I tried to pull it up but get a 'Not Found' 
error message  Ahh, I found it:

http://www.educat.hu-berlin.de/~voss/lyx/caption.html#short

(The extra ~ was throwing things off...)

// George



Figure list entries

2001-03-21 Thread Christopher von Nagy

I am working with a series of large documents with relatively large numbers 
of figures and complex captions. In LaTeX the caption command allows for a 
figure or table list entry and heading argument, the latter the actual 
caption in the text if it is different from the list entry. My question is, 
how does one do this within LyX? Or is it not possible. I would like to have 
short descriptive entries in the List of Figures and longer actual captions.

Thanks for any help forthcoming.

||-||

Christopher von Nagy



Figure list entries

2001-03-21 Thread Christopher von Nagy

I am working with a series of large documents with relatively large numbers 
of figures and complex captions. In LaTeX the caption command allows for a 
figure or table list entry and heading argument, the latter the actual 
caption in the text if it is different from the list entry. My question is, 
how does one do this within LyX? Or is it not possible. I would like to have 
short descriptive entries in the List of Figures and longer actual captions.

Thanks for any help forthcoming.

||-||

Christopher von Nagy



Figure list entries

2001-03-21 Thread Christopher von Nagy

I am working with a series of large documents with relatively large numbers 
of figures and complex captions. In LaTeX the caption command allows for a 
figure or table list entry and heading argument, the latter the actual 
caption in the text if it is different from the list entry. My question is, 
how does one do this within LyX? Or is it not possible. I would like to have 
short descriptive entries in the List of Figures and longer actual captions.

Thanks for any help forthcoming.

||-||

Christopher von Nagy