emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Ista Zahn <istazahn@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Exporting LaTeX source blocks with HTML backend
Date: Fri, 7 Mar 2014 21:37:36 +0000	[thread overview]
Message-ID: <87zjl16673.fsf@ucl.ac.uk> (raw)
In-Reply-To: <CA+vqiLEVAuJfX3HK1O0b99g+vwTYW8tayUYht5+rWhAJv87c_A@mail.gmail.com> (Ista Zahn's message of "Mon, 3 Mar 2014 14:55:27 -0500")

Ista Zahn <istazahn@gmail.com> writes:

> Hi Xavier,
>
> I think
>
> #+begin_src latex :results drawer :exports results
>   \begin{align*}
>   x&=x\\
>   y&=y
>   \end{align*}
> #+end_src
>
> will give both syntax highlighting (in the code block) as well as
> properly displayed equations in both latex and html export.

This doesn't work for me in HTML.  I get the code exported as is, not
the actual equations.  You must have some other configuration settings
that allow for this?

For this to work for me, I have to invoke conditional entries for
:results and for :exports to create an image for HTML.  I would love to
hear what HTML and what Latex you get generated with the above.

thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.2, Org release_8.2.5h-683-ga85683

  parent reply	other threads:[~2014-03-07 21:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-03 17:43 Exporting LaTeX source blocks with HTML backend Xavier Garrido
2014-03-03 19:24 ` Richard Lawrence
2014-03-03 19:39   ` Xavier Garrido
2014-03-03 19:55     ` Ista Zahn
2014-03-03 23:31       ` Xavier Garrido
2014-03-07 21:37       ` Eric S Fraga [this message]
2014-03-03 20:54     ` Richard Lawrence
2014-03-03 23:33       ` Xavier Garrido
2014-03-08 11:39         ` Eric S Fraga

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=87zjl16673.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=istazahn@gmail.com \
    /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).