summaryrefslogtreecommitdiff
path: root/Master/tlpkg/dviout/UTILITY
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2008-09-26 09:17:26 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2008-09-26 09:17:26 +0000
commit69cdb80977fc59e47c24a680fc0c61a3eac0c097 (patch)
treeca111e9049a1785bf8507161dce88a2233268760 /Master/tlpkg/dviout/UTILITY
parentd3a140feea19858912cc2de406e176ae8ce6c392 (diff)
dviout moved to tlpkg/dviout; dviout.vbs changed accordingly.
git-svn-id: svn://tug.org/texlive/trunk@10733 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/dviout/UTILITY')
-rwxr-xr-xMaster/tlpkg/dviout/UTILITY/dvi$pdf.bat1
-rw-r--r--Master/tlpkg/dviout/UTILITY/dviout0.par22
-rw-r--r--Master/tlpkg/dviout/UTILITY/dviout0.vfn140
-rw-r--r--Master/tlpkg/dviout/UTILITY/dviout1.vfn153
-rw-r--r--Master/tlpkg/dviout/UTILITY/dvioute.vfn137
-rw-r--r--Master/tlpkg/dviout/UTILITY/null.vfn1
-rw-r--r--Master/tlpkg/dviout/UTILITY/template88
-rw-r--r--Master/tlpkg/dviout/UTILITY/template.pk013
-rw-r--r--Master/tlpkg/dviout/UTILITY/template.pks83
-rw-r--r--Master/tlpkg/dviout/UTILITY/test_a4.tex118
-rw-r--r--Master/tlpkg/dviout/UTILITY/test_b5.tex125
-rw-r--r--Master/tlpkg/dviout/UTILITY/test_b5e.tex121
-rw-r--r--Master/tlpkg/dviout/UTILITY/test_org.tex36
13 files changed, 1038 insertions, 0 deletions
diff --git a/Master/tlpkg/dviout/UTILITY/dvi$pdf.bat b/Master/tlpkg/dviout/UTILITY/dvi$pdf.bat
new file mode 100755
index 00000000000..819293c79bf
--- /dev/null
+++ b/Master/tlpkg/dviout/UTILITY/dvi$pdf.bat
@@ -0,0 +1 @@
+dvipdfmx -x %1 -y %2 -p %3,%4 -s %5 -o %6 %7
diff --git a/Master/tlpkg/dviout/UTILITY/dviout0.par b/Master/tlpkg/dviout/UTILITY/dviout0.par
new file mode 100644
index 00000000000..514702997da
--- /dev/null
+++ b/Master/tlpkg/dviout/UTILITY/dviout0.par
@@ -0,0 +1,22 @@
+; dviout for Windows95/NT
+dpi=300
+
+; TEXROOT=c:\tex\texmf\fonts
+TEXROOT=c:\wintex # substitute to ^r
+
+; PATH of PK files of usual fonts and jfm files of KANJI fonts
+; TEXPK=^r\gth\dpi^d^g^s.pk;^r\jfms\^s.tfm
+; TEXPK=^r\cmttf\^s.ttf;^r\jfms\^s.tfm
+TEXPK=^r\pk\^d\^s.pk;^r\jfms\^s.tfm
+
+vfn=^x\utility\dviout0.vfn # cannot use ^r
+
+; The following two lines are useful after correct instalation of KANJI FONTs
+; F=.!=.;cmr10.=.;cmr10.!
+; FB=3
+
+L=2 # use long filenames
+BMP=4 # scaled to 1/4 x 1/4
+log+ # open log file
+TEXFONTS=^r\tfms # directories for TFM/JFM files
+; ttf=1000
diff --git a/Master/tlpkg/dviout/UTILITY/dviout0.vfn b/Master/tlpkg/dviout/UTILITY/dviout0.vfn
new file mode 100644
index 00000000000..5684bd2d182
--- /dev/null
+++ b/Master/tlpkg/dviout/UTILITY/dviout0.vfn
@@ -0,0 +1,140 @@
+########################################################################
+# ベクトルフォント定義ファイル サンプル #
+########################################################################
+#
+# # で始まる行はコメント行です。不用であれば削除してください。
+#
+%version = 2
+# .vfn ファイルの整合性チェック用のバージョン番号です。
+# dviout/dviprt 本体で使用するバージョン番号と合わせてください。
+# 2.43 現在では `2' を指定します。
+#
+%vfont_list
+# ベクトルフォント定義部
+# 1) Font No. の指定 1 から 16 で指定する。
+# 2) ベクトルフォントのパスを記述する。拡張子は付けないでおくこと。
+# 先頭に ^w をつけると、それは Windows のシステムディレクトリを
+# 表す(dviout for Windows)。
+# Windows95/NT で、WinAPI によってフォントを取得する場合は、フォン
+# ト名を " " で囲んで指定する。縦書きフォントは先頭に、@ をつけて
+# 指定する。
+# 3) w_adj フォントサイズの幅の補正倍率 w_adj/1000。(省略可)
+# 200 - 2000(デフォルト 1000)
+# 4) h_adj フォントサイズの高さの補正倍率 h_adj /1000。(省略可)
+# 200 - 2000(デフォルト 1000)
+# 5) 第2水準の文字を使わないのであれば、no vf2に1を設定する。(省略可)
+# (デフォルト 0)
+#
+# ','が項目間区切りになるので、忘れないように!
+#
+# Vec Font No. Vector Font Name w_adj h_adj no vf2
+#-------------+----------------------------------+-----+-----+------
+# 1, b:\vector\明朝, 1000, 1000, 0
+# 2, b:\vector\ゴシック, 1000, 1000, 0
+# 3,
+# 4,
+# 5,
+#
+# JG Font の例
+# 1, b:\vector\zmin0by, 1000, 1000, 0
+# 2, b:\vector\zkgo0by, 1000, 1000, 0
+#
+# Microsoft Windows TrueType Font の例
+# 1, ^w\fonts\msmincho, 1060, 1120, 0
+# 2, ^w\fonts\msgothic, 1060, 1120, 0
+#
+# Microsoft Windows TrueType Font (Windows95 WinAPI) の例
+1, "MS 明朝", 1000, 1000, 0
+2, "MS ゴシック", 1000, 1000, 0
+3, "@MS 明朝", 1000, 1000, 0
+4, "@MS ゴシック", 1000, 1000, 0
+#
+# Windows TrueType Font for Euroean Language
+ 5, "cmr10"
+# 6, "cmr8"
+#
+%jfm_list
+# JFMファイル定義部 使用するフォントのパラメータを記述する。
+#
+# 1) JFM name
+# JFM ファイル名。末尾のポイント数を示す数字を除いたもの
+# ex. min10.tfm -> min goth10.tfm -> goth
+# 2) Vec Font
+# 使用するベクトルフォントの番号
+# 3) 長体/平体の定義
+# 4) 斜体の定義
+# 5) Draw sw
+# 描画方法の指定
+# [標準モード][精細モード]
+# f -> "fill edge" 中身を塗りつぶす描画方法
+# o -> "trace outline" 縁をなぞる。
+# n -> f + o
+# [精細モード]
+# n,fの後ろにドット数を指定すると、そのドット幅より小さいフォント
+# では、精細モードになる 。
+# ex. n24 1 - 24 dot => 精細モード
+# 25 dot 以上 => 標準モード
+# 6) thin:
+# tpic標準モード & 精細モード :フォント描画の、塗りつぶし
+# not tpic標準モード :フォント描画の線幅調整
+# xfat :精細モードによるフォント描画の、線幅調整(x方向)
+# yfat :精細モードによるフォント描画の、線幅調整(y方向)
+# 項目間区切りは';'
+# 7) novec
+# ベクトルフォントを使用しないドットサイズを記述
+# ';'で区切って複数指定可能
+# 8) f_goth
+# 擬似ゴシックの指定
+# 0 または 空 で goth または -G で指定の tfm 名が擬似ゴシックになる
+# 1 で、擬似ゴシックの処理を禁止
+# 2 で、擬似ゴシックの処理
+# 9) rot
+# フォントの回転
+# 0 or 無指定: 上向き 1: 右向き 2: 下向き 3: 左向き
+#
+#
+# 5), 6), 7) は、Windows95/NT での WinAPI によるフォントの場合は、
+# 意味を持たないので、thin, xfat, yfat に別の意味を持たせていある。
+# xfat: 行の向き方向の位置の調整
+# yfat: base line の位置を調整する
+# これら 1000 がフォントのボックスサイズにあたる。
+# -2000 から 2000 の値が可能
+# thin: 欧文TrueTypeフォントの場合のコード表
+# 0: BaKoMa Fonts 1: Impress's Fonts for WinTeX 2: same as TeX
+#
+# Vec 長 thin
+# JFM Font / 斜 Draw xfat
+# name No. 平 sw yfat novec f_goth rot
+#--------+----+--+--+----+--------+-------+------+-----
+ min, 1, a, a, n200, 100;0;0, , , 0
+ goth, 2, a, a, n200, 100;0;0, , 1, 0
+ tmin, 3, a, a, n200, 100;0;0, , , 1
+ tgoth, 4, a, a, n200, 100;0;0, , 1, 1
+ default, 1, a, b, n, 0;0;0, , 1, 0
+ tdefault, 3, a, b, n, 0;0;0, , 1, 1
+# ztminmaa, 1, a, a, n200, 100;0;0, , , 0
+# ztminmba, 1, b, a, n200, 100;0;0, , , 0
+# ztminmca, 1, c, a, n200, 100;0;0, , , 0
+# ztminmda, 1, d, a, n200, 100;0;0, , , 0
+# ztminmea, 1, e, a, n200, 100;0;0, , , 0
+# ztminmga, 1, g, a, n200, 100;0;0, , , 0
+# ztminmha, 1, h, a, n200, 100;0;0, , , 0
+# ztminmia, 1, i, a, n200, 100;0;0, , , 0
+# ztminmja, 1, j, a, n200, 100;0;0, , , 0
+# ztminmab, 1, a, b, n200, 100;0;0, , , 0
+# ztminmac, 1, a, c, n200, 100;0;0, , , 0
+# ztminmad, 1, a, d, n200, 100;0;0, , , 0
+# ztminmae, 1, a, e, n200, 100;0;0, , , 0
+# ztminmaf, 1, a, f, n200, 100;0;0, , , 0
+# ztminmag, 1, a, g, n200, 100;0;0, , , 0
+# ztminmah, 1, a, h, n200, 100;0;0, , , 0
+# ztminmai, 1, a, i, n200, 100;0;0, , , 0
+# ztminmaj, 1, a, j, n200, 100;0;0, , , 0
+# ztminmak, 1, a, k, n200, 100;0;0, , , 0
+# ztminmal, 1, a, l, n200, 100;0;0, , , 0
+# ztminmam, 1, a, m, n200, 100;0;0, , , 0
+#
+# Europian Language TrueType font
+ edefault, 5, a, a, n, 0;0;0, , 1, 0
+#
+#end of dviout.vfn
diff --git a/Master/tlpkg/dviout/UTILITY/dviout1.vfn b/Master/tlpkg/dviout/UTILITY/dviout1.vfn
new file mode 100644
index 00000000000..308fb92dff0
--- /dev/null
+++ b/Master/tlpkg/dviout/UTILITY/dviout1.vfn
@@ -0,0 +1,153 @@
+########################################################################
+# ベクトルフォント定義ファイル サンプル #
+########################################################################
+#
+# # で始まる行はコメント行です。不用であれば削除してください。
+#
+%version = 2
+# .vfn ファイルの整合性チェック用のバージョン番号です。
+# dviout/dviprt 本体で使用するバージョン番号と合わせてください。
+# 2.43 現在では `2' を指定します。
+#
+%vfont_list
+# ベクトルフォント定義部
+# 1) Font No. の指定 1 から 256 で指定する。
+# 2) ベクトルフォントのパスを記述する。拡張子は付けないでおくこと。
+# 先頭に ^w をつけると、それは Windows のシステムディレクトリを
+# 表す(dviout for Windows)。
+# Windows95/NT で、WinAPI によってフォントを取得する場合は、フォン
+# ト名を " " で囲んで指定する。縦書きフォントは先頭に、@ をつけて
+# 指定する。
+# 3) w_adj フォントサイズの幅の補正倍率 w_adj/1000。(省略可)
+# 200 - 2000(デフォルト 1000)
+# 4) h_adj フォントサイズの高さの補正倍率 h_adj /1000。(省略可)
+# 200 - 2000(デフォルト 1000)
+# 5) 第2水準の文字を使わないのであれば、no vf2に1を設定する。(省略可)
+# (デフォルト 0)
+#
+# ','が項目間区切りになるので、忘れないように!
+#
+# Vec Font No. Vector Font Name w_adj h_adj no vf2
+#-------------+----------------------------------+-----+-----+------
+# 1, c:\vector\明朝, 1000, 1000, 0
+# 2, c:\vector\ゴシック, 1000, 1000, 0
+# 3,
+# 4,
+# 5,
+#
+# JG Font の例
+# 1, c:\vector\zmin0by, 1000, 1000, 0
+# 2, c:\vector\zkgo0by, 1000, 1000, 0
+#
+#
+# Microsoft Windows TrueType Font の例
+# ^w means Window's system directory
+# Require *.tti files by the command
+# ttindex c:\windows\fonts\msmincho
+# This makes msmincho.tti from msmincho.ttf or msmincho.ttc
+ 1, ^w\fonts\msmincho, 1060, 1120, 0
+ 2, ^w\fonts\msgothic, 1060, 1120, 0
+#
+# In case of GT font
+# 1. ^w\fonts\gt20001, 1060, 1120, 0
+#
+# Microsoft Windows TrueType Font (Windows95 WinAPI) の例
+#1, "MS 明朝", 1000, 1000, 0
+#2, "MS ゴシック", 1000, 1000, 0
+#3, "@MS 明朝", 1000, 1000, 0
+#4, "@MS ゴシック", 1000, 1000, 0
+#
+#
+# Windows TrueType Font for Euroean Language
+ 3, "cmr10"
+# 4, "cmr8"
+#
+%jfm_list
+# JFMファイル定義部 使用するフォントのパラメータを記述する。
+#
+# 1) JFM name
+# JFM ファイル名。末尾のポイント数を示す数字を除いたもの
+# ex. min10.tfm -> min goth10.tfm -> goth
+# 2) Vec Font
+# 使用するベクトルフォントの番号
+# 3) 長体/平体の定義
+# 4) 斜体の定義
+# 5) Draw sw
+# 描画方法の指定
+# [標準モード][精細モード]
+# f -> "fill edge" 中身を塗りつぶす描画方法
+# o -> "trace outline" 縁をなぞる。
+# n -> f + o
+# [精細モード]
+# n,fの後ろにドット数を指定すると、そのドット幅より小さいフォント
+# では、精細モードになる 。
+# ex. n24 1 - 24 dot => 精細モード
+# 25 dot 以上 => 標準モード
+# 6) thin:
+# tpic標準モード & 精細モード :フォント描画の、塗りつぶし
+# not tpic標準モード :フォント描画の線幅調整
+# xfat :精細モードによるフォント描画の、線幅調整(x方向)
+# yfat :精細モードによるフォント描画の、線幅調整(y方向)
+# 項目間区切りは';'
+# 7) novec
+# ベクトルフォントを使用しないドットサイズを記述
+# ';'で区切って複数指定可能
+# 8) f_goth
+# 擬似ゴシックの指定
+# 0 または 空 で goth または -G で指定の tfm 名が擬似ゴシックになる
+# 1 で、擬似ゴシックの処理を禁止
+# 2 で、擬似ゴシックの処理
+# 9) rot
+# フォントの回転
+# 0 or 無指定: 上向き 1: 右向き 2: 下向き 3: 左向き
+#
+#
+# 5), 6), 7) は、Windows95/NT での WinAPI によるフォントの場合は、
+# 意味を持たないので、thin, xfat, yfat に別の意味を持たせていある。
+# xfat: 行の向き方向の位置の調整
+# yfat: base line の位置を調整する
+# これら 1000 がフォントのボックスサイズにあたる。
+# -2000 から 2000 の値が可能
+# thin: 欧文TrueTypeフォントの場合のコード表
+# 0: BaKoMa Fonts 1: Impress's Fonts for WinTeX 2: same as TeX
+#
+# Vec 長 thin
+# JFM Font / 斜 Draw xfat
+# name No. 平 sw yfat novec f_goth rot
+#--------+----+--+--+----+--------+-------+------+-----
+ min, 1, a, a, n200, 100;0;0, , , 0
+ goth, 2, a, a, n200, 100;0;0, , 1, 0
+ tmin, 1, a, a, n200, 100;0;0, , , 1
+ tgoth, 2, a, a, n200, 100;0;0, , 1, 1
+ jis, 1, a, a, n200, 100;0;0, , , 0
+ jisg, 2, a, a, n200, 100;0;0, , 1, 0
+ jis-v, 1, a, a, n200, 100;0;0, , , 1
+ jisg-v, 2, a, a, n200, 100;0;0, , 1, 1
+ default, 1, a, b, n, 0;0;0, , 1, 0
+ tdefault, 1, a, b, n, 0;0;0, , 1, 1
+# ztminmaa, 1, a, a, n200, 100;0;0, , , 0
+# ztminmba, 1, b, a, n200, 100;0;0, , , 0
+# ztminmca, 1, c, a, n200, 100;0;0, , , 0
+# ztminmda, 1, d, a, n200, 100;0;0, , , 0
+# ztminmea, 1, e, a, n200, 100;0;0, , , 0
+# ztminmga, 1, g, a, n200, 100;0;0, , , 0
+# ztminmha, 1, h, a, n200, 100;0;0, , , 0
+# ztminmia, 1, i, a, n200, 100;0;0, , , 0
+# ztminmja, 1, j, a, n200, 100;0;0, , , 0
+# ztminmab, 1, a, b, n200, 100;0;0, , , 0
+# ztminmac, 1, a, c, n200, 100;0;0, , , 0
+# ztminmad, 1, a, d, n200, 100;0;0, , , 0
+# ztminmae, 1, a, e, n200, 100;0;0, , , 0
+# ztminmaf, 1, a, f, n200, 100;0;0, , , 0
+# ztminmag, 1, a, g, n200, 100;0;0, , , 0
+# ztminmah, 1, a, h, n200, 100;0;0, , , 0
+# ztminmai, 1, a, i, n200, 100;0;0, , , 0
+# ztminmaj, 1, a, j, n200, 100;0;0, , , 0
+# ztminmak, 1, a, k, n200, 100;0;0, , , 0
+# ztminmal, 1, a, l, n200, 100;0;0, , , 0
+# ztminmam, 1, a, m, n200, 100;0;0, , , 0
+#
+# Europian Language TrueType font
+ edefault, 3, a, a, n, 0;0;0, , 1, 0
+#
+#end of dviout.vfn
diff --git a/Master/tlpkg/dviout/UTILITY/dvioute.vfn b/Master/tlpkg/dviout/UTILITY/dvioute.vfn
new file mode 100644
index 00000000000..a91b49aab4a
--- /dev/null
+++ b/Master/tlpkg/dviout/UTILITY/dvioute.vfn
@@ -0,0 +1,137 @@
+########################################################################
+# A sample of the definition of vector fonts
+########################################################################
+#
+# The lines starting by # are ignored
+#
+%version = 2
+# Versiong number of .vfn file
+#
+%vfont_list
+# Definition of Vector Fonts
+# 1) Font No. : From 1 up to 256(max)
+# 2) Path of vector fonts without extension
+# If WinAPI of Japanese Windows95/NT is used, indicate font name by
+# using the double quatations " " and moreover put @ at the top of
+# the font name for vertical writing
+# 3) w_adj Adjusting ratio is w_adj/1000 for width (may be omitted)
+# 200 - 2000(deault: 1000)
+# 4) h_adj Adjusting ratio is h_adj/1000 for height (may be omitted)
+# 200 - 2000(default: 1000)
+# 5) Set 1 if the characters in the second level are not used (may be
+# omitted, default 0)
+#
+# ','is used for separations between items
+#
+# Vec Font No. Vector Font Name w_adj h_adj no vf2
+#-------------+----------------------------------+-----+-----+------
+# 1, b:\vector\明朝, 1000, 1000, 0
+# 2, b:\vector\ゴシック, 1000, 1000, 0
+# 3,
+# 4,
+# 5,
+#
+# JG Font
+# 1, b:\vector\zmin0by, 1000, 1000, 0
+# 2, b:\vector\zkgo0by, 1000, 1000, 0
+#
+# Microsoft Windows TrueType Font under non-Japanese Windows95/NT
+# ^w: Windows system directory
+# ^x: directory of dviout
+# 1, c:\windows\fonts\msmincho, 1060, 1120, 0
+ 2, c:\windows\fonts\msgothic, 1060, 1120, 0
+#
+# Microsoft Windows TrueType Font under Japanese Windows95/NT WinAPI
+# 1, "MS 明朝", 1000, 1000, 0
+# 2, "MS ゴシック", 1000, 1000, 0
+# 3, "@MS 明朝", 1000, 1000, 0
+# 4, "@MS ゴシック", 1000, 1000, 0
+#
+#
+# TrueType Fonts for European Languages
+ 1, "cmr10"
+# 2, "cmr8"
+#
+%jfm_list
+# Definiton of JFM files and the parameters to use them
+#
+# 1) JFM name
+# Filename of JFM file excluding point number at the tail
+# ex. min10.tfm -> min goth10.tfm -> goth
+# 2) Vec Font
+# Number of vector font to use
+# 3) Long face/Flat face
+# 4) Slanted face
+# 5) Draw sw
+# Way of drawing
+# [Nomal mode][Fine mode]
+# f -> "fill edge"
+# o -> "trace outline"
+# n -> f + o
+# [Fine mode]
+# If a number is indicated after n,f, the fonts with the width by
+# smaller than the number will be created under File mode
+# ex. n24 1 - 24 dot => Fine mode
+# >= 25 dot => Normal mode
+# 6) thin:
+# tpic normal mode & fine mode : adjustment to fill edge
+# not tpic normal mode : adjustment of the width of lines
+# xfat : adjustment of the width of lines in horizontal direction
+# yfat : adjustment of the width of lines in vertical direction
+# The separater is ';'
+# 7) novec
+# If fonts with some size are not used by the definition here, indicate
+# their size by dots separated by ';'
+# 8) f_goth
+# poor man's gothic
+# 0 or void: Use it for the fonts goth or the ones indicated by -G:
+# 1: stop using poor man's gothic
+# 2: use poor man's gothic
+# 9) rot
+# rotation of fonts
+# 0 or void: up 1: right 2: down 3: left
+#
+#
+# 5), 6), 7) have no meaning for fonts using WinAPI under Windows95/NT
+# They have different meaning as follows
+# xfat: adjusting the position parallel to baseline
+# yfat: adjusting the position of baseline
+# 1000 corresponds to the box size of a character(possible from
+# -2000 to 2000)
+# thin: code table
+# 0: BaKoMa fonts 1: Impress's Fonts for WinTeX 2: same as in TeX
+#
+# Vec long thin
+# JFM Font /slant Draw xfat
+# name No. flat sw yfat novec f_goth rot
+#--------+----+--+--+----+--------+-------+------+-----
+ min, 2, a, a, n200, 100;0;0, , , 0
+ goth, 2, a, a, n200, 100;0;0, , 1, 0
+ tmin, 2, a, a, n200, 100;0;0, , , 1
+ tgoth, 2, a, a, n200, 100;0;0, , 1, 1
+# ztminmaa, 1, a, a, n200, 100;0;0, , , 0
+# ztminmba, 1, b, a, n200, 100;0;0, , , 0
+# ztminmca, 1, c, a, n200, 100;0;0, , , 0
+# ztminmda, 1, d, a, n200, 100;0;0, , , 0
+# ztminmea, 1, e, a, n200, 100;0;0, , , 0
+# ztminmga, 1, g, a, n200, 100;0;0, , , 0
+# ztminmha, 1, h, a, n200, 100;0;0, , , 0
+# ztminmia, 1, i, a, n200, 100;0;0, , , 0
+# ztminmja, 1, j, a, n200, 100;0;0, , , 0
+# ztminmab, 1, a, b, n200, 100;0;0, , , 0
+# ztminmac, 1, a, c, n200, 100;0;0, , , 0
+# ztminmad, 1, a, d, n200, 100;0;0, , , 0
+# ztminmae, 1, a, e, n200, 100;0;0, , , 0
+# ztminmaf, 1, a, f, n200, 100;0;0, , , 0
+# ztminmag, 1, a, g, n200, 100;0;0, , , 0
+# ztminmah, 1, a, h, n200, 100;0;0, , , 0
+# ztminmai, 1, a, i, n200, 100;0;0, , , 0
+# ztminmaj, 1, a, j, n200, 100;0;0, , , 0
+# ztminmak, 1, a, k, n200, 100;0;0, , , 0
+# ztminmal, 1, a, l, n200, 100;0;0, , , 0
+# ztminmam, 1, a, m, n200, 100;0;0, , , 0
+#
+# Europian Language TrueType font
+ edefault, 2, a, a, n, 0;0;0, , 1, 0
+#
+#end of dvioute.vfn
diff --git a/Master/tlpkg/dviout/UTILITY/null.vfn b/Master/tlpkg/dviout/UTILITY/null.vfn
new file mode 100644
index 00000000000..00ba3dc5c09
--- /dev/null
+++ b/Master/tlpkg/dviout/UTILITY/null.vfn
@@ -0,0 +1 @@
+%version = 2
diff --git a/Master/tlpkg/dviout/UTILITY/template b/Master/tlpkg/dviout/UTILITY/template
new file mode 100644
index 00000000000..f7b4bd45fb8
--- /dev/null
+++ b/Master/tlpkg/dviout/UTILITY/template
@@ -0,0 +1,88 @@
+# GEN_FONT.BAT作成用テンプレート サンプル
+# By 八雲 1994/5/15
+# modified by SHIMA 1996/12/27
+#
+# auto=no
+#
+# Printer's dpi
+#
+extra_size=360
+#
+#
+# Temporary batch-file name
+#
+gen_tmp=a:\gen_tmp.bat
+#
+#
+# Batch-file name for ungenerated fonts
+#
+gen_font=a:\gen_font.bat
+#
+#
+#### METAFONT \mode name definitions
+#
+# Atari 96x96 previewer
+mode_name=96:atarins
+#
+# BBN Bitgraph at 118dpi
+mode_name=118:bitgraph
+#
+# Epson LQ-500, 180x180dpi
+mode_name=180:lqlores
+#
+# Canon LBP-10
+mode_name=240:canonlbp
+#
+# Canon CX, SX, LBP-LX
+mode_name=300:CanonCX
+#
+# Epson Action Laser
+#mode_name=300:epsonact
+#
+# Canon BubbleJet 10ex
+mode_name=360:bjtenex
+#
+# Sun SPARCprinter
+mode_name=400:sparcptr
+#
+# NeXT 400dpi, Newgen
+#mode_name=400:nexthi
+#
+# CanonEX in LaserWriter Pro 630
+mode_name=600:canonex
+#
+#
+%1st
+#
+echo off
+#
+%2nd
+#
+# ^s METAFONT source file name (font name)
+# ^m font magnification
+# ^d font size ( dpi x magnification )
+# ^D dpi
+# ^e font extra_size
+# ^n METAFONT mode name
+# ^N METAFONT mode name for extra_size
+#
+REM For ^D dpi
+REM
+virmf &cmmf \mode=^n; mag=^m; nonstopmode; input ^s
+if not exist ^s.^dgf goto err
+gftopk ^s.^dgf ^s.pk
+gather -abi a:\tex\pkfont\dpi^d.gth ^s.pk
+del ^s.^dgf
+del ^s.pk
+#del ^s.log
+#
+#
+%3rd
+#
+copy *.tfm a:\tex\tfm
+del *.tfm
+echo *** Fonts generated! ***
+goto exit
+:err
+echo *** Failure! ***
+:exit
diff --git a/Master/tlpkg/dviout/UTILITY/template.pk0 b/Master/tlpkg/dviout/UTILITY/template.pk0
new file mode 100644
index 00000000000..10f52b56c94
--- /dev/null
+++ b/Master/tlpkg/dviout/UTILITY/template.pk0
@@ -0,0 +1,13 @@
+# GEN_FONT.BAT作成用テンプレート サンプル(for MakeTeXPK)
+# By 八雲 1994/ 5/15
+# modified by SHIMA 1996/12/27
+#
+%1st
+%2nd
+#
+# ex. MakeTeXPK ^s ^d ^D ^d/^D CanonCX
+#
+# The next uses the default defined by MAKETEXPK_MODE_... in texmf.cnf
+#
+MakeTeXPK ^s ^d ^D ^d/^D
+%3rd
diff --git a/Master/tlpkg/dviout/UTILITY/template.pks b/Master/tlpkg/dviout/UTILITY/template.pks
new file mode 100644
index 00000000000..73d739cf879
--- /dev/null
+++ b/Master/tlpkg/dviout/UTILITY/template.pks
@@ -0,0 +1,83 @@
+# GEN_FONT.BAT作成用テンプレート サンプル(for MakeTeXPK)
+# By 八雲 1994/ 5/15
+# modified by SHIMA 1996/12/27
+# modified by Otobe 1997/11/ 3
+#
+# auto=no
+# extra_size=180
+#
+# Temporary batch-file name
+# gen_tmp=gen_tmp.bat
+#
+#
+# Batch-file name for ungenerated fonts
+# gen_font=gen_font.bat
+#
+#
+#### METAFONT \mode name definitions
+#
+# Atari 96x96 previewer
+mode_name=96:atarins
+#
+# BBN Bitgraph at 118dpi
+mode_name=118:bitgraph
+#
+# NEC PC-PR201 series
+mode_name=160:nectzo
+#
+# Epson LQ-500, 180x180dpi
+mode_name=180:lqlores
+#
+# 204 x 196 G3fax
+mode_name=204:gtfax
+#
+# 204 x 196 G3fax landscape
+mode_name=196:gtfaxl
+#
+# 200 x 200 G3FAX
+mode_name=200:highfax
+#
+# Canon LBP-10
+mode_name=240:canonlbp
+#
+# Canon CX, SX, LBP-LX, HP Laserjet(Plus), LaserWrite Plus, QMS 410
+mode_name=300:CanonCX
+#
+# Epson Action Laser
+#mode_name=300:epsonact
+#
+# NEC PC-PR406LM
+mode_name=320:neclm
+#
+# Canon BubbleJet 10ex
+mode_name=360:bjtenex
+#
+# NeXT 400dpi, Newgen
+mode_name=400:nexthi
+#
+# Sun SPARCprinter
+# mode_name=400:sparcptr
+#
+# CanonEX in LaserWriter Pro 630
+mode_name=600:canonex
+#
+# HP LaserJet 4, QMS-860
+#mode_name=600:ljfour
+#
+# Ultre*setter (1200dpi)
+mode_name=1200:ultre
+#
+# Ultre*setter (2400dpi)
+mode_name=2400:supre
+#
+%1st
+%2nd
+#
+# ^s METAFONT source file name (font name)
+# ^d font size ( dpi x magnification )
+# ^D dpi
+# ^n METAFONT mode name
+#
+MakeTeXPK ^s ^d ^D ^d/^D ^n
+# mktexpk --dpi ^d --bdpi ^D --mag ^M --mfmode ^n ^s
+%3rd
diff --git a/Master/tlpkg/dviout/UTILITY/test_a4.tex b/Master/tlpkg/dviout/UTILITY/test_a4.tex
new file mode 100644
index 00000000000..5c434645eed
--- /dev/null
+++ b/Master/tlpkg/dviout/UTILITY/test_a4.tex
@@ -0,0 +1,118 @@
+% testpage.tex - created 20 July 1987
+% Copyright (C) 1987 by Leslie Lamport
+%
+% Test of how accurately printer reproduces dimensions specified
+% by LaTeX output.
+%
+% Revised by Stephen Gildea to:
+% make 10 tic marks instead of 9
+% add a long rule through the tics to show the exact edge of the paper
+% short tics on right-hand ruler positioned correctly
+% some comments added.
+%
+% Modified by SHIMA for A4 size (210mm x 297mm)
+% comments are in Japanese.
+% The original file_name is "testpage.tex" is changed to "test_a4.tex"
+% to avoid confusion.
+% Translated into English by Kohsaku HOTTA in 22 Dec 1999.
+% The file_name is changed to "test_a4e.tex".
+
+\documentclass{article}
+\pagestyle{empty}
+
+\setlength{\oddsidemargin}{0pt}
+\setlength{\evensidemargin}{0pt}
+\setlength{\marginparwidth}{1in}
+\setlength{\marginparsep}{0pt}
+
+\setlength{\topmargin}{0pt}
+\setlength{\headheight}{0pt}
+\setlength{\headsep}{0pt}
+\setlength{\topskip}{0pt}
+
+\setlength{\footskip}{0pt}
+
+%\setlength{\textheight}{9.5in}
+\setlength{\textheight}{9.69291in}
+
+%\setlength{\textwidth}{6.5in}
+\setlength{\textwidth}{6.26772in}
+
+\setlength{\unitlength}{1in}
+\newcounter{foo}
+
+\begin{document}
+\parindent 0pt
+\begin{picture}(0,0)
+\scriptsize
+%\put(0,-9){\framebox(6.5,9){}}
+\put(0,-9.69291){\framebox(6.26772,9.69291){}}
+% left ruler
+%\put(0,-4.5){\line(-1,0){2.5}}
+\put(0,-4.84645){\line(-1,0){2.5}}
+%\multiput(-.1,-4.6)(-.1,0){10}{\line(0,1){.2}}
+\multiput(-.1,-4.94645)(-.1,0){10}{\line(0,1){.2}}
+%\multiput(-.05,-4.55)(-.1,0){10}{\line(0,1){.1}}
+\multiput(-.05,-4.89645)(-.1,0){10}{\line(0,1){.1}}
+%\setcounter{foo}{1}\multiput(-.1,-4.35)(-.1,0){9}{\makebox
+% (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+\setcounter{foo}{1}\multiput(-.1,-4.69645)(-.1,0){9}{\makebox
+ (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+% right ruler
+%\put(6.5,-4.5){\line(1,0){2.5}}
+\put(6.26772,-4.84645){\line(1,0){2.5}}
+%\multiput(6.6,-4.6)(.1,0){10}{\line(0,1){.2}}
+\multiput(6.36772,-4.94645)(.1,0){10}{\line(0,1){.2}}
+%\multiput(6.55,-4.55)(.1,0){10}{\line(0,1){.1}}
+\multiput(6.31772,-4.89645)(.1,0){10}{\line(0,1){.1}}
+%\setcounter{foo}{1}\multiput(6.36772,-4.35)(.1,0){9}{\makebox
+% (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+\setcounter{foo}{1}\multiput(6.36772,-4.69645)(.1,0){9}{\makebox
+ (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+% top ruler
+%\put(3.25,0){\line(0,1){2.5}}
+\put(3.12386,0){\line(0,1){2.5}}
+%\multiput(3.15,.1)(0,.1){10}{\line(1,0){.2}}
+\multiput(3.02386,.1)(0,.1){10}{\line(1,0){.2}}
+%\multiput(3.2,.05)(0,.1){10}{\line(1,0){.1}}
+\multiput(3.07684,.05)(0,.1){10}{\line(1,0){.1}}
+%\setcounter{foo}{1}\multiput(3.4,.1)(0,.1){9}{\makebox
+% (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+\setcounter{foo}{1}\multiput(3.27386,.1)(0,.1){9}{\makebox
+ (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+
+% bottom ruler
+%\put(3.25,-9.69291){\line(0,-1){2.5}}
+\put(3.12386,-9.69291){\line(0,-1){2.5}}
+%\multiput(3.15,-9.79291)(0,-.1){10}{\line(1,0){.2}}
+\multiput(3.02386,-9.79291)(0,-.1){10}{\line(1,0){.2}}
+%\multiput(3.2,-9.74291)(0,-.1){10}{\line(1,0){.1}}
+\multiput(3.07684,-9.74291)(0,-.1){10}{\line(1,0){.1}}
+%\setcounter{foo}{1}\multiput(3.4,-9.79291)(0,-.1){9}{\makebox
+% (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+\setcounter{foo}{1}\multiput(3.27386,-9.79291)(0,-.1){9}{\makebox
+ (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+\end{picture}
+\vfill
+\mbox{}\hfill
+\begin{minipage}{4in}
+%The frame on this page should be $6\frac{1}{2}'' \times 9''$. When
+%printed on $8\frac{1}{2}'' \times 11''$ paper, the frame should be one
+%inch from each edge of the paper.\\[10pt]
+%The rulers at the four edges will indicate how much of the page is
+%useable. The large ticks are $.1''$ apart.
+%%%%%
+This frame size is $159.2{\rm mm}\ \times\ 246.2{\rm mm}$.
+When printed on A4 size paper,
+the frame should be one inch from each edge of the paper,
+where one inch is equal to 25.4{\rm mm}.\\
+Please control the top lefthand corner of this frame
+should be one inch from the left and top edges of the paper.\\
+The ticks of the rulers at the four edges are 0.1 inch apart.
+%%%%%
+\end{minipage}
+\hfill\mbox{}
+
+\vfill
+\mbox{}
+\end{document}
diff --git a/Master/tlpkg/dviout/UTILITY/test_b5.tex b/Master/tlpkg/dviout/UTILITY/test_b5.tex
new file mode 100644
index 00000000000..70e025a1633
--- /dev/null
+++ b/Master/tlpkg/dviout/UTILITY/test_b5.tex
@@ -0,0 +1,125 @@
+% testpage.tex - created 20 July 1987
+% Copyright (C) 1987 by Leslie Lamport
+%
+% Test of how accurately printer reproduces dimensions specified
+% by LaTeX output.
+%
+% Revised by Stephen Gildea to:
+% make 10 tic marks instead of 9
+% add a long rule through the tics to show the exact edge of the paper
+% short tics on right-hand ruler positioned correctly
+% some comments added
+%
+% Modified by Kohsaku HOTTA for B5 size (182mm x 257mm) in 15 July 1995
+% Comments are in Japanese
+% The original file_name is "testpage.tex" is changed to "test_b5.tex" to avoid
+% confusion.
+
+\documentstyle{jarticle}
+\pagestyle{empty}
+
+\oddsidemargin 0pt
+\evensidemargin 0pt
+\marginparwidth 1in
+\marginparsep 0pt
+
+\topmargin 0pt
+\headheight 0pt
+\headsep 0pt
+\topskip 0pt
+
+\footheight 0pt
+\footskip 0pt
+
+%\textheight 8.0in
+\textheight 8.11811in
+%\textwidth 5.0in
+\textwidth 5.16535in
+
+\setlength{\unitlength}{1in}
+\newcounter{foo}
+
+\begin{document}
+
+\parindent 0pt
+\begin{picture}(0,0)
+\scriptsize
+
+%\put(0,-8.0){\framebox(5.0,8.0){}}
+\put(0,-8.11811){\framebox(5.16535,8.11811){}}
+
+% LEFT RULER
+%\put(0,-4.0){\line(-1,0){2.5}}
+\put(0,-4.05906){\line(-1,0){2.5}}
+%\multiput(-.1,-4.1)(-.1,0){10}{\line(0,1){.2}}
+\multiput(-.1,-4.15906)(-.1,0){10}{\line(0,1){.2}}
+%\multiput(-.05,-4.05)(-.1,0){10}{\line(0,1){.1}}
+\multiput(-.05,-4.10906)(-.1,0){10}{\line(0,1){.1}}
+%\setcounter{foo}{1}\multiput(-.1,-3.85)(-.1,0){9}{\makebox
+% (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+\setcounter{foo}{1}\multiput(-.1,-3.90906)(-.1,0){9}{\makebox
+ (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+
+% RIGHT RULER
+%\put(5.0,-4.0){\line(1,0){2.5}}
+\put(5.16535,-4.05906){\line(1,0){2.5}}
+%\multiput(5.1,-4.1)(.1,0){10}{\line(0,1){.2}}
+\multiput(5.26535,-4.15906)(.1,0){10}{\line(0,1){.2}}
+%\multiput(5.05,-4.05)(.1,0){10}{\line(0,1){.1}} %fixed mit-erl!gildea 13Feb86
+\multiput(5.21535,-4.10906)(.1,0){10}{\line(0,1){.1}}
+%\multiput(5.05,-4.05)(.1,0){10}{\line(0,1){.1}}
+%\setcounter{foo}{1}\multiput(5.1,-3.85)(.1,0){9}{\makebox
+% (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+\multiput(5.21535,-4.10906)(.1,0){10}{\line(0,1){.1}}
+\setcounter{foo}{1}\multiput(5.26535,-3.90906)(.1,0){9}{\makebox
+ (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+
+% TOP RULER
+%\put(2.5,0){\line(0,1){2.5}}
+\put(2.58268,0){\line(0,1){2.5}}
+%\multiput(2.4,.1)(0,.1){10}{\line(1,0){.2}}
+\multiput(2.48268,.1)(0,.1){10}{\line(1,0){.2}}
+%\multiput(2.45,.05)(0,.1){10}{\line(1,0){.1}}
+\multiput(2.53268,.05)(0,.1){10}{\line(1,0){.1}}
+%\setcounter{foo}{1}\multiput(2.65,.1)(0,.1){9}{\makebox
+% (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+\setcounter{foo}{1}\multiput(2.73268,.1)(0,.1){9}{\makebox
+ (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+
+% BOTTOM RULER
+%\put(2.5,-8.0){\line(0,-1){2.5}}
+\put(2.58268,-8.11811){\line(0,-1){2.5}}
+%\multiput(2.4,-8.1)(0,-.1){10}{\line(1,0){.2}}
+\multiput(2.48268,-8.21811)(0,-.1){10}{\line(1,0){.2}}
+%\multiput(2.45,-8.05)(0,-.1){10}{\line(1,0){.1}}
+\multiput(2.53263,-8.16811)(0,-.1){10}{\line(1,0){.1}}
+%\setcounter{foo}{1}\multiput(2.65,-8.1)(0,-.1){9}{\makebox
+% (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+\setcounter{foo}{1}\multiput(2.73263,-8.21811)(0,-.1){9}{\makebox
+ (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+
+\end{picture}
+
+\vfill
+\mbox{}\hfill
+\begin{minipage}{3in}
+
+%The frame on this page should be $6\frac{1}{2}'' \times 9''$. When
+%printed on $8\frac{1}{2}'' \times 11''$ paper, the frame should be one
+%inch from each edge of the paper.\\[10pt]
+%The rulers at the four edges will indicate how much of the page is
+%useable. The large ticks are $.1''$ apart.
+
+この枠のサイズは、$131.2{\rm mm}\ \times\ 206.2{\rm mm}$ であり、
+B5 サイズの用紙に印刷した場合、紙の各辺から \\
+ 1 inch = 25.4 mm 内側に枠が位置するはずです。 \\
+枠の左上端が、紙の左上端から、右に 1 inch、下に 1 inch の
+ところに来るよう調整して下さい。\\
+端の目盛りは、1 が 0.1 inch に対応します。
+
+\end{minipage}
+\hfill\mbox{}
+\vfill
+\mbox{}
+
+\end{document}
diff --git a/Master/tlpkg/dviout/UTILITY/test_b5e.tex b/Master/tlpkg/dviout/UTILITY/test_b5e.tex
new file mode 100644
index 00000000000..50268d052df
--- /dev/null
+++ b/Master/tlpkg/dviout/UTILITY/test_b5e.tex
@@ -0,0 +1,121 @@
+% testpage.tex - created 20 July 1987
+% Copyright (C) 1987 by Leslie Lamport
+%
+% Test of how accurately printer reproduces dimensions specified
+% by LaTeX output.
+%
+% Revised by Stephen Gildea to:
+% make 10 tic marks instead of 9
+% add a long rule through the tics to show the exact edge of the paper
+% short tics on right-hand ruler positioned correctly
+% some comments added.
+%
+% Modified by Kohsaku HOTTA for B5E size (176mm x 250mm) in 22 Dec 1999.
+% The original file_name is "testpage.tex" is changed to "test_b5e.tex"
+% to avoid confusion.
+
+\documentclass{article}
+\pagestyle{empty}
+
+\setlength{\oddsidemargin}{0pt}
+\setlength{\evensidemargin}{0pt}
+\setlength{\marginparwidth}{1in}
+\setlength{\marginparsep}{0pt}
+
+\setlength{\topmargin}{0pt}
+\setlength{\headheight}{0pt}
+\setlength{\headsep}{0pt}
+\setlength{\topskip}{0pt}
+
+\setlength{\footskip}{0pt}
+
+%\setlength{\textheight}{8.0in}
+\setlength{\textheight}{7.84252in}
+
+%\setlength{\textwidth}{5.0in}
+\setlength{\textwidth}{4.92913in}
+
+\setlength{\unitlength}{1in}
+\newcounter{foo}
+
+\begin{document}
+
+\parindent 0pt
+\begin{picture}(0,0)
+\scriptsize
+
+%\put(0,-8.0){\framebox(5.0,8.0){}}
+\put(0,-7.84252){\framebox(4.92913,7.84252){}}
+
+% LEFT RULER
+%\put(0,-4.0){\line(-1,0){2.5}}
+\put(0,-3.92126){\line(-1,0){2.5}}
+%\multiput(-.1,-4.1)(-.1,0){10}{\line(0,1){.2}}
+\multiput(-.1,-4.02126)(-.1,0){10}{\line(0,1){.2}}
+%\multiput(-.05,-4.05)(-.1,0){10}{\line(0,1){.1}}
+\multiput(-.05,-3.97126)(-.1,0){10}{\line(0,1){.1}}
+%\setcounter{foo}{1}\multiput(-.1,-3.85)(-.1,0){9}{\makebox
+% (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+\setcounter{foo}{1}\multiput(-.1,-3.77126)(-.1,0){9}{\makebox
+ (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+
+% RIGHT RULER
+%\put(5.0,-4.0){\line(1,0){2.5}}
+\put(4.92913,-3.92126){\line(1,0){2.5}}
+%\multiput(5.1,-4.1)(.1,0){10}{\line(0,1){.2}}
+\multiput(5.02913,-4.02126)(.1,0){10}{\line(0,1){.2}}
+%\multiput(5.05,-4.05)(.1,0){10}{\line(0,1){.1}}
+\multiput(4.97913,-3.97126)(.1,0){10}{\line(0,1){.1}}
+%\setcounter{foo}{1}\multiput(5.1,-3.85)(.1,0){9}{\makebox
+% (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+\setcounter{foo}{1}\multiput(5.02913,-3.77126)(.1,0){9}{\makebox
+ (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+
+% TOP RULER
+%\put(2.5,0){\line(0,1){2.5}}
+\put(2.46457,0){\line(0,1){2.5}}
+%\multiput(2.4,.1)(0,.1){10}{\line(1,0){.2}}
+\multiput(2.36457,.1)(0,.1){10}{\line(1,0){.2}}
+%\multiput(2.45,.05)(0,.1){10}{\line(1,0){.1}}
+\multiput(2.41457,.05)(0,.1){10}{\line(1,0){.1}}
+%\setcounter{foo}{1}\multiput(2.65,.1)(0,.1){9}{\makebox
+% (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+\setcounter{foo}{1}\multiput(2.61457,.1)(0,.1){9}{\makebox
+ (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+
+% BOTTOM RULER
+%\put(2.5,-8.0){\line(0,-1){2.5}}
+\put(2.46457,-7.84252){\line(0,-1){2.5}}
+%\multiput(2.4,-8.1)(0,-.1){10}{\line(1,0){.2}}
+\multiput(2.36457,-7.94252)(0,-.1){10}{\line(1,0){.2}}
+%\multiput(2.45,-8.05)(0,-.1){10}{\line(1,0){.1}}
+\multiput(2.41457,-7.89252)(0,-.1){10}{\line(1,0){.1}}
+%\setcounter{foo}{1}\multiput(2.65,-8.1)(0,-.1){9}{\makebox
+% (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+\setcounter{foo}{1}\multiput(2.61457,-7.94252)(0,-.1){9}{\makebox
+ (0,0){\arabic{foo}}\addtocounter{foo}{1}}
+\end{picture}
+
+\vfill
+\mbox{}\hfill
+\begin{minipage}{3in}
+%The frame on this page should be $6\frac{1}{2}'' \times 9''$. When
+%printed on $8\frac{1}{2}'' \times 11''$ paper, the frame should be one
+%inch from each edge of the paper.\\[10pt]
+%The rulers at the four edges will indicate how much of the page is
+%useable. The large ticks are $.1''$ apart.
+%%%%%
+This frame size is $125.2{\rm mm}\ \times\ 199.2{\rm mm}$.
+When printed on B5E size paper,
+the frame should be one inch from each edge of the paper,
+where one inch is equal to 25.4{\rm mm}.\\
+Please control the top lefthand corner of this frame
+should be one inch from the left and top edges of the paper.\\
+The ticks of the rulers at the four edges are 0.1 inch apart.
+%%%%%
+\end{minipage}
+\hfill\mbox{}
+\vfill
+\mbox{}
+
+\end{document}
diff --git a/Master/tlpkg/dviout/UTILITY/test_org.tex b/Master/tlpkg/dviout/UTILITY/test_org.tex
new file mode 100644
index 00000000000..b562fd1f961
--- /dev/null
+++ b/Master/tlpkg/dviout/UTILITY/test_org.tex
@@ -0,0 +1,36 @@
+\documentstyle{article}
+\pagestyle{empty}
+
+\oddsidemargin 0pt
+\evensidemargin 0pt
+\marginparwidth 1in
+\marginparsep 0pt
+
+\topmargin 0pt
+\headheight 0pt
+\headsep 0pt
+\topskip 0pt
+
+\footheight 0pt
+\footskip 0pt
+\textheight 6in
+\textwidth 6in
+
+\setlength{\unitlength}{1in}
+\newcounter{foo}
+\begin{document}
+\parindent 0pt
+\begin{picture}(0,0)
+\scriptsize
+
+\put(0,-1){\framebox(1,1){}}
+\end{picture}
+\vskip1.5in
+
+The above figure is a square of size 1 inch (= 25.4 mm) x 1 inch.
+
+Adjust the printed position so that the left upper vertex of the
+square locates at the 1 inch right and lower point from the left upper
+edge of the sheet.
+\enddocument
+