diff options
Diffstat (limited to 'macros/generic/markdown/tests/templates')
14 files changed, 0 insertions, 126 deletions
diff --git a/macros/generic/markdown/tests/templates/README.md b/macros/generic/markdown/tests/templates/README.md deleted file mode 100644 index f56802cf7b..0000000000 --- a/macros/generic/markdown/tests/templates/README.md +++ /dev/null @@ -1,20 +0,0 @@ -This directory contains subdirectories, which correspond to individual TeX -formats. These subdirectories contain TeX source code templates, which -can be recognized by the `.tex.m4` suffix, and a file named `COMMANDS.m4`. - -The TeX source code templates are documents that will be typeset as a part of -every test. Before being typeset, the TeX source code templates will be -pre-processed using the m4 macro preprocessor with the following macro -definitions: - - 1. `TEST_SETUP_FILENAME` corresponds to the name of the file containing the - test setup TeX source code. - 2. `TEST_INPUT_FILENAME` corresponds to the name of the file containing the - test markdown source code. - -The `COMMANDS.m4` file contains a newline-separated list of commands that will -be used to typeset the pre-processed TeX source code templates. Before use, -the commands will preprocessed with the following macro definitions: - - 1. `TEST_FILENAME` corresponds to the name of the pre-processed TeX source - code template that is being typeset. diff --git a/macros/generic/markdown/tests/templates/context/COMMANDS.m4 b/macros/generic/markdown/tests/templates/context/COMMANDS.m4 deleted file mode 100644 index d427cd3513..0000000000 --- a/macros/generic/markdown/tests/templates/context/COMMANDS.m4 +++ /dev/null @@ -1,2 +0,0 @@ -texexec --passon="--shell-escape --8bit --interaction=nonstopmode" TEST_FILENAME -context --nonstopmode TEST_FILENAME diff --git a/macros/generic/markdown/tests/templates/context/README.md b/macros/generic/markdown/tests/templates/context/README.md deleted file mode 100644 index 5acb21c88f..0000000000 --- a/macros/generic/markdown/tests/templates/context/README.md +++ /dev/null @@ -1,2 +0,0 @@ -This directory contains TeX source code templates for the ConTeXt Mark II and -ConteXt Mark IV formats. diff --git a/macros/generic/markdown/tests/templates/context/input.tex.m4 b/macros/generic/markdown/tests/templates/context/input.tex.m4 deleted file mode 100644 index 527b73cf9f..0000000000 --- a/macros/generic/markdown/tests/templates/context/input.tex.m4 +++ /dev/null @@ -1,11 +0,0 @@ -% Load the package. -\usemodule[t][markdown] -% Load the support files. -\input setup\relax -\input plain-setup\relax -% Load the test-specific setup. -\input TEST_SETUP_FILENAME\relax -% Perform the test. -\starttext - \markdownInput{TEST_INPUT_FILENAME}% -\stoptext diff --git a/macros/generic/markdown/tests/templates/context/verbatim.tex.m4 b/macros/generic/markdown/tests/templates/context/verbatim.tex.m4 deleted file mode 100644 index 6d19154972..0000000000 --- a/macros/generic/markdown/tests/templates/context/verbatim.tex.m4 +++ /dev/null @@ -1,13 +0,0 @@ -% Load the package. -\usemodule[t][markdown] -% Load the support files. -\input setup\relax -\input plain-setup\relax -% Load the test-specific setup. -\input TEST_SETUP_FILENAME\relax -% Perform the test. -\starttext - \startmarkdown -undivert(TEST_INPUT_FILENAME)dnl - \stopmarkdown -\stoptext diff --git a/macros/generic/markdown/tests/templates/latex/COMMANDS.m4 b/macros/generic/markdown/tests/templates/latex/COMMANDS.m4 deleted file mode 100644 index 767145adc5..0000000000 --- a/macros/generic/markdown/tests/templates/latex/COMMANDS.m4 +++ /dev/null @@ -1,3 +0,0 @@ -pdflatex --shell-escape --interaction=nonstopmode TEST_FILENAME -xelatex --shell-escape --8bit --interaction=nonstopmode TEST_FILENAME -lualatex --interaction=nonstopmode TEST_FILENAME diff --git a/macros/generic/markdown/tests/templates/latex/README.md b/macros/generic/markdown/tests/templates/latex/README.md deleted file mode 100644 index e62b4a40fa..0000000000 --- a/macros/generic/markdown/tests/templates/latex/README.md +++ /dev/null @@ -1 +0,0 @@ -This directory contains TeX source code templates for the LaTeX format. diff --git a/macros/generic/markdown/tests/templates/latex/input.tex.m4 b/macros/generic/markdown/tests/templates/latex/input.tex.m4 deleted file mode 100644 index 324f4e7bf1..0000000000 --- a/macros/generic/markdown/tests/templates/latex/input.tex.m4 +++ /dev/null @@ -1,14 +0,0 @@ -\documentclass{minimal} -\csname UseRawInputEncoding\endcsname -% Load the package. -\usepackage{markdown} -% Load the support files. -\input setup\relax -\usepackage{catchfile} -\CatchFileDef{\LATEXOPTIONS}{latex-setup}\relax -% Load the test-specific setup. -\input TEST_SETUP_FILENAME\relax -\begin{document} -% Perform the test. -\expandafter\markdownInput\expandafter[\LATEXOPTIONS]{TEST_INPUT_FILENAME}% -\end{document} diff --git a/macros/generic/markdown/tests/templates/latex/verbatim-starred.tex.m4 b/macros/generic/markdown/tests/templates/latex/verbatim-starred.tex.m4 deleted file mode 100644 index 5f1434869f..0000000000 --- a/macros/generic/markdown/tests/templates/latex/verbatim-starred.tex.m4 +++ /dev/null @@ -1,17 +0,0 @@ -\documentclass{minimal} -\csname UseRawInputEncoding\endcsname -% Load the package. -\usepackage{markdown} -% Load the support files. -\input setup\relax -\usepackage{catchfile} -\CatchFileDef{\LATEXOPTIONS}{latex-setup}\relax -% Load the test-specific setup. -\input TEST_SETUP_FILENAME\relax -\begin{document} -% Perform the test. -\let\ea\expandafter -\ea\begin\ea{\ea m\ea a\ea r\ea k\ea d\ea o\ea w\ea n\ea *\ea}\ea{\LATEXOPTIONS} -undivert(TEST_INPUT_FILENAME)dnl -\end{markdown*} -\end{document} diff --git a/macros/generic/markdown/tests/templates/latex/verbatim.tex.m4 b/macros/generic/markdown/tests/templates/latex/verbatim.tex.m4 deleted file mode 100644 index 737d49def7..0000000000 --- a/macros/generic/markdown/tests/templates/latex/verbatim.tex.m4 +++ /dev/null @@ -1,17 +0,0 @@ -\documentclass{minimal} -\csname UseRawInputEncoding\endcsname -% Load the package. -\usepackage{markdown} -% Load the support files. -\input setup\relax -\usepackage{catchfile} -\CatchFileDef{\LATEXOPTIONS}{latex-setup}\relax -\expandafter\markdownSetup\expandafter{\LATEXOPTIONS} -% Load the test-specific setup. -\input TEST_SETUP_FILENAME\relax -\begin{document} -% Perform the test. -\begin{markdown} -undivert(TEST_INPUT_FILENAME)dnl -\end{markdown} -\end{document} diff --git a/macros/generic/markdown/tests/templates/plain/COMMANDS.m4 b/macros/generic/markdown/tests/templates/plain/COMMANDS.m4 deleted file mode 100644 index 50745b8a63..0000000000 --- a/macros/generic/markdown/tests/templates/plain/COMMANDS.m4 +++ /dev/null @@ -1,3 +0,0 @@ -pdftex --shell-escape --interaction=nonstopmode TEST_FILENAME -xetex --shell-escape --8bit --interaction=nonstopmode TEST_FILENAME -luatex --interaction=nonstopmode TEST_FILENAME diff --git a/macros/generic/markdown/tests/templates/plain/README.md b/macros/generic/markdown/tests/templates/plain/README.md deleted file mode 100644 index 779102ed26..0000000000 --- a/macros/generic/markdown/tests/templates/plain/README.md +++ /dev/null @@ -1 +0,0 @@ -This directory contains TeX source code templates for the plain TeX format. diff --git a/macros/generic/markdown/tests/templates/plain/input.tex.m4 b/macros/generic/markdown/tests/templates/plain/input.tex.m4 deleted file mode 100644 index b2ef1b560d..0000000000 --- a/macros/generic/markdown/tests/templates/plain/input.tex.m4 +++ /dev/null @@ -1,10 +0,0 @@ -% Load the package. -\input markdown\relax -% Load the support files. -\input setup\relax -\input plain-setup\relax -% Load the test-specific setup. -\input TEST_SETUP_FILENAME\relax -% Perform the test. -\markdownInput{TEST_INPUT_FILENAME}% -\bye diff --git a/macros/generic/markdown/tests/templates/plain/verbatim.tex.m4 b/macros/generic/markdown/tests/templates/plain/verbatim.tex.m4 deleted file mode 100644 index fd87725c06..0000000000 --- a/macros/generic/markdown/tests/templates/plain/verbatim.tex.m4 +++ /dev/null @@ -1,12 +0,0 @@ -% Load the package. -\input markdown\relax -% Load the support files. -\input setup\relax -\input plain-setup\relax -% Load the test-specific setup. -\input TEST_SETUP_FILENAME\relax -% Perform the test. -\markdownBegin -undivert(TEST_INPUT_FILENAME)dnl -\markdownEnd -\bye |