From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scot Becker Subject: Re: Latex export - footnotes and emphasis Date: Mon, 30 Mar 2009 10:27:18 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0273174827==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LoDm9-0005JF-IC for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 05:27:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LoDm5-0005Hv-Jt for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 05:27:25 -0400 Received: from [199.232.76.173] (port=34810 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoDm5-0005Hq-Cu for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 05:27:21 -0400 Received: from mail-bw0-f167.google.com ([209.85.218.167]:40413) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LoDm4-00011U-Kp for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 05:27:21 -0400 Received: by bwz11 with SMTP id 11so1746821bwz.42 for ; Mon, 30 Mar 2009 02:27:18 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matthew Lundin Cc: Org Mode List --===============0273174827== Content-Type: multipart/alternative; boundary=001636c5a57b531e7e046652b090 --001636c5a57b531e7e046652b090 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I can confirm this. Another related issue is that italics and bold do not mix in latex export. You can't do something like this: /An italicized sentence with a *bold* bit./ or *vice /versa/*. Also, and this may be unavoidable without adding significant complexity to the export engine. But you can't, e.g. /carry your emphasis on until after the punctuation is over./ (It's been a while since I tested this. I'll check it out again today). For LaTeX export in particular, it would be nice to have finer control over just where the emphasis goes. For periods it's not generally an issue :-), but some of the taller punctuation get into fistfights with their text if they aren't allowed to be italicized too. Scot On Sat, Mar 28, 2009 at 7:29 PM, Matthew Lundin wrote: > Hi Carsten, > > When I export a footnote that begins with emphasis/italics markup, the > markup is not converted to \emph in the LaTeX output. > > E.g., the following source... > > --8<---------------cut here---------------start------------->8--- > #+title: Test > > This is a footnote.[fn:footnote] > > [fn:footnote] /Test./ > --8<---------------cut here---------------end--------------->8--- > > Is exported as (some of preamble omitted): > > ,---- > | \title{Test} > | \author{Matthew Lundin} > | \date{March 28, 2009} > | > | \begin{document} > | > | \maketitle > | > | \setcounter{tocdepth}{3} > | \tableofcontents > | \vspace*{1cm} > | > | > | This is a footnote.\footnote{/Test./ } > | > | > | > | \end{document} > `---- > > Any advice would be greatly appreciated. > > Thanks, > Matt > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --001636c5a57b531e7e046652b090 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I can confirm this.=A0

Another related issue is that italics and bo= ld do not mix in latex export.=A0 You can't do something like this:
=
/An italicized sentence with a *bold* bit./=A0 or *vice /versa/*.=A0
Also, and this may be unavoidable without adding significant complexity to = the export engine.=A0 But you can't, e.g.
/carry your emphasis on until after the punctuation is over./=A0=A0 (It's been= a while since I tested this.=A0 I'll check it out again today).=A0
For LaTeX export in particular, it would be nice to have finer control over just where the emphasis goes.=A0 For periods it's not generally an issue :-), but some of the taller punctuation get into fistfights with their text if they aren't allowed to be italicized too.

Scot


On Sat, Mar 28, 2009 at 7= :29 PM, Matthew Lundin <mdl@imapmail.org> wrote:
Hi Carsten,

When I export a footnote that begins with emphasis/italics markup, the
markup is not converted to \emph in the LaTeX output.

E.g., the following source...

--8<---------------cut here---------------start------------->8---
#+title: Test

This is a footnote.[fn:footnote]

[fn:footnote] /Test./
--8<---------------cut here---------------end--------------->8---

Is exported as (some of preamble omitted):

,----
| \title{Test}
| \author{Matthew Lundin}
| \date{March 28, 2009}
|
| \begin{document}
|
| \maketitle
|
| \setcounter{tocdepth}{3}
| \tableofcontents
| \vspace*{1cm}
|
|
| This is a footnote.\footnote{/Test./ }
|
|
|
| \end{document}
`----

Any advice would be greatly appreciated.

Thanks,
Matt


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

--001636c5a57b531e7e046652b090-- --===============0273174827== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0273174827==--