mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
fix subcaption text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6672 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
82d3d4dff6
commit
bf0ae39d7d
@ -1,3 +1,7 @@
|
||||
2003-04-01 John Levon <levon@movementarian.org>
|
||||
|
||||
* lyx2lyx/lyxconvert_218.py: fix reading of subcaption texts
|
||||
|
||||
2003-03-29 John Levon <levon@movementarian.org>
|
||||
|
||||
* images/psnfss1.xpm:
|
||||
|
@ -403,9 +403,13 @@ def remove_figinset(lines):
|
||||
else:
|
||||
display = "color"
|
||||
|
||||
subcaptionText = get_value(lines, "subcaption", i+1, j)
|
||||
subcaptionText = ""
|
||||
subcaptionLine = find_token(lines, "subcaption", i+1, j)
|
||||
if subcaptionLine != -1:
|
||||
subcaptionText = lines[subcaptionLine][11:]
|
||||
if subcaptionText != "":
|
||||
subcaptionText = '"'+subcaptionText+'"'
|
||||
|
||||
k = find_token(lines, "subfigure", i+1,j)
|
||||
if k == -1:
|
||||
subcaption = 0
|
||||
|
Loading…
Reference in New Issue
Block a user