emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jan Moringen <jmoringen@uni-bielefeld.de>
To: emacs-orgmode@gnu.org
Subject: Bug: Docstring of org-export-as-latex [6.35i]
Date: Sun, 09 May 2010 14:11:06 +0200	[thread overview]
Message-ID: <22602_1273407067_ZZg0Y3o~ABkKu.00_1273407066.8585.126.camel@azurit.TechFak.Uni-Bielefeld.DE> (raw)

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

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

[-- Attachment #2: org-export-as-latex-docstring.diff --]
[-- Type: text/x-patch, Size: 701 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

             reply	other threads:[~2010-05-09 12:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-09 12:11 Jan Moringen [this message]
2010-05-10  6:35 ` Bug: Docstring of org-export-as-latex [6.35i] Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='22602_1273407067_ZZg0Y3o~ABkKu.00_1273407066.8585.126.camel@azurit.TechFak.Uni-Bielefeld.DE' \
    --to=jmoringen@uni-bielefeld.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).