add a 'dotted' list style for the index, include pageref in xrefs
authorChristian Thaeter <ct@pipapo.org>
Tue, 17 Aug 2010 18:22:46 +0000 (20:22 +0200)
committerChristian Thaeter <ct@pipapo.org>
Tue, 17 Aug 2010 18:22:46 +0000 (20:22 +0200)
doc/latex.conf

index 7079510..20c1093 100644 (file)
@@ -208,6 +208,14 @@ term=\item[%|]
 entry=
 label=
 
 entry=
 label=
 
+[listtags-dotted]
+list={title?\minisec\{{title}\}} {id?\label\{{id}\}\\hypertarget\{{id}\}\{\}} \begin\{description\}|\end\{description\}
+item=
+text=|
+term=\item[%|]\dotfill
+entry=
+label=
+
 [listtags-callout]
 list={title?\minisec\{{title}\}} {id?\label\{{id}\}\\hypertarget\{{id}\}\{\}} \begin\{enumerate\}|\end\{enumerate\}
 item=\item%|
 [listtags-callout]
 list={title?\minisec\{{title}\}} {id?\label\{{id}\}\\hypertarget\{{id}\}\{\}} \begin\{enumerate\}|\end\{enumerate\}
 item=\item%|
@@ -285,8 +293,7 @@ $$passthrough=|
 {style#}{style$ref:!..backslash..!ref!..braceleft..!{target}!..braceright..!}
 {style#}{latex-use-bibliography-environment#}{style$cite:!..backslash..!cite!..braceleft..!{target}!..braceright..!}
 {style#}{latex-use-bibliography-environment%}{style$cite:!..backslash..!hyperlink!..braceleft..!{target}!..braceright..!!..braceleft..!{0=[{target}]}!..braceright..!}
 {style#}{style$ref:!..backslash..!ref!..braceleft..!{target}!..braceright..!}
 {style#}{latex-use-bibliography-environment#}{style$cite:!..backslash..!cite!..braceleft..!{target}!..braceright..!}
 {style#}{latex-use-bibliography-environment%}{style$cite:!..backslash..!hyperlink!..braceleft..!{target}!..braceright..!!..braceleft..!{0=[{target}]}!..braceright..!}
-{style%}!..backslash..!hyperlink!..braceleft..!{target}!..braceright..!!..braceleft..!{0=[{target}]}!..braceright..!
-
+{style%}!..backslash..!hyperlink!..braceleft..!{target}!..braceright..!!..braceleft..!{0=[{target}]}!..braceright..!, !..backslash..!pageref!..braceleft..!{target}!..braceright..!
 # <<id,text>>
 [xref2-inlinemacro]
 {3#}{3$page:!..backslash..!pageref!..braceleft..!{1}!..braceright..!}
 # <<id,text>>
 [xref2-inlinemacro]
 {3#}{3$page:!..backslash..!pageref!..braceleft..!{1}!..braceright..!}
@@ -456,6 +463,9 @@ texttag=vlisttext
 entrytag=vlistentry
 labeltag=vlistterm
 
 entrytag=vlistentry
 labeltag=vlistterm
 
+[listdef-labeled]
+dotted-style=tags="dotted"
+
 # Tables.
 # FIXME: no lines!
 
 # Tables.
 # FIXME: no lines!