The necessary changes to these XML layouts (charstyle new format)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19696 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Martin Vermeer 2007-08-21 19:43:10 +00:00
parent 05776800df
commit 1bd92eb2f1
3 changed files with 129 additions and 45 deletions

View File

@ -6,7 +6,7 @@
# It is desirable, as far as possible, to have the same look and feel for # It is desirable, as far as possible, to have the same look and feel for
# related layouts in latex and docbook. # related layouts in latex and docbook.
Format 4 Format 5
OutputType docbook OutputType docbook
Columns 1 Columns 1
@ -32,7 +32,9 @@ Style Standard
End End
CharStyle Firstname InsetLayout CharStyle:Firstname
LyXType charstyle
LabelString Firstname
LatexType Command LatexType Command
LatexName firstname LatexName firstname
Font Font
@ -44,7 +46,9 @@ CharStyle Firstname
EndFont EndFont
End End
CharStyle Fname InsetLayout CharStyle:Fname
LyXType charstyle
LabelString Fname
LatexType Command LatexType Command
LatexName fname LatexName fname
Font Font
@ -57,7 +61,9 @@ CharStyle Fname
End End
CharStyle Surname InsetLayout CharStyle:Surname
LyXType charstyle
LabelString Surname
LatexType Command LatexType Command
LatexName surname LatexName surname
Font Font
@ -70,7 +76,9 @@ CharStyle Surname
End End
CharStyle Filename InsetLayout CharStyle:Filename
LyXType charstyle
LabelString Filename
LatexType Command LatexType Command
LatexName filename LatexName filename
Font Font
@ -83,7 +91,9 @@ CharStyle Filename
End End
CharStyle Literal InsetLayout CharStyle:Literal
LyXType charstyle
LabelString Literal
LatexType Command LatexType Command
LatexName literal LatexName literal
Font Font
@ -96,7 +106,9 @@ CharStyle Literal
End End
CharStyle Emph InsetLayout CharStyle:Emph
LyXType charstyle
LabelString Emph
LatexType Command LatexType Command
LatexName emph LatexName emph
LatexParam "type=<italic>" LatexParam "type=<italic>"
@ -110,7 +122,9 @@ CharStyle Emph
End End
CharStyle Abbrev InsetLayout CharStyle:Abbrev
LyXType charstyle
LabelString Abbrev
LatexType Command LatexType Command
LatexName abbrev LatexName abbrev
LabelFont LabelFont
@ -119,7 +133,9 @@ CharStyle Abbrev
End End
CharStyle Citation-number InsetLayout CharStyle:Citation-number
LyXType charstyle
LabelString Citation-number
LatexType Command LatexType Command
LatexName citation-number LatexName citation-number
LabelFont LabelFont
@ -128,7 +144,9 @@ CharStyle Citation-number
End End
CharStyle Volume InsetLayout CharStyle:Volume
LyXType charstyle
LabelString Volume
LatexType Command LatexType Command
LatexName volume LatexName volume
LabelFont LabelFont
@ -137,7 +155,9 @@ CharStyle Volume
End End
CharStyle Day InsetLayout CharStyle:Day
LyXType charstyle
LabelString Day
LatexType Command LatexType Command
LatexName day LatexName day
LabelFont LabelFont
@ -146,7 +166,9 @@ CharStyle Day
End End
CharStyle Month InsetLayout CharStyle:Month
LyXType charstyle
LabelString Month
LatexType Command LatexType Command
LatexName month LatexName month
LabelFont LabelFont
@ -155,7 +177,9 @@ CharStyle Month
End End
CharStyle Year InsetLayout CharStyle:Year
LyXType charstyle
LabelString Year
LatexType Command LatexType Command
LatexName year LatexName year
LabelFont LabelFont
@ -164,7 +188,9 @@ CharStyle Year
End End
CharStyle Issue-number InsetLayout CharStyle:Issue-number
LyXType charstyle
LabelString Issue-number
LatexType Command LatexType Command
LatexName issue-number LatexName issue-number
LabelFont LabelFont
@ -173,7 +199,9 @@ CharStyle Issue-number
End End
CharStyle Issue-day InsetLayout CharStyle:Issue-day
LyXType charstyle
LabelString Issue-day
LatexType Command LatexType Command
LatexName issue-day LatexName issue-day
LabelFont LabelFont
@ -182,7 +210,9 @@ CharStyle Issue-day
End End
CharStyle Issue-months InsetLayout CharStyle:Issue-months
LyXType charstyle
LabelString Issue-months
LatexType Command LatexType Command
LatexName issue-months LatexName issue-months
LabelFont LabelFont

