Open aminophen opened 4 years ago
Thanks very much for this: key differences from e-TeX (or pdfTeX or ... as appropriate) are really useful to know.
First version of an English guide of pTeX and friends, "ptex-guide-en.pdf", submitted to CTAN. Not completed yet at all, but I'll continue working on it.
Thanks a lot for this, I just read through it and some notes below:
title Guide of pTeX for developers not interested in Japanese
Perhaps change to
Guide to pTeX for developers unfamiliar with Japanese
(If I said I was "not interested in Japanese" that might be taken as slightly rude to you, whereas if I said I was "unfamilar with Japanese", or that I "Could not read Japanese" they are statements of fact.)
I think change "uppercompatible" to "upward compatible" throughout
do not pass TRIP do not pass the TRIP
do not pass e-TRIP do not pass the e-TRIP
additional cares additional care
are interpret are interpreted
there is some drivers there are some drivers
65536 registers oh! I didn't know that, the latex kernel adjusts allocation in luatex for that, but not for ptex do you fix that up in the platex initialisation or should we adjust the base code?
\documentclass{article}
\begin{document}
\makeatletter
\showthe\float@count
\show\newdimen
\end{document}
shows 65535 in lualatex and 3267 in uplatex and latex.
Feature of each primative The features of each primitive
inserts glues and penalties inserts glue and penalties
@davidcarlisle Thanks for spotting errors, done in 2ef6990.
65536 registers oh! I didn't know that, the latex kernel adjusts allocation in luatex for that, but not for ptex do you fix that up in the platex initialisation or should we adjust the base code?
We just increase \e@mathgroup@top
to 256 and \e@alloc@top
to 65536, and \e@alloc@chardef
is let-equal to \omathchardef
. All of these are done in plcore.ltx by checking the existence of \omathchar
coming from Omega.
\showthe\float@count
\show\newdimen
I was not aware of that; what should I do?
Oh, noticed that \let\float@count\e@alloc@top
is missing in plcore.ltx ... I think I should add that. Thanks for spotting this!
In the next version, I will add the following explanations; they would be necessary for you to allocate properly in expl3 ;-)
How to define large integers (using \chardef? \mathchardef? \omathchardef?)
Done (73a1ade).
Number of registers
Done (d48e640, 2b0c304).
Q
, fi
, etc) listed as well as primitives.256 math families additional keywords
Done (ee1e99a) in eptex-190709 branch.
を機に,"Guide of pTeX for developers not interested in Japanese"(日本語に興味のない開発者のための pTeX ガイド)を作ろうとしています。私自身 #2 の issue を立てた時からずっとやりたかったことです。
このような情報をまとめたドキュメントは,過去にも書かれたことはないと思うのですが,
をベースにたたき台を作りました。ファイル名は後でよりよいものに変えても良いと思っていますが,とりあえず今は eptex-190709 ブランチに ptex-manual-en.tex というファイルで置いています。内容についてレビュー・加筆いただけると助かります。
最近話題になった
といった問題が,今後減っていけば嬉しいです。よろしくお願いします。