From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Footnotes issue with LaTeX export Date: Mon, 26 Dec 2011 18:15:24 -0600 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0015175ce1ac9351bd04b507c71a Return-path: Received: from eggs.gnu.org ([140.186.70.92]:40494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfKhU-0006x6-N7 for emacs-orgmode@gnu.org; Mon, 26 Dec 2011 19:15:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RfKhT-00006Z-2e for emacs-orgmode@gnu.org; Mon, 26 Dec 2011 19:15:28 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:39144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfKhS-00006S-UU for emacs-orgmode@gnu.org; Mon, 26 Dec 2011 19:15:27 -0500 Received: by eabm6 with SMTP id m6so10504885eab.0 for ; Mon, 26 Dec 2011 16:15:25 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode --0015175ce1ac9351bd04b507c71a Content-Type: text/plain; charset=UTF-8 I'm experiencing an issue similar to this one: --- http://osdir.com/ml/emacs-orgmode-gnu/2011-10/msg00544.html I have a paragraph in which I reference a dollar amount (preceded by "$"). Attempting to insert a footnote anywhere in that paragraph gets me the error "Cannot insert a footnote here." Inserting one manually leaves the text black vs. fontified in the typical link color. Export produces it as the verbatim text ([fn:xx]) instead of converting it. Trying to escape the $ sign with \ doesn't fix the issue. Inserting another $ re-activates the footnote, but that will obviously convert my dollar amount to math font, which isn't what I want. Any suggestions? Thanks, John --0015175ce1ac9351bd04b507c71a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I'm experiencing an issue similar to this one:

= I have a paragraph in which I reference a dollar amount (preceded by "= $"). Attempting to insert a footnote anywhere in that paragraph gets m= e the error "Cannot insert a footnote here." Inserting one manual= ly leaves the text black vs. fontified in the typical link color. Export pr= oduces it as the verbatim text ([fn:xx]) instead of converting it. Trying t= o escape the $ sign with \ doesn't fix the issue. Inserting another $ r= e-activates the footnote, but that will obviously convert my dollar amount = to math font, which isn't what I want.

Any suggestions?


Thanks,
John
--0015175ce1ac9351bd04b507c71a-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Footnotes issue with LaTeX export Date: Tue, 27 Dec 2011 11:43:01 +0100 Message-ID: <87r4zq8fd6.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfUWY-0002pd-NG for emacs-orgmode@gnu.org; Tue, 27 Dec 2011 05:44:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RfUWX-0003eH-8Y for emacs-orgmode@gnu.org; Tue, 27 Dec 2011 05:44:50 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:62682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfUWX-0003e2-2F for emacs-orgmode@gnu.org; Tue, 27 Dec 2011 05:44:49 -0500 Received: by wibhq12 with SMTP id hq12so6460280wib.0 for ; Tue, 27 Dec 2011 02:44:47 -0800 (PST) In-Reply-To: (John Hendy's message of "Mon, 26 Dec 2011 18:15:24 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Hendy Cc: emacs-orgmode Hello, John Hendy writes: > I'm experiencing an issue similar to this one: > --- http://osdir.com/ml/emacs-orgmode-gnu/2011-10/msg00544.html > > I have a paragraph in which I reference a dollar amount (preceded by "$"). > Attempting to insert a footnote anywhere in that paragraph gets me the > error "Cannot insert a footnote here." [...] > Any suggestions? Yes: Can you provide an ECM (Complete Minimal Example), and tell the version of Org you're using? Also, does M-: (org-inside-LaTeX-fragment-p) return coherent values (that is nil when point isn't inside a LaTeX fragment) when evaluated throughout the paragraph? Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Footnotes issue with LaTeX export Date: Sun, 8 Jan 2012 13:30:54 -0600 Message-ID: References: <87r4zq8fd6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=00151747c0ee10264604b60952b5 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjySJ-0000Ji-8F for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 14:31:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjySG-0001Wa-KG for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 14:30:59 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:40533) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjySG-0001WC-8a for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 14:30:56 -0500 Received: by bkaq10 with SMTP id q10so1380263bka.0 for ; Sun, 08 Jan 2012 11:30:54 -0800 (PST) In-Reply-To: <87r4zq8fd6.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: emacs-orgmode --00151747c0ee10264604b60952b5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Dec 27, 2011 at 4:43 AM, Nicolas Goaziou wrote= : > Hello, > > John Hendy writes: > > > I'm experiencing an issue similar to this one: > > --- http://osdir.com/ml/emacs-orgmode-gnu/2011-10/msg00544.html > > > > I have a paragraph in which I reference a dollar amount (preceded by > "$"). > > Attempting to insert a footnote anywhere in that paragraph gets me the > > error "Cannot insert a footnote here." > > [...] > > > Any suggestions? > > Yes: Can you provide an ECM (Complete Minimal Example), and tell the > version of Org you're using? > > Sure. Here you are: -- M-x org-version: Org-mode version 7.8.03 (release_7.8.03.61.g59df6) -- Emacs: 23.3.1 -- Minimal example: #+begin_src orgmode * Header Test paragraph where I insert a dollar amount of $100. Test paragraph where I insert a dollar amount of \$100. Test paragraph where I insert a dollar amount of 100.[fn:1] * Footnotes [fn:1] Successful; the first two give the error 'Cannot insert a footnote here' #+end_src > Also, does M-: (org-inside-LaTeX-fragment-p) return coherent values > (that is nil when point isn't inside a LaTeX fragment) when evaluated > throughout the paragraph? > > I don't necessarily understand the debugger (what constitutes a full set of output), but it looks like I might be getting two outputs depending on where I execute that function: -- One: eval((org-inside-LaTeX-fragment p)) eval-expression((org-inside-LaTeX-fragment p) nil) call-interactively(eval-expression nil nil) recursive-edit() byte-code("\306=10 @\307=3D\203! -- The other: eval((org-inside-LaTeX-fragment p)) eval-expression((org-inside-LaTeX-fragment p) nil) call-interactively(eval-expression nil nil) Thoughts? Thanks, John > Regards, > > -- > Nicolas Goaziou > --00151747c0ee10264604b60952b5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Tue, Dec 27, 2011 at 4:43 AM, Nicolas Goaziou= <n.goaziou@gma= il.com> wrote:
Hello,

John Hendy <jw.hendy@gmail.com= > writes:

> I'm experiencing an issue similar to this one:
> --- http://osdir.com/ml/emacs-orgmode-gnu/2011-10/msg00= 544.html
>
> I have a paragraph in which I reference a dollar amount (preceded by &= quot;$").
> Attempting to insert a footnote anywhere in that paragraph gets me the=
> error "Cannot insert a footnote here."

[...]

> Any suggestions?

Yes: Can you provide an ECM (Complete Minimal Example), and tell the
version of Org you're using?


Sure. Here you are:

-- M-x org-version:=C2=A0Org-mode version 7.8.03 (release_7.8.03.61.= g59df6)
-- Emacs: 23.3.1

-- Minimal exam= ple:

#+begin_src orgmode
* Header

Test paragraph where I insert a dollar amount of $100.
<= br>
Test paragraph where I insert a dollar amount of \$100.

Test paragraph where I insert a dollar amount of 100.[f= n:1]

* Footnotes

[fn:1] S= uccessful; the first two give the error 'Cannot insert a footnote here&= #39;
#+end_src

=C2=A0
Also, does M-: (org-inside-LaTeX-fragment-p) return coherent values
(that is nil when point isn't inside a LaTeX fragment) when evaluated throughout the paragraph?


I don't necessarily understand the= debugger (what constitutes a full set of output), but it looks like I migh= t be getting two outputs depending on where I execute that function:

-- One:
=C2=A0 eval((org-inside-LaTeX-fr= agment p))
=C2=A0 eval-expression((org-inside-LaTeX-fragment p) n= il)
=C2=A0 call-interactively(eval-expression nil nil)
= =C2=A0 recursive-edit()
=C2=A0 byte-code("\306=10 @\307=3D\203!

-- Th= e other:
=C2=A0 eval((org-inside-LaTeX-fragment p))
=C2=A0 eval-expression((org-inside-LaTeX-fragment p) nil)
=C2=A0 call-interactively(eval-expression nil nil)
=C2= =A0
Thoughts?


Thanks,
John


Regards,

--
Nicolas Goaziou

--00151747c0ee10264604b60952b5-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Footnotes issue with LaTeX export Date: Mon, 09 Jan 2012 08:05:39 +0100 Message-ID: <871ur9tkxo.fsf@gmail.com> References: <87r4zq8fd6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk9KQ-0001rn-CW for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 02:07:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rk9KP-0001Lo-AV for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 02:07:34 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:45913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk9KP-0001Lk-2L for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 02:07:33 -0500 Received: by wibhq12 with SMTP id hq12so3364551wib.0 for ; Sun, 08 Jan 2012 23:07:32 -0800 (PST) In-Reply-To: (John Hendy's message of "Sun, 8 Jan 2012 13:30:54 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Hendy Cc: emacs-orgmode Hello, John Hendy writes: > #+begin_src orgmode > * Header > > Test paragraph where I insert a dollar amount of $100. > > Test paragraph where I insert a dollar amount of \$100. > > Test paragraph where I insert a dollar amount of 100.[fn:1] > > * Footnotes > > [fn:1] Successful; the first two give the error 'Cannot insert a footnote > here' > #+end_src Yes, that's what I thought: `org-inside-LaTeX-fragment-p' is the key. ,---- |(org-inside-LaTeX-fragment-p) | | Test if point is inside a LaTeX fragment. | I.e. after a \begin, \(, M-x , $, or $$, without the corresponding closing | sequence appearing also before point. | Even though the matchers for math are configurable, this function assumes | that \begin, \(, \[, and $$ are always used. Only the single dollar | delimiters are skipped when they have been removed by customization. | The return value is nil, or a cons cell with the delimiter and the | position of this delimiter. | | This function does a reasonably good job, but can locally be fooled by | for example currency specifications. For example it will assume being in | inline math after "$22.34". The LaTeX fragment formatter will only format | fragments that are properly closed, but during editing, we have to live | with the uncertainty caused by missing closing delimiters. This function | looks only before point, not after. `---- On purpose, Org won't insert a footnote inside a LaTeX fragment. But, in your example, it is fooled by the currency. One workaround would be to remove "$" as a math delimiter from `org-format-latex-options'. Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Footnotes issue with LaTeX export Date: Mon, 9 Jan 2012 07:56:06 -0600 Message-ID: References: <87r4zq8fd6.fsf@gmail.com> <871ur9tkxo.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001517592c269789ac04b618c275 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkFhu-0002Rl-Ke for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 08:56:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkFho-0004qr-Nn for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 08:56:14 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:35911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkFho-0004ql-Ae for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 08:56:08 -0500 Received: by eabm6 with SMTP id m6so2459165eab.0 for ; Mon, 09 Jan 2012 05:56:07 -0800 (PST) In-Reply-To: <871ur9tkxo.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: emacs-orgmode --001517592c269789ac04b618c275 Content-Type: text/plain; charset=UTF-8 On Mon, Jan 9, 2012 at 1:05 AM, Nicolas Goaziou wrote: > Hello, > > John Hendy writes: > > > #+begin_src orgmode > > * Header > > > > Test paragraph where I insert a dollar amount of $100. > > > > Test paragraph where I insert a dollar amount of \$100. > > > > Test paragraph where I insert a dollar amount of 100.[fn:1] > > > > * Footnotes > > > > [fn:1] Successful; the first two give the error 'Cannot insert a footnote > > here' > > #+end_src > > Yes, that's what I thought: `org-inside-LaTeX-fragment-p' is the key. > > ,---- > |(org-inside-LaTeX-fragment-p) > | > | Test if point is inside a LaTeX fragment. > | I.e. after a \begin, \(, M-x , $, or $$, without the corresponding > closing > | sequence appearing also before point. > | Even though the matchers for math are configurable, this function assumes > | that \begin, \(, \[, and $$ are always used. Only the single dollar > | delimiters are skipped when they have been removed by customization. > | The return value is nil, or a cons cell with the delimiter and the > | position of this delimiter. > | > | This function does a reasonably good job, but can locally be fooled by > | for example currency specifications. For example it will assume being in > | inline math after "$22.34". The LaTeX fragment formatter will only > format > | fragments that are properly closed, but during editing, we have to live > | with the uncertainty caused by missing closing delimiters. This function > | looks only before point, not after. > `---- > > On purpose, Org won't insert a footnote inside a LaTeX fragment. But, > in your example, it is fooled by the currency. > > One workaround would be to remove "$" as a math delimiter from > `org-format-latex-options'. > How about another idea... would it be possible to remove "\$" as a math delimiter? I *do* use $math$ a bit, at least in this document, and have =TeX:t and LaTeX:t= in my options... thus, I'm very careful about prefixing "\" to any instances of $ and %. Removing \$ as a math delimiter or making "\" register as the "universal escape character" would also do the trick. If I removed $ as you suggest, could I use \begin{math}/\end{math} inline? I have quite a bit of inline math. Thanks! John > > > Regards, > > -- > Nicolas Goaziou > --001517592c269789ac04b618c275 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Mon, Jan 9, 2012 at 1:05 AM, Nicolas = Goaziou <n.goaz= iou@gmail.com> wrote:
Hello,

John Hendy <jw.hendy@gmail.com= > writes:

> #+begin_src orgmode
> * Header
>
> Test paragraph where I insert a dollar amount of $100.
>
> Test paragraph where I insert a dollar amount of \$100.
>
> Test paragraph where I insert a dollar amount of 100.[fn:1]
>
> * Footnotes
>
> [fn:1] Successful; the first two give the error 'Cannot insert a f= ootnote
> here'
> #+end_src

Yes, that's what I thought: `org-inside-LaTeX-fragment-p' is = the key.

,----
|(org-inside-LaTeX-fragment-p)
|
| Test if point is inside a LaTeX fragment.
| I.e. after a \begin, \(, M-x , $, or $$, without the corresponding closin= g
| sequence appearing also before point.
| Even though the matchers for math are configurable, this function assumes=
| that \begin, \(, \[, and $$ are always used. =C2=A0Only the single dollar=
| delimiters are skipped when they have been removed by customization.
| The return value is nil, or a cons cell with the delimiter and the
| position of this delimiter.
|
| This function does a reasonably good job, but can locally be fooled by | for example currency specifications. =C2=A0For example it will assume bei= ng in
| inline math after "$22.34". =C2=A0The LaTeX fragment formatter = will only format
| fragments that are properly closed, but during editing, we have to live | with the uncertainty caused by missing closing delimiters. =C2=A0This fun= ction
| looks only before point, not after.
`----

On purpose, Org won't insert a footnote inside a LaTeX fragment. =C2=A0= But,
in your example, it is fooled by the currency.

One workaround would be to remove "$" as a math delimiter from `org-format-latex-options'.

How abo= ut another idea... would it be possible to remove "\$" as a math = delimiter? I *do* use $math$ a bit, at least in this document, and have =3D= TeX:t and LaTeX:t=3D in my options... thus, I'm very careful about pref= ixing "\" to any instances of $ and %. Removing \$ as a math deli= miter or making "\" register as the "universal escape charac= ter" would also do the trick.

If I removed $ as you suggest, could I use \begin= {math}/\end{math} inline? I have quite a bit of inline math.

=

Thanks!
John
=C2=A0


Regards,

--
Nicolas Goaziou

--001517592c269789ac04b618c275-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Footnotes issue with LaTeX export Date: Mon, 09 Jan 2012 18:31:43 +0100 Message-ID: <87pqessry8.fsf@gmail.com> References: <87r4zq8fd6.fsf@gmail.com> <871ur9tkxo.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkJ6K-00034P-FT for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 12:33:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkJ6J-0001hn-DY for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 12:33:40 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:60282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkJ6J-0001cR-5L for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 12:33:39 -0500 Received: by wgbdt13 with SMTP id dt13so1524302wgb.30 for ; Mon, 09 Jan 2012 09:33:37 -0800 (PST) In-Reply-To: (John Hendy's message of "Mon, 9 Jan 2012 07:56:06 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Hendy Cc: emacs-orgmode Hello, John Hendy writes: >> One workaround would be to remove "$" as a math delimiter from >> `org-format-latex-options'. > How about another idea... would it be possible to remove "\$" as a math > delimiter? I *do* use $math$ a bit, at least in this document, and have > =TeX:t and LaTeX:t= in my options... thus, I'm very careful about prefixing > "\" to any instances of $ and %. Removing \$ as a math delimiter or making > "\" register as the "universal escape character" would also do the trick. > > If I removed $ as you suggest, could I use \begin{math}/\end{math} inline? > I have quite a bit of inline math. You can already use \(inline math\). I don't think there is a need for extra syntax. Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Footnotes issue with LaTeX export Date: Mon, 9 Jan 2012 11:56:40 -0600 Message-ID: References: <87r4zq8fd6.fsf@gmail.com> <871ur9tkxo.fsf@gmail.com> <87pqessry8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=00151747c0eee5c65604b61c1ee4 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:46398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkJSg-0003zw-6y for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 12:56:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkJSb-00057o-Oj for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 12:56:46 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:35651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkJSb-00057k-Gp for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 12:56:41 -0500 Received: by bkaq10 with SMTP id q10so2048446bka.0 for ; Mon, 09 Jan 2012 09:56:40 -0800 (PST) In-Reply-To: <87pqessry8.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: emacs-orgmode --00151747c0eee5c65604b61c1ee4 Content-Type: text/plain; charset=UTF-8 On Mon, Jan 9, 2012 at 11:31 AM, Nicolas Goaziou wrote: > Hello, > > John Hendy writes: > > >> One workaround would be to remove "$" as a math delimiter from > >> `org-format-latex-options'. > > > How about another idea... would it be possible to remove "\$" as a math > > delimiter? I *do* use $math$ a bit, at least in this document, and have > > =TeX:t and LaTeX:t= in my options... thus, I'm very careful about > prefixing > > "\" to any instances of $ and %. Removing \$ as a math delimiter or > making > > "\" register as the "universal escape character" would also do the trick. > > > > If I removed $ as you suggest, could I use \begin{math}/\end{math} > inline? > > I have quite a bit of inline math. > > You can already use \(inline math\). I don't think there is > a need for extra syntax. > > Ah. Neat. I was unaware of this. That should do it. I'd still kind of prefer not to have to tweak around with stuff. Given that special combinations of "\" + "char" are LaTeX specific, it would seem that a natural combination would be to activate such combinations when LaTeX:t is used in #+options. Your solution will work for me for now. Thanks for the assistance! John > > Regards, > > -- > Nicolas Goaziou > --00151747c0eee5c65604b61c1ee4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Mon, Jan 9, 2012 at 11:31 AM, Nicolas Goaziou= <n.goaziou@gma= il.com> wrote:
Hello,

John Hendy <jw.hendy@gmail.com= > writes:

>> One workaround would be to remove "$&= quot; as a math delimiter from
>> `org-format-latex-options'.

> How about another idea... would it be possible to remove "\$"= ; as a math
> delimiter? I *do* use $math$ a bit, at least in this document, and hav= e
> =3DTeX:t and LaTeX:t=3D in my options... thus, I'm very careful ab= out prefixing
> "\" to any instances of $ and %. Removing \$ as a math delim= iter or making
> "\" register as the "universal escape character" w= ould also do the trick.
>
> If I removed $ as you suggest, could I use \begin{math}/\end{math} inl= ine?
> I have quite a bit of inline math.

You can already use \(inline math\). I don't think there is
a need for extra syntax.


Ah. Neat. I was unaware of this. That = should do it. I'd still kind of prefer not to have to tweak around with= stuff. Given that special combinations of "\" + "char"= are LaTeX specific, it would seem that a natural combination would be to a= ctivate such combinations when LaTeX:t is used in #+options.

Your solution will work for me for now.

<= /div>
Thanks for the assistance!
John
=C2=A0
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">
Regards,

--
Nicolas Goaziou

--00151747c0eee5c65604b61c1ee4-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Footnotes issue with LaTeX export Date: Mon, 09 Jan 2012 17:49:33 +0000 Message-ID: <871ur8pxzm.fsf@ucl.ac.uk> References: <87r4zq8fd6.fsf@gmail.com> <871ur9tkxo.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkL0P-0005i5-1X for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 14:35:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkL0L-0003a4-3w for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 14:35:40 -0500 Received: from vscane-c.ucl.ac.uk ([144.82.108.43]:46186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkL0K-0003Zb-Vy for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 14:35:37 -0500 In-Reply-To: (John Hendy's message of "Mon, 9 Jan 2012 07:56:06 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Hendy Cc: emacs-orgmode John Hendy writes: [...] > If I removed $ as you suggest, could I use \begin{math}/\end{math} inline? > I have quite a bit of inline math. You can use \( ... \) for inline math. Works well for me. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.90.1 : using Org-mode version 7.8.03 (release_7.8.03.66.g1283)