layouts/modules: use the new PassThru tag

This fixes problems like bug #10434
This commit is contained in:
Uwe Stöhr 2016-10-22 03:01:44 +02:00
parent e83e64c447
commit 7f7534403b
10 changed files with 55 additions and 37 deletions

View File

@ -42,7 +42,7 @@
# The new "aastex6.layout" depends on aastex6.cls but inputs this
# file for the definitions (cf. LyX ticket #10027)
Format 60
Format 62
Columns 1
Sides 1
#SecNumDepth 3
@ -184,6 +184,7 @@ Style Altaffilation
Mandatory 1
LabelString "Number"
Tooltip "Consecutive number for the alternative affiliations"
PassThru 1
EndArgument
LabelSep xx
LabelType Static

View File

@ -14,7 +14,7 @@
# "TOG data URL", and "TOG code URL". The corresponding
# LaTeX commands are no longer supported.
Format 60
Format 62
Columns 1
Sides 1
@ -294,16 +294,19 @@ InsetLayout "Flex:CRcat"
Mandatory 1
LabelString "CR-number"
Tooltip "Number of the category"
PassThru 1
EndArgument
Argument 2
Mandatory 1
LabelString "Subcategory"
Tooltip "Subcategory"
PassThru 1
EndArgument
Argument 3
Mandatory 1
LabelString "Third-level"
Tooltip "Third-level of the category"
PassThru 1
EndArgument
End

View File

@ -11,13 +11,13 @@
# ACM style files can be obtained at
# http://www.acm.org/sigs/pubs/proceed/template.html
Format 60
Format 62
Columns 1
Sides 1
Columns 1
Sides 1
SecNumDepth 3
TocDepth 3
DefaultStyle Standard
DefaultStyle Standard
ClassOptions
FontSize 9|10|11|12
@ -33,15 +33,15 @@ EndFont
Style Standard
Category MainText
Margin Static
LatexType Paragraph
LatexName dummy
Category MainText
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
@ -259,16 +259,19 @@ InsetLayout "Flex:CRcat"
Mandatory 1
LabelString "CR-number"
Tooltip "Number of the category"
PassThru 1
EndArgument
Argument 2
Mandatory 1
LabelString "Subcategory"
Tooltip "Subcategory"
PassThru 1
EndArgument
Argument 3
Mandatory 1
LabelString "Third-level"
Tooltip "Third-level of the category"
PassThru 1
EndArgument
End

View File

@ -4,7 +4,7 @@
# AGUTeX textclass definition file.
# Author: Uwe Stöhr (uwestoehr@web.de)
Format 60
Format 62
Columns 1
Sides 1
@ -123,6 +123,7 @@ Style "Author affiliation"
Mandatory 1
LabelString "Number"
Tooltip "Consecutive number for the author affiliations"
PassThru 1
EndArgument
LabelSep xx
LabelType Static

View File

@ -6,7 +6,7 @@
# General textclass parameters
Format 60
Format 62
Columns 1
Sides 1
SecNumDepth -1
@ -110,6 +110,7 @@ Style Picture
Argument 1
LabelString "Size"
Tooltip "Size the photo is resized to"
PassThru 1
EndArgument
End
@ -159,6 +160,7 @@ Style Item
Argument 1
LabelString "Vertical Space"
Tooltip "Additional vertical space"
PassThru 1
EndArgument
Argument 2
Mandatory 1
@ -218,6 +220,7 @@ Style MotherTongue
Argument 1
LabelString "Vertical Space"
Tooltip "Additional vertical space"
PassThru 1
EndArgument
ParSkip 0.4
Align Block

View File

@ -12,7 +12,7 @@
# Author: Uwe Stöhr (uwestoehr@web.de)
Format 60
Format 62
Sides 1
Columns 1
@ -309,6 +309,7 @@ Style RomanList
Argument 1
LabelString "Numbering Scheme"
Tooltip "Use the largest item number in your list, e.g. '(iv)' for 4 Roman numbered items"
PassThru 1
EndArgument
NextNoIndent 1
LeftMargin MMN

View File

@ -17,7 +17,7 @@
# Author: Uwe Stöhr (uwestoehr@web.de)
Format 60
Format 62
Sides 1
Columns 1
@ -312,6 +312,7 @@ Style RomanList
Argument 1
LabelString "Numbering Scheme"
Tooltip "Use the largest item number in your list, e.g. '(iv)' for 4 Roman numbered items"
PassThru 1
EndArgument
NextNoIndent 1
LeftMargin MMN

View File

@ -7,7 +7,7 @@
# General textclass parameters
Format 60
Format 62
Columns 1
Sides 1
SecNumDepth -1
@ -209,10 +209,12 @@ Style Photo
Argument 1
LabelString "Height"
Tooltip "Height the photo is resized to"
PassThru 1
EndArgument
Argument 2
LabelString "Thickness"
Tooltip "Thickness of the surrounding frame"
PassThru 1
EndArgument
End
@ -307,6 +309,7 @@ InsetLayout Flex:Column
Argument 1
LabelString "Width"
Tooltip "Optional width"
PassThru 1
EndArgument
Argument 2
Mandatory 1

View File

@ -6,29 +6,30 @@
#DescriptionEnd
#Authors: Uwe Stöhr and Jürgen Spitzmüller
Format 60
Format 62
InsetLayout Flex:Multiple_Columns
LyXType custom
Decoration classic
LabelString Columns
LatexType environment
LatexName multicols
Requires multicol
LyXType custom
Decoration classic
LabelString Columns
LatexType environment
LatexName multicols
Requires multicol
Argument 1
LabelString "Number of Columns"
Tooltip "Insert the number of columns here"
Mandatory 1
DefaultArg 2
LabelString "Number of Columns"
Tooltip "Insert the number of columns here"
Mandatory 1
DefaultArg 2
PassThru 1
EndArgument
Argument 2
LabelString "Preface"
Tooltip "An optional preface"
LabelString "Preface"
Tooltip "An optional preface"
EndArgument
Argument 3
LabelString "Space Before Page Break"
Tooltip "Free space that needs to be on the page to start the multiple columns on this page"
Requires 2
LabelString "Space Before Page Break"
Tooltip "Free space that needs to be on the page to start the multiple columns on this page"
Requires 2
EndArgument
ResetsFont true
End

View File

@ -6,7 +6,7 @@
#Authors: Jürgen Spitzmüller
# Uwe Stöhr <uwestoehr@lyx.org>
Format 60
Format 62
InsetLayout Flex:Color_Box
LyXType custom
@ -134,12 +134,13 @@ Style New_Color_Box_Type
LabelString "Name"
Tooltip "Name of the new box type"
Mandatory 1
AutoInsert 1
AutoInsert 1
EndArgument
Argument 3
LabelString "Arguments"
Tooltip "Number of arguments (remove this inset if none!)"
Requires 4
PassThru 1
EndArgument
Argument 4
LabelString "Default Value"