W3C home > Mailing lists > Public > spec-prod@w3.org > October to December 2010

In-sentence bib references with ReSpec

From: Cameron McCormack <cam@mcc.id.au>
Date: Tue, 19 Oct 2010 11:28:52 +1300
To: spec-prod@w3.org
Message-ID: <20101018222852.GI27738@wok.mcc.id.au>
I would like a shorthand to include a link directly to a bibliography
entry source.  For example, let’s say I want to generate the following
sentence

  <p>You really <em class=rfc2119>SHOULD</em> read <a
  href=http://www.ietf.org/rfc/rfc2119.txt><cite>Key words for use in
  RFCs to Indicate Requirement Levels</cite></a> before throwing <em
  class=rfc2119>MUST</em> around. [<cite><a href=#bib-RFC2119
  rel=biblioentry class=bibref>RFC2119</a>]

I want some shorthand to generate the citation link.  Something like:

  <p>You really SHOULD read [[#RFC2119]] before throwing MUST around.
  [[!RFC2119]]

But I’m happy to hear a suggestion on a different shorthand format.

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Monday, 18 October 2010 22:29:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:19:17 GMT