You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To simplify calculations of \hoffset and \voffset OpTeX set \pdfhorigin and \pdfvorigin to 0pt. LuaTeX, on the other hand, define four new primitives, \pagerightoffset, \pageleftoffset, \pagetopoffset and \pagebottomtoffset, which are being used according to \pagedirection. These registers actually dose not have the annoying 1in by default, but when OpTeX does
\_pdfvorigin=0pt
\_pdfhorigin=0pt
this 1in is added to them. I suggest instead of shifting \pdf(h/v)origin, just doing
I see that \pagerightoffset, \pageleftoffset, \pagetopoffset and \pagebottomtoffset are mentioned in LuaTeX manual but they are not documented here. Simply: don't use them. I don't see any reason to add more complications with more primitives. Setting \pdfvorigin=0pt \pdfhorigin=0pt is clear solution of 1in obscurity (of classical TeX) and we don't need more.
To simplify calculations of
\hoffset
and\voffset
OpTeX set\pdfhorigin
and\pdfvorigin
to 0pt. LuaTeX, on the other hand, define four new primitives,\pagerightoffset
,\pageleftoffset
,\pagetopoffset
and\pagebottomtoffset
, which are being used according to\pagedirection
. These registers actually dose not have the annoying 1in by default, but when OpTeX doesthis 1in is added to them. I suggest instead of shifting
\pdf(h/v)origin
, just doingfor example the following gives the same output
Hello \bye
This way there will be no need for the 1in even in the calculation of `\pagerightofset'.
The text was updated successfully, but these errors were encountered: