summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2019-02-17 20:52:35 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2019-02-17 20:52:35 +0100
commit126a37c36cf8de07169b7bf1e0e385ae5bb2fe3c (patch)
tree61d5f027b96614fdd0ae594930ef31a299db7ca7
parent1227ad468dff230262463562c23e632254432bf5 (diff)
downloadorg-mode-126a37c36cf8de07169b7bf1e0e385ae5bb2fe3c.tar.gz
org-manual: Small fixes
* doc/org-manual.org (Macro Replacement): Shorten a macro. Fix a macro name. (A Beamer example): Fix escape syntax. Narrow example.
-rw-r--r--doc/org-manual.org22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/org-manual.org b/doc/org-manual.org
index 8fad631..a1cc356 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -11683,24 +11683,24 @@ which can be referenced using ={{{name(arg1, arg2)}}}=[fn:124]. For
example
#+begin_example
-,#+MACRO: poem The rose is $1, The violet's $2. Life's ordered: Org assists you.
+,#+MACRO: poem Rose is $1, violet's $2. Life's ordered: Org assists you.
{{{poem(red,blue)}}}
#+end_example
#+texinfo: @noindent
becomes
-: The rose is red, The violet's blue. Life's ordered: Org assists you.
+: Rose is red, violet's blue. Life's ordered: Org assists you.
As a special case, Org parses any replacement text starting with
=(eval= as an Emacs Lisp expression and evaluates it accordingly.
Within such templates, arguments become strings. Thus, the following
macro
-: #+MACRO: gnucheck (eval (concat "GNU/" (capitalize $1)))
+: #+MACRO: gnustamp (eval (concat "GNU/" (capitalize $1)))
#+texinfo: @noindent
-turns ={{{gnucheck(linux)}}}= into =GNU/Linux= during export.
+turns ={{{gnustamp(linux)}}}= into =GNU/Linux= during export.
Org recognizes macro references in following Org markup areas:
paragraphs, headlines, verse blocks, tables cells and lists. Org also
@@ -12203,13 +12203,13 @@ Beamer documents.
Here is an example of an Org document ready for Beamer export.
#+begin_example
-;#+TITLE: Example Presentation
-;#+AUTHOR: Carsten Dominik
-;#+OPTIONS: H:2 toc:t num:t
-;#+LATEX_CLASS: beamer
-;#+LATEX_CLASS_OPTIONS: [presentation]
-;#+BEAMER_THEME: Madrid
-;#+COLUMNS: %45ITEM %10BEAMER_ENV(Env) %10BEAMER_ACT(Act) %4BEAMER_COL(Col) %8BEAMER_OPT(Opt)
+,#+TITLE: Example Presentation
+,#+AUTHOR: Carsten Dominik
+,#+OPTIONS: H:2 toc:t num:t
+,#+LATEX_CLASS: beamer
+,#+LATEX_CLASS_OPTIONS: [presentation]
+,#+BEAMER_THEME: Madrid
+,#+COLUMNS: %45ITEM %10BEAMER_ENV(Env) %10BEAMER_ACT(Act) %4BEAMER_COL(Col)
,* This is the first structural section