emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [bug] equations in latex equation environment with leading +/- misinterpreted
Date: Wed, 14 Sep 2011 09:45:23 +0100	[thread overview]
Message-ID: <87ty8fa4ws.fsf@ucl.ac.uk> (raw)
In-Reply-To: <8739g0jeym.fsf@gmail.com> (Nicolas Goaziou's message of "Tue, 13 Sep 2011 23:43:29 +0200")

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>> but behaviour that I can accept, especially as the easy solution is to
>> simply enclose the equation in a latex block:
>>
>> * equation with leading minus sign
>>   The following equation
>> #+begin_latex
>>   \begin{equation}
>>   \label{eq:test}
>>   y = 3 x
>>   - 5
>>   + 4
>>   \end{equation}
>> #+end_latex
>>
>> This works just fine and is probably for the best in any case.  Using a
>> latex block allows for latex specific editing (C-c ').  Should have done
>> this in the first place!
>
> Technically, this isn't the same. The LaTeX block would be removed
> during an HTML export while the plain LaTeX code would be changed into
> an image (or "Mathjaxified", whatever that means).

Agreed.  For my use case, this is not a major issue, mind you, as my
preferred export route is to PDF via LaTeX...

> That's annoying because I tend to think that writing plain LaTeX
> environments (without any block marker) should be deprecated.

Again, agreed, but this will require a more general approach to the
handling of e.g. latex blocks for export to other languages.  Not easy,
I would guess, unless we make more use of conversion to png for blocks.

Thanks again,
eric
-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.7 (release_7.7.284.g11de)

      reply	other threads:[~2011-09-14  8:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-08  7:54 [bug] equations in latex equation environment with leading +/- misinterpreted Eric S Fraga
2011-09-13 16:32 ` Nicolas Goaziou
2011-09-13 19:02   ` Eric S Fraga
2011-09-13 21:43     ` Nicolas Goaziou
2011-09-14  8:45       ` Eric S Fraga [this message]

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ty8fa4ws.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.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 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).