From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Samarin Subject: Bug: Images in Latex [7.8.11 (release_7.8.11-33-g2d71a5 @ /Users/petr/Dropbox/emacs/elisp/org-mode/lisp/)] Date: Sat, 2 Jun 2012 12:46:03 +0200 Message-ID: <3C38420E-E2FA-4CAB-B3FD-9C5F8584E60A@gmail.com> Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SalqU-0003di-Rq for emacs-orgmode@gnu.org; Sat, 02 Jun 2012 06:46:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SalqS-0007BN-Hb for emacs-orgmode@gnu.org; Sat, 02 Jun 2012 06:46:10 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:63913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SalqS-0007AP-5u for emacs-orgmode@gnu.org; Sat, 02 Jun 2012 06:46:08 -0400 Received: by wefh52 with SMTP id h52so2345092wef.0 for ; Sat, 02 Jun 2012 03:46:05 -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@gnu.org Including images like this results in \href{t}{./pics/verification\_RoI\_results/BugAndItsSource.pdf} in Latex: #+CAPTION: A bug and its source. #+LABEL: fig:BugAndItsSource #+ATTR_LaTeX: width=3D1.0\textwidth placement=3D[H] [[./pics/verification_RoI_results/BugAndItsSource.pdf]] Emacs : GNU Emacs 24.0.50.1 (x86_64-apple-darwin10.4.0, NS = apple-appkit-1038.32) of 2010-07-12 on koopa.local Package: Org-mode version 7.8.11 (release_7.8.11-33-g2d71a5 @ = /Users/petr/Dropbox/emacs/elisp/org-mode/lisp/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-export-latex-after-initial-vars-hook = '(org-beamer-after-initial-vars) org-export-latex-listings t org-speed-command-hook '(org-speed-command-default-hook = org-babel-speed-command-hook) org-agenda-files '("~/Dropbox/Productivity/GTD.org") org-metaup-hook '(org-babel-load-in-session-maybe) org-after-todo-state-change-hook '(org-clock-out-if-current) org-archive-location "~/Dropbox/WorkPlans/Archive.org::" org-after-todo-statistics-hook '(org-summary-todo) org-export-latex-format-toc-function = 'org-export-latex-format-toc-default org-latex-to-pdf-process '("latex -shell-escape -interaction nonstopmode = -output-directory %o %f; \n bibtex %b; \n latex = -interaction nonstopmode -output-directory %o %f;\n pdflatex = -interaction nonstopmode -output-directory %o %f") 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-src-mode-hook '(org-src-babel-configure-edit-buffer = org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-export-first-hook '(org-beamer-initialize-open-trackers (lambda nil (load-library "org-latex") (setq org-export-latex-listings t) (add-to-list (quote org-export-latex-classes) (quote ("org-article" "\\documentclass{org-article}\n = [NO-DEFAULT-PACKAGES]\n = [PACKAGES]\n [EXTRA]" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . = "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . = "\\subparagraph*{%s}")) ) ) (add-to-list (quote org-export-latex-classes) (quote ("IEEEtran" "\\documentclass{IEEEtran}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . = "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . = "\\subparagraph*{%s}")) ) ) ) ) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines = org-optimize-window-after-visibility-change) org-export-latex-classes '(("IEEEtran" "\\documentclass{IEEEtran}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . = "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . = "\\subparagraph*{%s}")) ("org-article" "\\documentclass{org-article}\n = [NO-DEFAULT-PACKAGES]\n = [PACKAGES]\n [EXTRA]" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . = "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . = "\\subparagraph*{%s}")) ("article" "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . = "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . = "\\subparagraph*{%s}")) ("report" "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . = "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . = "\\subsubsection*{%s}")) ("beamer" "\\documentclass{beamer}" = org-beamer-sectioning)) org-export-preprocess-before-normalizing-links-hook = '(org-remove-file-link-modifiers) org-export-pdf-remove-logfiles nil org-mode-hook '(turn-on-org-cdlatex org-mode-reftex-setup (lambda nil (if (member "REFTEX" org-todo-keywords-1) = (org-mode-article-modes))) turn-on-font-lock org-indent-mode #[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-confirm-elisp-link-function 'yes-or-no-p org-export-interblocks '((src org-babel-exp-non-block-elements)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-occur-hook '(org-first-headline-recenter) org-from-is-user-regexp "\\" org-export-preprocess-before-selecting-backend-code-hook = '(org-beamer-select-beamer-code) org-modules '(org-bbdb org-bibtex org-docview org-gnus org-info = org-habit org-irc org-mew org-mhe org-rmail org-vm org-wl org-w3m) org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc org-beamer-auto-fragile-frames = org-beamer-place-default-actions-for-lists) org-metadown-hook '(org-babel-pop-to-session-maybe) org-export-blocks '((src org-babel-exp-src-block nil) (export-comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) )