summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-02-28 21:02:02 +0000
committerKarl Berry <karl@freefriends.org>2023-02-28 21:02:02 +0000
commite9316b29a0685654ae109c814fc30afb1284f55a (patch)
treea6a15ed1f9760bb41130cfa1b7eb37dbe06b5c54 /Master/texmf-dist/scripts
parent248fe4328de6ce6eafe1de13e2d2ed4dc99d0080 (diff)
markdown (28feb23) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2022.final@66261 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-rw-r--r--Master/texmf-dist/scripts/markdown/markdown-cli.lua10
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])