From: Karl Eichwalder <ke@gnu.franken.de>
To: emacs-orgmode@gnu.org
Subject: Exporting COMMENT blocks?
Date: Thu, 24 Feb 2011 11:09:01 +0100 [thread overview]
Message-ID: <shk4gp68xu.fsf@frechet.suse.de> (raw)
In-Reply-To: <AANLkTi=LsGMvrbDAGnKm_XO5NXdrKs2cmD9NgK8v+ogC@mail.gmail.com> (Samuel Wales's message of "Mon, 21 Feb 2011 16:31:54 -0700")
[-- Attachment #1: Type: text/plain, Size: 248 bytes --]
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:
[-- Attachment #2: test with COMMENT --]
[-- Type: text/plain, Size: 726 bytes --]
* 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]]
[-- Attachment #3: Type: text/plain, Size: 15 bytes --]
HTML export:
[-- Attachment #4: HTML export with comment div --]
[-- Type: text/html, Size: 4520 bytes --]
[-- Attachment #5: Type: text/plain, Size: 869 bytes --]
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
[-- Attachment #6: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2011-02-24 10:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-21 23:31 bug: footnotes look in comments Samuel Wales
2011-02-24 10:09 ` Karl Eichwalder [this message]
2011-02-26 0:06 ` Exporting COMMENT blocks? Eric Schulte
2011-02-26 9:25 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=shk4gp68xu.fsf@frechet.suse.de \
--to=ke@gnu.franken.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).