emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Preview LaTeX fragment not working (for me)
Date: Wed, 11 Sep 2013 11:32:31 +0200	[thread overview]
Message-ID: <87mwnju2j4.fsf@gmx.us> (raw)
In-Reply-To: CAPV3Zjy5savxMascbk19Hrs0-pgGwMbjLkhfU1PtSz_XEXd5+g@mail.gmail.com

Hi Evan,

Evan Misshula <evanmisshula@gmail.com> writes:

> I am trying to Preview LaTeX fragment (11.7.4).  I have the preview
> working in Preview LaTeX but when I (C-c C-x C-l) org-mode shows empty
> boxes.

AUCTeX Preview LaTeX didn't work with Org last time I tried, but I'm
not sure whether you're referring to this or Org's preview
capabilities (which lack a bit behind AUCTeX's).

> #+LATEX_HEADER: \usepackage{tikz}
> #+LATEX_HEADER: \usepackage{attrib}
> #+LATEX_HEADER: \usepackage{amsmath}
> #+LATEX_HEADER:
> \usepackage{/home/evan/Documents/chicago/learning/Causality/bug.sty}
> #+LATEX_HEADER: \let\iint\undefined
> #+LATEX_HEADER: \let\iiint\undefined
> #+LATEX_HEADER: \usepackage{dsfont}
> #+LATEX_HEADER: \usepackage[retainorgcmds]{IEEEtrantools}

Do try to cut it to a minimum example and use less exotic packages.  I
don't want to install new packages for the sake of trying your
example.

In any case, it's probably a conflict of packages (some functions may
be defined twice).  On my system the files used to generate images are
stored in the root of /tmp (on a GNU/Linux system).

Also, check out the variable org-format-latex-header.

Also, on previewing in general: Do you use org entities?  They make
stuff like this pretty readable.  If you need more readability you can
even create math matrices with Org-tables.

Hope it helps,
Rasmus

--
C is for Cookie

      reply	other threads:[~2013-09-11  9:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-10 22:15 Preview LaTeX fragment not working (for me) Evan Misshula
2013-09-11  9:32 ` Rasmus [this message]

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=87mwnju2j4.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /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).