From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brenton Kenkel Subject: HTML export error with file link containing underscores Date: Fri, 3 Jul 2009 14:40:48 -0400 Message-ID: <22f6f9a30907031140x768748e6k9d6b5c247c20929f@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1469507747==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MMngs-0007vf-VJ for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 14:40:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MMngo-0007u0-C3 for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 14:40:54 -0400 Received: from [199.232.76.173] (port=54206 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMngo-0007tt-82 for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 14:40:50 -0400 Received: from mail-fx0-f217.google.com ([209.85.220.217]:39991) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MMngn-0007O7-R8 for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 14:40:50 -0400 Received: by fxm17 with SMTP id 17so2104860fxm.42 for ; Fri, 03 Jul 2009 11:40:48 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============1469507747== Content-Type: multipart/alternative; boundary=001636c5bb71b59af8046dd17e2f --001636c5bb71b59af8046dd17e2f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --001636c5bb71b59af8046dd17e2f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Dear all,

I am having a problem with Org-mode= 's HTML export, specifically with a local file link that contains under= scores. 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:

<a href=3D"low_stats/berkeley_[[brady">bra= dy</a>_2005.pdf][syllabus]]

I have tried escaping the underscores with a backslash,= as well as including the line "#+OPTIONS: ^:nil *:nil" to disabl= e 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 b= e doing?

Thanks for your help,
Brenton Kenkel
--001636c5bb71b59af8046dd17e2f-- --===============1469507747== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1469507747==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: HTML export error with file link containing underscores Date: Fri, 03 Jul 2009 15:35:10 -0400 Message-ID: <20204.1246649710@gamaville.dokosmarshall.org> References: <22f6f9a30907031140x768748e6k9d6b5c247c20929f@mail.gmail.com> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MMoYj-0005Lp-I7 for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 15:36:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MMoYe-0005J3-BY for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 15:36:32 -0400 Received: from [199.232.76.173] (port=48526 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMoYd-0005Iw-UK for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 15:36:27 -0400 Received: from vms173003pub.verizon.net ([206.46.173.3]:47730) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MMoYd-00070p-Gw for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 15:36:27 -0400 Received: from gamaville.dokosmarshall.org ([98.110.172.221]) by vms173003.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KM8008JT11Q9839@vms173003.mailsrvcs.net> for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 14:34:38 -0500 (CDT) In-reply-to: Message from Brenton Kenkel of "Fri\, 03 Jul 2009 14\:40\:48 EDT." <22f6f9a30907031140x768748e6k9d6b5c247c20929f@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Brenton Kenkel Cc: emacs-orgmode@gnu.org --=-=-= 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: --=-=-= Content-Type: text/xml Content-Disposition: inline; filename=underscores.html Content-Description: HTML output underscores

underscores

Table of Contents

1 foo

Author: Nick Dokos <nick@gamaville.dokosmarshall.org>

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 --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brenton Kenkel Subject: Re: HTML export error with file link containing underscores Date: Fri, 3 Jul 2009 17:23:04 -0400 Message-ID: <22f6f9a30907031423r198f4bd4q6268dad25cc4d853@mail.gmail.com> References: <22f6f9a30907031140x768748e6k9d6b5c247c20929f@mail.gmail.com> <20204.1246649710@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MMqDu-0005oC-Fs for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 17:23:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MMqDp-0005es-PM for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 17:23:10 -0400 Received: from [199.232.76.173] (port=39147 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMqDp-0005ep-M6 for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 17:23:05 -0400 Received: from mail-bw0-f210.google.com ([209.85.218.210]:37498) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MMqDp-0004hS-Bd for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 17:23:05 -0400 Received: by bwz6 with SMTP id 6so1293778bwz.42 for ; Fri, 03 Jul 2009 14:23:04 -0700 (PDT) In-Reply-To: <20204.1246649710@gamaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org > [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

brady_2005.pdf][syllabus]]

brady

Author: Brenton Kenkel <brenton@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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: HTML export error with file link containing underscores Date: Mon, 3 Aug 2009 06:27:17 +0200 Message-ID: <71AF1610-DE63-4603-A783-E8B7F17B1D92@gmail.com> References: <22f6f9a30907031140x768748e6k9d6b5c247c20929f@mail.gmail.com> <20204.1246649710@gamaville.dokosmarshall.org> <22f6f9a30907031423r198f4bd4q6268dad25cc4d853@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXp8w-0001sa-6J for emacs-orgmode@gnu.org; Mon, 03 Aug 2009 00:27:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXp8r-0001qG-18 for emacs-orgmode@gnu.org; Mon, 03 Aug 2009 00:27:25 -0400 Received: from [199.232.76.173] (port=52641 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXp8q-0001q9-Q2 for emacs-orgmode@gnu.org; Mon, 03 Aug 2009 00:27:20 -0400 Received: from mail-ew0-f211.google.com ([209.85.219.211]:56138) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXp8q-0001Ao-C5 for emacs-orgmode@gnu.org; Mon, 03 Aug 2009 00:27:20 -0400 Received: by mail-ew0-f211.google.com with SMTP id 7so1037417ewy.42 for ; Sun, 02 Aug 2009 21:27:20 -0700 (PDT) In-Reply-To: <22f6f9a30907031423r198f4bd4q6268dad25cc4d853@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Brenton Kenkel Cc: emacs-orgmode@gnu.org 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

>
> >

brady_2005.pdf] > [syllabus]] >

>

> brady >

>
>

Author: Brenton Kenkel > <brenton@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