emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [PATCH] XEmacs format string needs "%%" to produce "%" on


From: Carsten Dominik
Subject: Re: [Orgmode] [PATCH] XEmacs format string needs "%%" to produce "%" on output.
Date: Sun, 21 Dec 2008 12:49:20 +0100

Applied, thanks.

- Carsten

On Dec 21, 2008, at 1:49 AM, Hugh Daschbach wrote:

In XEmacs, The comment line at the top of LaTex output generated
by org-export-as-pdf doesn't contain the leading '%'.  This causes
latex to bark about "! LaTeX Error: Missing \begin{document}."

---
lisp/org-export-latex.el |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org-export-latex.el b/lisp/org-export-latex.el
index 9af4d0a..fa6a0e4 100644
--- a/lisp/org-export-latex.el
+++ b/lisp/org-export-latex.el
@@ -689,7 +689,7 @@ OPT-PLIST is the options plist for current buffer."
(author (plist-get opt-plist :author)))
    (concat
     (if (plist-get opt-plist :time-stamp-file)
- (format-time-string "% Created %Y-%m-%d %a %H:%M\n"))
+ (format-time-string "%% Created %Y-%m-%d %a %H:%M\n"))
     ;; insert LaTeX custom header
     org-export-latex-header
     "\n"
--
1.5.6.3


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


reply via email to

[Prev in Thread] Current Thread [Next in Thread]