Re: [O] Bug: export failed when using footnotes inside src blocks [7.7]
Thanks a lot! Regards, Günter Am 2011-07-30 12:45, schrieb Nicolas Goaziou: Hello, Günter Kolousek writes: Hi, using footnotes i.e. [2] inside #+begin_src #+end_src causes errors during export using orgmode 7.7 and tip. This should be fixed now. Thank you for reporting this. _Note to self_ : I really wish we can come up with an exporter that exactly matches Org syntax. An element recognized/ignored in Org should be identically recognized/ignored during the export process without resorting to any trick (à la `org-protected' text property). Regards,
[O] Bug: export failed when using footnotes inside src blocks [7.7]
Hi, using footnotes i.e. [2] inside #+begin_src #+end_src causes errors during export using orgmode 7.7 and tip. Günter #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [presentation] #+BEAMER_FRAME_LEVEL: 2 #+BEAMER_HEADER_EXTRA: \usetheme{boxes}\addheadbox{structure}{\tiny\quad\insertsection\qquad\insertsubsection\hfill\insertpagenumber\quad}\useinnertheme{rectangles}\usecolortheme[RGB={0,118,190}]{structure}\usefonttheme{structurebold} #+COLUMNS: %35ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Args) %4BEAMER_col(Col) %8BEAMER_extra(Ex) #+LANGUAGE: de #+OPTIONS: H:1 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+LATEX_HEADER: \setbeamertemplate{navigation symbols}{} #+LATEX_HEADER: \usepackage{palatino} #+LATEX_HEADER: \usepackage{xspace} #+LATEX_HEADER: \usepackage[ngerman]{babel} \shorthandoff{"} * Test foo #+begin_src python lst = [-1, -2, 2, -3, -4] for x in lst[:]: if x < 0: lst.remove(x) print(lst) # [2] <- does not work! #+end_src Your bug report will be posted to the Org-mode mailing list. Emacs : GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.24.4)
Re: [Orgmode] Re: Support (or not) for Emacs 21, and XEmacs
Quoting Carsten Dominik : Hi, I have made a test version of Org with the compatibility code for XEmacs and without some of the left-over compatibility code for Emacs 21. I would appreciate if some people could check out the `remove-compatibility-code' branch from repo.or.cz and report back if they experience any problems with Emacs 22, 23, and 24, either during compilation or while running. No problems so far on Emacs 23. Günter - This message was sent using the HTL Wr. Neustadt/EDVO webmail service. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug: double or single quote inside code or verbatim markup [6.35g]
Yes, this works well. Thanx! Günter Quoting "Thomas S. Dye" : On Apr 11, 2010, at 11:23 AM, Günter Kolousek wrote: I am unable to include neither double nor single quote characters inside a verbatim markup as described in the manual. Also, I didn't find anything in the mailing list archive: ="a"= doesn't work, but =x "a" x= does. Same for ~. I didn't find any workaround. There is no escape character, isn't it? It seems, that the string will be captured first, but only if it is on the left or right side of the code or verbatim markup. I can't find it in the source because I don't know anything about elisp. Sorry. Cheers, Günter Aloha Günter, This message to the mailing list last month might help. Hello. Sometimes org-mode isn't smart enough, but I don't require it to be because I understand my demands might be high. For example marking code with =...= can't manege apostrophes right next to equality signs =a = 'B'= doesn't work actually as expected (particularly latex export). But fear not and use unicode. There is /xe2/x80/x8b ZERO WIDTH SPACE When you put (C-x 8 RET 200b RET) it next to equality signs =a = 'B'= ^^ ^^ Everything works like charm *and* there is completely no additional space in the output. -- Miłego dnia, Łukasz Stelmach All the best, Tom - This message was sent using the HTL Wr. Neustadt/EDVO webmail service. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Bug: double or single quote inside code or verbatim markup [6.35g]
I am unable to include neither double nor single quote characters inside a verbatim markup as described in the manual. Also, I didn't find anything in the mailing list archive: ="a"= doesn't work, but =x "a" x= does. Same for ~. I didn't find any workaround. There is no escape character, isn't it? It seems, that the string will be captured first, but only if it is on the left or right side of the code or verbatim markup. I can't find it in the source because I don't know anything about elisp. Sorry. Cheers, Günter Emacs : GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.0) of 2009-09-27 on palmer, modified by Debian Package: Org-mode version 6.35g current state: == (setq org-log-done 'time org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-special-ctrl-a/e t org-level-color-stars-only t org-load-hook '((lambda nil (textmate-mode) (toggle-truncate-lines 1) (define-key org-mode-map (kbd "C-") (quote elscreen-previous)) (define-key org-mode-map (kbd "C-") (quote elscreen-next)) (define-key org-mode-map [C-tab] (quote ido-switch-buffer)) (define-key org-mode-map (kbd "M-+") (quote org-complete)) (define-key org-mode-map (kbd "M-n") (quote outline-next-visible-heading)) (define-key org-mode-map (kbd "M-p") (quote outline-previous-visible-heading)) (define-key org-mode-map (kbd "C-+") (quote org-force-cycle-archived)) ) ) org-hide-leading-stars t org-completion-use-ido t org-metaup-hook '(org-babel-load-in-session-maybe) org-after-todo-state-change-hook '(org-clock-out-if-current wicked/org-clock-out-if-waiting wicked/org-clock-in-if-starting) org-babel-interpreters '("emacs-lisp" "python" "latex" "sh") org-odd-levels-only t org-export-copy-to-kill-ring nil 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-babel-hide-result-toggle-maybe org-hide-block-toggle-maybe) org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-export-first-hook '(org-beamer-initialize-open-trackers) org-agenda-before-write-hook '(org-agenda-add-entry-text) 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 '((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 org-babel-hide-all-hashes #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] ) org-ctrl-c-ctrl-c-hook '(org-babel-lob-execute-maybe org-babel-hash-at-point org-babel-execute-src-block-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-occur-hook '(org-first-headline-recenter) org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-time-stamp-custom-formats '("<%Y-%m-%d>" . "<%Y-%m-%d %H:%M>") org-export-kill-product-buffer-when-displayed t 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-blocks nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) ) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Bug: LaTeX export of plain lists inside description lists [6.34trans]
Using the following orgmode text: * Test - XXX :: /testing/ + one plain list item + just another one here follows a plain paragraph + and another new plain list + second item next new paragraph the LaTeX exporter produces: \section{Test} \label{sec-1} \begin{itemize} \item[XXX] \emph{testing} \begin{itemize} \item one plain list item \item just another one \end{itemize} \item[XXX]and another new plain list \item[XXX]second item next new paragraph \end{itemize} The HTML export works fine! Sorry, for not providing a patch Günter Emacs : GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.0) of 2009-09-27 on palmer, modified by Debian Package: Org-mode version 6.34trans current state: == (setq org-log-done 'time org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-special-ctrl-a/e t org-level-color-stars-only t org-load-hook '((lambda nil (textmate-mode) (toggle-truncate-lines 1) (define-key org-mode-map (kbd "C-") (quote elscreen-previous)) (define-key org-mode-map (kbd "C-") (quote elscreen-next)) (define-key org-mode-map [C-tab] (quote ido-switch-buffer)) (define-key org-mode-map (kbd "M-+") (quote org-complete)) (define-key org-mode-map (kbd "M-n") (quote outline-next-visible-heading)) (define-key org-mode-map (kbd "M-p") (quote outline-previous-visible-heading)) (define-key org-mode-map (kbd "C-+") (quote org-force-cycle-archived)) ) ) org-hide-leading-stars t org-completion-use-ido t org-metaup-hook '(org-babel-load-in-session-maybe) org-after-todo-state-change-hook '(org-clock-out-if-current wicked/org-clock-out-if-waiting wicked/org-clock-in-if-starting) org-babel-interpreters '("emacs-lisp" "python" "sh") org-odd-levels-only 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-babel-hide-result-toggle-maybe org-hide-block-toggle-maybe) org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-export-first-hook '(org-beamer-initialize-open-trackers) org-agenda-before-write-hook '(org-agenda-add-entry-text) 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 '(("article" "\\documentclass[11pt]{article}\n\\usepackage[AUTO]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepackage{float}\n\\usepackage{wrapfig}\n\\usepackage{soul}\n\\usepackage{latexsym}\n\\usepackage{amssymb}\n\\usepackage{hyperref}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report" "\\documentclass[11pt]{report}\n\\usepackage[AUTO]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepackage{float}\n\\usepackage{wrapfig}\n\\usepackage{soul}\n\\usepackage{latexsym}\n\\usepackage{amssymb}\n\\usepackage{hyperref}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}\n\\usepackage[AUTO]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepackage{float}\n\\usepackage{wrapfig}\n\\usepackage{soul}\n\\usepackage{latexsym}\n\\usepackage{amssymb}\n\\usepackage{hyperref}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("beamer" "\\documentclass{beamer}\n\\usepackage[AUTO]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepackage{float}\n\\usepackage{wrapfig}\n\\usepackage{soul}\n\\usepackage{latexsym}\n\
[Orgmode] Problem using bracket with the LaTeX backend
I think there is a problem using brackets at the beginning of plain list items with the LaTeX backend: 1. [A] foo bar... The generated LaTeX code looks like: \item[A] foo bar... but rather this would be the expected output: \item{}[A] foo bar... Here follows the patch: *** org-list.el 2010-03-21 15:33:49.0 +0100 --- org-list.el.old 2010-03-21 15:26:38.0 +0100 *** *** 1336,1342 :dstart "\\begin{description}" :dend "\\end{description}" :dtstart "[" :dtend "]" :ddstart "" :ddend "" ! :istart "\\item{} " :iend "" :isep "\n" :lsep "\n" :cbon "\\texttt{[X]}" :cboff "\\texttt{[ ]}") params))) --- 1336,1342 :dstart "\\begin{description}" :dend "\\end{description}" :dtstart "[" :dtend "]" :ddstart "" :ddend "" ! :istart "\\item " :iend "" :isep "\n" :lsep "\n" :cbon "\\texttt{[X]}" :cboff "\\texttt{[ ]}") params))) Cheers and thanks a lot for the wonderful org-mode! Günter ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode