]> 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 dc5484f755730efd6b69af5350cc08a3d8994bab..31f175e1968ff992007b12a360717ff7e3807b86 100644 (file)
@@ -8,41 +8,7 @@
 # a document, like title, author and such.
 
 
-Format 25
-
-# CSS for the TOC
-AddToHTMLPreamble
-<style type="text/css">
-       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-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 1em; font-size: medium; }
-       div.lyxtoc-4 { margin: 0em 0em 0em 1em; }
-       div.lyxtoc-5 { margin: 0em 0em 0em 1em; }
-       div.lyxtoc-6 { margin: 0em 0em 0em 1em; }
-       a.tocarrow { 
-               font-weight: bold; 
-               text-decoration: none; 
-               color: #909090; 
-       }
-       a.tocarrow:visited { color: #C0C0C0; }
-</style>
-EndPreamble
-
+Format 93
 
 Style Title
        Margin                Static
@@ -62,6 +28,9 @@ Style Title
        EndFont
        HTMLTag               h1
        HTMLTitle             true
+       DocBookTag            title
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End
 
 
@@ -81,6 +50,12 @@ Style Author
        Font
          Size                Large
        EndFont
+       DocBookTag            personname
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperTagType block
+       DocBookInInfo         always
+       DocBookNoFontInside   true
 End
 
 
@@ -100,4 +75,8 @@ Style Date
        Font
          Size                Large
        EndFont
+       DocBookTag            date
+       DocBookTagType        paragraph
+       DocBookInInfo         always
+    DocBookNoFontInside   true
 End