From: peter.frings@agfa.com
To: emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: LaTeX export: underscores and the syntax package
Date: Thu, 12 May 2011 16:00:43 +0200 [thread overview]
Message-ID: <15300C6C-1B46-42B5-89D5-E38BEF0EE371@agfa.com> (raw)
Good afternoon all,
I spent the best part of the afternoon trying to figure out why an org-generated .tex file wouldn’t compile with my set-up. It turns out that the `syntax’ package messes a bit with the definition of an underscore, making it impossible to use the underscore in a \label.
Unfortunately, the LaTeX exporter uses underscores in its section labels.
Actually, it is possible to have the _ in \label: use the `nounderscore’ option with the syntax package. But you then do not get the tweaked underscore in plain text (unless you use \_ again).
Since I’d like to keep the syntax package and the ease of using plain underscores, I’d like to avoid the _ in labels.
Maybe I didn’t look hard enough, but I didn’t find an obvious way to change the way org generates the labels. Would it be an option to use the same label-generating code as AUCTeX mode? That would be very nice!
Thanks,
Peter.
--
c++; // this makes c bigger but returns the old value
next reply other threads:[~2011-05-12 14:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-12 14:00 peter.frings [this message]
2011-05-14 2:51 ` LaTeX export: underscores and the syntax package Robert Love
2011-05-14 3:12 ` Nick Dokos
2011-05-14 3:50 ` Nick Dokos
2011-05-18 7:23 ` Peter Frings
2011-05-18 16:44 ` Nick Dokos
2011-05-24 11:09 ` Carsten Dominik
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=15300C6C-1B46-42B5-89D5-E38BEF0EE371@agfa.com \
--to=peter.frings@agfa.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).