Is there a way to tell LaTeX to fit the page margins to a table? Mainly for producing PDF images to convert to PNG; certain publishing platforms (Kindle) ignore tables.
The only way to turn a LaTeX file into a proper book for this platform would be to have a newcommand that you either define to \input{figures/myfigure} or \includegraphics{figures/myfigure.png}. To produce a PDF, use the first definition; otherwise, use the second and run a script that turns all the figures into pdf, then uses ImageMagick to 'convert myfigure.pdf myfigure.png', then latex2html it.
Of course, in the second case I'd need some other monkeying. The short version is I can make it work IF I can make a single file that creates a table (\begin{tabular}...) and shrinks the page dimensions to the dimensions of that table.
Page Layout ⇒ Layout to fit tables/images etc
NEW: TikZ book now 40% off at Amazon.com for a short time.
