summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/metapost/profcollege/PfCLaTeX.mp
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/metapost/profcollege/PfCLaTeX.mp')
-rw-r--r--Master/texmf-dist/metapost/profcollege/PfCLaTeX.mp15
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/texmf-dist/metapost/profcollege/PfCLaTeX.mp b/Master/texmf-dist/metapost/profcollege/PfCLaTeX.mp
new file mode 100644
index 00000000000..33d9848b634
--- /dev/null
+++ b/Master/texmf-dist/metapost/profcollege/PfCLaTeX.mp
@@ -0,0 +1,15 @@
+vardef LATEX primary s =
+ write "verbatimtex" to "mptextmp.mp";
+ write "%&latex" to "mptextmp.mp";
+ write "\documentclass[]{article}" to "mptextmp.mp";
+ write "\usepackage{ProfCollege}" to "mptextmp.mp";
+ write "\usepackage[utf8]{inputenc}" to "mptextmp.mp";
+ write "\usepackage[T1]{fontenc}" to "mptextmp.mp";
+ write "\usepackage{fourier}" to "mptextmp.mp";
+ write "\usepackage[french]{babel}" to "mptextmp.mp";
+ write "\begin{document}" to "mptextmp.mp";
+ write "etex" to "mptextmp.mp";
+ write "btex "&s&" etex" to "mptextmp.mp";
+ write EOF to "mptextmp.mp";
+ scantokens "input mptextmp"
+enddef;