]> git.lyx.org Git - features.git/blobdiff - lib/layouts/stdtitle.inc
DocBook: mark dates to disallow fonts inside.
[features.git] / lib / layouts / stdtitle.inc
index 807ba489836f50d44bbd8bb1159e48e2f1dd9570..31f175e1968ff992007b12a360717ff7e3807b86 100644 (file)
@@ -8,49 +8,7 @@
 # a document, like title, author and such.
 
 
-Format 45
-
-# CSS for the TOC
-AddToHTMLStyles
-div.toc {
-  margin: 2em 0em;
-  border-style: solid;
-  border-width: 2px 0px;
-  padding: 1em 0em;
-}
-div.tochead { font-size: x-large; font-weight: bold; }
-div.lyxtoc-0 {
-  margin: 2em 0em 0em 0em;
-  font-size: xx-large;
-  font-weight: bold;
-}
-div.lyxtoc-1 {
-  margin: 1em 0em 0em 0em;
-  font-size: x-large;
-  font-weight: bold;
-}
-div.lyxtoc-2 {
-  margin: 0em 0em 0em 1em;
-  font-size: large;
-  font-weight: normal;
-}
-div.lyxtoc-3 { margin: 0em 0em 0em 0.5em; font-size: medium; }
-div.lyxtoc-4 { margin: 0em 0em 0em 0.5em; }
-div.lyxtoc-5 { margin: 0em 0em 0em 0.5em; }
-div.lyxtoc-6 { margin: 0em 0em 0em 0.5em; }
-a.tocentry {
-  text-decoration: none;
-  color: black;
-}
-a.tocentry:visited { color: black; }
-a.tocarrow {
-  font-weight: bold;
-  text-decoration: none;
-  color: #909090;
-}
-a.tocarrow:visited { color: #C0C0C0; }
-EndStyles
-
+Format 93
 
 Style Title
        Margin                Static
@@ -70,6 +28,9 @@ Style Title
        EndFont
        HTMLTag               h1
        HTMLTitle             true
+       DocBookTag            title
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End
 
 
@@ -89,6 +50,12 @@ Style Author
        Font
          Size                Large
        EndFont
+       DocBookTag            personname
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperTagType block
+       DocBookInInfo         always
+       DocBookNoFontInside   true
 End
 
 
@@ -108,4 +75,8 @@ Style Date
        Font
          Size                Large
        EndFont
+       DocBookTag            date
+       DocBookTagType        paragraph
+       DocBookInInfo         always
+    DocBookNoFontInside   true
 End