From: Evan Misshula <evanmisshula@gmail.com>
To: Emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Preview LaTeX fragment not working (for me)
Date: Tue, 10 Sep 2013 18:15:59 -0400 [thread overview]
Message-ID: <CAPV3Zjy5savxMascbk19Hrs0-pgGwMbjLkhfU1PtSz_XEXd5+g@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3415 bytes --]
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.
The org mode file is:
#+OPTIONS: tex:dvipng
#+OPTIONS: toc:nil
#+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}
* Model :export:
\( e^{i\pi}=-1 \).
\alpha
Let us start with a nested theoretical model:
\begin{equation*}
\begin{array}{rcl}
y & = & [1, x_1, x_2]
\begin{bmatrix}
\beta_0 \\
\beta_1 \\
\beta_2 \end{bmatrix}
+ \epsilon_w \\
x_1 & = & \mathds{1}_{[-1 + \beta_4 \cdot x_4 + \beta_5 \cdot x_5 +
\epsilon_j]}
\end{array}
\end{equation*}
The exported LaTeX buffer generates the appropriate formula images.
When I tried to modify org-format-latex-options using M-x
org-format-latex-options, there was no such variable. The version of
org-mode I have was compiled from the git repo.
Thank you very much for any help.
Best,
Evan
Emacs : GNU Emacs 24.3.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4)
of 2013-09-05 on evan-U47A
Package: Org-mode version 8.1.1 (release_8.1.1-7-gaecdf5 @
/usr/local/share/emacs/24.3/lisp/org/)
current state:
==============
(setq
org-tab-first-hook '(org-hide-block-toggle-maybe
org-src-native-tab-command-maybe
org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
org-occur-hook '(org-first-headline-recenter)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-confirm-shell-link-function 'yes-or-no-p
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-from-is-user-regexp "\\<Evan\\>"
org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-babel-pre-tangle-hook '(save-buffer)
org-mode-hook '(#[nil "\300\301\302\303\304$\207"
[org-add-hook change-major-mode-hook org-show-block-all
append local]
5]
#[nil "\300\301\302\303\304$\207"
[org-add-hook change-major-mode-hook
org-babel-show-result-all append local]
5]
org-babel-result-hide-spec org-babel-hide-all-hashes)
org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
org-babel-execute-safely-maybe)
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
org-cycle-hide-inline-tasks org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-confirm-elisp-link-function 'yes-or-no-p
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
)
--
Evan Misshula
Doctoral Student (Criminal Justice)
CUNY John Jay
"Let us reform our schools, and we shall find little reform needed in our
prisons."
John Ruskin, Unto This Last, essay 2 (1862)
English critic, essayist, & reformer (1819 - 1900)
"Instruction does much, but encouragement does everything." Johann Wolfgang
Von Goethe
www.snrg-nyc.org
[-- Attachment #2: Type: text/html, Size: 3965 bytes --]
next reply other threads:[~2013-09-10 22:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-10 22:15 Evan Misshula [this message]
2013-09-11 9:32 ` Preview LaTeX fragment not working (for me) Rasmus
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPV3Zjy5savxMascbk19Hrs0-pgGwMbjLkhfU1PtSz_XEXd5+g@mail.gmail.com \
--to=evanmisshula@gmail.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.