View File

@ -6,7 +6,7 @@
# It is desirable, as far as possible, to have the same look and feel for # It is desirable, as far as possible, to have the same look and feel for
# related layouts in latex and docbook. # related layouts in latex and docbook.
Format 4 Format 5
Input stdtitle.inc Input stdtitle.inc
@ -318,7 +318,9 @@ End
# Inside AGU-journal: # Inside AGU-journal:
CharStyle ISSN InsetLayout CharStyle:ISSN
LyXType charstyle
LabelString ISSN
LatexType Command LatexType Command
LatexName ISSN LatexName ISSN
LabelFont LabelFont
@ -327,7 +329,9 @@ CharStyle ISSN
End End
CharStyle CODEN InsetLayout CharStyle:CODEN
LyXType charstyle
LabelString CODEN
LatexType Command LatexType Command
LatexName CODEN LatexName CODEN
LabelFont LabelFont
@ -337,7 +341,9 @@ End
# Inside Special-section: # Inside Special-section:
CharStyle SS-Code InsetLayout CharStyle:SS-Code
LyXType charstyle
LabelString SS-Code
LatexType Command LatexType Command
LatexName ss-code LatexName ss-code
LabelFont LabelFont
@ -346,7 +352,9 @@ CharStyle SS-Code
End End
CharStyle SS-Title InsetLayout CharStyle:SS-Title
LyXType charstyle
LabelString SS-Title
LatexType Command LatexType Command
LatexName ss-title LatexName ss-title
LabelFont LabelFont
@ -356,7 +364,9 @@ End
# Inside Copyright: # Inside Copyright:
CharStyle CCC-Code InsetLayout CharStyle:CCC-Code
LyXType charstyle
LabelString CCC-Code
LatexType Command LatexType Command
LatexName CCCcode LatexName CCCcode
LabelFont LabelFont
@ -367,7 +377,9 @@ End
# Inside Index-term: # Inside Index-term:
CharStyle Code InsetLayout CharStyle:Code
LyXType charstyle
LabelString Code
LatexType Command LatexType Command
LatexName code LatexName code
LabelFont LabelFont
@ -376,7 +388,9 @@ CharStyle Code
End End
CharStyle Dscr InsetLayout CharStyle:Dscr
LyXType charstyle
LabelString Dscr
LatexType Command LatexType Command
LatexName dscr LatexName dscr
LabelFont LabelFont
@ -386,7 +400,9 @@ End
# Inside Keywords: # Inside Keywords:
CharStyle Keyword InsetLayout CharStyle:Keyword
LyXType charstyle
LabelString Keyword
LatexType Command LatexType Command
LatexName keyword LatexName keyword
LabelFont LabelFont
@ -396,7 +412,9 @@ End
#inside Affiliation: #inside Affiliation:
CharStyle Orgdiv InsetLayout CharStyle:Orgdiv
LyXType charstyle
LabelString Orgdiv
LatexType Command LatexType Command
LatexName orgdiv LatexName orgdiv
LabelFont LabelFont
@ -405,7 +423,9 @@ CharStyle Orgdiv
End End
CharStyle Orgname InsetLayout CharStyle:Orgname
LyXType charstyle
LabelString Orgname
LatexType Command LatexType Command
LatexName orgname LatexName orgname
LabelFont LabelFont
@ -414,7 +434,9 @@ CharStyle Orgname
End End
CharStyle Street InsetLayout CharStyle:Street
LyXType charstyle
LabelString Street
LatexType Command LatexType Command
LatexName street LatexName street
LabelFont LabelFont
@ -423,7 +445,9 @@ CharStyle Street
End End
CharStyle City InsetLayout CharStyle:City
LyXType charstyle
LabelString City
LatexType Command LatexType Command
LatexName city LatexName city
LabelFont LabelFont
@ -432,7 +456,9 @@ CharStyle City
End End
CharStyle State InsetLayout CharStyle:State
LyXType charstyle
LabelString State
LatexType Command LatexType Command
LatexName state LatexName state
LabelFont LabelFont
@ -441,7 +467,9 @@ CharStyle State
End End
CharStyle Postcode InsetLayout CharStyle:Postcode
LyXType charstyle
LabelString Postcode
LatexType Command LatexType Command
LatexName postcode LatexName postcode
LabelFont LabelFont
@ -450,7 +478,9 @@ CharStyle Postcode
End End
CharStyle Country InsetLayout CharStyle:Country
LyXType charstyle
LabelString Country
LatexType Command LatexType Command
LatexName country LatexName country
LabelFont LabelFont

