diff options
author | Robert Alessi <alessi@robertalessi.net> | 2018-10-13 16:19:58 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2018-10-13 16:19:58 +0200 |
commit | 0fb13b776774e39b62c61da9a0ab5ca814c5f1de (patch) | |
tree | 9a76ccd00f2d6e9551235c98278c9b081dff3aa9 | |
parent | 610ccf0ca3a8d3836e29f8a7c505ba21d9fd41c0 (diff) | |
download | ekdosis-0fb13b776774e39b62c61da9a0ab5ca814c5f1de.tar.gz |
print line numbers in bold face in the apparatus
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | ekdosis.dtx | 8 |
2 files changed, 6 insertions, 4 deletions
@@ -7,7 +7,7 @@ UTREE = $(shell kpsewhich --var-value TEXMFHOME) | |||
7 | all: $(NAME).pdf | 7 | all: $(NAME).pdf |
8 | test -e README.txt && mv README.txt README || exit 0 | 8 | test -e README.txt && mv README.txt README || exit 0 |
9 | $(NAME).pdf: $(NAME).dtx | 9 | $(NAME).pdf: $(NAME).dtx |
10 | lualatex -shell-escape -recorder -interaction=batchmode $(NAME).dtx >/dev/null | 10 | lualatex -recorder -interaction=batchmode $(NAME).dtx >/dev/null |
11 | if [ -f $(NAME).glo ]; then makeindex -q -s gglo.ist -o $(NAME).gls $(NAME).glo; fi | 11 | if [ -f $(NAME).glo ]; then makeindex -q -s gglo.ist -o $(NAME).gls $(NAME).glo; fi |
12 | if [ -f $(NAME).idx ]; then makeindex -q -s gind.ist -o $(NAME).ind $(NAME).idx; fi | 12 | if [ -f $(NAME).idx ]; then makeindex -q -s gind.ist -o $(NAME).ind $(NAME).idx; fi |
13 | lualatex --recorder --interaction=nonstopmode $(NAME).dtx > /dev/null | 13 | lualatex --recorder --interaction=nonstopmode $(NAME).dtx > /dev/null |
diff --git a/ekdosis.dtx b/ekdosis.dtx index 92d673d..b181e53 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx | |||
@@ -107,9 +107,9 @@ function mdvappend(str) | |||
107 | else | 107 | else |
108 | i = i..salt | 108 | i = i..salt |
109 | table.insert(md5items, i) | 109 | table.insert(md5items, i) |
110 | salt = salt +1 | 110 | salt = salt + 1 |
111 | end | 111 | end |
112 | return "\\linelabel{"..i.."}\\append{\\getrefnumber{"..i.."} "..str.."}" | 112 | return "\\linelabel{"..i.."}\\append{\\textbf{\\getrefnumber{"..i.."}} "..str.."}" |
113 | end | 113 | end |
114 | 114 | ||
115 | --[[ -- of no use | 115 | --[[ -- of no use |
@@ -348,7 +348,9 @@ Running "make install" installs the files in the local TeX tree. | |||
348 | \def\add@@apparatus{% | 348 | \def\add@@apparatus{% |
349 | \testapparatus% | 349 | \testapparatus% |
350 | \ifbool{isapp}{% | 350 | \ifbool{isapp}{% |
351 | \keyparbox[b]{}{\rule{5cm}{0.5pt}\\ \footnotesize\apparatus} | 351 | % \blfootnote{\apparatus}% |
352 | \keyparbox[b]{}{\rule{5cm}{0.5pt}\\ | ||
353 | \footnotesize\apparatus}% | ||
352 | }{}} | 354 | }{}} |
353 | \def\add@apparatus{% | 355 | \def\add@apparatus{% |
354 | \add@@apparatus% | 356 | \add@@apparatus% |