all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Writing text which is not interpreted by Org
@ 2020-11-17 16:11 Christopher Dimech
  2020-11-17 16:30 ` Robert Pluim
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Dimech @ 2020-11-17 16:11 UTC (permalink / raw)
  To: Help Gnu Emacs

How can I write text which is not interpreted by Org

Because in the following code, Org interprets * as a heading.

-------- Gunga-Din.org --------
#+begin_src text
* [/] [%] Heading
#+end_src
-------- Gunga-Din.org --------



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

* Re: Writing text which is not interpreted by Org
  2020-11-17 16:11 Writing text which is not interpreted by Org Christopher Dimech
@ 2020-11-17 16:30 ` Robert Pluim
  2020-11-17 16:42   ` Christopher Dimech
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Pluim @ 2020-11-17 16:30 UTC (permalink / raw)
  To: Christopher Dimech; +Cc: Help Gnu Emacs

Christopher Dimech <dimech@gmx.com> writes:

> How can I write text which is not interpreted by Org
>
> Because in the following code, Org interprets * as a heading.
>
> -------- Gunga-Din.org --------
>
> #+begin_src text
> * [/] [%] Heading
> #+end_src

From (info "(org) Literal Examples")

    12.6 Literal Examples
    =====================

    You can include literal examples that should not be subjected to markup.
    Such examples are typeset in monospace, so this is well suited for
    source code and similar examples.

         #+BEGIN_EXAMPLE
           Some example from a text file.
         #+END_EXAMPLE

       There is one limitation, however.  You must insert a comma right
    before lines starting with either ‘*’, ‘,*’, ‘#+’ or ‘,#+’, as those may
    be interpreted as outlines nodes or some other special syntax.  Org
    transparently strips these additional commas whenever it accesses the
    contents of the block.

         #+BEGIN_EXAMPLE
         ,* I am no real headline
         #+END_EXAMPLE



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

* Re: Writing text which is not interpreted by Org
  2020-11-17 16:30 ` Robert Pluim
@ 2020-11-17 16:42   ` Christopher Dimech
  2020-11-17 16:59     ` Robert Pluim
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Dimech @ 2020-11-17 16:42 UTC (permalink / raw)
  To: Robert Pluim; +Cc: Help Gnu Emacs

--------------------
Christopher Dimech
General Administrator - Naiad Informatics - GNU Project (Geocomputation)
- Geophysical Simulation
- Geological Subsurface Mapping
- Disaster Preparedness and Mitigation
- Natural Resource Exploration and Production
- Free Software Advocacy


> Sent: Tuesday, November 17, 2020 at 5:30 PM
> From: "Robert Pluim" <rpluim@gmail.com>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Re: Writing text which is not interpreted by Org
>
> Christopher Dimech <dimech@gmx.com> writes:
> 
> > How can I write text which is not interpreted by Org
> >
> > Because in the following code, Org interprets * as a heading.
> >
> > -------- Gunga-Din.org --------
> >
> > #+begin_src text
> > * [/] [%] Heading
> > #+end_src
> 
> From (info "(org) Literal Examples")
> 
>     12.6 Literal Examples
>     =====================
> 
>     You can include literal examples that should not be subjected to markup.
>     Such examples are typeset in monospace, so this is well suited for
>     source code and similar examples.
> 
>          #+BEGIN_EXAMPLE
>            Some example from a text file.
>          #+END_EXAMPLE
> 
>        There is one limitation, however.  You must insert a comma right
>     before lines starting with either ‘*’, ‘,*’, ‘#+’ or ‘,#+’, as those may
>     be interpreted as outlines nodes or some other special syntax.  Org
>     transparently strips these additional commas whenever it accesses the
>     contents of the block.
> 
>          #+BEGIN_EXAMPLE
>          ,* I am no real headline
>          #+END_EXAMPLE

That's what I discussed, without any caveat such as comma before '*'.  
As I just want to show what the contents of an org file would be.





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

* Re: Writing text which is not interpreted by Org
  2020-11-17 16:42   ` Christopher Dimech
@ 2020-11-17 16:59     ` Robert Pluim
  2020-11-17 17:07       ` Christopher Dimech
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Pluim @ 2020-11-17 16:59 UTC (permalink / raw)
  To: Christopher Dimech; +Cc: Help Gnu Emacs

Christopher Dimech <dimech@gmx.com> writes:

>>        There is one limitation, however.  You must insert a comma right
>>     before lines starting with either ‘*’, ‘,*’, ‘#+’ or ‘,#+’, as those may
>>     be interpreted as outlines nodes or some other special syntax.  Org
>>     transparently strips these additional commas whenever it accesses the
>>     contents of the block.
>> 
>>          #+BEGIN_EXAMPLE
>>          ,* I am no real headline
>>          #+END_EXAMPLE
>
> That's what I discussed, without any caveat such as comma before '*'.  
> As I just want to show what the contents of an org file would be.

You could put a space instead of the comma. Note that the org manual
itself uses the comma method.

Robert



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

* Re: Writing text which is not interpreted by Org
  2020-11-17 16:59     ` Robert Pluim
@ 2020-11-17 17:07       ` Christopher Dimech
  0 siblings, 0 replies; 5+ messages in thread
From: Christopher Dimech @ 2020-11-17 17:07 UTC (permalink / raw)
  To: Robert Pluim; +Cc: Help Gnu Emacs

Space solved the problem.

---------------------
Christopher Dimech
General Administrator - Naiad Informatics - GNU Project (Geocomputation)
- Geophysical Simulation
- Geological Subsurface Mapping
- Disaster Preparedness and Mitigation
- Natural Resource Exploration and Production
- Free Software Advocacy


> Sent: Tuesday, November 17, 2020 at 5:59 PM
> From: "Robert Pluim" <rpluim@gmail.com>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Re: Writing text which is not interpreted by Org
>
> Christopher Dimech <dimech@gmx.com> writes:
> 
> >>        There is one limitation, however.  You must insert a comma right
> >>     before lines starting with either ‘*’, ‘,*’, ‘#+’ or ‘,#+’, as those may
> >>     be interpreted as outlines nodes or some other special syntax.  Org
> >>     transparently strips these additional commas whenever it accesses the
> >>     contents of the block.
> >> 
> >>          #+BEGIN_EXAMPLE
> >>          ,* I am no real headline
> >>          #+END_EXAMPLE
> >
> > That's what I discussed, without any caveat such as comma before '*'.  
> > As I just want to show what the contents of an org file would be.
> 
> You could put a space instead of the comma. Note that the org manual
> itself uses the comma method.
> 
> Robert
>



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

end of thread, other threads:[~2020-11-17 17:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-17 16:11 Writing text which is not interpreted by Org Christopher Dimech
2020-11-17 16:30 ` Robert Pluim
2020-11-17 16:42   ` Christopher Dimech
2020-11-17 16:59     ` Robert Pluim
2020-11-17 17:07       ` Christopher Dimech

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.