texlive[44237] Master/texmf-dist: markdown (7may17)

commits+karl at tug.org commits+karl at tug.org
Sun May 7 23:22:21 CEST 2017


Revision: 44237
          http://tug.org/svn/texlive?view=revision&revision=44237
Author:   karl
Date:     2017-05-07 23:22:21 +0200 (Sun, 07 May 2017)
Log Message:
-----------
markdown (7may17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/markdown/markdown.pdf
    trunk/Master/texmf-dist/source/generic/markdown/docstrip.cfg
    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

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/context/third/markdown/
    trunk/Master/texmf-dist/doc/context/third/markdown/examples/
    trunk/Master/texmf-dist/doc/context/third/markdown/examples/context.tex
    trunk/Master/texmf-dist/doc/context/third/markdown/examples/example.md
    trunk/Master/texmf-dist/doc/context/third/markdown/examples/scientists.csv
    trunk/Master/texmf-dist/doc/latex/markdown/
    trunk/Master/texmf-dist/doc/latex/markdown/examples/
    trunk/Master/texmf-dist/doc/latex/markdown/examples/example.md
    trunk/Master/texmf-dist/doc/latex/markdown/examples/latex.tex
    trunk/Master/texmf-dist/doc/latex/markdown/examples/scientists.csv

Added: trunk/Master/texmf-dist/doc/context/third/markdown/examples/context.tex
===================================================================
--- trunk/Master/texmf-dist/doc/context/third/markdown/examples/context.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/context/third/markdown/examples/context.tex	2017-05-07 21:22:21 UTC (rev 44237)
@@ -0,0 +1,21 @@
+\enableregime[utf]
+\usetypescript[modern][ec]
+\setupbodyfont[10pt,rm]
+\setupexternalfigures[location={local,global,default}]
+\usemodule[t][markdown]
+\def\markdownOptionHashEnumerators{true}
+\def\markdownOptionDefinitionLists{true}
+\def\markdownOptionSmartEllipses{true}
+\def\markdownOptionFootnotes{true}
+\def\markdownOptionInlineFootnotes{true}
+\def\markdownOptionFencedCode{true}
+\def\markdownOptionContentBlocks{true}
+\definetyping [latex]
+\setuptyping  [latex] [option=TEX]
+\starttext
+  \markdownInput{example.md}
+  \startmarkdown
+Here are some non-ASCII characters: *ěščřžýáíé*
+and ConTeXt special characters: *|*.
+  \stopmarkdown
+\stoptext


Property changes on: trunk/Master/texmf-dist/doc/context/third/markdown/examples/context.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/context/third/markdown/examples/example.md
===================================================================
--- trunk/Master/texmf-dist/doc/context/third/markdown/examples/example.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/context/third/markdown/examples/example.md	2017-05-07 21:22:21 UTC (rev 44237)
@@ -0,0 +1,121 @@
+This is an H1
+=============
+
+This is an H2
+-------------
+
+### This is an H3
+#### This is an H4
+##### This is an H5
+###### This is an H6
+
+This is a text paragraph containing an ellipsis ... and followed by a horizontal rule.
+
+***
+
+This is inline `code`. This is a [link](http://google.cz "Google").  _This is an *emphasized* span of text_. __This is a **strongly emphasized** span of text__.
+
+  ![example image](example-image.pdf "An example image from Martin Scharrer's mwe package")
+
+  /scientists.csv (The great minds of the 19th century rendered via a content block)
+
+This is a fenced code block:
+
+``` latex
+\documentclass{article}
+\begin{document}
+  Hello world!
+\end{document}
+```
+
+This is a bullet list:
+
+  * The first item of a bullet list
+
+    that spans several paragraphs,
+  * the second item of a bullet list,
+  * the third item of a bullet list.
+
+This is a compact bullet list:
+
+  * The first item of a bullet list,
+  * the second item of a bullet list,
+  * the third item of a bullet list.
+
+This is an ordered list:
+
+  5. The first item of an ordered list
+
+     that spans several paragraphs,
+  6. the second item of an ordered list,
+  7. the third item of an ordered list.
+
+This is an ordered list using hash enumerators:
+
+  #. The first item of an ordered list
+
+     that spans several paragraphs,
+  #. the second item of an ordered list,
+  #. the third item of an ordered list.
+
+This is a compact ordered list:
+
+  5. The first item of an ordered list,
+  6. the second item of an ordered list,
+  7. the third item of an ordered list.
+
+This is a compact ordered list using hash enumerators:
+
+  #. The first item of an ordered list,
+  #. the second item of an ordered list,
+  #. the third item of an ordered list.
+
+This is a definition list:
+
+Term 1
+
+:   Definition 1
+
+*Term 2*
+
+:   Definition 2
+    
+        Some code, part of Definition 2
+    
+    Third paragraph of Definition 2.
+
+:   Definition 3
+
+This is a compact definition list:
+
+Term 1
+:   Definition 1
+*Term 2*
+:   Definition 2
+:   Definition 3
+
+This is a block quote:
+
+> This is the first level of quoting.
+>
+> > This is nested blockquote.
+>
+> Back to the first level.
+
+Here is a footnote reference[^1] and another.[^longnote]
+Here is an inline note.^[Inlines notes are easier to
+write, since you don't have to pick an identifier and
+move down to type the note.]
+  
+[^1]: Here is the footnote.
+
+[^longnote]: Here's one with multiple blocks.
+  
+    Subsequent paragraphs are indented to show that they
+belong to the previous footnote.
+  
+        Some code
+
+    The whole paragraph can be indented, or just the first
+    line.  In this way, multi-paragraph footnotes work like
+    multi-paragraph list items.


Property changes on: trunk/Master/texmf-dist/doc/context/third/markdown/examples/example.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/context/third/markdown/examples/scientists.csv
===================================================================
--- trunk/Master/texmf-dist/doc/context/third/markdown/examples/scientists.csv	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/context/third/markdown/examples/scientists.csv	2017-05-07 21:22:21 UTC (rev 44237)
@@ -0,0 +1,4 @@
+Name,Surname,Born
+Albert,Einstein,1879
+Marie,Curie,1867
+Thomas,Edison,1847


Property changes on: trunk/Master/texmf-dist/doc/context/third/markdown/examples/scientists.csv
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/generic/markdown/markdown.pdf
===================================================================
(Binary files differ)

Added: trunk/Master/texmf-dist/doc/latex/markdown/examples/example.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/markdown/examples/example.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/markdown/examples/example.md	2017-05-07 21:22:21 UTC (rev 44237)
@@ -0,0 +1,121 @@
+This is an H1
+=============
+
+This is an H2
+-------------
+
+### This is an H3
+#### This is an H4
+##### This is an H5
+###### This is an H6
+
+This is a text paragraph containing an ellipsis ... and followed by a horizontal rule.
+
+***
+
+This is inline `code`. This is a [link](http://google.cz "Google").  _This is an *emphasized* span of text_. __This is a **strongly emphasized** span of text__.
+
+  ![example image](example-image.pdf "An example image from Martin Scharrer's mwe package")
+
+  /scientists.csv (The great minds of the 19th century rendered via a content block)
+
+This is a fenced code block:
+
+``` latex
+\documentclass{article}
+\begin{document}
+  Hello world!
+\end{document}
+```
+
+This is a bullet list:
+
+  * The first item of a bullet list
+
+    that spans several paragraphs,
+  * the second item of a bullet list,
+  * the third item of a bullet list.
+
+This is a compact bullet list:
+
+  * The first item of a bullet list,
+  * the second item of a bullet list,
+  * the third item of a bullet list.
+
+This is an ordered list:
+
+  5. The first item of an ordered list
+
+     that spans several paragraphs,
+  6. the second item of an ordered list,
+  7. the third item of an ordered list.
+
+This is an ordered list using hash enumerators:
+
+  #. The first item of an ordered list
+
+     that spans several paragraphs,
+  #. the second item of an ordered list,
+  #. the third item of an ordered list.
+
+This is a compact ordered list:
+
+  5. The first item of an ordered list,
+  6. the second item of an ordered list,
+  7. the third item of an ordered list.
+
+This is a compact ordered list using hash enumerators:
+
+  #. The first item of an ordered list,
+  #. the second item of an ordered list,
+  #. the third item of an ordered list.
+
+This is a definition list:
+
+Term 1
+
+:   Definition 1
+
+*Term 2*
+
+:   Definition 2
+    
+        Some code, part of Definition 2
+    
+    Third paragraph of Definition 2.
+
+:   Definition 3
+
+This is a compact definition list:
+
+Term 1
+:   Definition 1
+*Term 2*
+:   Definition 2
+:   Definition 3
+
+This is a block quote:
+
+> This is the first level of quoting.
+>
+> > This is nested blockquote.
+>
+> Back to the first level.
+
+Here is a footnote reference[^1] and another.[^longnote]
+Here is an inline note.^[Inlines notes are easier to
+write, since you don't have to pick an identifier and
+move down to type the note.]
+  
+[^1]: Here is the footnote.
+
+[^longnote]: Here's one with multiple blocks.
+  
+    Subsequent paragraphs are indented to show that they
+belong to the previous footnote.
+  
+        Some code
+
+    The whole paragraph can be indented, or just the first
+    line.  In this way, multi-paragraph footnotes work like
+    multi-paragraph list items.


Property changes on: trunk/Master/texmf-dist/doc/latex/markdown/examples/example.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/markdown/examples/latex.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/markdown/examples/latex.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/markdown/examples/latex.tex	2017-05-07 21:22:21 UTC (rev 44237)
@@ -0,0 +1,31 @@
+\documentclass{book}
+\usepackage{ifxetex,ifluatex}
+\ifxetex
+  \usepackage{polyglossia}
+  \setmainlanguage{english}
+  \usepackage{fontspec}
+\else\ifluatex
+  \usepackage{polyglossia}
+  \setmainlanguage{english}
+  \usepackage{fontspec}
+\else
+  \usepackage[english]{babel}
+  \usepackage[utf8]{inputenc}
+  \usepackage[T1]{fontenc}
+  \usepackage{lmodern}
+\fi\fi
+\usepackage[
+  hashEnumerators,
+  definitionLists,
+  footnotes,
+  inlineFootnotes,
+  smartEllipses,
+  fencedCode,
+  contentBlocks
+]{markdown}
+\begin{document}
+  \markdownInput{example.md}
+  \begin{markdown}
+Here are some non-ASCII characters: *ěščřžýáíé*.
+  \end{markdown}
+\end{document}


Property changes on: trunk/Master/texmf-dist/doc/latex/markdown/examples/latex.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/markdown/examples/scientists.csv
===================================================================
--- trunk/Master/texmf-dist/doc/latex/markdown/examples/scientists.csv	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/markdown/examples/scientists.csv	2017-05-07 21:22:21 UTC (rev 44237)
@@ -0,0 +1,4 @@
+Name,Surname,Born
+Albert,Einstein,1879
+Marie,Curie,1867
+Thomas,Edison,1847


Property changes on: trunk/Master/texmf-dist/doc/latex/markdown/examples/scientists.csv
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/source/generic/markdown/docstrip.cfg
===================================================================
--- trunk/Master/texmf-dist/source/generic/markdown/docstrip.cfg	2017-05-07 21:21:52 UTC (rev 44236)
+++ trunk/Master/texmf-dist/source/generic/markdown/docstrip.cfg	2017-05-07 21:22:21 UTC (rev 44237)
@@ -22,7 +22,7 @@
 -- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE^^J%
 -- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.^^J%
 -- ^^J%
--- Copyright (C) 2016 Vít Novotný^^J%
+-- Copyright (C) 2017 Vít Novotný^^J%
 -- ^^J%
 -- This work may be distributed and/or modified under the^^J%
 -- conditions of the LaTeX Project Public License, either version 1.3^^J%

Modified: trunk/Master/texmf-dist/source/generic/markdown/markdown.dtx
===================================================================
--- trunk/Master/texmf-dist/source/generic/markdown/markdown.dtx	2017-05-07 21:21:52 UTC (rev 44236)
+++ trunk/Master/texmf-dist/source/generic/markdown/markdown.dtx	2017-05-07 21:22:21 UTC (rev 44237)
@@ -156,7 +156,7 @@
 % \fi
 %  \begin{macrocode}
 local metadata = {
-    version   = "2.5.2",
+    version   = "2.5.3",
     comment   = "A module for the conversion from markdown to plain TeX",
     author    = "John MacFarlane, Hans Hagen, Vít Novotný",
     copyright = "2009-2017 John MacFarlane, Hans Hagen; " ..
@@ -719,8 +719,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{2017/04/28}%
-\def\markdownVersion{2.5.2}%
+\def\markdownLastModified{2017/05/07}%
+\def\markdownVersion{2.5.3}%
 %    \end{macrocode}
 %
 % The plain \TeX{} interface is implemented by the \t`markdown.tex` file that

Modified: trunk/Master/texmf-dist/tex/generic/markdown/markdown.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/markdown/markdown.tex	2017-05-07 21:21:52 UTC (rev 44236)
+++ trunk/Master/texmf-dist/tex/generic/markdown/markdown.tex	2017-05-07 21:22:21 UTC (rev 44237)
@@ -45,8 +45,8 @@
 %% 
 %% The names of the source files used are shown above.
 %% 
-\def\markdownLastModified{2017/04/28}%
-\def\markdownVersion{2.5.2}%
+\def\markdownLastModified{2017/05/07}%
+\def\markdownVersion{2.5.3}%
 \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	2017-05-07 21:21:52 UTC (rev 44236)
+++ trunk/Master/texmf-dist/tex/luatex/markdown/markdown.lua	2017-05-07 21:22:21 UTC (rev 44237)
@@ -20,7 +20,7 @@
 -- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 -- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 -- 
--- Copyright (C) 2016 Vít Novotný
+-- Copyright (C) 2017 Vít Novotný
 -- 
 -- This work may be distributed and/or modified under the
 -- conditions of the LaTeX Project Public License, either version 1.3
@@ -58,7 +58,7 @@
 -- those in the standard .ins files.
 -- 
 local metadata = {
-    version   = "2.5.2",
+    version   = "2.5.3",
     comment   = "A module for the conversion from markdown to plain TeX",
     author    = "John MacFarlane, Hans Hagen, Vít Novotný",
     copyright = "2009-2017 John MacFarlane, Hans Hagen; " ..



More information about the tex-live-commits mailing list