View File

@ -2,8 +2,10 @@
# Author : José Abílio Oliveira Matos <jamatos@lyx.org> # Author : José Abílio Oliveira Matos <jamatos@lyx.org>
# Character Styles definition # Character Styles definition
Format 4 Format 5
CharStyle Filename InsetLayout CharStyle:Filename
LyXType charstyle
LabelString Filename
LatexType Command LatexType Command
LatexName filename LatexName filename
Font Font
@ -15,7 +17,9 @@ CharStyle Filename
EndFont EndFont
End End
CharStyle Directory InsetLayout CharStyle:Directory
LyXType charstyle
LabelString Directory
LatexType Command LatexType Command
LatexName filename LatexName filename
LatexParam "class=<directory>" LatexParam "class=<directory>"
@ -28,7 +32,9 @@ CharStyle Directory
EndFont EndFont
End End
CharStyle Firstname InsetLayout CharStyle:Firstname
LyXType charstyle
LabelString Firstname
LatexType Command LatexType Command
LatexName firstname LatexName firstname
LabelFont LabelFont
@ -37,7 +43,9 @@ CharStyle Firstname
EndFont EndFont
End End
CharStyle Surname InsetLayout CharStyle:Surname
LyXType charstyle
LabelString Surname
LatexType Command LatexType Command
LatexName surname LatexName surname
LabelFont LabelFont
@ -46,7 +54,9 @@ CharStyle Surname
EndFont EndFont
End End
CharStyle Literal InsetLayout CharStyle:Literal
LyXType charstyle
LabelString Literal
LatexType Command LatexType Command
LatexName literal LatexName literal
Font Font
@ -58,7 +68,9 @@ CharStyle Literal
EndFont EndFont
End End
CharStyle Email InsetLayout CharStyle:Email
LyXType charstyle
LabelString Email
LatexType Command LatexType Command
LatexName email LatexName email
Font Font
@ -70,7 +82,9 @@ CharStyle Email
EndFont EndFont
End End
CharStyle KeyCombo InsetLayout CharStyle:KeyCombo
LyXType charstyle
LabelString KeyCombo
LatexType Command LatexType Command
LatexName keycombo LatexName keycombo
Font Font
@ -82,7 +96,9 @@ CharStyle KeyCombo
EndFont EndFont
End End
CharStyle KeyCap InsetLayout CharStyle:KeyCap
LyXType charstyle
LabelString KeyCap
LatexType Command LatexType Command
LatexName keycap LatexName keycap
Font Font
@ -94,7 +110,9 @@ CharStyle KeyCap
EndFont EndFont
End End
CharStyle GuiMenu InsetLayout CharStyle:GuiMenu
LyXType charstyle
LabelString GuiMenu
LatexType Command LatexType Command
LatexName guimenu LatexName guimenu
Font Font
@ -106,7 +124,9 @@ CharStyle GuiMenu
EndFont EndFont
End End
CharStyle GuiMenuItem InsetLayout CharStyle:GuiMenuItem
LyXType charstyle
LabelString GuiMenuItem
LatexType Command LatexType Command
LatexName guimenuitem LatexName guimenuitem
Font Font
@ -118,7 +138,9 @@ CharStyle GuiMenuItem
EndFont EndFont
End End
CharStyle GuiButton InsetLayout CharStyle:GuiButton
LyXType charstyle
LabelString GuiButton
LatexType Command LatexType Command
LatexName guibutton LatexName guibutton
Font Font
@ -130,7 +152,9 @@ CharStyle GuiButton
EndFont EndFont
End End
CharStyle MenuChoice InsetLayout CharStyle:MenuChoice
LyXType charstyle
LabelString MenuChoice
LatexType Command LatexType Command
LatexName menuchoice LatexName menuchoice
Font Font