--- On Fri, 10/16/09, Andrew McNabb <[email protected]> wrote: > On Fri, Oct 16, 2009 at 05:54:10AM -0600, Daniel Dilts wrote: >> >> My guess is that that package would allow you to adjust the >> placement on the page (left or right by the required amount) >> after the page has been layed out by TeX. Thus you would >> maintain the exact same break points while getting the margin >> requirements you are fighting with. > > This reminds me of a question I've had. How easy would it > be to generate an SVG or PNG file from a LaTeX file? What I > would like to be able to do is to create a diagram with PGF and > export this as a standalone image. I would like to be sure > that this image did not take up an 8 1/2 by 11 piece of paper. > Ideally it would be able to figure out the canvas dimensions > automatically. I know that people do this sometimes to export > images of mathematical equations to put on a web page, but I > don't know how they actually do it.
I've seen this done a few ways. MediaWiki includes an Ocaml program to do it (not enabled by default, but available in the default MediaWiki source tarball). There's a WordPress plugin (http://sixthform.info/steve/wordpress/?p=13) that does it too, which should give a reasonable idea of how to do it. Another alternative is LaTeXiT, but that appears to exist only for Mac OS X: http://pierre.chachatelier.fr/programmation/latexit_en.php I believe I first ran into that because it's included in the MacTeX distribution (www.tug.org/mactex). -------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list
