diff options
Diffstat (limited to 'Master/texmf-dist/doc/context')
3 files changed, 26 insertions, 0 deletions
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 index fcd6784eaf4..e4f953c9a20 100644 --- a/Master/texmf-dist/doc/context/third/markdown/examples/context-mkii.tex +++ b/Master/texmf-dist/doc/context/third/markdown/examples/context-mkii.tex @@ -27,6 +27,8 @@ tableCaptions = yes, taskLists = yes, texMathDollars = yes, + texMathDoubleBackslash = yes, + texMathSingleBackslash = yes, ] % Set renderers of the Markdown module. 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 a4b9fd9472f..9d485820cfb 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 @@ -4,6 +4,10 @@ \setupexternalfigures[location={local,global,default}] % Load the Markdown module. +\startluacode +local kpse = require("kpse") +kpse.set_program_name("luatex") +\stopluacode \usemodule[t][markdown] % Set options of the Markdown module. @@ -27,6 +31,8 @@ tableCaptions = yes, taskLists = yes, texMathDollars = yes, + texMathDoubleBackslash = yes, + texMathSingleBackslash = yes, ] % Set renderers of the Markdown module. diff --git a/Master/texmf-dist/doc/context/third/markdown/examples/example.md b/Master/texmf-dist/doc/context/third/markdown/examples/example.md index 16d32368d92..8819ef5b672 100644 --- a/Master/texmf-dist/doc/context/third/markdown/examples/example.md +++ b/Master/texmf-dist/doc/context/third/markdown/examples/example.md @@ -177,3 +177,21 @@ $$ x^n + y^n = z^n $$ | even discontinuous | lines + +This is inline and display TeX math created using dollars signs: + +$E=mc^2$ + +$$E=mc^2$$ + +This is inline and display TeX math created using single backslashes: + +\(E=mc^2\) + +\[E=mc^2\] + +This is inline and display TeX math created using double backslashes: + +\\(E=mc^2\\) + +\\[E=mc^2\\] |