summaryrefslogtreecommitdiff
path: root/Build/source/texk/seetexk/dviclass.c
diff options
context:
space:
mode:
authorTakuji Tanaka <KXD02663@nifty.ne.jp>2017-06-19 13:53:02 +0000
committerTakuji Tanaka <KXD02663@nifty.ne.jp>2017-06-19 13:53:02 +0000
commit47200cf750c5f351fe840f9d9b57bde6cc75167c (patch)
treec1d9986d76a5ebdf93b5d0fb3b86d507a2f491fa /Build/source/texk/seetexk/dviclass.c
parentbd2881589ba386c2275e3e32c304a63c49ff46f8 (diff)
texk/seetexk: Support pTeX dvi by H. Yamashita-san
git-svn-id: svn://tug.org/texlive/trunk@44637 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/seetexk/dviclass.c')
-rw-r--r--Build/source/texk/seetexk/dviclass.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/Build/source/texk/seetexk/dviclass.c b/Build/source/texk/seetexk/dviclass.c
index 5c3b3dd63c9..d9b68b0655f 100644
--- a/Build/source/texk/seetexk/dviclass.c
+++ b/Build/source/texk/seetexk/dviclass.c
@@ -28,6 +28,9 @@
/* shorthand---in lowercase for contrast (read on!) */
#define four(x) x, x, x, x
+#ifdef ASCIIPTEX
+#define five(x) four(x), x
+#endif /* ASCIIPTEX */
#define six(x) four(x), x, x
#define sixteen(x) four(x), four(x), four(x), four(x)
#define sixty_four(x) sixteen(x), sixteen(x), sixteen(x), sixteen(x)
@@ -72,7 +75,12 @@ char dvi_oplen[256] = {
DPL_NONE, /* DVI_PRE */
DPL_NONE, /* DVI_POST */
DPL_NONE, /* DVI_POSTPOST */
+#ifdef ASCIIPTEX
+ five(DPL_NONE), /* 250 through 254 */
+ DPL_UNS1, /* DVI_DIR */
+#else /* !ASCIIPTEX */
six(DPL_NONE) /* 250 through 255 */
+#endif /* !ASCIIPTEX */
};
char dvi_dt[256] = {
@@ -104,5 +112,10 @@ char dvi_dt[256] = {
DT_PRE, /* DVI_PRE */
DT_POST, /* DVI_POST */
DT_POSTPOST, /* DVI_POSTPOST */
+#ifdef ASCIIPTEX
+ five(DT_UNDEF), /* 250 through 254 */
+ DT_DIR, /* DVI_DIR */
+#else /* !ASCIIPTEX */
six(DT_UNDEF) /* 250 through 255 */
+#endif /* !ASCIIPTEX */
};