]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/moderncv.layout
Better TOC output for XHTML, per Rob and Pavel.
[lyx.git] / lib / layouts / moderncv.layout
index 7ee7c10a9f2c219cac428d06301339a075977755..8044ca06c3e70a22d6e50c5cffc9a486eeb668d3 100644 (file)
@@ -1,16 +1,19 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{curriculum vitae (modern)}
+#  \DeclareLaTeXClass[moderncv,color.sty,fancyhdr.sty,hyperref.sty,ifpdf.sty,marvosym.sty]{curriculum vitae (modern)}
 # modern CV textclass definition file.
 # Author : Uwe Stöhr (uwestoehr@web.de)
 
 
 # General textclass parameters
-Format 6
+Format 34
        Columns                 1
        Sides                   1
        SecNumDepth             -1
        TocDepth                -1
 
+Provides hyperref  1
+Provides url       1
+
 
 # Standard style definition
 Style Standard
@@ -25,6 +28,7 @@ Style Standard
 End
 
 Input stdcounters.inc
+Input stdinsets.inc
 
 Style Section
        Margin                  Dynamic
@@ -43,6 +47,7 @@ Style Section
          Family                Sans
          Series                Bold
        EndFont
+               TocLevel 1
 End
 
 Style Subsection
@@ -55,6 +60,7 @@ Style Subsection
          Family                Sans
          Series                Medium
        EndFont
+       TocLevel 2
 End
 
 Style Entry