From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Oberbrunner Subject: Bug: ditaa images export as links in LaTeX [7.9.2 (release_7.9.2-944-gaf5514 @ c:/emacs/site-lisp/org-mode/lisp/)] Date: Wed, 2 Jan 2013 15:27:25 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec54a367a0ab66a04d2541391 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqUuO-0004bm-Q0 for emacs-orgmode@gnu.org; Wed, 02 Jan 2013 15:27:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqUuM-0001le-WA for emacs-orgmode@gnu.org; Wed, 02 Jan 2013 15:27:28 -0500 Received: from mail-ob0-f169.google.com ([209.85.214.169]:60309) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqUuM-0001l5-Pj for emacs-orgmode@gnu.org; Wed, 02 Jan 2013 15:27:26 -0500 Received: by mail-ob0-f169.google.com with SMTP id v19so13355461obq.14 for ; Wed, 02 Jan 2013 12:27:25 -0800 (PST) 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: Orgmode Mailing List --bcaec54a367a0ab66a04d2541391 Content-Type: text/plain; charset=ISO-8859-1 The following org file, when exported as LaTeX -> PDF, contains only a link to the schema.png file, not the graphics. The .tex has \href where I think it should have \includegraphics. I'm using the latest org-mode git source from today. Emacs 24 nightly on Windows 7. It happens with emacs -q (just load-library org, org-babel-load-languages ditaa, and export as LaTeX). ======================================================================== Some stuff. #+BEGIN_SRC ditaa :file schema.png :cmdline -r -S +------------------+ +----------+ | foo | | | | +--------+----------+ | | | bar | | .. | | | | | hi | +---------+--------+ +----------+ #+END_SRC ======================================================================== Emacs : GNU Emacs 24.3.50.1 (i386-mingw-nt6.1.7601) of 2012-11-19 on MS-W7-DANI Package: Org-mode version 7.9.2 (release_7.9.2-944-gaf5514 @ c:/emacs/site-lisp/org-mode/lisp/) current state: ============== (setq org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-export-latex-packages-alist '(("cm" "fullpage" nil) ("compact" "titlesec" nil) ("" "paralist" nil) ("" "color" nil)) org-export-with-LaTeX-fragments 'dvipng org-export-latex-hyperref-format "Sec. \\ref{%s} (%s)" org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) 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-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-agenda-before-write-hook '(org-agenda-add-entry-text) org-confirm-babel-evaluate nil org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-export-with-toc nil org-babel-pre-tangle-hook '(save-buffer) org-occur-hook '(org-first-headline-recenter) org-export-latex-after-blockquotes-hook '(org-special-blocks-convert-latex-special-cookies) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-default-notes-file "c:/Users/garyo/Documents/My Dropbox/org/notes.org" org-alphabetical-lists t org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-export-preprocess-after-blockquote-hook '(org-special-blocks-make-special-cookies) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-export-first-hook '(org-beamer-initialize-open-trackers) 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-directory "c:/Users/garyo/Documents/My Dropbox/org" org-from-is-user-regexp nil 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-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-metadown-hook '(org-babel-pop-to-session-maybe) org-startup-folded nil org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-export-html-after-blockquotes-hook '(org-special-blocks-convert-html-special-cookies) org-after-todo-state-change-hook '(org-clock-out-if-current) org-babel-tangle-lang-exts '(("latex" . "tex") ("python" . "py") ("emacs-lisp" . "el")) org-babel-load-languages '((emacs-lisp . t) (R . t) (python . t) (ditaa . t) (latex . t) (sql . t)) org-confirm-shell-link-function 'yes-or-no-p ) -- Gary --bcaec54a367a0ab66a04d2541391 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
The following org file, when exported as LaTeX -> = PDF, contains only a
link to the schema.png file, not the graphic= s. =A0The .tex has \href where
I think it should have \includegra= phics.

I'm using the latest org-mode git source from today= . Emacs 24 nightly on Windows 7.

It happens = with emacs -q (just load-library org, org-babel-load-languages ditaa, and e= xport as LaTeX).

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D
Some stuff.

#+BEGIN_SRC dit= aa :file schema.png :cmdline -r -S
+------------------+ =A0 =A0 =A0+----------+
| foo =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 = | =A0bar =A0 | =A0 =A0 = =A0| =A0 =A0 .. =A0 |
| =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0| =A0 =A0 =A0| =A0 =A0 hi =A0 |
+---------+------= --+ =A0 =A0 =A0+--------= --+
#+END_SRC
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D


