emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Docstring of org-export-as-latex [6.35i]
@ 2010-05-09 12:11 Jan Moringen
  2010-05-10  6:35 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Moringen @ 2010-05-09 12:11 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug: Docstring of org-export-as-latex [6.35i]
  2010-05-09 12:11 Bug: Docstring of org-export-as-latex [6.35i] Jan Moringen
@ 2010-05-10  6:35 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2010-05-10  6:35 UTC (permalink / raw)
  To: Jan Moringen; +Cc: emacs-orgmode

Applied, thanks.

- Carsten

On May 9, 2010, at 2:11 PM, Jan Moringen wrote:

> 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
> <org-export-as-latex- 
> docstring.diff>_______________________________________________
> 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

- Carsten

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-10  7:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-09 12:11 Bug: Docstring of org-export-as-latex [6.35i] Jan Moringen
2010-05-10  6:35 ` Carsten Dominik

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