From mboxrd@z Thu Jan 1 00:00:00 1970 From: Evan Misshula Subject: Preview LaTeX fragment not working (for me) Date: Tue, 10 Sep 2013 18:15:59 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d044280fe76013504e60ed930 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJWEA-0000Wh-H0 for emacs-orgmode@gnu.org; Tue, 10 Sep 2013 18:16:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJWE8-0001AF-GC for emacs-orgmode@gnu.org; Tue, 10 Sep 2013 18:16:06 -0400 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:39328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJWE8-00019l-5j for emacs-orgmode@gnu.org; Tue, 10 Sep 2013 18:16:04 -0400 Received: by mail-wi0-f177.google.com with SMTP id cb5so1387634wib.10 for ; Tue, 10 Sep 2013 15:16:02 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs-orgmode --f46d044280fe76013504e60ed930 Content-Type: text/plain; charset=ISO-8859-1 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 "\\" 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 --f46d044280fe76013504e60ed930 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I am trying to Preview LaTeX fragment (11.7.4).=A0 I have = the preview
working in Preview LaTeX but when I (C-c C-x C-l) org-mode s= hows empty
boxes.

The org mode file is:
#+OPTIONS: tex:dvipng<= br> #+OPTIONS: toc:nil

#+LATEX_HEADER: \usepackage{tikz}
#+LATEX_HEA= DER: \usepackage{attrib}
#+LATEX_HEADER: \usepackage{amsmath}
#+LATEX= _HEADER: \usepackage{/home/evan/Documents/chicago/learning/Causality/bug.st= y}
#+LATEX_HEADER: \let\iint\undefined
#+LATEX_HEADER: \let\iiint\undefine= d
#+LATEX_HEADER: \usepackage{dsfont}
#+LATEX_HEADER: \usepackage[re= tainorgcmds]{IEEEtrantools}

* Model=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0= =A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0=A0 :export:

\( e^{i\pi}=3D-1 \).
\alpha
=A0Let us start with a nested theoret= ical model:

\begin{equation*}
\begin{array}{rcl}
y & =3D &= amp; [1, x_1, x_2]
\begin{bmatrix}
\beta_0=A0 \\
\beta_1=A0 \\\beta_2=A0 \end{bmatrix}
=A0 + \epsilon_w \\
x_1 & =3D & \mathds{1}_{[-1 + \beta_4 \cdot = x_4 + \beta_5 \cdot x_5 + \epsilon_j]}
\end{array}
\end{equation*}=A0=

The exported LaTeX buffer generates the appropriate formula images= .
When I tried to modify org-format-latex-options using M-x
org-format-lat= ex-options, there was no such variable.=A0 The version of
org-mode I hav= e was compiled from the git repo.

Thank you very much for any help.=

Best,
Evan

Emacs=A0 : GNU Emacs 24.3.2 (x86_64-unknown-linux-= gnu, GTK+ Version 3.6.4)
=A0of 2013-09-05 on evan-U47A
Package: Org-m= ode version 8.1.1 (release_8.1.1-7-gaecdf5 @ /usr/local/share/emacs/24.3/li= sp/org/)
current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(setq
= =A0org-tab-first-hook '(org-hide-block-toggle-maybe
=A0=A0=A0 =A0=A0= =A0 =A0=A0=A0=A0=A0 org-src-native-tab-command-maybe
=A0=A0=A0 =A0=A0=A0= =A0=A0=A0=A0=A0 org-babel-hide-result-toggle-maybe
=A0=A0=A0 =A0=A0=A0 = =A0=A0=A0=A0=A0 org-babel-header-arg-expand)
=A0org-speed-command-hook '(org-speed-command-default-hook
=A0=A0=A0= =A0=A0=A0 =A0=A0=A0 =A0 org-babel-speed-command-hook)
=A0org-occur-hook= '(org-first-headline-recenter)
=A0org-metaup-hook '(org-babel-l= oad-in-session-maybe)
=A0org-confirm-shell-link-function 'yes-or-no-p
=A0org-after-todo-st= ate-change-hook '(org-clock-out-if-current)
=A0org-from-is-user-rege= xp "\\<Evan\\>"
=A0org-src-mode-hook '(org-src-babel= -configure-edit-buffer
=A0=A0=A0 =A0=A0=A0 =A0=A0=A0=A0 org-src-mode-configure-edit-buffer)
=A0= org-agenda-before-write-hook '(org-agenda-add-entry-text)
=A0org-bab= el-pre-tangle-hook '(save-buffer)
=A0org-mode-hook '(#[nil "= ;\300\301\302\303\304$\207"
=A0=A0=A0 =A0=A0=A0 =A0=A0 [org-add-hook change-major-mode-hook org-show-bl= ock-all
=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 append local]
=A0=A0=A0 =A0=A0= =A0 =A0=A0 5]
=A0=A0=A0 =A0=A0=A0 =A0#[nil "\300\301\302\303\304$\2= 07"
=A0=A0=A0 =A0=A0=A0 =A0=A0 [org-add-hook change-major-mode-hook=
=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 org-babel-show-result-all append local]
= =A0=A0=A0 =A0=A0=A0 =A0=A0 5]
=A0=A0=A0 =A0=A0=A0 =A0org-babel-result-hi= de-spec org-babel-hide-all-hashes)
=A0org-ctrl-c-ctrl-c-hook '(org-b= abel-hash-at-point
=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0 org-babel-execute-s= afely-maybe)
=A0org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-dra= wers
=A0=A0=A0 =A0=A0=A0 =A0 org-cycle-hide-inline-tasks org-cycle-show-= empty-lines
=A0=A0=A0 =A0=A0=A0 =A0 org-optimize-window-after-visibility= -change)
=A0org-confirm-elisp-link-function 'yes-or-no-p
=A0org-metadown-hook '(org-babel-pop-to-session-maybe)
=A0org-clock-= out-hook '(org-clock-remove-empty-clock-drawer)
=A0)


--
Evan Misshula
Doctoral Student (Criminal Justice)
CU= NY John Jay
"Let us reform our schools, and we shall find little reform needed in = our prisons."
=A0 =A0 =A0 =A0John Ruskin, Unto This Last, essay 2 (= 1862)
=A0 =A0 =A0 =A0English critic, essayist, & reformer (1819 - 19= 00)

"Instruction does much, but encouragement does everything.&= quot; Johann Wolfgang Von Goethe
www.snrg-nyc.org
--f46d044280fe76013504e60ed930--