From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: LaTeX Export Date: Wed, 11 Feb 2009 11:34:15 +0100 Message-ID: References: <824p0d6i0w.fsf@gmail.com> <82tz8d4ttg.fsf@gmail.com> <66BDDF6C-A9D9-4011-9CC8-59B7AA59BFFB@uva.nl> <828wplbsdx.fsf@gmail.com> <74C94044-F04A-41D5-A3B2-1E741DE7B369@uva.nl> <823aemc95v.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: multipart/mixed; boundary="===============0524669940==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXCQB-00023e-T6 for emacs-orgmode@gnu.org; Wed, 11 Feb 2009 05:34:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXCQA-000230-K4 for emacs-orgmode@gnu.org; Wed, 11 Feb 2009 05:34:23 -0500 Received: from [199.232.76.173] (port=50025 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXCQA-00022q-7h for emacs-orgmode@gnu.org; Wed, 11 Feb 2009 05:34:22 -0500 Received: from ey-out-1920.google.com ([74.125.78.147]:11932) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LXCQ9-0007Zc-OS for emacs-orgmode@gnu.org; Wed, 11 Feb 2009 05:34:22 -0500 Received: by ey-out-1920.google.com with SMTP id 4so10168eyg.24 for ; Wed, 11 Feb 2009 02:34:21 -0800 (PST) In-Reply-To: <823aemc95v.fsf@gmail.com> 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: Rasmus Pank Roulund Cc: emacs-orgmode@gnu.org --===============0524669940== Content-Type: multipart/alternative; boundary=Apple-Mail-4-490701776 --Apple-Mail-4-490701776 Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable On Feb 10, 2009, at 9:46 PM, Rasmus Pank Roulund wrote: > Hello, > Sorry for the late reply. This is regarind a bug in LaTeX export. > The trouble seems to happen when autofill is used. It > might be caused by something else. I am not sure. The thing is > that Org sometimes misintpretate $ as the currency symbolar > rather than "math" as in LaTeX-lingu. IMO the use of $ as a > currency symbol should be optional. > > Here is an example of the error: > > Org source: > > - Funktioner findes ved at s=E6tte funktionen lige en given konstant > $k$. Dermed bestemmes indifferentfunktion. Det ses nemt at > $u(x_1, x_2)=3Dk$. > > LaTeX export: > > \item Funktioner findes ved at s=E6tte funktionen lige en given =20 > konstant > \$k\$. Dermed bestemmes indifferentfunktion. Det ses nemt at > $u(x_1, x_2)=3Dk$. > > I have pulled the newest revision of Org. The version is 6.22b. Please remove your customization of org-format-latex-options. You can do this by doing M-x customize-variable RET org-format-latex-options RET and then clicking on "Erase customizations", then "Set for current session", then "Save for future sessions". After that, re-make any customizations you want in that variable. Some time ago I added a new matcher "$1" for single characters between dollars like in this case. People who have customized this option unfortunately do not get to see it. That said, Giovanni's proposal to use \(....\) is excellent advice, at least in cases where using $..$ causes trouble. - Carsten --Apple-Mail-4-490701776 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Feb 10, 2009, = at 9:46 PM, Rasmus Pank Roulund wrote:

Hello,
Sorry for the late reply. This is regarind = a bug in LaTeX export.
The trouble seems to happen when autofill is = used. It
might be caused by something else. I am not sure. The thing = is
that Org sometimes misintpretate $ as the currency = symbolar
rather than "math" as in LaTeX-lingu. IMO the use of $ as = a
currency symbol should be optional.

Here is an example of = the error:

Org source:

  - Funktioner findes = ved at s=E6tte funktionen lige en given konstant
=     $k$. Dermed bestemmes indifferentfunktion. Det = ses nemt at
    $u(x_1, x_2)=3Dk$.

LaTeX = export:

  \item Funktioner findes ved at s=E6tte = funktionen lige en given konstant
=         \$k\$. Dermed bestemmes = indifferentfunktion. Det ses nemt at
=         $u(x_1, = x_2)=3Dk$.

I have pulled the newest revision of Org. The version = is 6.22b.

Please remove your = customization of org-format-latex-options.
You can do this by = doing

M-x customize-variable RET = org-format-latex-options RET

and then clicking = on "Erase customizations", then
"Set for current session", = then "Save for future sessions".

After that, = re-make any customizations you want in that = variable.

Some time ago I added a new matcher = "$1" for single characters
between dollars like in this = case.  People who have
customized this option = unfortunately do not get to see it.

That said, = Giovanni's proposal to use \(....\) is excellent
advice, at = least in cases where using $..$ causes = trouble.

- = Carsten

= --Apple-Mail-4-490701776-- --===============0524669940== 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 --===============0524669940==--