From 6594289d3d005c0ce81aab4e822fa0e9ac43a537 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Fri, 23 Jan 2015 00:23:37 +0100 Subject: [PATCH] aastex: fix optional argument of a command - aastex.layout: fix name and hint of \figcaption - aastex.lyx: improved template file --- lib/layouts/aastex.layout | 12 +++++------ lib/templates/aastex.lyx | 43 ++++++++++++++++++++++++++++++++++----- 2 files changed, 44 insertions(+), 11 deletions(-) diff --git a/lib/layouts/aastex.layout b/lib/layouts/aastex.layout index b0f66b3a44..293dcdb033 100644 --- a/lib/layouts/aastex.layout +++ b/lib/layouts/aastex.layout @@ -33,6 +33,7 @@ # Version 1.4 26/10/08 - new custom insets for \altaffilmark, \tablenotemark # - new environments for \altaffiltext and \tablenotetext # Version 1.5 26/11/12 - added mandatory argument for \altaffiltext +# Version 1.6 23/01/15 - fix for the optional argument of \figcaption Format 54 @@ -526,13 +527,12 @@ End InsetLayout Caption:FigCaption - LabelString fig. - LaTeXType command - LatexName figcaption - # FIXME: it seems that the optional argument is actually a file name + LabelString fig. + LaTeXType command + LatexName figcaption Argument 1 - LabelString "Short Title|S" - Tooltip "The caption as it appears in the list of figures" + LabelString "Filename" + Tooltip "Filename to identify the corresponding figure file" EndArgument HTMLStyle div.float-caption { diff --git a/lib/templates/aastex.lyx b/lib/templates/aastex.lyx index e83eb12bb9..b233ac150f 100644 --- a/lib/templates/aastex.lyx +++ b/lib/templates/aastex.lyx @@ -1,5 +1,5 @@ -#LyX 2.1 created this file. For more info see http://www.lyx.org/ -\lyxformat 474 +#LyX 2.2 created this file. For more info see http://www.lyx.org/ +\lyxformat 481 \begin_document \begin_header \textclass aastex @@ -212,7 +212,7 @@ Results