On Fri, Oct 16, 2009 at 10:09:11AM -0700, Gary Thornock wrote:
> 
> 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).

I've seen LaTeXiT before (that really is cool).  I took a look at the
source code for the WordPress plugin you linked to.  It looks like they
use Imagemagick to convert the postscript file to an image and give it
the -trim option to crop it.  I guess this is better than nothing, but
it would be awesome if there were some way to get LaTeX to create a
trimmed PS or PDF file directly.


-- 
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55  8012 AB4D 6098 8826 6868
--------------------
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

Reply via email to