emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* escaping org commands
@ 2013-12-20 14:19 Rustom Mody
  2013-12-20 16:07 ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Rustom Mody @ 2013-12-20 14:19 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 154 bytes --]

How does one escape something in a text that is an org-command
eg
I wanted to write
<<Something>>

It vanished from the export because its a link-target!

[-- Attachment #2: Type: text/html, Size: 254 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: escaping org commands
  2013-12-20 14:19 escaping org commands Rustom Mody
@ 2013-12-20 16:07 ` Bastien
  2013-12-20 17:03   ` Rustom Mody
  0 siblings, 1 reply; 4+ messages in thread
From: Bastien @ 2013-12-20 16:07 UTC (permalink / raw)
  To: Rustom Mody; +Cc: emacs-orgmode

Hello,

Rustom Mody <rustompmody@gmail.com> writes:

> How does one escape something in a text that is an org-command
> eg
> I wanted to write
> <<Something>>
>
> It vanished from the export because its a link-target!

You can customize `org-activate-links' so that radio links are
not activated -- not tested, but my assumption is that the exporter
should handle this fine.

There is also `org-export-filter-radio-target-functions'.

HTH,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: escaping org commands
  2013-12-20 16:07 ` Bastien
@ 2013-12-20 17:03   ` Rustom Mody
  2013-12-20 19:46     ` Charles Berry
  0 siblings, 1 reply; 4+ messages in thread
From: Rustom Mody @ 2013-12-20 17:03 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 999 bytes --]

On Fri, Dec 20, 2013 at 9:37 PM, Bastien <bzg@gnu.org> wrote:

> Hello,
>
> Rustom Mody <rustompmody@gmail.com> writes:
>
> > How does one escape something in a text that is an org-command
> > eg
> > I wanted to write
> > <<Something>>
> >
> > It vanished from the export because its a link-target!
>
> You can customize `org-activate-links' so that radio links are
> not activated -- not tested, but my assumption is that the exporter
> should handle this fine.
>
> There is also `org-export-filter-radio-target-functions'.
>
> HTH,
>
>
Thanks Bastien that will work in this case
However I am also looking for something more generic:

When there is something in my document which normally looks like an
org command, is there any generic way of saying "This particular
command-like thing is not a command"

eg in C a backslash in strings (and in some cases a %) is an escape
character

Is there no such general (set of) concepts for org?

Rusi

-- 
http://www.the-magus.in
http://blog.languager.org

[-- Attachment #2: Type: text/html, Size: 1918 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: escaping org commands
  2013-12-20 17:03   ` Rustom Mody
@ 2013-12-20 19:46     ` Charles Berry
  0 siblings, 0 replies; 4+ messages in thread
From: Charles Berry @ 2013-12-20 19:46 UTC (permalink / raw)
  To: emacs-orgmode

Rustom Mody <rustompmody <at> gmail.com> writes:

> 
> 
> 
> On Fri, Dec 20, 2013 at 9:37 PM, Bastien <bzg <at> gnu.org> wrote:
> 
> 
> Hello,
> 
> Rustom Mody <rustompmody <at> gmail.com> writes:
> > How does one escape something in a text that is an org-command
> > eg
> > I wanted to write
> > <<Something>>
> >
> > It vanished from the export because its a link-target!
> You can customize `org-activate-links' so that radio links are
> not activated -- not tested, but my assumption is that the exporter
> should handle this fine.
> There is also `org-export-filter-radio-target-functions'.
> HTH,
> 
> 
> 
> 
> Thanks Bastien that will work in this case
> 
> However I am also looking for something more generic:
> 
[snip]


Mark it verbatim or use an export snippet??

Exporting this:

* Start

Verbatim:

: <<headline>>

Export-snippet:

@@ascii:<<headline>>@@

* headline

to ASCII yields this:

1 Start
=======

  Verbatim:

  ,----
  | <<headline>>
  `----

  Export-snippet:

  <<headline>>


2 headline
==========

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-12-20 19:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-20 14:19 escaping org commands Rustom Mody
2013-12-20 16:07 ` Bastien
2013-12-20 17:03   ` Rustom Mody
2013-12-20 19:46     ` Charles Berry

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