diff options
author | Karl Berry <karl@freefriends.org> | 2023-02-28 20:57:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-02-28 20:57:36 +0000 |
commit | 5bb5421117595253f49df10c66cabffa61f8c4f2 (patch) | |
tree | 544320d0476d89ab4d2fbc340cc985c36bf5b9e4 /Master/texmf-dist/scripts/markdown/markdown-cli.lua | |
parent | b67efc730c77919f1b008ff88f37afc6f8585458 (diff) |
markdown (28feb23)
git-svn-id: svn://tug.org/texlive/trunk@66257 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/markdown/markdown-cli.lua')
-rw-r--r-- | Master/texmf-dist/scripts/markdown/markdown-cli.lua | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Master/texmf-dist/scripts/markdown/markdown-cli.lua b/Master/texmf-dist/scripts/markdown/markdown-cli.lua index bfbad77b2ad..5a2699d3440 100644 --- a/Master/texmf-dist/scripts/markdown/markdown-cli.lua +++ b/Master/texmf-dist/scripts/markdown/markdown-cli.lua @@ -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-2022 Vít Novotný +-- Copyright (C) 2016-2023 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,11 +58,11 @@ -- those in the standard .ins files. -- local metadata = { - version = "2.20.0-0-gf64ade1", + version = "2.21.0-0-gee15b88", 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-2022 Vít Novotný"}, + "2016-2023 Vít Novotný"}, license = "LPPL 1.3c" } @@ -118,6 +118,7 @@ defaultOptions.superscripts = false defaultOptions.tableCaptions = false defaultOptions.taskLists = false defaultOptions.texComments = false +defaultOptions.texMathDollars = false defaultOptions.tightLists = true defaultOptions.underscores = true @@ -181,7 +182,8 @@ for i = 1, #arg do goto continue elseif arg[i]:match("=") then local key, value = arg[i]:match("(.-)=(.*)") - if defaultOptions[key] == nil then + if defaultOptions[key] == nil and + various_case_options[key] ~= nil then key = various_case_options[key] end local default_type = type(defaultOptions[key]) |