emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: regression on exporting latex \footnote [7.8.03]
@ 2012-02-21  4:01 Thomas Caswell
  2012-02-21 22:27 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Caswell @ 2012-02-21  4:01 UTC (permalink / raw)
  To: emacs-orgmode

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


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

7.5 correctly exports the  \footnote latex commands when exporting to beamer, version 7.8 escapes the
{} resulting in a the { being in the footnote text instead intended
text.  I have attached a simple test case, the correct output and the
failed out put.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: test case --]
[-- Type: text/x-org, Size: 850 bytes --]

#+TITLE: bug demo
#+AUTHOR: Thomas A Caswell 
#+EMAIL:     tcaswell@uchicago.edu
#+DATE:      2012-02-29
#+DESCRIPTION: 
#+KEYWORDS: 
#+LANGUAGE:  en
#+OPTIONS:   H:3 num:t toc:nil \n:nil @:t ::t |:t ^:{} -:nil f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:   
#+LINK_HOME: 

#+startup: beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: 
#+latex_header: \mode<beamer>{\usetheme{Madrid}} \setbeamertemplate{navigation symbols}{} \usecolortheme{beaver} 
#+BEAMER_FRAME_LEVEL: 2
#+COLUMNS: %40ITEM %10BEAMER_env(Env) %9BEAMER_envargs(Env Args) %4BEAMER_col(Col) %10BEAMER_extra(Extra)


* demo
** test case
this is some text \footnote{test}

[-- Attachment #3: correct output --]
[-- Type: application/pdf, Size: 26592 bytes --]

[-- Attachment #4: failed output --]
[-- Type: application/pdf, Size: 39887 bytes --]

[-- Attachment #5: Type: text/plain, Size: 4742 bytes --]



Emacs  : GNU Emacs 24.0.93.2 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars)
 of 2012-02-12 on innoue
Package: Org-mode version 7.8.03

current state:
==============
(setq
 org-src-lang-modes '(("ocaml" . tuareg) ("elisp" . emacs-lisp) ("ditaa" . artist) ("asymptote" . asy) ("dot" . fundamental) ("sqlite" . sql)
		      ("calc" . fundamental) ("C" . c) ("cpp" . c++))
 org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code)
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-hide-block-toggle-maybe org-src-native-tab-command-maybe)
 org-shiftleft-final-hook '(windmove-left)
 org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook)
 org-export-html-after-blockquotes-hook '(org-special-blocks-convert-html-special-cookies)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers)
 org-log-done 'time
 org-confirm-shell-link-function 'yes-or-no-p
 org-export-latex-after-blockquotes-hook '(org-special-blocks-convert-latex-special-cookies)
 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-use-sub-superscripts '{}
 org-default-notes-file "~/notebook/tmp_notes.org"
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '((lambda nil (org-add-hook (quote change-major-mode-hook) (quote org-babel-show-result-all) (quote append) (quote local)))
		 org-babel-result-hide-spec
		 #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5]
		 org-babel-hide-all-hashes (lambda nil (local-set-key "d" (quote insert-muse-date-header)))
		 (lambda nil (local-set-key "c" (quote insert-python-code-block))) (lambda nil (flyspell-mode t)))
 org-replace-disputed-keys t
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe)
 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-format-toc-function 'org-export-latex-format-toc-default
 org-export-blocks '((src org-babel-exp-src-block nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil)
		     (dot org-export-blocks-format-dot nil))
 org-shiftup-final-hook '(windmove-up)
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-export-interblocks '((src org-babel-exp-non-block-elements) (lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks))
 org-blank-before-new-entry nil
 org-modules '(org-bbdb org-bibtex org-crypt org-docview org-gnus org-id org-info org-jsinfo org-habit org-irc org-protocol org-special-blocks
	       org-vm org-wl org-w3m org-bookmark org-checklist org-choose org-collector org-exp-bibtex org-git-link org-man org-track)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-startup-with-inline-images t
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-shiftdown-final-hook '(windmove-down)
 org-structure-template-alist '(("s" "#+begin_src ?\n\n#+end_src" "<src lang=\"?\">\n\n</src>")
				("e" "#+begin_example\n?\n#+end_example" "<example>\n?\n</example>")
				("q" "#+begin_quote\n?\n#+end_quote" "<quote>\n?\n</quote>")
				("v" "#+begin_verse\n?\n#+end_verse" "<verse>\n?\n/verse>")
				("c" "#+begin_center\n?\n#+end_center" "<center>\n?\n/center>")
				("l" "#+begin_latex\n?\n#+end_latex" "<literal style=\"latex\">\n?\n</literal>")
				("L" "#+latex: " "<literal style=\"latex\">?</literal>")
				("h" "#+begin_html\n?\n#+end_html" "<literal style=\"html\">\n?\n</literal>")
				("H" "#+html: " "<literal style=\"html\">?</literal>") ("a" "#+begin_ascii\n?\n#+end_ascii") ("A" "#+ascii: ")
				("i" "#+index: ?" "#+index: ?") ("I" "#+include %file ?" "<include file=%file markup=\"?\">"))
 org-completion-use-ido t
 org-reveal-start-hook '(org-decrypt-entry)
 org-agenda-files '("~/writing/2012_aps/slides/outline.org" "~/notebook/todo.org")
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-export-preprocess-after-blockquote-hook '(org-special-blocks-make-special-cookies)
 org-shiftright-final-hook '(windmove-right)
 org-link-frame-setup '((vm . vm-visit-folder-other-frame) (gnus . org-gnus-no-new-news) (file . find-file-other-window) (wl . wl-other-frame))
 )

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

* Re: Bug: regression on exporting latex \footnote [7.8.03]
  2012-02-21  4:01 Bug: regression on exporting latex \footnote [7.8.03] Thomas Caswell
@ 2012-02-21 22:27 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2012-02-21 22:27 UTC (permalink / raw)
  To: Thomas Caswell; +Cc: emacs-orgmode

Hello,

Thomas Caswell <tcaswell@uchicago.edu> writes:

> 7.5 correctly exports the \footnote latex commands when exporting to
> beamer, version 7.8 escapes the {} resulting in a the { being in the
> footnote text instead intended text.  I have attached a simple test
> case, the correct output and the failed out put.

I can confirm the problem. Though, out of curiosity, why don't you use
built-in footnotes instead?


Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2012-02-21 22:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-21  4:01 Bug: regression on exporting latex \footnote [7.8.03] Thomas Caswell
2012-02-21 22:27 ` Nicolas Goaziou

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