emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Rasmus <rasmus@gmx.us>
Cc: emacs-orgmode@gnu.org
Subject: Re: [bug, ox-latex] footnotes with math in narrowed buffer
Date: Fri, 24 Apr 2015 21:09:50 +0200	[thread overview]
Message-ID: <87wq11cphd.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87y4lhzf63.fsf@gmx.us> (rasmus@gmx.us's message of "Fri, 24 Apr 2015 18:04:04 +0200")

Hello,

Rasmus <rasmus@gmx.us> writes:

> Consider the following example:
>
> * h1
> foo[fn:1]
>
> * Footnotes
> [fn:1] if \alpha $\beta$ \(\gamma\)
>
> Narrow it to h1 and export the buffer.  Something like this is exported:
>
>    foo\footnote{if \alpha \beta \gamma}
>
> Somehow org-export-get-footnote-definition "knows about" math-blocks for
> footnotes that are within the buffer view, but not outside.  The patch
> fixes the above example, but I doubt it's the Right Wayᵀᴹ to fix this
> (i.e. there could be a more fundamental bug).

It looks good. You can push it. Thank you.


Regards,

-- 
Nicolas Goaziou

  parent reply	other threads:[~2015-04-24 19:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-24 16:04 [bug, ox-latex] footnotes with math in narrowed buffer Rasmus
2015-04-24 16:28 ` Rasmus
2015-04-24 16:33   ` Rasmus
2015-04-24 19:28     ` Nicolas Goaziou
2015-04-24 19:36   ` Nicolas Goaziou
2015-04-24 20:41     ` Rasmus
2015-04-25 10:22       ` Nicolas Goaziou
2015-04-25 10:42         ` Rasmus
2015-04-24 19:09 ` Nicolas Goaziou [this message]
2015-04-24 20:37   ` Rasmus

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=87wq11cphd.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=rasmus@gmx.us \
    /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).