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