From 7cc982a767a871122ad17082a82422b28f19d0c6 Mon Sep 17 00:00:00 2001 From: Eric Abrahamsen Date: Sat, 18 May 2013 10:20:33 +0800 Subject: [PATCH 1/2] org.texi: Correct syntax for exporting HTML fragments --- doc/org.texi | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/org.texi b/doc/org.texi index 5f50ef60e..76eccd852 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -11031,11 +11031,10 @@ to @code{nil} will not insert any postamble. @subsection Quoting HTML tags Plain @samp{<} and @samp{>} are always transformed to @samp{<} and -@samp{>} in HTML export. If you want to include simple HTML tags -which should be interpreted as such, mark them with @samp{@@} as in -@samp{@@bold text@@}. Note that this really works only for -simple tags. For more extensive HTML that should be copied verbatim to -the exported file use either +@samp{>} in HTML export. If you want to include raw HTML code, which +should only appear in HTML export, mark it with @samp{@@@@html:} as in +@samp{@@@@html:@@@@bold text@@@@html:@@@@}. For more extensive HTML +that should be copied verbatim to the exported file use either @cindex #+HTML @cindex #+BEGIN_HTML From f3c86bc48826905608b71b173ecce122df5944bf Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 18 May 2013 19:53:29 +0200 Subject: [PATCH 2/2] org.texi: Fix joke --- doc/org.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/org.texi b/doc/org.texi index 76eccd852..5c8125369 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -11632,7 +11632,7 @@ environment's opening string. For example: #+ATTR_LATEX: :options [Proof of important theorem] #+BEGIN_PROOF ... -Therefore, any natural number above 4 is the sum of two primes. +Therefore, any even number greater than 2 is the sum of two primes. #+END_PROOF @end example @@ -11642,7 +11642,7 @@ becomes @example \begin@{proof@}[Proof of important theorem] ... -Therefore, any natural number above 4 is the sum of two primes. +Therefore, any even number greater than 2 is the sum of two primes. \end@{proof@} @end example