W3C home > Mailing lists > Public > spec-prod@w3.org > July to September 2012

RE: Is there a way in respec to hyperlink to external refs?

From: Eliot Graff <Eliot.Graff@microsoft.com>
Date: Tue, 28 Aug 2012 22:00:28 +0000
To: Travis Leithead <travis.leithead@microsoft.com>, "spec-prod@w3.org" <spec-prod@w3.org>
Message-ID: <CE3A5BFD1228D84A8D9C158EEC195FD53D94A988@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
Hi Travis.

ReSpec enables you to create reference links.

[[!HTML5]] Creates a normative reference entry for the html5 spec.
[!HTML5] Creates an informative reference

The list of values is saved in http://dev.w3.org/2009/dap/ReSpec.js/bibref/biblio.js

Is this what you are looking for?

Eliot


From: Travis Leithead [mailto:travis.leithead@microsoft.com]
Sent: Tuesday, August 28, 2012 2:54 PM
To: spec-prod@w3.org
Subject: Is there a way in respec to hyperlink to external refs?

Q: I'd like to include an auto-generated hyperlink to an external reference. I don't want to have to manually add the href attribute to each of these external references. Is there a way I can have a single definition that contains the hyperlink which is repeated to all occurances of that external reference?

E.g.,

The definition of Node from DOM4 is here: http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#node

I'd like to say succinctly that <a class="externalDFN">Node</a> but possibly add a syntax to replicate the long URL above into each of these external references.

Can this be done?
Received on Tuesday, 28 August 2012 22:01:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 28 August 2012 22:01:18 GMT