Project | WXT | Basics | Download | Documentation | Samples

PI: ref

This PI will introduce a reference in the running text. The reference may have different forms, see below.

<?_wxt ref id=""?>

The parameters are:

id (mandatory) The id of the reference as it is defined in a referencefile defined in the script References

Styleclass describing this PI is: wxtref. See distributed std styles.

Examples:

This:

Paperts Logo <?_wxt ref id="Mindstorms"?>  

may produce this:

Paperts Logo <span class="wxtref"[10]</span>    

Assuming that Mindstorms are defined as an id in a reference file.

This:

Vannevaer Bush <?_wxt ref id="As we may think"?>  

may produce this (simple style):

Vannevaer Bush <span class="ref" 
  title="As we may think | http://www.theatlantic.com/doc/194507/bush">
  <a href="http://www.theatlantic.com/doc/194507/bush">[7]</a>
  </span>   

or this (harvard style):

Vannevaer Bush <span class="ref">(Bush, 1945)</span>

or this (iee style):

Vannevaer Bush <span class="ref">[7]</span>

NOTE that the IEEE and HARVARD is at the moment not imlemented and is defaulting to SIMPLE.

For styles, see Options