]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/tufte-book.layout
DocBook: new logic to handle the new lines, only used in output_docbook for now.
[lyx.git] / lib / layouts / tufte-book.layout
index cbade5a41173b351789c8c61b85e33ff9c01e810..2b88ca308f25645a0371a9347cc8da5ee2aae862 100644 (file)
@@ -5,13 +5,14 @@
 # Jason Waskiewicz <jason.waskiewicz@sendit.nodak.edu>, 2009/10/18
 # Modified by Uwe Stöhr <uwestoehr@web.de>, 2009/11/15
 
-Format 80
+Format 82
 
 Provides geometry 1
 Provides natbib-internal 1
 
 Sides          2
 PageStyle      Headings
+DocBookRoot    book
 
 ClassOptions
        Other           nohyper
@@ -103,6 +104,8 @@ Style Chapter
          Series                Bold
          Size                  Huge
        EndFont
+       DocBookTag            title
+       DocBookSectionTag     chapter
 End
 
 Style Section
@@ -132,6 +135,8 @@ Style Section
          Series                Bold
          Size                  Larger
        EndFont
+       DocBookTag            title
+       DocBookSectionTag     section
 End
 
 Style Subsection
@@ -194,6 +199,8 @@ InsetLayout Flex:NewThought
          Color                 red
        EndFont
        ResetsFont              true
+       DocBookTag      emphasis
+       DocBookAttr     role='newthought'
 End
 
 InsetLayout Flex:AllCaps
@@ -207,6 +214,8 @@ InsetLayout Flex:AllCaps
        LabelFont
          Color                 blue
        EndFont
+       DocBookTag      emphasis
+       DocBookAttr     role='allcaps'
 End
 
 InsetLayout Flex:SmallCaps
@@ -216,6 +225,8 @@ InsetLayout Flex:SmallCaps
        LabelFont
          Color                 green
        EndFont
+       DocBookTag      emphasis
+       DocBookAttr     role='smallcaps'
 End
 
 Style Full_Width