Closed aminophen closed 4 years ago
Thanks. Current status is listed here:
\show\expanded
: fixed\kansujichar10
: fixed\pdfshellescape
: I added an alias (\shellescape
to \pdfshellescape
)\ifincsname
: TODO\ifpdfprimitive
: TODO\pdfprimitive
: TODOFor the last three primitives, I still need one day or two.
finished with 9d276ee5cc5bfec5f2a050c4c1a53ea7e763b8b8.
Thanks, all of them are working as expected!
I noticed some additional differences between euptex and ptex-ng:
%#!euptex
\jfont\x=upjisr-h \x
\showthe\fontcharwd\jfont`°\relax % => should be "10.0pt"
\showthe\fontcharwd\jfont"B7\relax % => should be "5.0pt"
\showthe\fontcharwd\jfont`ー\relax % => 10.0pt
\showthe\fontcharwd\jfont`、\relax % => 5.0pt
\showthe\fontcharwd\jfont`(\relax % => 5.0pt
\showthe\fontcharwd\tfont`漢\relax % => 10.0pt
\bye
* eptex.ech: Revise \iffontchar and \fontchar?? to treat
negative value as char_type.
- \iffontchar (Japanese font f) (number c):
- c >= 0: true iff is_char_kanji(c)
- c < 0: true iff f has char_type -(c+1)
- \fontcharwd (Japanese font f) (number c):
- c >= 0: return the width of character c
- c < 0: return the width of char_type -(c+1)
fixed in ddd1535546585af42036e73db7e5e7896aaa544e.
Sorry for late reply, confirmed thanks!
pdfTeX primitives
As stated in ltnews31, LaTeX will require many pdfTeX-derived primitives.
I see the following issues:
\expanded
: current ptex-ng returns\show\expanded
=>> \expanded=\jobname.
\ifincsname
: undefined (added in e-pTeX 190709)\ifpdfprimitive
,\pdfprimitive
: undefined (added in e-pTeX 150805; many bugs are fixed in 2017; search "pdfprimitive" through web2c/eptexdir/ChangeLog)\pdfshellescape
: undefined (added in e-pTeX 141108)pTeX primitives
Please see changes in pTeX r53726-r53727; current ptex-ng returns wrong values in fetching
\kansujichar
. The below is a test suite. (expected output is shown in comments)