summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/markdown/markdown-cli.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/markdown/markdown-cli.lua')
-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])