From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Middendorf Subject: Bug: Smart quotes for LaTeX export broken in tables [8.3.4 (8.3.4-9-gfda14f-elpa @ elpa/org-20160307/)] Date: Tue, 08 Mar 2016 16:54:42 +0100 Message-ID: <87si01x8vx.fsf@hacon.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adJyK-0001F5-0L for emacs-orgmode@gnu.org; Tue, 08 Mar 2016 10:55:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adJyG-00067N-Ik for emacs-orgmode@gnu.org; Tue, 08 Mar 2016 10:54:55 -0500 Received: from gate-hacon.hacon.de ([213.83.5.130]:42721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adJyG-000667-84 for emacs-orgmode@gnu.org; Tue, 08 Mar 2016 10:54:52 -0500 Received: from charon.dmz.hacon.de (charon.dmz.hacon.de [10.255.255.3]) by gate-hacon.hacon.de (Postfix) with ESMTP id 1330B8014DBD6 for ; Tue, 8 Mar 2016 16:54:49 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by charon.dmz.hacon.de (Postfix) with ESMTP id 11E2718002861 for ; Tue, 8 Mar 2016 16:54:49 +0100 (CET) Received: from charon.dmz.hacon.de ([127.0.0.1]) by localhost (charon.dmz.hacon.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3AXIVbpMGLSU for ; Tue, 8 Mar 2016 16:54:46 +0100 (CET) Received: from pmi-ThinkCentre-M92p (ws-pmi.local.hacon.de [10.128.52.111]) by charon.dmz.hacon.de (Postfix) with ESMTP id C1B16180027AD for ; Tue, 8 Mar 2016 16:54:46 +0100 (CET) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: 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 noticed that when exporting to LaTeX using smart quotes, the smart quotes will be inserted in normal paragraphs but not inside tables. A minimal example is as follows: #+LANGUAGE: de #+OPTIONS: ':t #+LATEX_HEADER: \usepackage[german]{babel} foo "bar" | foo | bar | | bar | foo "qux" bar | This will be exported as follows (relevant snippet): foo "`bar"' \begin{center} \begin{tabular}{ll} foo & bar\\ bar & foo "qux" bar\\ \end{tabular} If this is intentional, what's the purpose? Regards Philipp Middendorf Emacs : GNU Emacs 24.5.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8) of 2015-10-15 on pmi-ThinkCentre-M92p Package: Org-mode version 8.3.4 (8.3.4-9-gfda14f-elpa @ /home/pmi/.emacs.d/= elpa/org-20160307/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-export-backends '(ascii beamer html icalendar latex) org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-tog= gle-maybe org-babel-header-arg-expand) org-latex-classes '(("haconarticle" "\\documentclass[11pt,a4paper]{haconar= ticle}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subse= ction*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}"= . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("beamer" "\\documentclass[presentation]{beamer}" ("\\section{%s}" .= "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" .= "\\subsubsection*{%s}")) ("article" "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\se= ction*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" .= "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\= \subparagraph*{%s}")) ("report" "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%= s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*= {%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" .= "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*= {%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" .= "\\subsubsection*{%s}")) ) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-co= mmand-hook) org-ellipsis "=E2=A4=B5" org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-icalendar-include-todo t org-agenda-start-on-weekday nil org-html-format-drawer-function '(lambda (name contents) contents) org-log-done 'time org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-= function org-confirm-shell-link-function 'yes-or-no-p org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-latex-format-headline-function 'org-latex-format-headline-default-func= tion org-todo-keyword-faces '(("WAIT" . "yellow")) org-clock-heading-function '(lambda nil (let ((str (nth 4 (org-heading-components))) (lenlimit 20)) (if (> (length str) lenlimit) (substring (replace-regexp-in-string "\\[\\[.*?\\]\\[\\(.*?\\)\\]\\]" "= \\1" str) 0 lenlimit) ) ) ) org-icalendar-use-scheduled '(event-if-not-todo event-if-todo todo-start) org-after-todo-state-change-hook '(org-clock-out-if-current) org-latex-format-drawer-function '(lambda (name contents) contents) org-from-is-user-regexp "\\" org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-confi= gure-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-bullets-mode 1)) org-clock-load (lambda n= il (org-indent-mode 1)) #[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-extend-today-until 3 org-archive-hook '(org-attach-archive-delete-maybe) org-ascii-format-drawer-function '(lambda (name contents width) contents) org-clock-persist 'history 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 o= rg-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-icalendar-include-bbdb-anniversaries t org-agenda-use-time-grid nil org-lowest-priority 90 org-modules '(org-bbdb org-habit org-drill) org-agenda-span 14 org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-html-format-headline-function 'org-html-format-headline-default-functi= on org-completion-use-ido t org-babel-load-languages '((sh . t) (emacs-lisp . t) (plantuml . t)) org-html-format-inlinetask-function 'org-html-format-inlinetask-default-fu= nction org-clock-out-hook '(org-clock-remove-empty-clock-drawer) )