X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fjss.layout;h=9fac9ccd917bf718a9118d41eadeeca8b3cb9a1b;hb=006f1cbe4386999ee33b9e2ed5e55d3e36fa785c;hp=0aab2aedb06d06306567cc63a3953be07569ddf5;hpb=f3c1a4fbeb38d39bbbee0cc748c15d3a85febfb1;p=lyx.git diff --git a/lib/layouts/jss.layout b/lib/layouts/jss.layout index 0aab2aedb0..9fac9ccd91 100644 --- a/lib/layouts/jss.layout +++ b/lib/layouts/jss.layout @@ -8,7 +8,7 @@ # License: GNU GPL version 2 or later # JSS LaTeX files can be downloaded from http://www.jstatsoft.org/downloads/JSSstyle.zip -Format 54 +Format 79 # Read the definitions from article.layout Input article.layout @@ -44,20 +44,10 @@ Style Title EndFont End -Style "Plain Title" - CopyStyle Title - LatexName Plaintitle -End - Style Author InPreamble 1 End -Style "Plain Author" - CopyStyle Author - LatexName Plainauthor -End - Style Abstract Category FrontMatter LatexName Abstract @@ -120,13 +110,25 @@ Style "Plain Keywords" LabelString "Plain Keywords:" End +Style "Plain Title" + CopyStyle Keywords + LatexName Plaintitle + LabelString "Plain Title:" +End + Style "Short Title" CopyStyle Keywords LatexName Shorttitle LabelString "Short Title:" End -InsetLayout "Flex:pkg" +Style "Plain Author" + CopyStyle Keywords + LatexName Plainauthor + LabelString "Plain Author:" +End + +InsetLayout "Flex:Pkg" LyxType custom LabelString pkg LatexType command @@ -146,14 +148,13 @@ InsetLayout "Flex:pkg" Color latex Size Small EndFont - InToc true HTMLTag pkg ResetsFont true spellcheck false End -InsetLayout "Flex:proglang" - CopyStyle "Flex:pkg" +InsetLayout "Flex:Proglang" + CopyStyle "Flex:Pkg" LabelString proglang LatexName proglang Font @@ -167,8 +168,8 @@ InsetLayout "Flex:proglang" HTMLTag proglang End -InsetLayout "Flex:code" - CopyStyle "Flex:proglang" +InsetLayout "Flex:Code" + CopyStyle "Flex:Proglang" Spellcheck 0 LabelString code LatexName code @@ -182,50 +183,61 @@ InsetLayout "Flex:E-mail" HTMLTag email End -Style "Code Chunk" - Category MainText +InsetLayout "Flex:Code Chunk" + CopyStyle "Flex:Pkg" LatexType Environment LatexName CodeChunk + Decoration Classic Spellcheck 0 - NextNoIndent 1 ParbreakIsNewline 1 FreeSpacing 1 PassThru 1 KeepEmpty 1 - NewLine 0 - TopSep 0.7 - BottomSep 0.7 - Align Block - AlignPossible Block - Labeltype Above LabelString "Code Chunk" Font Family Typewriter EndFont LabelFont - Series Bold Color Green EndFont - HTMLTag

-	HTMLItem			p
 End
 
-Style "Standard Code"
-	CopyStyle			"Code Chunk"
+Style "Code"
 	LatexName			Code
 	LabelString			"Code"
+	LatexType			Environment
+	LatexName			Code
+	Spellcheck			0
+	NextNoIndent		1
+	ParbreakIsNewline	1
+	FreeSpacing			1
+	PassThru			1
+	KeepEmpty			1
+	NewLine				0
 	TopSep				0
 	BottomSep			0
+	Align				Block
+	AlignPossible		Block
+	Labeltype			Above
+	Font
+	  Family			Typewriter
+	EndFont
+	LabelFont
+	  Series			Bold
+	  Color				Green
+	EndFont
+	HTMLTag				pre
+	HTMLItem			p
 End
 
 Style "Code Input"
-	CopyStyle			"Standard Code"
+	CopyStyle			"Code"
 	LatexName			CodeInput
 	LabelString			"Code Input"
 End
 
 Style "Code Output"
-	CopyStyle			"Standard Code"
+	CopyStyle			"Code"
 	LatexName			CodeOutput
 	LabelString			"Code Output"
 End