emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "D. C. Toedt" <dc@toedt.com>
To: mail@nicolasgoaziou.fr, emacs-orgmode@gnu.org
Subject: Re: [ox-html] Why are dedicated targets automatically renamed?
Date: Tue, 18 Oct 2016 10:46:40 -0500	[thread overview]
Message-ID: <CAGN11+13QKA9WKgNwPE-QY1i+wiybCFCFUcNxXwLMm4r6foOXA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1301 bytes --]

I'm late to this thread but found it in researching a similar problem.  I
use designated targets to create a permanently-named internal HTML anchor
that I can use in providing a precisely-targeted complete URL that points
to a specific paragraph (as opposed to a section).  Example:  In the file
index.org, the org-mode dedicated target  <<ThisTarget>> should export to
HTML as: http://www.example.com/index.html#ThisTarget.  The name #ThisTarget
needs to be permanent because the document in question is a work in
progress.

Based on Nicolas's suggestion (downthread) about using #+HTML: or @@html: ,
I did a couple of quickie macros to create <a> anchors and links, but
that's a pain and clutters up the on-screen display in org-mode.
​​

​--D. C.​



D. C. Toedt III
Attorney & neutral arbitrator <http://www.OnContracts.com/arb-prefs>  —
tech contracts & IP
*(My last name is pronounced "Tate")*
O: +1 (713) 364-6545   C: +1 (713) 516-8968
​​

dc@toedt.com    @dctoedt <https://twitter.com/DCToedt>
​
Skype: dctoedt
​

www.OnContracts.com/About <http://www.oncontracts.com/About>
​​


Unless expressly stated otherwise,
this message is not intended to serve
as assent to an agreement or other document,
even if attached to this message.

[-- Attachment #2: Type: text/html, Size: 6761 bytes --]

             reply	other threads:[~2016-10-18 15:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-18 15:46 D. C. Toedt [this message]
2016-10-20 16:51 ` [ox-html] Why are dedicated targets automatically renamed? Nicolas Goaziou
  -- strict thread matches above, loose matches on Subject: below --
2016-01-21  6:45 Sébastien Brisard
2016-01-31 21:52 ` Nicolas Goaziou
2016-02-01 19:59   ` Sébastien Brisard
2016-02-02 16:38     ` Nicolas Goaziou
2016-02-03  7:27       ` Sébastien Brisard

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=CAGN11+13QKA9WKgNwPE-QY1i+wiybCFCFUcNxXwLMm4r6foOXA@mail.gmail.com \
    --to=dc@toedt.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).