diff options
author | Justin M. Seger <jseger@FreeBSD.org> | 1998-12-22 08:59:15 +0800 |
---|---|---|
committer | Justin M. Seger <jseger@FreeBSD.org> | 1998-12-22 08:59:15 +0800 |
commit | dd5734da9301d57f27a3221dac75781579049363 (patch) | |
tree | ba73d05fe600b4ceea10c9879e9e697f5f255ce5 /japanese/dvi2dvi/files | |
parent | c6eb57cbb428d8d172061833562298fafeb9d200 (diff) | |
download | freebsd-ports-dd5734da9301d57f27a3221dac75781579049363.tar.gz freebsd-ports-dd5734da9301d57f27a3221dac75781579049363.tar.zst freebsd-ports-dd5734da9301d57f27a3221dac75781579049363.zip |
Import of ja-dvi2dvi v 1.0
The program dvi2dvi is a DVI to DVI transformer. It can transform from
a dvi file created by ASCII Japanese TeX/pTeX into a NTT JTeX type of dvi file,
as well as the opposite transform of that.
PR: ports/5706
Submitted by: Makoto WATANABE
Notes
Notes:
svn path=/head/; revision=15463
Diffstat (limited to 'japanese/dvi2dvi/files')
-rw-r--r-- | japanese/dvi2dvi/files/fontdesc | 14 | ||||
-rw-r--r-- | japanese/dvi2dvi/files/patch-aa | 28 | ||||
-rw-r--r-- | japanese/dvi2dvi/files/patch-ab | 13 | ||||
-rw-r--r-- | japanese/dvi2dvi/files/patch-ac | 10 | ||||
-rw-r--r-- | japanese/dvi2dvi/files/patch-ad | 13 | ||||
-rw-r--r-- | japanese/dvi2dvi/files/patch-ae | 31 | ||||
-rw-r--r-- | japanese/dvi2dvi/files/patch-af | 23 |
7 files changed, 132 insertions, 0 deletions
diff --git a/japanese/dvi2dvi/files/fontdesc b/japanese/dvi2dvi/files/fontdesc new file mode 100644 index 000000000000..440777efbcd3 --- /dev/null +++ b/japanese/dvi2dvi/files/fontdesc @@ -0,0 +1,14 @@ +# +# dvi2dvi fontdesc file for FreeBSD jTeX and pTeX ports collection. +# +# configuration +fontdesc config +# +# NTT dvi (subfont) -> ASCII dvi +# +# virtual font +font vf * 0 $vf/vf-n2a/%f.vf +# +# tfm used in the above vf (ASCII jfm, i.e. min10.tfm ...) +font jfm * 0 $af/tfm/ptex/%f.tfm +font jfm * 0 $nsf/jfms/%f.tfm diff --git a/japanese/dvi2dvi/files/patch-aa b/japanese/dvi2dvi/files/patch-aa new file mode 100644 index 000000000000..044107ba91c1 --- /dev/null +++ b/japanese/dvi2dvi/files/patch-aa @@ -0,0 +1,28 @@ +--- Makefile.orig Mon May 20 05:32:43 1996 ++++ Makefile Mon Dec 21 19:31:32 1998 +@@ -2,10 +2,10 @@ + # your site: + # + # where dvi2dvi is installed +-BINAREA=/usr/local/bin ++BINAREA=${PREFIX}/bin + # + # directory for dvi2dvi: where the auxiliary files are installed +-DVI2LIB=/usr/local/lib/dvi2dvi ++DVI2LIB=${PREFIX}/lib/dvi2dvi + # + # name of default fontdesc file in your site + FONTDESC=fontdesc +@@ -15,10 +15,10 @@ + # + CC=cc + # +-CFLAGS = -g ++#CFLAGS = -g + #CFLAGS = -O # SUN etc ... + #CFLAGS = -O -traditional -DPOSIX # 386bsd (gcc 1.X) +-#CFLAGS = -O -DPOSIX # Netbsd (gcc 2.X), Linux ++CFLAGS = -O -DPOSIX -m486 # Netbsd (gcc 2.X), Linux + #CFLAGS = -O -bsd # NeXT + #CFLAGS = -O -DMSDOS -DPOSIX # DJGCC (gcc 2.X) + #CFLAGS = -O -DSYSV # SysV diff --git a/japanese/dvi2dvi/files/patch-ab b/japanese/dvi2dvi/files/patch-ab new file mode 100644 index 000000000000..c85f8a0bbcf2 --- /dev/null +++ b/japanese/dvi2dvi/files/patch-ab @@ -0,0 +1,13 @@ +--- lib/a2n.orig Sun Apr 30 14:54:32 1995 ++++ lib/a2n Mon Dec 21 19:31:33 1998 +@@ -3,7 +3,8 @@ + # configuration + fontdesc config + # min,goth -> dm,dg +-font jvf * 0 $af/vf-a2n/%f.vf ++font jvf * 0 $vf/vf-a2n/%f.vf + # + # tfm used in the above vf (NTT subfont tfm, i.e. dmjsys10.tfm ...) +-font tfm * 0 $nsf/tfm/%f.tfm ++font tfm * 0 $nsf/mincho/%f.tfm ++font tfm * 0 $nsf/gothic/%f.tfm diff --git a/japanese/dvi2dvi/files/patch-ac b/japanese/dvi2dvi/files/patch-ac new file mode 100644 index 000000000000..c8c93a8dba9c --- /dev/null +++ b/japanese/dvi2dvi/files/patch-ac @@ -0,0 +1,10 @@ +--- lib/config.orig Sun Apr 30 14:50:47 1995 ++++ lib/config Mon Dec 21 19:31:33 1998 +@@ -1,3 +1,4 @@ +-define f /usr/local/lib/tex/fonts +-define nsf /usr/local/lib/tex/jfonts +-define af /usr/local/lib/tex/jfonts ++define f @PREFIX@/share/tex/fonts ++define nsf @PREFIX@/share/tex/jfonts ++define af @PREFIX@/share/texmf/fonts ++define vf @PREFIX@/share/fonts diff --git a/japanese/dvi2dvi/files/patch-ad b/japanese/dvi2dvi/files/patch-ad new file mode 100644 index 000000000000..50af1c7df377 --- /dev/null +++ b/japanese/dvi2dvi/files/patch-ad @@ -0,0 +1,13 @@ +--- lib/n2a.orig Sun Apr 30 14:53:22 1995 ++++ lib/n2a Mon Dec 21 19:31:33 1998 +@@ -3,7 +3,8 @@ + # configuration + fontdesc config + # virtual font +-font vf * 0 $nsf/vf-n2a/%f.vf ++font vf * 0 $vf/vf-n2a/%f.vf + # + # tfm used in the above vf (ASCII jfm, i.e. min10.tfm ...) +-font jfm * 0 $af/jfm/%f.tfm ++font jfm * 0 $af/tfm/ptex/%f.tfm ++font jfm * 0 $nsf/jfms/%f.tfm diff --git a/japanese/dvi2dvi/files/patch-ae b/japanese/dvi2dvi/files/patch-ae new file mode 100644 index 000000000000..e57dd991faa2 --- /dev/null +++ b/japanese/dvi2dvi/files/patch-ae @@ -0,0 +1,31 @@ +--- lib/p2n.orig Mon Jun 26 10:02:01 1995 ++++ lib/p2n Mon Dec 21 19:31:33 1998 +@@ -3,20 +3,21 @@ + # configuration + fontdesc config + # min,goth -> dm,dg +-font jvf * 0 $af/vf-a2n/%f.vf ++font jvf * 0 $vf/vf-a2n/%f.vf + # tmin,tgoth -> dm,dg + d?jsy in vertical mode +-font jvf * 0 $af/vf-p2pn/%f.vf ++font jvf * 0 $vf/vf-p2pn/%f.vf + # + # tfm used in the above vf (NTT subfont tfm, i.e. dmjsy10.tfm ...) +-font tfm * 0 $nsf/tfm/%f.tfm ++font tfm * 0 $nsf/mincho/%f.tfm ++font tfm * 0 $nsf/gothic/%f.tfm + # + # convert fonts in vertical mode to fonts with rotated bitmap + # dmjsy.. -> tdmjsy.. +-vfont vf * 0 $af/vf-tjsy/%f.vf ++vfont vf * 0 $vf/vf-tjsy/%f.vf + # cmr.. -> rcmr.. +-define gen $f/vf-rot ++define gen $vf/vf-rot + vfont vf * 0 $gen/%f.vf + vfont func * 0 \ +- exist($f/tfm/%f.tfm),\ +- exec(/usr/local/lib/mkrotvf %f r%f $f/tfm/%f.tfm $gen/),\ ++ exist($f/%f.tfm),\ ++ exec(@PREFIX@/bin/mkrotvf %f r%f $f/%f.tfm $gen/),\ + vf($gen/%f.vf) diff --git a/japanese/dvi2dvi/files/patch-af b/japanese/dvi2dvi/files/patch-af new file mode 100644 index 000000000000..253b664fe955 --- /dev/null +++ b/japanese/dvi2dvi/files/patch-af @@ -0,0 +1,23 @@ +--- lib/p2pn.orig Fri May 5 14:14:20 1995 ++++ lib/p2pn Mon Dec 21 19:31:33 1998 +@@ -3,15 +3,16 @@ + # configuration + fontdesc config + # min,goth -> dm,dg +-font jvf * 0 $af/vf-a2n/%f.vf ++font jvf * 0 $vf/vf-a2n/%f.vf + # tmin,tgoth -> dm,dg + d?jsy in vertical mode +-font jvf * 0 $af/vf-p2pn/%f.vf ++font jvf * 0 $vf/vf-p2pn/%f.vf + # + # tfm used in the above vf (NTT subfont tfm, i.e. dmjsy10.tfm ...) +-font tfm * 0 $nsf/tfm/%f.tfm ++font tfm * 0 $nsf/mincho/%f.tfm ++font tfm * 0 $nsf/gothic/%f.tfm + # + # tfm of ascii font +-font tfm * 0 $f/tfm/%f.tfm ++font tfm * 0 $f/%f.tfm + # + ptex special vert "ps:gsave currentpoint currentpoint translate 90 rotate neg exch neg exch translate" + ptex special end "ps:currentpoint grestore moveto" |