summaryrefslogtreecommitdiff
path: root/usergrps/dante/dtk/dtk.xdy
blob: 17546da71ee2b29d4338b4424082ca0c9103afe0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
;; ---------------------------------------------------------------
;; dtk.xdy --- A set of biblatex implementations of
;;   dtk index style for DANTE journal 
;;   "Die TeXnische Komödie"
;; Maintained by Rolf Niepraschk
;; (C) Rolf.Niepraschk@gmx.de
;; Released under the LaTeX Project Public License v1.3c or later
;; See http://www.latex-project.org/lppl.txt
;; ---------------------------------------------------------------

;; 2015/07/16 v0.1d, Rolf Niepraschk

(require "lang/general/utf8-lang.xdy")
(require "lang/general/utf8.xdy")
;;(require "lang/german/din5007-utf8-lang.xdy")
;;(require "lang/german/din5007-utf8.xdy")
(require "numeric-sort.xdy")
(require "latex.xdy")

;;(require "latex-loc-fmts.xdy")
(define-attributes ("default" "textbf" "textit" "hyperpage" "highlightPage" "foo" "gobble"))
(markup-locref :open "\textbf{" :close "}" :attr "textbf")
(markup-locref :open "\textit{" :close "}" :attr "textit")
(markup-locref :open "\hyperpage{" :close "}" :attr "hyperpage")
;;(markup-locref :open "\highlightPage{" :close "}" :attr "highlightPage")
(markup-locref :open "\highlightPage{\hyperpage{" :close "}}" :attr "highlightPage")
(markup-locref :open "\foo{" :close "}" :attr "foo")
(markup-locref :open "\csname @gobble\endcsname{" :close "}" :attr "gobble")

(require "makeindex.xdy")
;;(require "latin-lettergroups.xdy")
(require "page-ranges.xdy")
(require "word-order.xdy")

;;(require "ff-ranges.xdy")
(define-location-class "arabic-page-numbers"
  ("arabic-numbers") :min-range-length 2)
;;(markup-range :sep "\kern .1em\relax \textit{f}"  :length 1 :ignore-end)
;;(markup-range :sep "\kern .1em\relax \textit{ff}" :length 2 :ignore-end)
(markup-range :sep "--")

;;page-ranges.xdy

(markup-indexentry :open "~n  \item "    :depth 0)
(markup-indexentry :open "    \subitem " :depth 1)

(markup-locclass-list :open "\relax" :close "\@nil")
(markup-locref-list   :sep ",")