emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dan Davison <davison@stats.ox.ac.uk>
To: Sebastian Rose <sebastian_rose@gmx.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Change resolution of LaTeX formulas in HTML output?
Date: Thu, 05 Aug 2010 17:36:07 -0400	[thread overview]
Message-ID: <877hk4rbco.fsf@stats.ox.ac.uk> (raw)
In-Reply-To: <87aap0ol2n.fsf@gmx.de> (Sebastian Rose's message of "Thu, 05 Aug 2010 22:34:24 +0200")

Sebastian Rose <sebastian_rose@gmx.de> writes:

> Dan Davison <davison@stats.ox.ac.uk> 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 
 <!--/*--><![CDATA[/*><!--*/

Dan

>
>
>
>   Sebastian
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-08-05 22:17 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-04 17:00 Change resolution of LaTeX formulas in HTML output? amscopub-mail
2010-08-04 22:32 ` Bastien
2010-08-05 19:11   ` Dan Davison
2010-08-06  9:12     ` Bastien
2010-08-06 10:46   ` Carsten Dominik
2010-08-06 17:21     ` Bastien
2010-08-05 19:14 ` Dan Davison
2010-08-05 20:34   ` Sebastian Rose
2010-08-05 21:36     ` Dan Davison [this message]
2010-08-05 22:14       ` Sebastian Rose
2010-08-06  7:59         ` How to get pretty printed source code in PDFLaTeX Sébastien Vauban
2010-08-06 13:39           ` Dan Davison
2010-08-09 20:30             ` Sébastien Vauban
2010-08-09 22:29               ` Dan Davison
2010-08-10 16:38                 ` Thomas S. Dye
2010-08-10 17:37                   ` Dan Davison
2010-08-10 19:08                     ` Thomas S. Dye
  -- strict thread matches above, loose matches on Subject: below --
2010-08-05 16:06 Change resolution of LaTeX formulas in HTML output? amscopub-mail
2010-08-05 17:06 ` Nick Dokos
2010-08-05 18:25   ` Bastien
2010-08-06 14:05 Uri Avalos
2010-08-06 15:17 amscopub-mail
2010-08-07  6:04 ` Carsten Dominik
2010-08-06 19:39 amscopub-mail

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877hk4rbco.fsf@stats.ox.ac.uk \
    --to=davison@stats.ox.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=sebastian_rose@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).