Skip to content

Commit

Permalink
\boxdir set to TLT before \shipout
Browse files Browse the repository at this point in the history
  • Loading branch information
olsak committed Apr 28, 2023
1 parent a0b4ba4 commit 8537fd7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions optex/base/output.opm
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@
the \^`\_preshipout``<destination box number><box specification>` pseudo-primitive.
It is defined using lua code, see section~\ref[lua].
Finally the `\_shipout` primitive is used. We want to use `\hoffset`
value and not `\pagerightoffset` during shipout, so the `\pagedirection`
is set to zero. If a user sets different value in the document,
it is irrelevant for this `\shipout` process.
value and not `\pagerightoffset` during shipout, so the `\pagedir`
and `\box0` are set to TLT. If a user sets different value of `\pagedir`
in the document, it is irrelevant for this `\shipout` process.
\_cod -----------------------------

\_def \_optexshipout #1{%
\_setbox0=\_completepage
\_preshipout0\_box0
\_pagedirection=0 \_shipout\_box0
\_pagedirection=0 \_boxdirection0=0 \_shipout\_box0
}

\_doc -----------------------------
Expand Down

0 comments on commit 8537fd7

Please sign in to comment.