From mboxrd@z Thu Jan 1 00:00:00 1970 From: iemacs@gmail.com Subject: Bug: bug in latex export [6.34b] Date: Fri, 15 Jan 2010 14:05:57 +0800 Message-ID: <191f2a111001142205q36d97ab0ke4d00984c833e96a@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NVfJt-00010Y-Bp for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 01:06:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NVfJn-00010J-Kk for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 01:06:03 -0500 Received: from [199.232.76.173] (port=46754 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVfJn-00010G-G9 for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 01:05:59 -0500 Received: from mail-pz0-f176.google.com ([209.85.222.176]:39365) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NVfJm-0006cY-Me for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 01:05:59 -0500 Received: by pzk6 with SMTP id 6so385134pzk.25 for ; Thu, 14 Jan 2010 22:05:57 -0800 (PST) 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 exported the following example test.org to latex, the content between \begin{multicols}{2} and \end{multicols} hadn't been replaced with latex code. -------------------------------------test.org #-*- mode: org; coding: utf-8 -*- #+LATEX_HEADER: \usepackage{multicol} * title \begin{multicols}{2} ** subtitle 1. first 2. second \end{multicols} -------------------------------------end of test.org I got the following result -------------------------------------test.tex % Created 2010-01-15 Fri 13:51 \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{longtable} \usepackage{float} \usepackage{wrapfig} \usepackage{soul} \usepackage{amssymb} \usepackage{hyperref} \usepackage{multicol} \title{test} \author{} \date{15 January 2010} \begin{document} \maketitle \setcounter{tocdepth}{3} \tableofcontents \vspace*{1cm} \section{title} \label{sec-1} \begin{multicols}{2} ** subtitle 1. first 2. second \end{multicols} \end{document} -------------------------------------end of test.tex Emacs : GNU Emacs 23.1.90.1 (i386-mingw-nt5.1.2600) of 2009-12-16 on BREPNB Package: Org-mode version 6.34b current state: ============== (setq org-log-done t org-agenda-skip-scheduled-if-deadline-is-shown t org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-special-ctrl-a/e t org-agenda-files '("~/org/todo.org" "~/org/refile.org") org-startup-truncated nil org-agenda-skip-timestamp-if-done t org-after-todo-state-change-hook '(org-clock-out-if-current) org-agenda-text-search-extra-files '(agenda-archives) org-special-ctrl-k t org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-agenda-skip-scheduled-if-done t org-latex-to-pdf-process '("xelatex -interaction nonstopmode %s" "xelatex -interaction nonstopmode %s") org-export-preprocess-hook '(org-export-blocks-preprocess org-export-bibtex-preprocess) org-agenda-diary-file "~/org/todo.org" org-tab-first-hook '(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-clock-sound "d:/sound/Ringtone.mp3" org-todo-keywords '((sequence "TODO(t)" "WAIT(w@/!)" "FUTURE(f)" "|" "DONE(d!/!)" "NOTE(n@)" "CANCELED(c@/!)")) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-default-notes-file "refile.org" org-directory "~/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-use-speed-commands t org-mode-hook '(turn-on-org-cdlatex (lambda nil (org-add-hook (quote change-major-mode-hook) (quote org-show-block-all) (quote append) (quote local))) (lambda nil (visual-line-mode 1) (auto-complete-mode 1) (auto-complete-mode-maybe))) org-agenda-ndays 1 org-refile-targets '((org-agenda-files :level . 1) (nil :level . 1)) org-confirm-elisp-link-function 'yes-or-no-p org-fast-tag-selection-single-key 'expert org-agenda-skip-deadline-if-done t org-deadline-string "DUE:" org-occur-hook '(org-first-headline-recenter) org-from-is-user-regexp nil org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-remember-templates '(("todo" 116 "* TODO %?\n%U\n%a" nil bottom nil) ("note" 110 "* NOTE %?\n%U\n%a" "~/org/todo.archive" "Notes" nil) ("diary" 100 "* %t %?" "~/org/todo.org" date-tree) ("appointment" 97 "* %^T %^{Event} - %^{Place}\n%?\n%U" nil bottom nil)) 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) ) -- Kind regards, Tian Qiu