Re: [Orgmode] HTML export error with file link containing underscores

2009-08-02 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Jul 3, 2009, at 11:23 PM, Brenton Kenkel wrote:


[Please provide version numbers for emacs and org-mode.]


Org-mode 6.28e in Aquamacs 1.8rc1, based on GNU Emacs 22.3.1. I get
the same result using Org-mode 6.21b in GNU Emacs 23.0.91.1.


I cannot reproduce this.


It turns out that part of the problem was that I had included a radio
target named "<<>>" in the file I was working on. So when I
export a file consisting solely of the following:

* foo
[[file:low_stats/berkeley_brady_2005.pdf][syllabus]]
<<>>

I get the following HTML output (headers omitted):


testorg



Table of Contents


1 foo 





1 foo 


brady_2005.pdf] 
[syllabus]]



brady


 Author: Brenton Kenkel
mailto:bren...@hume";>

 Date: 2009-07-03 17:16:12 EDT
HTML generated by org-mode 6.21b in emacs 23


Am I going to need to remove the radio target to get the link to work,
or is there another way?

Thanks,
Brenton


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] HTML export error with file link containing underscores

2009-07-03 Thread Brenton Kenkel
> [Please provide version numbers for emacs and org-mode.]

Org-mode 6.28e in Aquamacs 1.8rc1, based on GNU Emacs 22.3.1. I get
the same result using Org-mode 6.21b in GNU Emacs 23.0.91.1.

> I cannot reproduce this.

It turns out that part of the problem was that I had included a radio
target named "<<>>" in the file I was working on. So when I
export a file consisting solely of the following:

* foo
[[file:low_stats/berkeley_brady_2005.pdf][syllabus]]
<<>>

I get the following HTML output (headers omitted):


testorg



Table of Contents


1 foo 





1 foo 


brady_2005.pdf][syllabus]]


brady


 Author: Brenton Kenkel
mailto:bren...@hume";>

 Date: 2009-07-03 17:16:12 EDT
HTML generated by org-mode 6.21b in emacs 23


Am I going to need to remove the radio target to get the link to work,
or is there another way?

Thanks,
Brenton


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] HTML export error with file link containing underscores

2009-07-03 Thread Nick Dokos
Brenton Kenkel  wrote:

> I am having a problem with Org-mode's HTML export, specifically with a local
> file link that contains underscores. My file contains the following link in
> the org-mode source:
> 
> [[file:low_stats/berkeley_brady_2005.pdf][syllabus]]
> 
> and the HTML export produces the following:
> 
> brady_2005.pdf][syllabus]]
> 
> I have tried escaping the underscores with a backslash, as well as including
> the line "#+OPTIONS: ^:nil *:nil" to disable the use of underscores for
> other functions. None of these fixes produced the correct HTML code. Is this
> a bug, or is there something else I should be doing?

[Please provide version numbers for emacs and org-mode.]

I cannot reproduce this. The following org file:

,
| 
| * foo
|   [[file:low_stats/berkeley_brady_2005.pdf][syllabus]]
`

produces this html:


http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml";
lang="en" xml:lang="en">

underscores







 







underscores



Table of Contents


1 foo 





1 foo 


syllabus



 Author: Nick Dokos


 Date: 2009-07-03 15:31:44 EDT
HTML generated by org-mode 6.28trans in emacs 23






This is with

GNU Emacs 23.0.93.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2009-05-11 on 
gamaville.dokosmarshall.org
Org-mode version 6.28trans - that's git latest (more or less).

Thanks,
Nick

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] HTML export error with file link containing underscores

2009-07-03 Thread Brenton Kenkel
Dear all,

I am having a problem with Org-mode's HTML export, specifically with a local
file link that contains underscores. My file contains the following link in
the org-mode source:

[[file:low_stats/berkeley_brady_2005.pdf][syllabus]]

and the HTML export produces the following:

brady_2005.pdf][syllabus]]

I have tried escaping the underscores with a backslash, as well as including
the line "#+OPTIONS: ^:nil *:nil" to disable the use of underscores for
other functions. None of these fixes produced the correct HTML code. Is this
a bug, or is there something else I should be doing?

Thanks for your help,
Brenton Kenkel
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode