emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Petr Samarin <petrsamarin@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Images in Latex [7.8.11 (release_7.8.11-33-g2d71a5 @ /Users/petr/Dropbox/emacs/elisp/org-mode/lisp/)]
Date: Sat, 02 Jun 2012 18:53:19 +0530	[thread overview]
Message-ID: <81fwadrgoo.fsf@gmail.com> (raw)
In-Reply-To: <3C38420E-E2FA-4CAB-B3FD-9C5F8584E60A@gmail.com> (Petr Samarin's message of "Sat, 2 Jun 2012 12:46:03 +0200")


Have you tried the new exporter?

1. Add contrib/lisp to load-path
2. M-x load-library RET org-export RET
3. M-x org-export-dispatch RET

You will have to migrate your existing config to the new exporter.

M-x customize-group RET org-export-e-latex RET (Note the presence of
"e").

Search for org-e-latex in this mailing list, if you run into any issues.




Petr Samarin <petrsamarin@gmail.com> writes:

> 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=1.0\textwidth placement=[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:
> ==============
> (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 "\\<petr\\>"
> 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))
> )
>
>

-- 

  reply	other threads:[~2012-06-02 13:23 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-02 10:46 Bug: Images in Latex [7.8.11 (release_7.8.11-33-g2d71a5 @ /Users/petr/Dropbox/emacs/elisp/org-mode/lisp/)] Petr Samarin
2012-06-02 13:23 ` Jambunathan K [this message]
2012-06-02 17:16   ` new exporter (was: Bug: Images in Latex..) Achim Gratz
2012-06-03 13:21     ` new exporter Jambunathan K
2012-06-04 20:23     ` Achim Gratz
2012-06-07 19:44     ` Nicolas Goaziou
2012-06-07 19:59       ` Achim Gratz
2012-06-07 20:24         ` Nicolas Goaziou
2012-06-09 18:48           ` Achim Gratz
2012-06-09 18:56             ` Nicolas Goaziou
2012-06-09 19:06               ` Achim Gratz
2012-06-09 19:45                 ` Nicolas Goaziou
2012-06-09 21:19                   ` Achim Gratz
2012-06-07 20:14       ` Achim Gratz
2012-06-26  5:39         ` Achim Gratz
2012-06-26  6:18           ` Achim Gratz
2012-06-26 14:53             ` Nicolas Goaziou
2012-06-26 16:14               ` Achim Gratz
2012-06-26 18:43               ` Achim Gratz
2012-06-27 20:05                 ` Achim Gratz
2012-06-28  7:03                   ` Nicolas Goaziou
2012-06-29 18:17                     ` Achim Gratz
2012-06-30  6:48                       ` Nicolas Goaziou
2012-06-30  7:12                         ` Achim Gratz
2012-07-01 16:33                         ` Achim Gratz
2012-07-02 10:19                           ` Nicolas Goaziou
2012-07-02 19:06                             ` Achim Gratz
2012-07-12 18:37                         ` Achim Gratz
2012-07-13 14:46                           ` Nicolas Goaziou
2012-07-13 18:32                             ` Achim Gratz
2012-07-14 16:20                               ` Nicolas Goaziou
2012-07-14 16:31                                 ` Achim Gratz
2012-07-14 16:48                                 ` Jambunathan K
2012-07-14 17:47                                   ` Jambunathan K
2012-07-15 12:02                                 ` Achim Gratz
2012-07-15 19:50                                   ` Nicolas Goaziou
2012-07-15 20:08                                     ` Bastien
2012-07-15 20:18                                     ` Achim Gratz
2012-07-16  8:46                                       ` Nicolas Goaziou
2012-07-16 18:11                                         ` Achim Gratz
2012-07-16 21:11                                           ` Nicolas Goaziou
2012-07-17 17:35                                             ` Achim Gratz
2012-07-17 20:59                                               ` Nicolas Goaziou
2012-07-18  9:38                                                 ` Nicolas Goaziou
2012-07-18 18:57                                                   ` Achim Gratz
2012-07-18 18:09                                                 ` Achim Gratz
2012-07-16 18:35                                         ` local.mk vs. default.mk (was: new exporter) Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=81fwadrgoo.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=petrsamarin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).