summaryrefslogtreecommitdiff
path: root/macros/generic/markdown/tests/templates/latex/input.tex.m4
diff options
context:
space:
mode:
Diffstat (limited to 'macros/generic/markdown/tests/templates/latex/input.tex.m4')
-rw-r--r--macros/generic/markdown/tests/templates/latex/input.tex.m414
1 files changed, 14 insertions, 0 deletions
diff --git a/macros/generic/markdown/tests/templates/latex/input.tex.m4 b/macros/generic/markdown/tests/templates/latex/input.tex.m4
new file mode 100644
index 0000000000..324f4e7bf1
--- /dev/null
+++ b/macros/generic/markdown/tests/templates/latex/input.tex.m4
@@ -0,0 +1,14 @@
+\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}