From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Bug: html quoting tags are transformed after exporting [8.0.2 (8.0.2-10-g3e1d83-elpa @ d:/SDTs/Emacs/lisp/org/)] Date: Sat, 18 May 2013 10:22:11 +0800 Message-ID: <87zjvtm3ho.fsf@ericabrahamsen.net> References: <874ne1nii1.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdWnA-0000yR-1y for emacs-orgmode@gnu.org; Fri, 17 May 2013 22:22:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UdWn3-0007n3-LG for emacs-orgmode@gnu.org; Fri, 17 May 2013 22:22:39 -0400 Received: from plane.gmane.org ([80.91.229.3]:43914) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdWn3-0007mx-Do for emacs-orgmode@gnu.org; Fri, 17 May 2013 22:22:33 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UdWmw-0001Dj-I2 for emacs-orgmode@gnu.org; Sat, 18 May 2013 04:22:26 +0200 Received: from 114.250.120.47 ([114.250.120.47]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 May 2013 04:22:26 +0200 Received: from eric by 114.250.120.47 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 May 2013 04:22:26 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Eric Abrahamsen writes: > Kelvin Hu writes: > >> Hi all, >> >> First of all, I am really appreciate your good work - org mode. >> >> Currently I meet something wrong when I am trying to export an org >> buffer into html, as org manual >> described(http://orgmode.org/org.html#Quoting-HTML-tags), html tags >> quoted with "@" should be exported as tags, but not transformed to >> "<" and ">". Now assume we have following contents: >> >> - @some text@ > > The syntax for this has changed, now any backend-specific blocks can be > exported with @@backend:foo@@. So yours should be: > > @@html:some text@@ > > The manual's wrong, I think: if you look at the ascii or latex export > sections they mention this syntax, but it looks like html got left > behind. > > Yours, > Eric A documentation patch to that effect... E --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-org.texi-Correct-syntax-for-exporting-HTML-fragments.patch >From 14d5a493375197bcdcbd0b292e1d9990f12cb83a Mon Sep 17 00:00:00 2001 From: Eric Abrahamsen Date: Sat, 18 May 2013 10:20:33 +0800 Subject: [PATCH] org.texi: Correct syntax for exporting HTML fragments --- doc/org.texi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/org.texi b/doc/org.texi index 1c8b835..6f0afed 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -11133,11 +11133,11 @@ 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 simple HTML tags which +should be interpreted as such, mark them with @samp{@@@@html:} as in +@samp{@@@@html: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 @cindex #+HTML @cindex #+BEGIN_HTML -- 1.8.2.3 --=-=-=--