emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Preview LaTeX fragment not working (for me)
@ 2013-09-10 22:15 Evan Misshula
  2013-09-11  9:32 ` Rasmus
  0 siblings, 1 reply; 2+ messages in thread
From: Evan Misshula @ 2013-09-10 22:15 UTC (permalink / raw)
  To: Emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-11  9:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-10 22:15 Preview LaTeX fragment not working (for me) Evan Misshula
2013-09-11  9:32 ` Rasmus

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).