]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/tufte-book.layout
DocBook: implement margin/sidenotes in Tufte.
[lyx.git] / lib / layouts / tufte-book.layout
index f36f395059ec71a1e83cdca26bd8273204bbea93..bc79f5d6ef14b29cab9d5692b7f624b6d8672b25 100644 (file)
@@ -170,6 +170,10 @@ InsetLayout Flex:Sidenote
          Color                 marginlabel
          Size                  Small
        EndFont
+    DocBookTag      footnote
+    DocBookAttr     role='sidenote'
+       DocBookItemTag  para
+    DocBookTagType  inline
        ResetsFont              true
 End
 
@@ -183,6 +187,7 @@ InsetLayout Flex:Marginnote
          Shape                 Up
          Series                Medium
        EndFont
+    DocBookAttr     role='marginnote'
        MultiPar                true
 End
 
@@ -201,6 +206,7 @@ InsetLayout Flex:NewThought
        ResetsFont              true
        DocBookTag      emphasis
        DocBookAttr     role='newthought'
+    DocBookTagType  inline
 End
 
 InsetLayout Flex:AllCaps