emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Exporting COMMENT blocks?


From: Karl Eichwalder
Subject: [Orgmode] Exporting COMMENT blocks?
Date: Thu, 24 Feb 2011 11:09:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.90 (gnu/linux)

There seems to be a general problem with exporting commented blocks.
>From the docs:

    Finally, regions surrounded by `#+BEGIN_COMMENT' ... `#+END_COMMENT'
    will not be exported.

But the git version from earlier this weeks exports COMMENTs:

* Testing BEGIN_COMMENT Block

#+BEGIN_COMMENT
#done
<a href="http://www.flickr.com/photos/keichwa/5053024831/";
title="IMG_1071 Schachen mit den Schachenhäusern by keichwa"><img
src="http://farm5.static.flickr.com/4133/5053024831_0ea1ecf083.jpg";
width="500" height="375" alt="IMG_1071 Schachen mit den
Schachenhäusern" /></a>
#+END_COMMENT

#+CAPTION: IMG_1071 Schachen mit den Schachenhäusern by keichwa
#+ATTR_HTML: alt="IMG_1071 Schachen mit den Schachenhäusern by keichwa"
#+ATTR_HTML: title="IMG_1071 Schachen mit den Schachenhäusern by keichwa"
#+ATTR_HTML: width="500" height="375"
[[http://www.flickr.com/photos/keichwa/5053024831/][http://farm5.static.flickr.com/4133/5053024831_0ea1ecf083.jpg]]
HTML export:

test

Table of Contents

1 Testing BEGINCOMMENT Block


<a href=""http://www.flickr.com/photos/keichwa/5053024831/">http://www.flickr.com/photos/keichwa/5053024831/" title="IMG1071 Schachen mit den Schachenhäusern by keichwa"><img src=""http://farm5.static.flickr.com/4133/5053024831_0ea1ecf083.jpg">" width="500" height="375" alt="IMG1071 Schachen mit den Schachenhäusern" /></a>#+BEGINHTML </p> </div>

Author: Karl Eichwalder (address@hidden)

Date: 2011-02-24 10:56:13 CET

Generated by Org version 7.4 with Emacs version 23

Validate XHTML 1.0

There is also a problem with the #+CAPTION line; I think org-mode
exports CAPTIONs only, if you use simple [[links]].


This is the ASCII output (COMMENT block is just indented):


                      Testing BEGIN_COMMENT Block
                      ===========================

Author: Karl Eichwalder
Date: 2011-02-24 11:05:53 CET



  #done
  <a href="http://www.flickr.com/photos/keichwa/5053024831/";
  title="IMG_1071 Schachen mit den Schachenhäusern by keichwa"><img
  src="http://farm5.static.flickr.com/4133/5053024831_0ea1ecf083.jpg";
  width="500" height="375" alt="IMG_1071 Schachen mit den
  Schachenhäusern" /></a>

[http://farm5.static.flickr.com/4133/5053024831_0ea1ecf083.jpg]

[http://farm5.static.flickr.com/4133/5053024831_0ea1ecf083.jpg]: 
http://www.flickr.com/photos/keichwa/5053024831/



-- 
Karl Eichwalder


reply via email to

[Prev in Thread] Current Thread [Next in Thread]