From 47200cf750c5f351fe840f9d9b57bde6cc75167c Mon Sep 17 00:00:00 2001 From: Takuji Tanaka Date: Mon, 19 Jun 2017 13:53:02 +0000 Subject: texk/seetexk: Support pTeX dvi by H. Yamashita-san git-svn-id: svn://tug.org/texlive/trunk@44637 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/seetexk/dviclass.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Build/source/texk/seetexk/dviclass.c') 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 */ }; -- cgit v1.2.3