Emacs =A0: GNU Emacs 24.3.50.1 (i386-min= gw-nt6.1.7601)
=A0of 2012-11-19 on MS-W7-DANI
Package: = Org-mode version 7.9.2 (release_7.9.2-944-gaf5514 @ c:/emacs/site-lisp/org-= mode/lisp/)

current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D
(setq
=A0org-ctrl-c-ctrl-c-hook '(org-= babel-hash-at-point org-babel-execute-safely-maybe)
=A0org-export= -latex-packages-alist '(("cm" "fullpage" nil) (&quo= t;compact" "titlesec" nil)
=A0 ("&quo= t; "paralist" nil) ("" "color" nil))
=A0org-export-with-LaTeX-fragments 'dvipng
=A0org-export-la= tex-hyperref-format "Sec. \\ref{%s} (%s)"
=A0org-export-preprocess-before-selecting-backend-code-hook '(org-= beamer-select-beamer-code)
=A0org-tab-first-hook '(org-hide-b= lock-toggle-maybe org-src-native-tab-command-maybe
=A0 =A0 =A0org-babel-hide-result-tog= gle-maybe org-babel-header-arg-expand)
=A0org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hid= e-drawers
= =A0org-cycle-hide-inline-tasks org-cycle-show-empty-lines
=A0org-optimize-window-after-= visibility-change)
=A0org-agenda-before-write-hook '(org-agenda-add-entry-text)
=
=A0org-confirm-babel-evaluate nil
=A0org-speed-command-hook = '(org-speed-command-default-hook org-babel-speed-command-hook)
=A0org-export-with-toc nil
=A0org-babel-pre-tangle-hook '(sav= e-buffer)
=A0org-occur-hook '(org-first-headline-recenter)
=A0org-export-latex-after-blockquotes-hook '(org-special-blocks= -convert-latex-special-cookies)
=A0org-metaup-hook '(org-babel-load-in-session-maybe)
= =A0org-confirm-elisp-link-function 'yes-or-no-p
=A0org-export= -latex-format-toc-function 'org-export-latex-format-toc-default
=A0org-default-notes-file "c:/Users/garyo/Documents/My Dropbox/org/= notes.org"
=A0org-alphabetical-lists t
=A0org-export-preprocess-before-= normalizing-links-hook '(org-remove-file-link-modifiers)
=A0o= rg-export-preprocess-after-blockquote-hook '(org-special-blocks-make-sp= ecial-cookies)
=A0org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
=
=A0org-export-first-hook '(org-beamer-initialize-open-trackers)
=A0org-mode-hook '(#[nil "\300\301\302\303\304$\207"<= /div>
=A0 [org-add-hook= change-major-mode-hook org-show-block-all append local] 5]
#[nil "\300\301\302\30= 3\304$\207"
=A0 [org-add-hook= change-major-mode-hook org-babel-show-result-all append local]
<= span class=3D"" style=3D"white-space:pre"> =A0 5]
org-babel-result-hide-spec o= rg-babel-hide-all-hashes)
=A0org-directory "c:/Users/garyo/Documents/My Dropbox/org"
=A0org-from-is-user-regexp nil
=A0org-export-latex-final= -hook '(org-beamer-amend-header org-beamer-fix-toc
=A0 =A0 =A0 org-beamer-auto-fra= gile-frames
=A0 =A0 =A0 org-= beamer-place-default-actions-for-lists)
=A0org-export-latex-after= -initial-vars-hook '(org-beamer-after-initial-vars)
=A0org-me= tadown-hook '(org-babel-pop-to-session-maybe)
=A0org-startup-folded nil
=A0org-src-mode-hook '(org-src= -babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
= =A0org-export-html-after-blockquotes-hook '(org-special-blocks-convert-= html-special-cookies)
=A0org-after-todo-state-change-hook '(org-clock-out-if-current)
=A0org-babel-tangle-lang-exts '(("latex" . "tex&= quot;) ("python" . "py") ("emacs-lisp" . &quo= t;el"))
=A0org-babel-load-languages '((emacs-lisp . t) (R . t) (python . t= ) (ditaa . t) (latex . t)
=A0 =A0(sql . t))
=A0org-confirm-shell-link-functi= on 'yes-or-no-p
=A0)


--
Gary
--bcaec54a367a0ab66a04d2541391--