You can use a bounding box for that.
bounding_box([100,500]) do
table data, ...
end
You can also set the x position of a table with :position => xpos
> Moreover, I found the option to show the total number of pages, is it
> possible to show the current page number?
page_count will always be the current page number, as your pages are
finalized each time a new one begins.
We don't currently have a way of getting the 'true' total page count.
--
Technical Blaag at: http://blog.majesticseacreature.com | Non-tech
stuff at: http://metametta.blogspot.com
> Am I missing something?
Yes. data needs to be a two dimensional array, representing an array
of rows of cells.
data = [["a","b"]]
I'll work on throwing a better error message, please drop a ticket in
Lighthouse to remind me.
-greg
Whoops:
You also need to specify a width for your bounding box.
> Am I still missing something?
Yes. All bounding_box calls require a :width parameter.
I'll add a better error for this, too.