emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Lundin <mdl@imapmail.org>
To: Matthew Lundin <mdl@imapmail.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Anchors/targets in org-export/publish
Date: Thu, 13 Nov 2008 11:18:41 -0600	[thread overview]
Message-ID: <874p2b8rym.fsf@fastmail.fm> (raw)
In-Reply-To: <874p2blh0m.fsf@fastmail.fm> (Matthew Lundin's message of "Thu\, 13 Nov 2008 10\:36\:41 -0600")

Matthew Lundin <mdl@imapmail.org> writes:

> Question about org-export:
>
> I'd like to create invisible radio targets to html anchor links using
> org-export.
>
> E.g., 
>
> # <<radiotarget>>
>
> should become
>
> <a name="radiotarget"></a>
>
> Currently, however, there are a couple of behaviors of org-exp.el that
> make this difficult.
>
> 1) Org-export does convert invisible targets, but it puts paragraph
> tags around the anchor, thus creating an empty line in the html
> export, which messes up the layout.
>
>          <p>
>          <a name="radiotarget">&nbsp;</a>
>          </p>

Quick follow up to my previous message. Would it be possible to remove
the &nbsp above. That would prevent an extra line in the output, but
it might render the link useless in some browsers.

(I should also apologize for the strong phrase "messes up." Everything
works so wonderfully and magically in org-mode, so no expression of
frustration was intended here. Rather this is just a minor question
about tweaking html export.)

Thanks,

Matt

  reply	other threads:[~2008-11-13 17:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-13 16:36 Anchors/targets in org-export/publish Matthew Lundin
2008-11-13 17:18 ` Matthew Lundin [this message]
2008-11-16 20:29 ` Carsten Dominik
2008-11-17 20:49   ` mdl
2008-11-16 21:27 ` Carsten Dominik
2008-11-17 20:52   ` mdl

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=874p2b8rym.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --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).