emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Berthold Höllmann" <bhoel@despammed.com>
Cc: emacs-orgmode@gnu.org, berthold@xn--hllmanns-n4a.de
Subject: Re: Bug: Problem with LaTeX export, footnotes in table headers, and longtabu [8.3.4 (8.3.4-31-gcb683e-elpa @ /home/berhol/.emacs.d/elpa/org-20160404/)]
Date: Wed, 20 Apr 2016 23:40:56 +0200	[thread overview]
Message-ID: <87mvoohsbb.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87y489gsew.fsf@pchoel.xn--hllmanns-n4a.de> ("Berthold \=\?utf-8\?Q\?H\=C3\=B6llmann\=22's\?\= message of "Wed, 20 Apr 2016 00:11:51 +0200")

Hello,

bhoel@despammed.com (Berthold Höllmann) writes:

> Even so there seem to be two different routines for writing the column
> header for the first and the subsequent pages (in the first one the \\
> follows directly to the '}', whereas the second time a space is added),
> it seems, the string is generated only once, because the "[1]" is
> missing on the second "\footnotemark", but added to the third one.

This is exactly that. In `ox-latex-table-row', string bound to argument
CONTENTS is used twice.

I guess we could workaround that by first checking if there is any
footnote reference within the row and, in that case, force re-exporting
each cell in the row.

OTOH, Org already piles up workarounds in order to support footnotes
within tables (and other locations) in LaTeX export. We will probably
need to stop at some point, and handle this at the LaTeX level (i.e.,
with an appropriate package).

WDYT?


Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2016-04-20 21:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-12  8:54 Bug: Problem with LaTeX export, footnotes in table headers, and longtabu [8.3.4 (8.3.4-31-gcb683e-elpa @ /home/berhol/.emacs.d/elpa/org-20160404/)] Berthold Höllmann
2016-04-14  8:03 ` Nicolas Goaziou
2016-04-14 14:02   ` Berthold Hoellmann
2016-04-16 10:11     ` Nicolas Goaziou
2016-04-17 15:42       ` Berthold Höllmann
2016-04-19 19:26         ` Nicolas Goaziou
2016-04-19 22:11           ` Berthold Höllmann
2016-04-20 21:40             ` Nicolas Goaziou [this message]

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=87mvoohsbb.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=berthold@xn--hllmanns-n4a.de \
    --cc=bhoel@despammed.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).