I'm not sure I understand your question. Are you trying to crop an
image that is too big? Or are you saying that xhtml2pdf adds
whitespace around the image that you don't want? It would be helpful
to attach a copy of the files you are working with.
David
Or are you saying that xhtml2pdf adds
whitespace around the image that you don't want?
Dan,
It is best to think of PDF as the electronic equivalent of paper. You
created a table at the top of the page but the rest of the page is blank
because you do not have anything else on the page.
If you want people to print them out your PDF files then I recommend
staying with a standard page size. If really want a smaller page size
then read the appropriate section in the documentation.
http://www.xhtml2pdf.com/doc/pisa-en.html
Forgive me if I misunderstood you. The PDF you attached didn't include
any images and was only one page. I assume you were actually referring
to the table of text when you say "image".
It also occurs to me that you may have a different understanding of the
word "cropped" and actually want to expand the table instead of shrink
the page. If this is the case just add padding to the table cell.
In the future please show a sample of what you want as well as what you
are currently getting. It would eliminate a lot of confusion.
David
If you want people to print them out your PDF files then I recommend
staying with a standard page size.
Dan,
Sorry I misunderstood. I have not really worked with Latex and forgot
that you mentioned embedding in the first email.
I do not know of a way to change the page size based on the content of
the page using pisa.
David