emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Colin Fraizer <orgmode@cfraizer.com>
To: Colin Fraizer <orgmode@cfraizer.com>
Cc: "<emacs-orgmode@gnu.org>" <emacs-orgmode@gnu.org>
Subject: Re: question about org-latex-regexps
Date: Tue, 28 Feb 2012 18:22:42 -0500	[thread overview]
Message-ID: <CA4DEFC9-A7F3-495E-94D3-AD59561A57FE@cfraizer.com> (raw)
In-Reply-To: <00c101ccf575$d3c20b70$7b462250$@cfraizer.com>

Wow, I think I'm an org pariah. Did my email violate some org cultural norm? :-)

If so, I apologize.

Anyone have strong feelings about whether a change like this is advisable?

On Feb 27, 2012, at 12:32 PM, "Colin Fraizer" <orgmode@cfraizer.com> wrote:

> The variable org-latex-regexps has an element
>    ("$" "\\([^$]\\|^\\)\\(\\(\\$\\([^
> \r\n,;.$][^$\n\r]*?\\(\n[^$\n\r]*?\\)\\{0,2\\}[^
> \r\n,.$]\\)\\$\\)\\)\\([-    .,?;:'\")\000]\\|$\\)" 2 nil)
> The 6th nested subexpression (starts with "\\([-") prevents conversion of
> some latex math-mode stuff.
> Is there a reason for that subexpression to be so restrictive? Because I
> mostly write UTF-8 org-mode documents, I often have "$<some math>$" followed
> immediately by an EN DASH or EM DASH (U+2013 or U+2014). Is there a reason
> why those characters could not be inserted in that character class?
> That is, could I change that subexpression to be "\\([---
> .,?;:'\")\000]\\|$\\)" ?
> [I've tried it with a couple of files and didn't notice any problems.
> Thanks,
> --Colin

  reply	other threads:[~2012-02-28 23:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-27 17:32 question about org-latex-regexps Colin Fraizer
2012-02-28 23:22 ` Colin Fraizer [this message]
2012-02-28 23:49   ` Bastien
2012-02-29  2:35   ` Bernt Hansen

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:

  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=CA4DEFC9-A7F3-495E-94D3-AD59561A57FE@cfraizer.com \
    --to=orgmode@cfraizer.com \
    --cc=emacs-orgmode@gnu.org \


* 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


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).