aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2020-07-13 19:56:16 +0200
committerRobert Alessi <alessi@robertalessi.net>2020-07-13 20:02:21 +0200
commitf4cd9ce7c2fe08e0ed0eea96a129194e375846ce (patch)
tree8b5569723fda5daf5002517f82416d350e58d324
parent013e28163ccc4c5b1bbbad274446826b62841c55 (diff)
downloadekdosis-f4cd9ce7c2fe08e0ed0eea96a129194e375846ce.tar.gz
enclose the arguments to go in the apparatus in a group
-rw-r--r--ekdosis.dtx17
1 files changed, 9 insertions, 8 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index fe4d6d8..077508d 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -371,7 +371,7 @@ along with this program. If not, see
371\newminted[ekdlua]{lua}{bgcolor={}, linenos, fontsize=\relsize{-0.5}, 371\newminted[ekdlua]{lua}{bgcolor={}, linenos, fontsize=\relsize{-0.5},
372 xleftmargin=12pt, breaklines, numberblanklines=false, numbersep=3pt, 372 xleftmargin=12pt, breaklines, numberblanklines=false, numbersep=3pt,
373 firstnumber=last} 373 firstnumber=last}
374\renewcommand{\theFancyVerbLine}{\rmfamily\smaller\arabic{FancyVerbLine}} 374\renewcommand{\theFancyVerbLine}{\normalfont\smaller\arabic{FancyVerbLine}}
375\usepackage[contents]{colordoc} 375\usepackage[contents]{colordoc}
376\newcommand{\pkg}[1]{\textsf{#1}\index{#1=#1 (package)}} 376\newcommand{\pkg}[1]{\textsf{#1}\index{#1=#1 (package)}}
377\newcommand{\env}[1]{\texttt{#1}\index{#1=#1 (environment)}} 377\newcommand{\env}[1]{\texttt{#1}\index{#1=#1 (environment)}}
@@ -3133,8 +3133,8 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
3133 \ifdefined\ekdlr@pre% 3133 \ifdefined\ekdlr@pre%
3134 \space\unexpanded\expandafter{\ekdlr@pre}\space\else\fi 3134 \space\unexpanded\expandafter{\ekdlr@pre}\space\else\fi
3135 \ltx@ifpackageloaded{babel}% 3135 \ltx@ifpackageloaded{babel}%
3136 {\noexpand\selectlanguage{\languagename}\unexpanded{#2}}{% 3136 {{\noexpand\selectlanguage{\languagename}\unexpanded{#2}}}{%
3137 \unexpanded{#2}}% 3137 {\unexpanded{#2}}}%
3138 \ifdefined\ekdlr@post% 3138 \ifdefined\ekdlr@post%
3139 \space\unexpanded\expandafter{\ekdlr@post}\space\else\fi 3139 \space\unexpanded\expandafter{\ekdlr@post}\space\else\fi
3140 \fi 3140 \fi
@@ -3214,8 +3214,8 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
3214 \ifdefined\ekdlr@pre% 3214 \ifdefined\ekdlr@pre%
3215 \space\unexpanded\expandafter{\ekdlr@pre}\space\else\fi 3215 \space\unexpanded\expandafter{\ekdlr@pre}\space\else\fi
3216 \ltx@ifpackageloaded{babel}% 3216 \ltx@ifpackageloaded{babel}%
3217 {\noexpand\selectlanguage{\languagename}\unexpanded{#2}}{% 3217 {{\noexpand\selectlanguage{\languagename}\unexpanded{#2}}}{%
3218 \unexpanded{#2}}% 3218 {\unexpanded{#2}}}%
3219 \ifdefined\ekdlr@post% 3219 \ifdefined\ekdlr@post%
3220 \space\unexpanded\expandafter{\ekdlr@post}\space\else\fi 3220 \space\unexpanded\expandafter{\ekdlr@post}\space\else\fi
3221 \fi 3221 \fi
@@ -3310,8 +3310,8 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
3310 {\unexpanded\expandafter{\ekdn@lem}}% 3310 {\unexpanded\expandafter{\ekdn@lem}}%
3311 \unexpanded\expandafter{\ekdn@sep}\else\fi% 3311 \unexpanded\expandafter{\ekdn@sep}\else\fi%
3312 \ltx@ifpackageloaded{babel}% 3312 \ltx@ifpackageloaded{babel}%
3313 {\noexpand\selectlanguage{\languagename}\unexpanded{#2}}{% 3313 {{\noexpand\selectlanguage{\languagename}\unexpanded{#2}}}{%
3314 \unexpanded{#2}}}}% 3314 {\unexpanded{#2}}}}}%
3315 \ifekd@mapps% 3315 \ifekd@mapps%
3316 \unconditional@appin[\ekdan@type]{\note@contents}% 3316 \unconditional@appin[\ekdan@type]{\note@contents}%
3317 \else% 3317 \else%
@@ -3345,7 +3345,7 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
3345 \edef\note@contents{% 3345 \edef\note@contents{%
3346 \ekvifdefinedNoVal{note}{pre}{}{% 3346 \ekvifdefinedNoVal{note}{pre}{}{%
3347 \unexpanded\expandafter{\pre@value}}% 3347 \unexpanded\expandafter{\pre@value}}%
3348 \unexpanded{#2}% 3348 {\unexpanded{#2}}%
3349 \ekvifdefinedNoVal{note}{post}{}{% 3349 \ekvifdefinedNoVal{note}{post}{}{%
3350 \unexpanded\expandafter{\post@value}}% 3350 \unexpanded\expandafter{\post@value}}%
3351 }% 3351 }%
@@ -3961,6 +3961,7 @@ local cmdtotags = {
3961} 3961}
3962 3962
3963local texpatttotags = { 3963local texpatttotags = {
3964 {a="\\altrfont%s+", b=""},
3964 {a="\\icite%s?%[(.-)%]%[(.-)%]{(.-)}", b="%1 <ref target=\"#%3\">%2</ref>"}, 3965 {a="\\icite%s?%[(.-)%]%[(.-)%]{(.-)}", b="%1 <ref target=\"#%3\">%2</ref>"},
3965 {a="\\icite%s?%[(.-)%]{(.-)}", b="<ref target=\"#%2\">%1</ref>"}, 3966 {a="\\icite%s?%[(.-)%]{(.-)}", b="<ref target=\"#%2\">%1</ref>"},
3966 {a="\\icite%s?{(.-)}", b="<ptr target=\"#%1\"/>"}, 3967 {a="\\icite%s?{(.-)}", b="<ptr target=\"#%1\"/>"},