emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug: footnotes look in comments
@ 2011-02-21 23:31 Samuel Wales
  2011-02-24 10:09 ` Exporting COMMENT blocks? Karl Eichwalder
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Wales @ 2011-02-21 23:31 UTC (permalink / raw)
  To: emacs-orgmode

If you put a commented partial footnote in an org file and export, the
exported text will be corrupted.

Example:

This is a line of text.
#(fn::this is a footnote

===

If you later have a link in the text, a closing bracket in the link
will put the output out of order.

Thanks.

Samuel

-- 
The Kafka Pandemic:
http://thekafkapandemic.blogspot.com/2010/12/welcome-to-kafka-pandemic-two-forces_9182.html
I support the Whittemore-Peterson Institute (WPI)
===
I want to see the original (pre-hold) Lo et al. 2010 NIH/FDA/Harvard MLV paper.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Exporting COMMENT blocks?
  2011-02-21 23:31 bug: footnotes look in comments Samuel Wales
@ 2011-02-24 10:09 ` Karl Eichwalder
  2011-02-26  0:06   ` Eric Schulte
  0 siblings, 1 reply; 4+ messages in thread
From: Karl Eichwalder @ 2011-02-24 10:09 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Exporting COMMENT blocks?
  2011-02-24 10:09 ` Exporting COMMENT blocks? Karl Eichwalder
@ 2011-02-26  0:06   ` Eric Schulte
  2011-02-26  9:25     ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Schulte @ 2011-02-26  0:06 UTC (permalink / raw)
  To: Karl Eichwalder; +Cc: emacs-orgmode

Hi Karl,

Thanks for the bug report, I've just pushed up a fix for this issue.

Please let me know if the problem continues.

Best -- Eric

Karl Eichwalder <ke@gnu.franken.de> writes:

> 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 Schachenhusern by keichwa"><img
> src="http://farm5.static.flickr.com/4133/5053024831_0ea1ecf083.jpg"
> width="500" height="375" alt="IMG_1071 Schachen mit den
> Schachenhusern" /></a>
> #+END_COMMENT
> #+CAPTION: IMG_1071 Schachen mit den Schachenhusern by keichwa
> #+ATTR_HTML: alt="IMG_1071 Schachen mit den Schachenhusern 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 BEGIN[COMMENT] Block
>
> 1 Testing BEGIN[COMMENT] Block
>
> <a href="http://www.flickr.com/photos/keichwa/5053024831/" title="IMG[1071]
> Schachen mit den Schachenhäusern by keichwa"><img src="[505302]" width="500"
> height="375" alt="IMG[1071] Schachen mit den Schachenhäusern" /></a>#+BEGIN
> [HTML] </p> </div>
>
> [505302]
>
> Author: Karl Eichwalder (ke@suse.de)
>
> 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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Exporting COMMENT blocks?
  2011-02-26  0:06   ` Eric Schulte
@ 2011-02-26  9:25     ` Bastien
  0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2011-02-26  9:25 UTC (permalink / raw)
  To: Eric Schulte; +Cc: emacs-orgmode

"Eric Schulte" <schulte.eric@gmail.com> writes:

> Thanks for the bug report, I've just pushed up a fix for this issue.

Thanks Eric!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-26 16:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-21 23:31 bug: footnotes look in comments Samuel Wales
2011-02-24 10:09 ` Exporting COMMENT blocks? Karl Eichwalder
2011-02-26  0:06   ` Eric Schulte
2011-02-26  9:25     ` Bastien

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).