From: Nick Dokos <nicholas.dokos@hp.com>
To: "Thomas S. Dye" <tsd@tsdye.com>
Cc: nicholas.dokos@hp.com, Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Links in tables and LaTeX export
Date: Mon, 04 Jul 2011 23:10:43 -0400 [thread overview]
Message-ID: <23620.1309835443@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from tsd@tsdye.com (Thomas S. Dye) of "Mon, 04 Jul 2011 15:58:04 -1000." <m17h7xqyj7.fsf@tsdye.com>
Thomas S. Dye <tsd@tsdye.com> wrote:
> Aloha all,
>
> Links in tables have changed recently.
>
> I have this link definition:
>
> #+source: define-citep-link
> #+begin_src emacs-lisp :results silent
> (org-add-link-type
> "citep" 'ebib
> (lambda (path desc format)
> (cond
> ((eq format 'html)
> (format "(<cite>%s</cite>)" path))
> ((eq format 'latex)
> (if (or (not desc) (equal 0 (search "citep:" desc)))
> (format "\\citep{%s}" path)
> (format "\\citep[%s]{%s}" desc path)
> )))))
> #+end_src
>
> Links outside of a table export correctly:
>
> [[citep:wagner90][598]] exports to \citep[598]{wagner}
>
> Inside a table the same link exports like this:
>
> [[citep:wagner90]\footnote{DEFINITION NOT FOUND: 598}]
>
> I'm using Org-mode version 7.5 (release_7.5.566.g8d45).
>
Reproduced and bisected it to the following commit:
,----
| ab9c52fd7911763a903a3d673dce2876ada9e551 is the first bad commit
| commit ab9c52fd7911763a903a3d673dce2876ada9e551
| Author: Nicolas Goaziou <n.goaziou@gmail.com>
| Date: Wed May 11 18:02:15 2011 +0200
|
| Improve footnotes handling in exporters
|
| * lisp/org-exp.el (org-export-footnotes-markers,
| org-export-footnotes-data): new variables.
| (org-export-preprocess-string): use a more explicit argument.
|
| * lisp/org-html.el (org-export-as-html): initialize new variables.
|
| * lisp/org-docbook.el (org-export-as-docbook): initialize new variables.
|
| * lisp/org-latex.el (org-export-latex-footmark-seen): new variable.
| (org-export-as-latex): initialize new variables.
| (org-export-latex-preprocess): allow to export two or more footnotes
| in a row. Also permit to have footnotes refering to previously
| defined footnotes.
|
| * lisp/org-ascii.el (org-export-as-ascii): feed org-footnote-normalize
| with data so it can normalize footnotes before first headline, or
| footnotes with their definition outside exported region.
|
| :040000 040000 1fb022cb1d6f845963e80eeb3e165b77c0371f14 9233dfeee6e7889cc389181aaa6995b381fc49c6 M lisp
`----
Nick
next prev parent reply other threads:[~2011-07-05 3:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-05 1:58 Links in tables and LaTeX export Thomas S. Dye
2011-07-05 3:10 ` Nick Dokos [this message]
2011-07-05 10:07 ` Bastien
2011-07-05 10:10 ` Nicolas Goaziou
2011-07-05 12:03 ` Nicolas Goaziou
2011-07-05 15:06 ` Nick Dokos
2011-07-05 15:18 ` Thomas S. Dye
2011-07-05 17:03 ` Nick Dokos
2011-07-05 22:58 ` Bernt Hansen
2011-07-05 23:26 ` Nick Dokos
2011-07-05 23:36 ` Bernt Hansen
2011-07-05 23:46 ` Nick Dokos
2011-07-06 0:26 ` Thomas S. Dye
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=23620.1309835443@alphaville.dokosmarshall.org \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
--cc=tsd@tsdye.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.