From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Moringen Subject: Bug: Docstring of org-export-as-latex [6.35i] Date: Sun, 09 May 2010 14:11:06 +0200 Message-ID: <22602_1273407067_ZZg0Y3o~ABkKu.00_1273407066.8585.126.camel@azurit.TechFak.Uni-Bielefeld.DE> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary_(ID_Ell3Pc7ECWp/g4t9S0Srew)" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OB5Lq-0001rf-5Y for emacs-orgmode@gnu.org; Sun, 09 May 2010 08:11:18 -0400 Received: from [140.186.70.92] (port=46268 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OB5Lp-0001rW-0o for emacs-orgmode@gnu.org; Sun, 09 May 2010 08:11:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OB5Ln-0005Xt-KY for emacs-orgmode@gnu.org; Sun, 09 May 2010 08:11:16 -0400 Received: from mux2-unibi-smtp.hrz.uni-bielefeld.de ([129.70.204.73]:41953) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OB5Ln-0005Xf-EO for emacs-orgmode@gnu.org; Sun, 09 May 2010 08:11:15 -0400 Received: from pmxchannel-daemon.mux2-unibi-smtp.hrz.uni-bielefeld.de by mux2-unibi-smtp.hrz.uni-bielefeld.de (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) id <0L2500M00J6J2A00@mux2-unibi-smtp.hrz.uni-bielefeld.de> for emacs-orgmode@gnu.org; Sun, 09 May 2010 14:11:07 +0200 (CEST) Received: from [129.70.143.11] ([129.70.143.11]) by mux2-unibi-smtp.hrz.uni-bielefeld.de (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPPSA id <0L2500BGIJ6JG0B0@mux2-unibi-smtp.hrz.uni-bielefeld.de> for emacs-orgmode@gnu.org; Sun, 09 May 2010 14:11:07 +0200 (CEST) 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 --Boundary_(ID_Ell3Pc7ECWp/g4t9S0Srew) Content-type: text/plain; CHARSET=ISO-8859-1 Content-transfer-encoding: 7BIT Hi, the docstring of org-export-as-latex contains incorrectly escaped \ characters resulting in two passages being rendered like ^Hegin{document}...^Hnd{document}. The attached patch should fix the problem (The patch is against the org-mode version included in GNU Emacs). Emacs : GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2010-05-07 on azurit Package: Org-mode version 6.35i --Boundary_(ID_Ell3Pc7ECWp/g4t9S0Srew) Content-type: text/x-patch; name=org-export-as-latex-docstring.diff; charset=UTF-8 Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=org-export-as-latex-docstring.diff --- org-latex.el 2010-05-09 14:06:43.000000000 +0200 +++ org-latex.el 2010-05-07 16:41:05.000000000 +0200 @@ -580,8 +580,8 @@ buffer. If TO-BUFFER is the symbol `string', don't leave any buffer behind but just return the resulting LaTeX as a string. When BODY-ONLY is set, don't produce the file header and footer, -simply return the content of \\begin{document}...\\end{document}, -without even the \\begin{document} and \\end{document} commands. +simply return the content of \begin{document}...\end{document}, +without even the \begin{document} and \end{document} commands. when PUB-DIR is set, use this as the publishing directory." (interactive "P") (run-hooks 'org-export-first-hook) --Boundary_(ID_Ell3Pc7ECWp/g4t9S0Srew) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --Boundary_(ID_Ell3Pc7ECWp/g4t9S0Srew)--