X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fiopart.layout;h=1a527d384ed467a60b864848eb851d2815f73c6f;hb=c8c1c15631712d458e98b612ba8c049a7ae4d260;hp=e5a0c0a2a1cbc7fbf25da3cd4cd8f379a7cf90c1;hpb=8254e84f8f696f0372ccc77f59148888e17a85fe;p=lyx.git diff --git a/lib/layouts/iopart.layout b/lib/layouts/iopart.layout index e5a0c0a2a1..1a527d384e 100644 --- a/lib/layouts/iopart.layout +++ b/lib/layouts/iopart.layout @@ -4,7 +4,7 @@ # IOP article textclass definition file. # Author: Uwe Stöhr (uwestoehr@web.de) -Format 45 +Format 98 Columns 1 Sides 1 @@ -42,6 +42,7 @@ Style Standard Align Block AlignPossible Block, Left, Right, Center LabelType No_Label + DocBookTag para End @@ -50,6 +51,7 @@ Input stdfloats.inc Input stdlists.inc Input stdsections.inc Input stdstarsections.inc +Input stdlayouts.inc NoStyle Chapter NoCounter chapter @@ -64,6 +66,7 @@ Style Title Argument 1 LabelString "Short Title|S" Tooltip "Short title that will appear in header line" + InsertCotext 1 EndArgument ParSkip 0.4 ItemSep 0 @@ -76,6 +79,9 @@ Style Title Size Largest EndFont HTMLTitle true + DocBookTag title + DocBookTagType paragraph + DocBookInInfo maybe End @@ -144,6 +150,11 @@ Style Author Font Size Large EndFont + DocBookTag personname + DocBookTagType paragraph + DocBookWrapperTag author + DocBookWrapperTagType inline + DocBookInInfo always End @@ -159,6 +170,12 @@ Style Address Font Shape Italic EndFont + DocBookTag address + DocBookTagType paragraph + DocBookWrapperTag author + DocBookWrapperTagType inline + DocBookWrapperMergeWithPrevious true + DocBookInInfo always End @@ -169,6 +186,12 @@ Style Email Font Shape Up EndFont + DocBookTag email + DocBookTagType paragraph + DocBookWrapperTag author + DocBookWrapperTagType inline + DocBookWrapperMergeWithPrevious true + DocBookInInfo always End @@ -198,6 +221,11 @@ Style Abstract Series Bold Size Large EndFont + DocBookAbstract true + DocBookInInfo always + DocBookWrapperTag abstract + DocBookWrapperMergeWithPrevious true + DocBookTag para End @@ -214,9 +242,13 @@ Style Keywords LabelType Static LabelString "Keywords:" LabelFont - Color Green + Color textlabel2 Series Bold EndFont + DocBookTag keyword + DocBookTagType paragraph + DocBookWrapperTag keywordset + DocBookInInfo always End @@ -224,6 +256,16 @@ Style PACS CopyStyle Keywords LatexName pacs LabelString "Physics and Astronomy Classification System number:" + DocBookTag subjectset + DocBookAttr role='pacs' + DocBookTagType block + DocBookItemWrapperTag subject + DocBookItemWrapperTagType paragraph + DocBookItemTag subjectterm + DocBookItemTagType inline + DocBookWrapperTag NONE + DocBookWrapperAttr "" + DocBookInInfo always End @@ -231,6 +273,16 @@ Style MSC CopyStyle Keywords LatexName ams LabelString "Mathematics Subject Classification number:" + DocBookTag subjectset + DocBookAttr role='msc' + DocBookTagType block + DocBookItemWrapperTag subject + DocBookItemWrapperTagType paragraph + DocBookItemTag subjectterm + DocBookItemTagType inline + DocBookWrapperTag NONE + DocBookWrapperAttr "" + DocBookInInfo always End @@ -260,6 +312,9 @@ Style Acknowledgments Series Bold Size Normal EndFont + # TODO: For IOP, this is rather a title than a paragraph style. But it's not in the TOC, so not much can be done. + DocBookTag para + DocBookAttr role='acknowledgments' End @@ -269,6 +324,7 @@ Style "Bibliography (plain)" LatexName thebibliography Category BackMatter NextNoIndent 1 + ToggleIndent Never LeftMargin MM ParSkip 0.4 ItemSep 0 @@ -284,6 +340,18 @@ Style "Bibliography (plain)" Series Bold Size Larger EndFont + TocLevel 1 + IsTocCaption 0 + Argument listpreamble:1 + LabelString "Bib preamble" + MenuString "Bibliography Preamble" + Tooltip "LaTeX code to be inserted before the first bibliography item" + PassThru 1 + Font + Family typewriter + Color latex + EndFont + EndArgument End