texlive[42057] Master/texmf-dist: markdown (14sep16)

commits+karl at tug.org commits+karl at tug.org
Wed Sep 14 23:07:46 CEST 2016


Revision: 42057
          http://tug.org/svn/texlive?view=revision&revision=42057
Author:   karl
Date:     2016-09-14 23:07:46 +0200 (Wed, 14 Sep 2016)
Log Message:
-----------
markdown (14sep16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/markdown/markdown.pdf
    trunk/Master/texmf-dist/source/generic/markdown/markdown.dtx
    trunk/Master/texmf-dist/tex/generic/markdown/markdown.tex
    trunk/Master/texmf-dist/tex/luatex/markdown/markdown.lua

Modified: trunk/Master/texmf-dist/doc/generic/markdown/markdown.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/generic/markdown/markdown.dtx
===================================================================
--- trunk/Master/texmf-dist/source/generic/markdown/markdown.dtx	2016-09-14 01:16:36 UTC (rev 42056)
+++ trunk/Master/texmf-dist/source/generic/markdown/markdown.dtx	2016-09-14 21:07:46 UTC (rev 42057)
@@ -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 @@
 %   \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 @@
 % \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 @@
 % \]}^^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 @@
 %  \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

Modified: trunk/Master/texmf-dist/tex/generic/markdown/markdown.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/markdown/markdown.tex	2016-09-14 01:16:36 UTC (rev 42056)
+++ trunk/Master/texmf-dist/tex/generic/markdown/markdown.tex	2016-09-14 21:07:46 UTC (rev 42057)
@@ -45,8 +45,8 @@
 %% 
 %% The names of the source files used are shown above.
 %% 
-\def\markdownLastModified{2016/09/06}%
-\def\markdownVersion{2.1.1}%
+\def\markdownLastModified{2016/09/13}%
+\def\markdownVersion{2.1.2}%
 \let\markdownBegin\relax
 \let\markdownEnd\relax
 \let\markdownInput\relax

Modified: trunk/Master/texmf-dist/tex/luatex/markdown/markdown.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/markdown/markdown.lua	2016-09-14 01:16:36 UTC (rev 42056)
+++ trunk/Master/texmf-dist/tex/luatex/markdown/markdown.lua	2016-09-14 21:07:46 UTC (rev 42057)
@@ -58,7 +58,7 @@
 -- those in the standard .ins files.
 -- 
 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ý",
@@ -545,11 +545,11 @@
   end
   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



More information about the tex-live-commits mailing list