RE: Cross-referencing examples (was: BP sub-group call, Wed 1 March @ 16:00utc)

Just done:

https://github.com/w3c/respec/issues/1124

Andrea

----
Andrea Perego, Ph.D.
Scientific / Technical Project Officer
European Commission DG JRC
Directorate B - Growth and Innovation
Unit B6 - Digital Economy
Via E. Fermi, 2749 - TP 262
21027 Ispra VA, Italy

https://ec.europa.eu/jrc/

----
The views expressed are purely those of the writer and may
not in any circumstances be regarded as stating an official
position of the European Commission.


________________________________________
From: Francois Daoust [fd@w3.org]
Sent: 01 March 2017 17:46
To: PEREGO Andrea (JRC-ISPRA); jeremy.tandy@gmail.com; public-sdw-wg@w3.org
Cc: phila@w3.org
Subject: Cross-referencing examples (was: BP sub-group call, Wed 1 March @ 16:00utc)

Hi Andrea,

Le 01/03/2017 à 11:11, andrea.perego@ec.europa.eu a écrit :
[...]
> PS: An editorial issue. It would be nice to be able to have a way to
> crossref example as done for section, without the need of adding
> "Example 1", etc. In my fork I added a small JavaScript snippet doing
> the job, but I wonder whether ReSpec supports this feature.
>
> @Phil, @François, can you help here?

ReSpec supports a similar feature for figures but not for examples:
  https://github.com/w3c/respec/wiki/figure

I do not see any open (or closed) issue that proposes to support such a
feature in ReSpec. I would suggest you create one.

A table of examples could be useful as well, actually (although not all
examples will have captions).

Francois.

Received on Wednesday, 1 March 2017 17:11:04 UTC