summaryrefslogtreecommitdiff
path: root/macros/generic/cptex/tex8.bat
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/generic/cptex/tex8.bat
Initial commit
Diffstat (limited to 'macros/generic/cptex/tex8.bat')
-rw-r--r--macros/generic/cptex/tex8.bat17
1 files changed, 17 insertions, 0 deletions
diff --git a/macros/generic/cptex/tex8.bat b/macros/generic/cptex/tex8.bat
new file mode 100644
index 0000000000..f72ca2edf8
--- /dev/null
+++ b/macros/generic/cptex/tex8.bat
@@ -0,0 +1,17 @@
+if "%1"=="" goto :all
+type %1 | sed -f tex8.sed >%1
+goto :end
+
+:all
+mkdir tex8fmts
+copy p:\emtex\texfmts\*.bat tex8fmts
+for %%f in (tex8fmts\*.bat) do call %0 %%f
+copy p:\emtex\texfmts\*.cmd tex8fmts
+for %%f in (tex8fmts\*.cmd) do call %0 %%f
+mkdir btex8fmt
+copy p:\emtex\btexfmts\*.bat btex8fmt
+for %%f in (btex8fmt\*.bat) do call %0 %%f
+copy p:\emtex\btexfmts\*.cmd btex8fmt
+for %%f in (btex8fmt\*.cmd) do call %0 %%f
+
+:end