From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: LaTeX export
Date: Fri, 02 Nov 2007 19:04:16 +0000 [thread overview]
Message-ID: <878x5gjwpb.fsf@bzg.ath.cx> (raw)
In-Reply-To: <87pryshbut.fsf@columbia.edu> (Xiao-Yong Jin's message of "Fri, 02 Nov 2007 12:05:14 -0400")
Xiao-Yong Jin <xj2106@columbia.edu> writes:
> 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?
You can already protect strings from conversion by playing with
`org-export-latex-emphasis-alist', which default value is:
'(("*" "\\textbf{%s}" nil)
("/" "\\emph{%s}" nil)
("_" "\\underline{%s}" nil)
("+" "\\texttt{%s}" nil)
("=" "\\texttt{%s}" nil))
If you use `t' instead of `nil' for the last element of this list, then
=this_string= will be converted as \texttt{this_string} instead of
\texttt{$this_{string}$} when ^:t
\texttt{this\_{}string} when ^:nil
I do agree that all this could be improved, and I hope I'll come with a
general solution for the next release. Ideas welcome!
In the meanwhile, testing latest org-export-latex.el will help *a lot*:
http://www.cognition.ens.fr/~guerry/u/org-export-latex.el
Thanks!
--
Bastien
next prev parent reply other threads:[~2007-11-02 18:04 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
2007-11-02 19:04 ` Bastien [this message]
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=878x5gjwpb.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--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).