diff options
Diffstat (limited to 'Master/texmf-dist/source/generic/markdown/markdown.dtx')
-rw-r--r-- | Master/texmf-dist/source/generic/markdown/markdown.dtx | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/generic/markdown/markdown.dtx b/Master/texmf-dist/source/generic/markdown/markdown.dtx index 4a78e77069c..fcec3ee46ce 100644 --- a/Master/texmf-dist/source/generic/markdown/markdown.dtx +++ b/Master/texmf-dist/source/generic/markdown/markdown.dtx @@ -147,7 +147,7 @@ % \fi % \begin{macrocode} local metadata = { - version = "2.1.1", + version = "2.1.2", comment = "A module for the conversion from markdown to plain TeX", author = "John MacFarlane, Hans Hagen, Vít Novotný", copyright = "2009-2016 John MacFarlane, Hans Hagen; 2016 Vít Novotný", @@ -444,7 +444,12 @@ defaultOptions.definitionLists = false % \Optitem[false]{hashEnumerators}{\opt{true}, \opt{false}} % \begin{valuelist} % \item[true] Enable the use of hash symbols (\t`\#`) as ordered item -% list markers. +% list markers: +% \begin{Verbatim} +% #. Bird +% #. McHale +% #. Parish +% \end{Verbatim} % \item[false] Disable the use of hash symbols (\t`\#`) as ordered item % list markers. % \end{valuelist} @@ -581,8 +586,8 @@ defaultOptions.tightLists = true % \ref{sec:luaoptions}) used during the conversion from markdown to plain % \TeX{}, and for changing the way markdown the tokens are rendered. % \begin{macrocode} -\def\markdownLastModified{2016/09/06}% -\def\markdownVersion{2.1.1}% +\def\markdownLastModified{2016/09/13}% +\def\markdownVersion{2.1.2}% % \end{macrocode} % % The plain \TeX{} interface is implemented by the \t`markdown.tex` file that @@ -2009,7 +2014,7 @@ function util.escaper(char_escapes, string_escapes) % \]}^^A % capture that replaces any occurance of the string \t`k` with the string % \t`v` for each $(\t`k`, \t`v`)\in\t`string\_escapes`$. Note that the pattern -% summation is not commutative and the its operands are inspected in the +% summation is not commutative and its operands are inspected in the % summation order during the matching. As a corrolary, the strings always % take precedence over the characters. % \begin{macrocode} @@ -2611,11 +2616,11 @@ function M.reader.new(writer, options) % \begin{macrocode} local bulletchar = C(plus + asterisk + dash) - local bullet = ( bulletchar * #spacing * (tab + space^-3) - + space * bulletchar * #spacing * (tab + space^-2) - + space * space * bulletchar * #spacing * (tab + space^-1) - + space * space * space * bulletchar * #spacing - ) * -bulletchar + local bullet = ( Cg(bulletchar, "bulletchar") * #spacing * (tab + space^-3) + + space * Cg(bulletchar, "bulletchar") * #spacing * (tab + space^-2) + + space * space * Cg(bulletchar, "bulletchar") * #spacing * (tab + space^-1) + + space * space * space * Cg(bulletchar, "bulletchar") * #spacing + ) if options.hashEnumerators then dig = digit + hash |