From fd9564b21054e27d1e4f4bfcca7683ae3b84e2fb Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 27 Apr 2023 20:37:52 +0000 Subject: markdown (27apr23) git-svn-id: svn://tug.org/texlive/trunk@66954 c570f23f-e606-0410-a88d-b1316a301751 --- .../third/markdown/examples/context-mkii.tex | 70 - .../third/markdown/examples/context-mkiv.tex | 2 +- Master/texmf-dist/doc/generic/markdown/CHANGES.md | 55 +- Master/texmf-dist/doc/generic/markdown/README.md | 6 +- Master/texmf-dist/doc/generic/markdown/VERSION | 2 +- .../texmf-dist/doc/generic/markdown/markdown.html | 10786 ++++++++++--------- .../texmf-dist/doc/generic/markdown/markdown.pdf | Bin 998227 -> 1011455 bytes .../doc/latex/markdown/examples/latex-luatex.tex | 56 + .../doc/latex/markdown/examples/latex-pdftex.tex | 76 + .../doc/latex/markdown/examples/latex-tex4ht.tex | 76 + .../doc/latex/markdown/examples/latex-xetex.tex | 56 + .../doc/latex/markdown/examples/latex.tex | 84 - .../texmf-dist/scripts/markdown/markdown-cli.lua | 2 +- .../source/generic/markdown/markdown.dtx | 640 +- .../texmf-dist/tex/generic/markdown/markdown.tex | 37 +- Master/texmf-dist/tex/latex/markdown/markdown.sty | 243 +- .../tex/luatex/markdown/markdown-tinyyaml.lua | 18 +- Master/texmf-dist/tex/luatex/markdown/markdown.lua | 61 +- 18 files changed, 6526 insertions(+), 5744 deletions(-) delete mode 100644 Master/texmf-dist/doc/context/third/markdown/examples/context-mkii.tex create mode 100644 Master/texmf-dist/doc/latex/markdown/examples/latex-luatex.tex create mode 100644 Master/texmf-dist/doc/latex/markdown/examples/latex-pdftex.tex create mode 100644 Master/texmf-dist/doc/latex/markdown/examples/latex-tex4ht.tex create mode 100644 Master/texmf-dist/doc/latex/markdown/examples/latex-xetex.tex delete mode 100644 Master/texmf-dist/doc/latex/markdown/examples/latex.tex (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/context/third/markdown/examples/context-mkii.tex b/Master/texmf-dist/doc/context/third/markdown/examples/context-mkii.tex deleted file mode 100644 index e4f953c9a20..00000000000 --- a/Master/texmf-dist/doc/context/third/markdown/examples/context-mkii.tex +++ /dev/null @@ -1,70 +0,0 @@ -\enableregime[utf] -\usetypescript[modern][ec] -\setupbodyfont[10pt,rm] -\setupexternalfigures[location={local,global,default}] - -% Load the Markdown module. -\usemodule[t][markdown] - -% Set options of the Markdown module. -\setupmarkdown - [ - contentBlocks = yes, - debugExtensions = yes, - definitionLists = yes, - fancy_lists = yes, - fencedCode = yes, - hashEnumerators = yes, - inlineNotes = yes, - lineBlocks = yes, - notes = yes, - pipeTables = yes, - rawAttribute = yes, - smartEllipses = yes, - strikethrough = yes, - subscripts = yes, - superscripts = yes, - tableCaptions = yes, - taskLists = yes, - texMathDollars = yes, - texMathDoubleBackslash = yes, - texMathSingleBackslash = yes, - ] - -% Set renderers of the Markdown module. -\definetyping - [latex] - -\setuptyping - [latex] - [option=TEX] - -\starttext - -% Typeset the document `example.md` by letting the Markdown package handle -% the conversion internally. -\inputmarkdown{./example.md} - -% Typeset the document `example.tex` that we prepared separately using the -% Lua command-line interface and that contains a plain TeX representation -% of the document `example.md`. -\catcode`\%=12\relax -\catcode`\#=12\relax -\doiffileelse{./example.tex}{\input example}{} -\catcode`\%=14\relax -\catcode`\#=6\relax - -% Typeset inline markdown text. -\startmarkdown - -Here are some non-ASCII characters: *ěščřžýáíé* -and ConTeXt special characters: *|*. - -Here is a hard line break that we inserted directly from the TeX source -by typing two spaces at the end of a line. -This is stretching TeX's abilities and is only supported in ConTeXt MkIV -and later. - -\stopmarkdown - -\stoptext diff --git a/Master/texmf-dist/doc/context/third/markdown/examples/context-mkiv.tex b/Master/texmf-dist/doc/context/third/markdown/examples/context-mkiv.tex index 9d485820cfb..4c05059f3a6 100644 --- a/Master/texmf-dist/doc/context/third/markdown/examples/context-mkiv.tex +++ b/Master/texmf-dist/doc/context/third/markdown/examples/context-mkiv.tex @@ -70,7 +70,7 @@ kpse.set_program_name("luatex") \catcode`\%=14\relax \catcode`\#=6\relax -% Typeset inline markdown text. +% Typeset some further examples with inline markdown text. \startmarkdown Here are some non-ASCII characters: *ěščřžýáíé* diff --git a/Master/texmf-dist/doc/generic/markdown/CHANGES.md b/Master/texmf-dist/doc/generic/markdown/CHANGES.md index 3eef881e726..4e1e87e5088 100644 --- a/Master/texmf-dist/doc/generic/markdown/CHANGES.md +++ b/Master/texmf-dist/doc/generic/markdown/CHANGES.md @@ -1,15 +1,62 @@ # Changes -## 2.22.0 (2023-04-03) +## 2.23.0 (2023-04-27) + +Development: + +- Add support of bulk redefinition of token renderers and + token renderer prototypes in the `\markdownSetup` LaTeX + command using wildcards. (#232, #287) + +Fixes: + +- Drop support for ConTeXt Mark II, since the MkII files are + no longer installed in TeX Live 2023, see the article by + [Hans Hagen](https://tug.org/texlive/files/tb136hagen-texlive.pdf). + (#281, #282) +- Remove extra space after inline elements with attributes. + (#288) +- Make our implementation of attributes compatible with jgm/pandoc. + (#279, #297, f7c701b) + +Documentation: + +- Add a link to a preprint from TUGboat 44(1) to `README.md`. + (#234, a4d9fbf) +- Separate example files for pdfLaTeX, XeLaTeX, LuaLaTeX, and + TeX4ht. (daccaa8) + +Docker: + +- Add TeX Live 2022 historical image. (#285, #295) +- Add support for TeX Live 2023. (contributed by @gucci-on-fleek, + #281, #282) + +Refactoring: + +- Use `\prg_new_conditional:Nnn` to define `\@@_if_option:n`. + (#289) + +Libraries: + +- Make tinyyaml a standalone CTAN package. (contributed by + @zepinglee, #218, #294) + +Default Renderer Prototypes: + +- Make the default LaTeX renderer prototypes for tight lists produce + surrounding spaces. (#290, #296) + +## 2.22.0 (2023-04-02) Development: - Add support for TeX math surrounded by backslash-escaped parens and brackets. (contributed by @lostenderman, #61, #235, #236, #270) -- Add support for attributes on links, images, and inline - code spans. (jgm#36, jgm#43, #50, #123, #256, #280) -- Add `import` LaTeX option. (#107, #285) +- Add support for attributes on links, images, fenced code, + and inline code spans. (jgm#36, jgm#43, #50, #123, #256, #280) +- Add `import` LaTeX option. (#107, #286) Documentation: diff --git a/Master/texmf-dist/doc/generic/markdown/README.md b/Master/texmf-dist/doc/generic/markdown/README.md index 42a62e73837..217cd6710e7 100644 --- a/Master/texmf-dist/doc/generic/markdown/README.md +++ b/Master/texmf-dist/doc/generic/markdown/README.md @@ -185,8 +185,9 @@ For further information, consult one of the following: - [Markdown 2.7.0: Towards lightweight markup in TeX][tb124], - [Making Markdown into a Microwave Meal][tb129], - [Markdown 2.10.0: LaTeX Themes & Snippets, Two Flavors of Comments, and LuaMetaTeX][tb131], - - [Markdown 2.15.0: What's New?][tb133], and - - [Markdown 2.17.1: What's New, What's Next?][tb135]. + - [Markdown 2.15.0: What's New?][tb133], + - [Markdown 2.17.1: What's New, What's Next?][tb135], and + - [Attributes in Markdown][tb136]. 5. Journal articles of me and my students published by [CSTUG Bulletin][csbul] (in Czech and Slovak): - [Rendering Markdown inside TeX Documents][10.5300/2016-1-4/78], - [Markdown 2.8.1: Boldly Unto the Throne of Lightweight Markup in TeX][10.5300/2020-1-2/48], @@ -213,6 +214,7 @@ For further information, consult one of the following: [tb131]: https://www.tug.org/TUGboat/tb42-2/tb131novotny-markdown.pdf "Markdown 2.10.0: LaTeX Themes & Snippets, Two Flavors of Comments, and LuaMetaTeX" [tb133]: https://www.tug.org/TUGboat/tb43-1/tb133novotny-markdown.pdf "Markdown 2.15.0: What's New?" [tb135]: https://www.overleaf.com/read/pgwrhhskmgfm "Markdown 2.17.1: What's New, What's Next?" + [tb136]: https://www.overleaf.com/read/dshtsnnmtshs "Attributes in Markdown" [tb131-slides]: https://tug.org/tug2021/assets/pdf/tug2021-novotny-slides.pdf "Markdown 2.10.0: LaTeX Themes & Snippets, Two Flavors of Comments, and LuaMetaTeX" [tb131-video]: https://youtu.be/THmPkAncMnc "Markdown 2.10.0: LaTeX Themes & Snippets, Two Flavors of Comments, and LuaMetaTeX" diff --git a/Master/texmf-dist/doc/generic/markdown/VERSION b/Master/texmf-dist/doc/generic/markdown/VERSION index dc259f020ea..51e0f673296 100644 --- a/Master/texmf-dist/doc/generic/markdown/VERSION +++ b/Master/texmf-dist/doc/generic/markdown/VERSION @@ -1 +1 @@ -2.22.0-0-g5a3d0fe (2023-04-02) +2.23.0-0-g0b22f91 (2023-04-27) diff --git a/Master/texmf-dist/doc/generic/markdown/markdown.html b/Master/texmf-dist/doc/generic/markdown/markdown.html index b31144bfe9d..73188146243 100644 --- a/Master/texmf-dist/doc/generic/markdown/markdown.html +++ b/Master/texmf-dist/doc/generic/markdown/markdown.html @@ -84,7 +84,7 @@

Markdown Package User Manual

Vít Novotný

-

2.22.0-0-g5a3d0fe 2023-04-02

+

2.23.0-0-g0b22f91 2023-04-27