emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: ditaa images export as links in LaTeX [7.9.2 (release_7.9.2-944-gaf5514 @ c:/emacs/site-lisp/org-mode/lisp/)]
@ 2013-01-02 19:47 Gary Oberbrunner
  2013-01-02 22:02 ` Nick Dokos
  0 siblings, 1 reply; 4+ messages in thread
From: Gary Oberbrunner @ 2013-01-02 19:47 UTC (permalink / raw)
  To: emacs-orgmode


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------

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 git source from today.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Bug: ditaa images export as links in LaTeX [7.9.2 (release_7.9.2-944-gaf5514 @ c:/emacs/site-lisp/org-mode/lisp/)]
@ 2013-01-02 20:27 Gary Oberbrunner
  0 siblings, 0 replies; 4+ messages in thread
From: Gary Oberbrunner @ 2013-01-02 20:27 UTC (permalink / raw)
  To: Orgmode Mailing List

[-- Attachment #1: Type: text/plain, Size: 3935 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 6004 bytes --]

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

end of thread, other threads:[~2013-01-02 22:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-02 19:47 Bug: ditaa images export as links in LaTeX [7.9.2 (release_7.9.2-944-gaf5514 @ c:/emacs/site-lisp/org-mode/lisp/)] Gary Oberbrunner
2013-01-02 22:02 ` Nick Dokos
2013-01-02 22:54   ` Bastien
  -- strict thread matches above, loose matches on Subject: below --
2013-01-02 20:27 Gary Oberbrunner

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