summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/denisbdoc/README.md2
-rw-r--r--Master/texmf-dist/doc/latex/denisbdoc/denisbdoc-chng.xdy20
-rw-r--r--Master/texmf-dist/doc/latex/denisbdoc/denisbdoc.xdy38
3 files changed, 59 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/denisbdoc/README.md b/Master/texmf-dist/doc/latex/denisbdoc/README.md
index c9dd79434ca..0409ddcd9d6 100644
--- a/Master/texmf-dist/doc/latex/denisbdoc/README.md
+++ b/Master/texmf-dist/doc/latex/denisbdoc/README.md
@@ -1,4 +1,4 @@
-denisbdoc - A personal package for documenting classes and packages, v. 0.3
+denisbdoc - A personal package for documenting classes and packages, v. 0.4
===========================================================================
**The (quick 'n dirty) `denisbdoc` package is just for documenting the classes
diff --git a/Master/texmf-dist/doc/latex/denisbdoc/denisbdoc-chng.xdy b/Master/texmf-dist/doc/latex/denisbdoc/denisbdoc-chng.xdy
new file mode 100644
index 00000000000..a689e585248
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/denisbdoc/denisbdoc-chng.xdy
@@ -0,0 +1,20 @@
+(define-crossref-class "hyperindexformat")
+(markup-crossref-list :class "hyperindexformat" :open
+ "\hyperindexformat{" :sep "; " :close "}{}")
+
+(markup-locref :open "\hyperpage{" :close "}")
+
+(markup-locref-list :sep ", ")
+(markup-locclass-list :open "\dotfill " :close "" )
+
+
+(markup-index :open "~n
+\clearpage
+\phantomsection
+\begin{theindex}
+ \small
+ \providecommand*\lettergroupDefault[1]{}
+ \providecommand*\lettergroup[1]{}
+ ~n"
+ :close "~n~n\end{theindex}~n"
+:tree)
diff --git a/Master/texmf-dist/doc/latex/denisbdoc/denisbdoc.xdy b/Master/texmf-dist/doc/latex/denisbdoc/denisbdoc.xdy
new file mode 100644
index 00000000000..2f7314afd0f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/denisbdoc/denisbdoc.xdy
@@ -0,0 +1,38 @@
+;; (define-attributes ("example"))
+;; (define-attributes ("definition"))
+(define-attributes (("default" "definition" "example")))
+(define-attributes ("textsf"))
+(markup-locref :open "\hyperpage{" :close "}" :attr "default")
+(markup-locref :open "\textbf{\hyperpage{" :close "}}" :attr "definition")
+(markup-locref :open "\textit{\hyperpage{" :close "}}" :attr "textit")
+(markup-locref :open "\textsf{\hyperpage{" :close "}}" :attr "textsf")
+(markup-locref :open "\emph{\hyperpage{" :close "}}" :attr "example")
+
+(markup-crossref-list :class "see" :open "\seelink{" :sep "; " :close "}{}")
+
+(define-crossref-class "hyperindexformat")
+(markup-crossref-list :class "hyperindexformat" :open
+ "\hyperindexformat{" :sep "; " :close "}{}")
+
+;; (merge-to "definition" "default" :drop)
+
+(markup-locref :open "\hyperpage{" :close "}")
+(markup-locref :open "\hyperpage{" :close "}" :attr "hyperpage")
+
+(markup-keyword-list :open "\targetindexentry{" :close "}" )
+(markup-keyword-list :open "\targetindexentryi{" :close "}" :depth 1)
+(markup-keyword-list :open "\targetindexentryii{" :close "}" :depth 2)
+
+(markup-index :open "~n
+\clearpage
+\phantomsection
+\begin{theindex}
+ \providecommand*\lettergroupDefault[1]{}
+ \providecommand*\lettergroup[1]{%
+ \belowpdfbookmark{#1}{\csuse{DBD@index@symbolic@name}:#1}%
+ \par\indexheading{#1}{\csuse{DBD@index@symbolic@name}}\par
+ \nopagebreak
+ }
+ ~n"
+ :close "~n~n\end{theindex}~n"
+:tree)