From: Xiao-Yong Jin <xj2106@columbia.edu>
To: emacs-orgmode@gnu.org
Subject: Re: LaTeX export
Date: Fri, 02 Nov 2007 12:05:14 -0400 [thread overview]
Message-ID: <87pryshbut.fsf@columbia.edu> (raw)
In-Reply-To: <87tzo4oeeh.fsf@hati.baby-gnu.org> (Daniel Dehennin's message of "Fri\, 02 Nov 2007 16\:28\:22 +0100")
Daniel Dehennin <dad@baby-gnu.org> writes:
> Le 5175 Septembre 1993, Bastien a tapoté:
>> Daniel Dehennin <dad@baby-gnu.org> writes:
>>
>>> I have 2 problems:
>>>
>>> - the underscore "_" is not escaped,
>>
>> Can you provide an example with context for both the input and the
>> output? Maybe the #+OPTIONS: line could be useful as well.
>
> Well, having "_" in my ORG file was litteraly a "_" in my LaTeX source
> and compiling the LaTex source complains about missing $.
>
> I'm not able to reproduce this I don't understand what happend :-/
>
> But now, how can I have some\_thing in my LaTeX source ?
>
> I write many documents with something like:
>
> variable_name
>
> and I don't want them to become:
>
> $variable_{name}$
>
> in my LaTeX source.
I've also spotted this. I guess it's hard to make it right.
By default, org-mode doesn't require `$'s to recognize
certain region as math environment. See info page
: 10.2 Subscripts and Superscripts
: ================================
:
: Just like in LaTeX, `^' and `_' are used to indicate super- and
: subscripts. Again, these can be used without embedding them in
: math-mode delimiters. To increase the readability of ASCII text, it is
: not necessary (but OK) to surround multi-character sub- and superscripts
: with curly braces. For example
:
: The mass if the sun is M_sun = 1.989 x 10^30 kg. The radius of
: the sun is R_{sun} = 6.96 x 10^8 m.
:
: To avoid interpretation as raised or lowered text, you can quote `^'
: and `_' with a backslash: `\_' and `\^'.
:
: During HTML export (*note HTML export::), subscript and superscripts
: are surrounded with `<sub>' and `<sup>' tags, respectively.
But I would like to propose a work-around. How about make
`^' and `_' in those regions marked as =this_code= or
something similar not be interpreted as super- and
subscripts?
Xiao-Yong
--
c/* __o/*
<\ * (__
*/\ <
next prev parent reply other threads:[~2007-11-02 16:05 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-02 10:11 LaTeX export Daniel Dehennin
2007-11-02 15:13 ` Bastien
2007-11-02 15:28 ` Daniel Dehennin
2007-11-02 16:05 ` Xiao-Yong Jin [this message]
2007-11-02 19:04 ` Bastien
2007-11-02 18:56 ` Bastien
-- strict thread matches above, loose matches on Subject: below --
2024-10-09 12:15 Latex Export Orm Finnendahl
2024-10-09 15:48 ` Dr. Arne Babenhauserheide
2024-10-09 16:12 ` Orm Finnendahl
2017-08-10 2:01 LaTeX Export Scott Randby
2017-08-10 15:35 ` Richard Lawrence
2017-08-10 16:03 ` Scott Randby
2011-12-31 0:35 LaTeX export York Zhao
2011-12-31 8:09 ` Bastien
2011-12-31 18:07 ` York Zhao
2011-12-31 23:37 ` Steve Hafner
2012-01-01 19:52 ` York Zhao
2010-10-16 18:53 Re: Re: Re: Latex Export chris.m.malone
2010-10-16 19:14 ` Thomas S. Dye
2010-10-16 18:10 chris.m.malone
2010-10-16 18:40 ` Thomas S. Dye
[not found] <Pine.LNX.4.63.1010161331001.7948@scotty.ess.sunysb.edu>
2010-10-16 17:34 ` chris.m.malone
2010-10-16 17:54 ` Nick Dokos
2010-10-16 14:55 Chris Malone
2010-10-16 21:18 ` Scot Becker
2009-01-05 12:42 LaTeX Export Rasmus Pank Roulund
2009-01-05 15:29 ` Carsten Dominik
2009-01-05 16:10 ` Rasmus Pank Roulund
2009-01-06 12:00 ` Carsten Dominik
2009-01-08 17:48 ` Rasmus Pank Roulund
2009-01-08 21:38 ` Carsten Dominik
2009-02-10 20:46 ` Rasmus Pank Roulund
2009-02-11 10:34 ` Carsten Dominik
2009-02-11 15:56 ` Bernt Hansen
2009-02-11 16:08 ` Carsten Dominik
2009-02-12 18:25 ` Rasmus Pank Roulund
2009-01-05 15:43 ` Matthew Lundin
2008-12-21 23:12 Latex Export Flávio de Souza
2008-12-22 6:33 ` Carsten Dominik
2008-12-22 8:58 ` Flávio de Souza
2008-10-01 11:16 latex export Johanna Matschke
2008-10-01 12:15 ` Russell Adams
2008-10-10 21:13 ` Carsten Dominik
2007-11-30 3:15 Latex Export Russell Adams
2007-11-30 6:21 ` Giovanni Ridolfi
2007-11-30 7:27 ` Russell Adams
2007-11-30 12:40 ` Bastien
2007-12-01 7:14 ` Russell Adams
2007-12-02 21:04 ` Russell Adams
2007-12-02 21:44 ` Bastien
2007-12-21 22:36 ` Russell Adams
2007-12-21 23:33 ` Bastien
2008-01-09 20:53 ` Russell Adams
2008-01-15 11:26 ` Carsten Dominik
2007-11-02 9:30 LaTeX export Daniel Dehennin
2007-09-28 7:19 Latex Export D. Kapetanakis
2007-09-29 13:23 ` Bastien
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=87pryshbut.fsf@columbia.edu \
--to=xj2106@columbia.edu \
--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).