emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: renato <rennabh@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: two latex bugs
Date: Mon, 8 Jul 2013 17:05:22 +0200	[thread overview]
Message-ID: <20130708170522.0d87140b@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 988 bytes --]

Hi, 

1) could someone please substitute "last-command-char" with
"last-command-event" in cdlatex.el, as was suggested here [1], to be
able to insert carets and underscores in math-mode?

2) this:

\begin{align}\label{mylabel}
\left\{
\begin{array}{ll}
2+2 =& 4 \\
2+2 \neq & 4
\end{array}
\right.
\end{align}

gets exported badly, i.e. to this (notice how after \end{align}
everything repeats itself with escaping \):

\begin{align}\label{mylabel}
\left\{
\begin{array}{ll}
2+2 =& 4 \\
2+2 \neq & 4
\end{array}
\right.
\end{align}$\backslash$begin\{array\}\{ll\}
2+2 =\& 4 \\
2+2 $\backslash$neq \& 4
$\backslash$end\{array\}
$\backslash$right.
$\backslash$end\{align\}
\begin{array}{ll}
2+2 =& 4 \\
2+2 \neq & 4
\end{array}
\right.
\end{align}

it gets exported fine if \label{mylabel} is on its own line, instead of
right next to \begin{align}


cheers,
renato

[1]
http://lists.gnu.org/archive/html/emacs-orgmode/2013-05/msg00837.html

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

             reply	other threads:[~2013-07-08 15:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-08 15:05 renato [this message]
2013-07-08 16:19 ` two latex bugs Nick Dokos
2013-07-10  7:52 ` Eric S Fraga

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=20130708170522.0d87140b@gmail.com \
    --to=rennabh@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).