summaryrefslogtreecommitdiff
path: root/macros/generic/cptex/tex8fmts
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/tex8fmts
Initial commit
Diffstat (limited to 'macros/generic/cptex/tex8fmts')
-rw-r--r--macros/generic/cptex/tex8fmts/fmt.bat21
-rw-r--r--macros/generic/cptex/tex8fmts/fmt.cmd21
-rw-r--r--macros/generic/cptex/tex8fmts/gfmt.bat29
-rw-r--r--macros/generic/cptex/tex8fmts/gfmt.cmd29
-rw-r--r--macros/generic/cptex/tex8fmts/gslifmt.bat23
-rw-r--r--macros/generic/cptex/tex8fmts/gslifmt.cmd23
-rw-r--r--macros/generic/cptex/tex8fmts/slifmt.bat19
-rw-r--r--macros/generic/cptex/tex8fmts/slifmt.cmd19
8 files changed, 184 insertions, 0 deletions
diff --git a/macros/generic/cptex/tex8fmts/fmt.bat b/macros/generic/cptex/tex8fmts/fmt.bat
new file mode 100644
index 0000000000..a45314b5e3
--- /dev/null
+++ b/macros/generic/cptex/tex8fmts/fmt.bat
@@ -0,0 +1,21 @@
+echo off
+rem fmt.bat
+if exist hyphen.tex goto ex
+copy \emtex\texinput\hyphen.tex hyphen.tex
+tex -i -8 -o -r plain \dump
+if errorlevel 1 goto error
+tex -i -8 -o -r lplain \input 3 \dump
+if errorlevel 1 goto error
+goto done
+
+:ex
+echo The following files should be removed or renamed before running fmt:
+if exist hyphen.tex echo hyphen.tex
+goto end
+
+:error
+echo Error
+
+:done
+if exist hyphen.tex del hyphen.tex
+:end
diff --git a/macros/generic/cptex/tex8fmts/fmt.cmd b/macros/generic/cptex/tex8fmts/fmt.cmd
new file mode 100644
index 0000000000..7306183daa
--- /dev/null
+++ b/macros/generic/cptex/tex8fmts/fmt.cmd
@@ -0,0 +1,21 @@
+echo off
+rem fmt.cmd
+if exist hyphen.tex goto ex
+copy \emtex\texinput\hyphen.tex hyphen.tex
+texp -i -8 -o -r plain \dump
+if errorlevel 1 goto error
+texp -i -8 -o -r lplain \input 3 \dump
+if errorlevel 1 goto error
+goto done
+
+:ex
+echo The following files should be removed or renamed before running fmt:
+if exist hyphen.tex echo hyphen.tex
+goto end
+
+:error
+echo Error
+
+:done
+if exist hyphen.tex del hyphen.tex
+:end
diff --git a/macros/generic/cptex/tex8fmts/gfmt.bat b/macros/generic/cptex/tex8fmts/gfmt.bat
new file mode 100644
index 0000000000..01385bc3e0
--- /dev/null
+++ b/macros/generic/cptex/tex8fmts/gfmt.bat
@@ -0,0 +1,29 @@
+echo off
+rem gfmt.bat
+if exist hyphen.tex goto ex
+if exist plaing.tex goto ex
+if exist lplaing.tex goto ex
+copy \emtex\texinput\plain.tex plaing.tex
+copy \emtex\texinput\ghyphen.min hyphen.tex
+tex -i -8 -o -r \language1\input plaing \dump
+if errorlevel 1 goto error
+copy \emtex\texinput\lplain.tex lplaing.tex
+tex -i -8 -o -r \language1\input lplaing \input 3 \dump
+if errorlevel 1 goto error
+goto done
+
+:ex
+echo The following files should be removed or renamed before running gfmt:
+if exist hyphen.tex echo hyphen.tex
+if exist plaing.tex echo plaing.tex
+if exist lplaing.tex echo lplaing.tex
+goto end
+
+:error
+echo Error
+
+:done
+if exist hyphen.tex del hyphen.tex
+if exist plaing.tex del plaing.tex
+if exist lplaing.tex del lplaing.tex
+:end
diff --git a/macros/generic/cptex/tex8fmts/gfmt.cmd b/macros/generic/cptex/tex8fmts/gfmt.cmd
new file mode 100644
index 0000000000..76533dc493
--- /dev/null
+++ b/macros/generic/cptex/tex8fmts/gfmt.cmd
@@ -0,0 +1,29 @@
+echo off
+rem gfmt.cmd
+if exist hyphen.tex goto ex
+if exist plaing.tex goto ex
+if exist lplaing.tex goto ex
+copy \emtex\texinput\plain.tex plaing.tex
+copy \emtex\texinput\ghyphen.min hyphen.tex
+texp -i -8 -o -r \language1\input plaing \dump
+if errorlevel 1 goto error
+copy \emtex\texinput\lplain.tex lplaing.tex
+texp -i -8 -o -r \language1\input lplaing \input 3 \dump
+if errorlevel 1 goto error
+goto done
+
+:ex
+echo The following files should be removed or renamed before running gfmt:
+if exist hyphen.tex echo hyphen.tex
+if exist plaing.tex echo plaing.tex
+if exist lplaing.tex echo lplaing.tex
+goto end
+
+:error
+echo Error
+
+:done
+if exist hyphen.tex del hyphen.tex
+if exist plaing.tex del plaing.tex
+if exist lplaing.tex del lplaing.tex
+:end
diff --git a/macros/generic/cptex/tex8fmts/gslifmt.bat b/macros/generic/cptex/tex8fmts/gslifmt.bat
new file mode 100644
index 0000000000..fbd6c6b6e7
--- /dev/null
+++ b/macros/generic/cptex/tex8fmts/gslifmt.bat
@@ -0,0 +1,23 @@
+echo off
+rem gslifmt.bat
+if exist hyphen.tex goto ex
+if exist splaing.tex goto ex
+copy \emtex\texinput\ghyphen.min hyphen.tex
+copy \emtex\texinput\splain.tex splaing.tex
+tex -i -8 -o -r \language1\input splaing \input 3 \dump
+if errorlevel 1 goto error
+goto done
+
+:ex
+echo The following files should be removed or renamed before running gslifmt:
+if exist hyphen.tex echo hyphen.tex
+if exist splaing.tex echo splaing.tex
+goto end
+
+:error
+echo Error
+
+:done
+if exist hyphen.tex del hyphen.tex
+if exist splaing.tex del splaing.tex
+:end
diff --git a/macros/generic/cptex/tex8fmts/gslifmt.cmd b/macros/generic/cptex/tex8fmts/gslifmt.cmd
new file mode 100644
index 0000000000..a8d914dc71
--- /dev/null
+++ b/macros/generic/cptex/tex8fmts/gslifmt.cmd
@@ -0,0 +1,23 @@
+echo off
+rem gslifmt.cmd
+if exist hyphen.tex goto ex
+if exist splaing.tex goto ex
+copy \emtex\texinput\ghyphen.min hyphen.tex
+copy \emtex\texinput\splain.tex splaing.tex
+texp -i -8 -o -r \language1\input splaing \input 3 \dump
+if errorlevel 1 goto error
+goto done
+
+:ex
+echo The following files should be removed or renamed before running gslifmt:
+if exist hyphen.tex echo hyphen.tex
+if exist splaing.tex echo splaing.tex
+goto end
+
+:error
+echo Error
+
+:done
+if exist hyphen.tex del hyphen.tex
+if exist splaing.tex del splaing.tex
+:end
diff --git a/macros/generic/cptex/tex8fmts/slifmt.bat b/macros/generic/cptex/tex8fmts/slifmt.bat
new file mode 100644
index 0000000000..4297d9f9af
--- /dev/null
+++ b/macros/generic/cptex/tex8fmts/slifmt.bat
@@ -0,0 +1,19 @@
+echo off
+rem slifmt.bat
+if exist hyphen.tex goto ex
+copy \emtex\texinput\hyphen.tex hyphen.tex
+tex -i -8 -o -r splain \input 3 \dump
+if errorlevel 1 goto error
+goto done
+
+:ex
+echo The following files should be removed or renamed before running slifmt:
+if exist hyphen.tex echo hyphen.tex
+goto end
+
+:error
+echo Error
+
+:done
+if exist hyphen.tex del hyphen.tex
+:end
diff --git a/macros/generic/cptex/tex8fmts/slifmt.cmd b/macros/generic/cptex/tex8fmts/slifmt.cmd
new file mode 100644
index 0000000000..0f177d01c5
--- /dev/null
+++ b/macros/generic/cptex/tex8fmts/slifmt.cmd
@@ -0,0 +1,19 @@
+echo off
+rem slifmt.cmd
+if exist hyphen.tex goto ex
+copy \emtex\texinput\hyphen.tex hyphen.tex
+texp -i -8 -o -r splain \input 3 \dump
+if errorlevel 1 goto error
+goto done
+
+:ex
+echo The following files should be removed or renamed before running slifmt:
+if exist hyphen.tex echo hyphen.tex
+goto end
+
+:error
+echo Error
+
+:done
+if exist hyphen.tex del hyphen.tex
+:end