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