[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-devel
Subject:    subcaption in LyX file format 2.15
From:       Markus Grabner <grabner () icg ! tu-graz ! ac ! at>
Date:       2003-03-24 0:38:49
[Download RAW message or body]

Hi!

     LyX 1.3.0 and 1.3.1 can't correctly import subfigure captions 
stored in the ancient lyx 2.15 file format. Subfigure captions are only 
read up to the first whitespace character, the rest is ignored.

See attached files:
lyx_215.lyx was created with an older version of LyX
lyx_221.lyx was created by opening lyx_215.lyx with lyx-1.3.1 and 
storing it under the new name "lyx_221.lyx"

The subcaptionText fields in lyx_221.lyx include just a single word 
instead of the correct text.

Doesn't seem to be too hard to fix (at least if one is familiar with the 
source code)...

	Thanks,
		Markus


-- 
Markus Grabner - Computer Graphics and Vision
Graz University of Technology, Inffeldgasse 16/II, 8010 Graz, Austria
Phone: +43/316/873-5041, Fax: +43/316/873-5050
Email: grabner@icg.tu-graz.ac.at, WWW: http://www.icg.tu-graz.ac.at/~grabner

["lyx_215.lyx" (text/plain)]

#This file was created by <grabner> Fri Feb 15 14:09:56 2002
#LyX 0.12 (C) 1995-1998 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\begin_preamble
\end_preamble
\language default
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\begin_float fig 
\layout Standard
\align center 

\begin_inset Figure size 142 200
file image1.eps
subcaption This is the first subcaption.
width 3 24
flags 9
subfigure

\end_inset 


\begin_inset Figure size 142 200
file image2.eps
subcaption This is the second subcaption.
width 3 24
flags 9
subfigure

\end_inset 


\layout Caption

This is the figure caption.

\end_float 
 
\the_end

["lyx_221.lyx" (text/plain)]

#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset Float figure
wide false
collapsed false

\layout Standard
\align center 

\begin_inset Graphics
	filename image1.eps
	display monochrome
	width 24text%
	subcaption
	subcaptionText "This"

\end_inset 


\begin_inset Graphics
	filename image2.eps
	display monochrome
	width 24text%
	subcaption
	subcaptionText "This"

\end_inset 


\layout Caption

This is the figure caption.
\end_inset 

 
\the_end


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic