diff options
Diffstat (limited to 'trivia/sensommarfest/sed/latex.sed')
-rw-r--r-- | trivia/sensommarfest/sed/latex.sed | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/trivia/sensommarfest/sed/latex.sed b/trivia/sensommarfest/sed/latex.sed new file mode 100644 index 0000000..bfdfa27 --- /dev/null +++ b/trivia/sensommarfest/sed/latex.sed @@ -0,0 +1,14 @@ +# Translate +# +# \begin{enumerate} +# \def\labelenumi{\arabic{enumi}.} +# \tightlist +# +# to +# +# \begin{enumerate}[label=\triviaenum*] + +/^.def.labelenumi/ d +/^.tightlist/ d + +/begin.*enumerate/ s/$/[label=\\triviaenum*]/ |