summaryrefslogtreecommitdiff
path: root/language/hyphen-accent/dm-latex/dm-lafmt.bat
blob: acdd96c73b093b6e5188967cd785d11820b1b830 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
echo off
echo fmt.bat for 2 and 3 languages
del dlatexfg.fmt
del dlatexfr.fmt
del *.bak
del *.log
del *.tex
del *.sty
del *.min
del *.doc
del *.dat
del *.zip

copy \emtex\texinput\lfonts.tex
copy \emtex\texinput\latex.tex 
copy \emtex\texinput\lplain.tex 
copy \emtex\texinput\acmacros.sty 
copy \emtex\texinput\lhyphen.tex
copy \emtex\texinput\hyconfig.tex hyphen.tex
copy \emtex\texinput\hyacceur.tex hyacceur.tex
copy \emtex\texinput\enhyph.tex
copy \emtex\texinput\enhyphex.tex
copy \emtex\texinput\f8hyph.tex
copy \emtex\texinput\ghyphen.min

copy \emtex\texinput\dm-latex.doc 00_readme.doc 

copy \emtex\texinput\dlatex.tex dlatexfr.tex
copy \emtex\texinput\language.efr language.dat 
    tex386 -i -8 -mt20000 -c850DCTEX.TCP dlatexfr \dump
if errorlevel 1 goto error

copy \emtex\texinput\dlatex.tex dlatexfg.tex
copy \emtex\texinput\language.efg language.dat 
    tex386 -i -8 -mt20000 -c850DCTEX.TCP dlatexfg\dump
if errorlevel 1 goto error


mkdir \emtex\dm-lafmt 
del \emtex\dm-lafmt\*.t*
del \emtex\dm-lafmt\*.s*
del \emtex\dm-lafmt\*.d*
del \emtex\dm-lafmt\*.z*
del \emtex\dm-lafmt\*.m*
del \emtex\dm-lafmt\*.l*
del \emtex\dm-lafmt\*.b*

copy *.tex \emtex\dm-lafmt\*.*
copy *.sty \emtex\dm-lafmt\*.*
copy *.min \emtex\dm-lafmt\*.*
copy *.dat \emtex\dm-lafmt\*.*
copy *.log \emtex\dm-lafmt\*.*
copy *.doc \emtex\dm-lafmt\*.*


call dm-laput *.tex 
call dm-laput *.sty 
call dm-laput *.min 
call dm-laput language.dat 
call dm-laput *.doc 
call dm-laput *.log 
call dm-laput dm-lafmt.bat 

call zip_p dm-lafmt emtex\dm-lafmt\*.*
call \taupin\tex\rsoput dm-lafmt.zip /b

goto done

:ex
echo delete hyphen.tex and restart dm-lafmt
goto end

:error
echo Error

:done
if exist hyphen.tex del hyphen.tex
:end