From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: Change resolution of LaTeX formulas in HTML output? Date: Thu, 05 Aug 2010 17:36:07 -0400 Message-ID: <877hk4rbco.fsf@stats.ox.ac.uk> References: <308653.38337.qm@web65503.mail.ac4.yahoo.com> <871vacswh4.fsf@stats.ox.ac.uk> <87aap0ol2n.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=55755 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oh8kF-00070x-U4 for emacs-orgmode@gnu.org; Thu, 05 Aug 2010 18:17:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oh86m-00022b-PY for emacs-orgmode@gnu.org; Thu, 05 Aug 2010 17:36:16 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:58770) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oh86m-00022L-Gk for emacs-orgmode@gnu.org; Thu, 05 Aug 2010 17:36:12 -0400 In-Reply-To: <87aap0ol2n.fsf@gmx.de> (Sebastian Rose's message of "Thu, 05 Aug 2010 22:34:24 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastian Rose Cc: emacs-orgmode@gnu.org Sebastian Rose writes: > Dan Davison writes: >> amscopub-mail@yahoo.com writes: >> >>> Is there a way to control the resolution of PNG LaTeX formulas when you export to HTML? >>> >>> You can control the font size directly in the header but there doesn't seem to be a way to use org-mode to control the resolution... >>> >>> BTW, I'm not exporting to LaTeX directly because I'm using PrinceXML to convert the HTML file to a PDF. >> >> Hi Uriel, >> >> Could you tell us a bit about what the advantages of PrinceXML are? One >> question I have is: is it possible to get vector graphics (ps, pdf) >> incorporated into the resulting pdf? Is there an open source >> alternative? (I've been doing this with "print to file" in the print >> dialog box in a web browser in linux). > > > htmldoc (see http://www.htmldoc.org/) > > It comes with a GUI and is free enough to be in Debian. Thanks. > Not sure if it is that perfect, but when ever I tried it it worked. > Didn't use it for ages. I use Org mode and LaTeX2e instead ;) Can you point me to an example that shows how to make source code in latex look (almost) as nice as html? In case anyone has any enlightenment, a quick try suggests that htmldoc doesn't work out-of-the-box on html produced by org-mode (error below). /tmp> htmldoc --webpage -f x.pdf x.html ERR011: Unable to parse HTML element on line 15! PAGES: 1 BYTES: 39131 /tmp> sed -n 15p x.html