From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Bug: #+ATTR_LaTeX broken in LaTeX export [6.36trans (release_6.36.461.g798e)] Date: Wed, 30 Jun 2010 20:49:13 +0200 Message-ID: <878w5w2w5y.fsf@thinkpad.tsdh.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=37225 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OU2LZ-0003LA-14 for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 14:49:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OU2LW-0007dm-Pm for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 14:49:20 -0400 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:55336) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU2LW-0007dL-NP for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 14:49:18 -0400 Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id DB88510D0A4 for ; Wed, 30 Jun 2010 14:49:16 -0400 (EDT) Received: from thinkpad.tsdh.de (145.Red-79-148-225.staticIP.rima-tde.net [79.148.225.145]) by mail.messagingengine.com (Postfix) with ESMTPA id D03BD4FF23 for ; Wed, 30 Jun 2010 14:49:15 -0400 (EDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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. ------------------------------------------------------------------------ I have an org file like that: --8<---------------cut here---------------start------------->8--- #+STARTUP: beamer #+LaTeX_CLASS: beamer #+TITLE: Implementieren, Integrieren, Installieren #+AUTHOR: Tassilo Horn #+EMAIL: horn@uni-koblenz.de #+LANGUAGE: de #+BEAMER_FRAME_LEVEL: 2 #+LaTeX_CLASS_OPTIONS: [presentation] #+BEAMER_HEADER_EXTRA: \usetheme{Madrid} \institute{IST, University Koblenz} * Implementieren ** Composite Pattern #+ATTR_LaTeX: width=\textwidth [[./composite-pattern.png]] --8<---------------cut here---------------end--------------->8--- Unfortunately, the image doesn't show up, but the #+ATTR_LaTeX is displayed literally. Here's the LaTeX code produced by the LaTeX export. --8<---------------cut here---------------start------------->8--- \begin{frame} \frametitle{Composite Pattern} \label{sec-1_3} \#+ATTR_\LaTeX{}: width=\textwidth \includegraphics[width=\textwidth]{./composite-pattern.png} \end{frame} --8<---------------cut here---------------end--------------->8--- As you can see, the option is there, but it's also added (nearly) literally... Emacs : GNU Emacs 24.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1) of 2010-06-29 on thinkpad Package: Org-mode version 6.36trans (release_6.36.461.g798e) current state: ============== (setq org-log-done 'time org-archive-default-command 'org-archive-set-tag org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-link-frame-setup '((vm . vm-visit-folder) (gnus . org-gnus-no-new-news) (file . find-file-other-window)) org-special-ctrl-a/e 'reversed org-agenda-files '("/home/horn/repos/org") org-agenda-include-diary t org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-gnus-prefer-web-links t org-fontify-whole-heading-line t org-metaup-hook '(org-babel-load-in-session-maybe) org-after-todo-state-change-hook '(org-clock-out-if-current) org-attach-directory "/home/horn/repos/org/attachments" org-special-ctrl-k t org-agenda-time-leading-zero t org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup) org-agenda-restore-windows-after-quit t org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-export-preprocess-hook '(org-export-blocks-preprocess) org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe) org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-finalize-agenda-hook '(th-org-agenda-to-appt) org-confirm-shell-link-function 'yes-or-no-p org-export-first-hook '(org-beamer-initialize-open-trackers) org-todo-keywords '((sequence "TODO(t)" "STARTED(s)" "DELEGATED(g)" "IDEA(i)" "|" "DONE(d)" "CANCELLED(c)")) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-directory "/home/horn/repos/org" 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-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-mode-hook '(th-org-mode-init #[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-refile-targets '((org-agenda-files :maxlevel . 5)) org-ctrl-c-ctrl-c-hook '(org-babel-lob-execute-maybe org-babel-hash-at-point org-babel-execute-src-block-maybe) org-complete-tags-always-offer-all-agenda-tags t org-return-follows-link t org-confirm-elisp-link-function 'yes-or-no-p org-refile-use-outline-path 'file org-log-into-drawer "LOGBOOK" org-icalendar-categories '(all-tags category) org-agenda-mode-hook '(th-org-agenda-mode-init) org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-enforce-todo-dependencies t org-refile-allow-creating-parent-nodes 'confirm org-occur-hook '(org-first-headline-recenter) org-icalendar-include-body t org-agenda-skip-additional-timestamps-same-entry nil org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-modules '(org-attach org-protocol org-id org-bbdb org-bibtex org-docview org-gnus org-info org-jsinfo org-irc org-w3m) org-columns-default-format "%50ITEM %TODO %ALLTAGS %SCHEDULED %DEADLINE" outline-minor-mode-hook '(th-outline-minor-mode-init) 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-attach-method 'mv org-export-blocks '((src org-babel-exp-src-blocks nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) )