From: Tassilo Horn <thorn@fastmail.fm>
To: emacs-orgmode@gnu.org
Subject: Bug: #+ATTR_LaTeX broken in LaTeX export [6.36trans (release_6.36.461.g798e)]
Date: Wed, 30 Jun 2010 20:49:13 +0200 [thread overview]
Message-ID: <878w5w2w5y.fsf@thinkpad.tsdh.de> (raw)
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))
)
next reply other threads:[~2010-06-30 18:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-30 18:49 Tassilo Horn [this message]
2010-06-30 19:44 ` Bug: #+ATTR_LaTeX broken in LaTeX export [6.36trans (release_6.36.461.g798e)] Sébastien Vauban
2010-06-30 20:44 ` Eric Schulte
2010-06-30 20:58 ` Sébastien Vauban
2010-06-30 21:05 ` Nicolas Goaziou
2010-06-30 21:26 ` Eric Schulte
2010-06-30 22:22 ` Nicolas Goaziou
2010-06-30 22:49 ` Eric Schulte
2010-06-30 23:03 ` Eric Schulte
2010-07-01 4:44 ` Tassilo Horn
2010-07-01 7:48 ` Carsten Dominik
2010-07-01 8:33 ` Bernt Hansen
2010-07-01 9:03 ` Carsten Dominik
2010-07-01 7:25 ` Sébastien Vauban
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=878w5w2w5y.fsf@thinkpad.tsdh.de \
--to=thorn@fastmail.fm \
--cc=emacs-orgmode@gnu.org \
/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).