emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* new latex exporter - emphasise and footnote: feature or bug?
@ 2012-10-25 10:26 François Allisson
  2012-10-25 12:05 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: François Allisson @ 2012-10-25 10:26 UTC (permalink / raw)
  To: Org mode

Hello Org mode users, hello Nicolas,

Should it be possible to put a footnote immediately after an
/emphasised/ word, as in the following example?

******** test.org ******************
Hello /girls/[fn:1], how do you do?

* Footnotes

[fn:1] There were no boys in the room... 
************************************

For now, the new latex exporter renders it as follows:

***** Relevant passage of test.tex ***********
Hello /girls/\footnote{There were no boys in the room\ldots{}}, how do you do?
*********************************************

And this is problematic: the emphasise around the word girls is exported
literally, without \emph{}. Is this a bug, or should an emphasised word
never be followed by a footnote?

Thanks.

François

Org-mode version 7.9.2 (release_7.9.2-486-g6726ae @ /Applications/Emacs.app/Contents/Resources/site-lisp/org/)
GNU Emacs 24.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2012-08-27 on emacsformacosx.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: new latex exporter - emphasise and footnote: feature or bug?
  2012-10-25 10:26 new latex exporter - emphasise and footnote: feature or bug? François Allisson
@ 2012-10-25 12:05 ` Nicolas Goaziou
  2012-10-25 13:06   ` François Allisson
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2012-10-25 12:05 UTC (permalink / raw)
  To: François Allisson; +Cc: Org mode

Hello,

François Allisson <francois@allisson.co> writes:

> Hello Org mode users, hello Nicolas,
>
> Should it be possible to put a footnote immediately after an
> /emphasised/ word, as in the following example?
>
> ******** test.org ******************
> Hello /girls/[fn:1], how do you do?
>
> * Footnotes
>
> [fn:1] There were no boys in the room... 
> ************************************
>
> For now, the new latex exporter renders it as follows:

It isn't related to the exporter. There is a limited set of charaters
allowed just after an emphasis marker, and "]" doesn't belong, by
default, to them.

You may want to tweak the "post" part of
`org-emphasis-regexp-components'.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: new latex exporter - emphasise and footnote: feature or bug?
  2012-10-25 12:05 ` Nicolas Goaziou
@ 2012-10-25 13:06   ` François Allisson
  2012-10-25 13:55     ` Sebastien Vauban
  0 siblings, 1 reply; 4+ messages in thread
From: François Allisson @ 2012-10-25 13:06 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Org mode


Nicolas Goaziou writes:
> It isn't related to the exporter. There is a limited set of charaters
> allowed just after an emphasis marker, and "]" doesn't belong, by
> default, to them.
>
> You may want to tweak the "post" part of
> `org-emphasis-regexp-components'.
>
>
> Regards,

Cristal clear! Thanks a lot.
Best,
François.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: new latex exporter - emphasise and footnote: feature or bug?
  2012-10-25 13:06   ` François Allisson
@ 2012-10-25 13:55     ` Sebastien Vauban
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastien Vauban @ 2012-10-25 13:55 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello François,

François Allisson wrote:
> Nicolas Goaziou writes:
>> It isn't related to the exporter. There is a limited set of charaters
>> allowed just after an emphasis marker, and "]" doesn't belong, by
>> default, to them.
>>
>> You may want to tweak the "post" part of
>> `org-emphasis-regexp-components'.
>
> Cristal clear! Thanks a lot.

Could you, maybe, post your updated regexp (for future reference)?

Or, maybe, that would be useful to be put in Org by default?

Best regards,
  Seb

-- 
Sebastien Vauban

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-25 13:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-25 10:26 new latex exporter - emphasise and footnote: feature or bug? François Allisson
2012-10-25 12:05 ` Nicolas Goaziou
2012-10-25 13:06   ` François Allisson
2012-10-25 13:55     ` Sebastien Vauban

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).