emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ulf Stegemann <ulf-news@zeitform.de>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: export latex bug [6.34trans]
Date: Fri, 26 Feb 2010 14:02:25 +0100	[thread overview]
Message-ID: <zf.upntyt46tge.fsf@zeitform.de> (raw)
In-Reply-To: 86mxywtekh.fsf@gmail.com

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

Hi Chris,

Chris Gray <chrismgray@gmail.com> wrote:

> When exporting to LaTeX, I get the error void-variable
> org-on-heading-p.
>
> The following patch fixes the problem.

I encounter the same problem, but I think the following is closer to
what was originally intended ...


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: org-latex.el.patch --]
[-- Type: text/x-patch, Size: 648 bytes --]

--- org-latex.el.orig	2010-02-26 13:54:20.792505535 +0100
+++ org-latex.el	2010-02-26 13:55:05.637505030 +0100
@@ -2045,10 +2045,10 @@
 		 (add-text-properties (1- (length footnote-rpl))
 				      (length footnote-rpl)
 				      '(org-protected t) footnote-rpl)
-		 (if org-on-heading-p)
-		 (setq footnote-rpl
-		       (concat (org-export-latex-protect-string "\\protect")
-			       footnote-rpl))
+		 (if (org-on-heading-p)
+                     (setq footnote-rpl
+                           (concat (org-export-latex-protect-string "\\protect")
+                                   footnote-rpl)))
 		 (insert footnote-rpl)))
 	     )))))
 

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


Ulf

[-- Attachment #4: 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-02-26 13:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-26 11:35 Bug: export latex bug [6.34trans] Chris Gray
2010-02-26 13:02 ` Ulf Stegemann [this message]
2010-02-26 20:02   ` 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=zf.upntyt46tge.fsf@zeitform.de \
    --to=ulf-news@zeitform.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).