* How to markup verbatim code including = and ~?
@ 2013-03-02 23:05 Nathaniel Cunningham
2013-03-03 1:58 ` Nathaniel Cunningham
0 siblings, 1 reply; 3+ messages in thread
From: Nathaniel Cunningham @ 2013-03-02 23:05 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 574 bytes --]
I'd like to incorporate some scraps of code in an org file. These scraps
include both ~ and =, the markers for verbatim text and code.
I used customize-variable org-emphasis-alist to change the symbols to mark
verbatim text, but without success; adding unusual symbols broke LaTeX
export of the org file, and swapping the underline and verbatim symbols had
no effect (code marked _like so_ was still underlined instead of made
verbatim).
Advice would be appreciated!
Thanks,
Nathaniel
p.s. I don't subscribe to this list, so please include my email in
reponses. Thanks!
[-- Attachment #2: Type: text/html, Size: 717 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to markup verbatim code including = and ~?
2013-03-02 23:05 How to markup verbatim code including = and ~? Nathaniel Cunningham
@ 2013-03-03 1:58 ` Nathaniel Cunningham
2013-03-03 8:54 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Nathaniel Cunningham @ 2013-03-03 1:58 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 929 bytes --]
Alright, I solved my own problem.
I was able to get verbatim working with a unicode symbol (√) as delimeter,
by editing both org-emphasis-alist and org-export-latex-emphasis-alist.
Cheers!
--Nathaniel
On Sat, Mar 2, 2013 at 5:05 PM, Nathaniel Cunningham <
nathaniel.cunningham@gmail.com> wrote:
> I'd like to incorporate some scraps of code in an org file. These scraps
> include both ~ and =, the markers for verbatim text and code.
>
> I used customize-variable org-emphasis-alist to change the symbols to mark
> verbatim text, but without success; adding unusual symbols broke LaTeX
> export of the org file, and swapping the underline and verbatim symbols had
> no effect (code marked _like so_ was still underlined instead of made
> verbatim).
>
> Advice would be appreciated!
> Thanks,
> Nathaniel
>
> p.s. I don't subscribe to this list, so please include my email in
> reponses. Thanks!
>
[-- Attachment #2: Type: text/html, Size: 1353 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to markup verbatim code including = and ~?
2013-03-03 1:58 ` Nathaniel Cunningham
@ 2013-03-03 8:54 ` Nicolas Goaziou
0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2013-03-03 8:54 UTC (permalink / raw)
To: Nathaniel Cunningham; +Cc: emacs-orgmode
Hello,
Nathaniel Cunningham <nathaniel.cunningham@gmail.com> writes:
> Alright, I solved my own problem.
> I was able to get verbatim working with a unicode symbol (√) as delimeter,
> by editing both org-emphasis-alist and org-export-latex-emphasis-alist.
> Cheers!
FYI, modifying `org-emphasis-alist' will not be compatible with export
in Org 8.0 (the parser assumes there's a fixed set of emphasis markers).
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-03-03 8:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-02 23:05 How to markup verbatim code including = and ~? Nathaniel Cunningham
2013-03-03 1:58 ` Nathaniel Cunningham
2013-03-03 8:54 ` Nicolas Goaziou
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).