emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Brenton Kenkel <brenton.kenkel@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: HTML export error with file link containing underscores
Date: Fri, 3 Jul 2009 17:23:04 -0400	[thread overview]
Message-ID: <22f6f9a30907031423r198f4bd4q6268dad25cc4d853@mail.gmail.com> (raw)
In-Reply-To: <20204.1246649710@gamaville.dokosmarshall.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 "<<<brady>>>" 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]]
<<<brady>>>

I get the following HTML output (headers omitted):

<body>
<h1 class="title">testorg</h1>


<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#sec-1">1 foo </a></li>
</ul>
</div>
</div>

<div id="outline-container-1" class="outline-2">
<h2 id="sec-1">1 foo </h2>
<div id="text-1">

<p><a href="low<sub>stats</sub>/berkeley_[[brady">brady</a>_2005.pdf][syllabus]]
</p>
<p>
<a name="brady" class="target">brady</a>
</p></div>
</div>
<div id="postamble"><p class="author"> Author: Brenton Kenkel
<a href="mailto:brenton@hume">&lt;brenton@hume&gt;</a>
</p>
<p class="date"> Date: 2009-07-03 17:16:12 EDT</p>
<p>HTML generated by org-mode 6.21b in emacs 23</p>
</div></body>

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

Thanks,
Brenton

  reply	other threads:[~2009-07-03 21:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-03 18:40 HTML export error with file link containing underscores Brenton Kenkel
2009-07-03 19:35 ` Nick Dokos
2009-07-03 21:23   ` Brenton Kenkel [this message]
2009-08-03  4:27     ` Carsten Dominik

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=22f6f9a30907031423r198f4bd4q6268dad25cc4d853@mail.gmail.com \
    --to=brenton.kenkel@gmail.com \
    --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).