[luatex] shipout a page

luigi scarso luigi.scarso at gmail.com
Tue Jun 28 19:24:01 CEST 2011


On Tue, Jun 28, 2011 at 6:49 PM, Patrick Gundlach <patrick at gundla.ch> wrote:

>
> The box solution works fine, but
>
> >
> > %%% MVL solution
> > \tracingall
> > \directlua{dofile("mknodes.lua")}
> > \bye
> >
> > -- mknodes.lua
> > local tenpt = 10 * 2^16
> >
> > local r = node.new("rule")
> > r.width = tenpt
> > r.height = tenpt
> > r.depth = tenpt
> >
> > local v = node.vpack(r)
> > node.write(v)
>
>
> this one does not work.
>
> Where is the problem ?
No error with luatex from minimals and luatex-plain as format, and the pdf
is also ok.
Isn't the rule 10 pt ?

vbox(667.20255+0.0)x469.75499, direction TLT
.\vbox(0.0+0.0)x469.75499, glue set 14.0fil, direction TLT
..\glue -22.5
..\hbox(8.5+0.0)x469.75499, glue set 469.755fil, direction TLT
...\vbox(8.5+0.0)x0.0, direction TLT
...\glue 0.0 plus 1.0fil
..\glue 0.0 plus 1.0fil minus 1.0fil
.\vbox(643.20255+0.0)x10.0, glue set 623.20251fill, direction TLT
..\glue(\topskip) 0.0
..\vbox(10.0+10.0)x10.0, direction TLT
...\rule(10.0+10.0)x10.0
..\glue 0.0 plus 1.0fill
.\glue(\baselineskip) 17.55556
.\hbox(6.44444+0.0)x469.75499, glue set 232.37749fil, direction TLT
..\glue 0.0 plus 1.0fil minus 1.0fil
..\tenrm 1
..\glue 0.0 plus 1.0fil minus 1.0fil





See the reply to Paul: I am still interested in a solution without an
> intermediate box.
>
My examples follow  Paul's indications:  build a box and shipout, or put
material into the MVL
and let  the current otr   shipout the material, as one can see from the
page size (and the pagenumber at the bottom)

Creator:        TeX
Producer:       LuaTeX-0.70.1
CreationDate:   Tue Jun 28 19:10:41 2011
ModDate:        Tue Jun 28 19:10:41 2011
Tagged:         no
Pages:          1
Encrypted:      no
Page size:      612 x 808.71 pts
File size:      17460 bytes
Optimized:      no
PDF version:    1.4



-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/luatex/attachments/20110628/3ca5753f/attachment.html>


More information about the luatex mailing list