summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-01-11 16:31:58 +0100
committerBastien Guerry <bzg@altern.org>2012-01-11 16:31:58 +0100
commit53eb6088a2cb8b4e72aa02e3b1b031ae9d03e87b (patch)
tree36df8c7df1601db10ebd7eec5805a87b094be13a
parent454ee2346eb77cc18924317046b4cfdac6b46582 (diff)
downloadorg-mode-53eb6088a2cb8b4e72aa02e3b1b031ae9d03e87b.tar.gz
orgguide.texi: Use uppercase for env/options keywords.
Also rename #+srcname to #+NAME.
-rw-r--r--doc/orgguide.texi16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/orgguide.texi b/doc/orgguide.texi
index 8f0f3a7..daa5c0b 100644
--- a/doc/orgguide.texi
+++ b/doc/orgguide.texi
@@ -2409,8 +2409,8 @@ verbatim @LaTeX{} code.
Export as DocBook file.
@end table
-Similarly to the HTML exporter, you can use @code{#+DocBook:} and
-@code{#+BEGIN_DocBook ... #+END_DocBook} construct to add verbatim @LaTeX{}
+Similarly to the HTML exporter, you can use @code{#+DOCBOOK:} and
+@code{#+BEGIN_DOCBOOK ... #+END_DOCBOOK} construct to add verbatim @LaTeX{}
code.
@node iCalendar export, , DocBook export, Exporting
@@ -2492,10 +2492,10 @@ results in several formats.
The structure of code blocks is as follows:
@example
-#+srcname: <name>
-#+begin_src <language> <switches> <header arguments>
+#+NAME: <name>
+#+BEGIN_SRC <language> <switches> <header arguments>
<body>
-#+end_src
+#+END_SRC
@end example
Where @code{<name>} is a string used to name the code block,
@@ -2520,11 +2520,11 @@ in many languages. For a complete list of supported languages see the
manual. The following shows a code block and its results.
@example
-#+begin_src emacs-lisp
+#+BEGIN_SRC emacs-lisp
(+ 1 2 3 4)
-#+end_src
+#+END_SRC
-#+results:
+#+RESULTS:
: 10
@end example