From: "Hugh Daschbach" <hdasch@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [PATCH] XEmacs format string needs "%%" to produce "%" on output.
Date: Sat, 20 Dec 2008 16:49:39 -0800 [thread overview]
Message-ID: <a6af35440812201649n66333f7fvf83cf06ca66b2802@mail.gmail.com> (raw)
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
next reply other threads:[~2008-12-21 0:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-21 0:49 Hugh Daschbach [this message]
2008-12-21 11:49 ` [PATCH] XEmacs format string needs "%%" to produce "%" on output 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=a6af35440812201649n66333f7fvf83cf06ca66b2802@mail.gmail.com \
--to=hdasch@gmail.com \
--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).