essepuntato / rash

Research Articles in Simplified HTML (RASH) Framework includes a markup language defined as a subset of HTML+RDF for writing scientific articles, and related tools to convert it into different formats, to extract data from it, etc.
https://w3id.org/people/essepuntato/papers/rash-peerj2016.html
ISC License
82 stars 24 forks source link

Handling "keep-ref-order" in DOCX2RASH #68

Open essepuntato opened 7 years ago

essepuntato commented 7 years ago

A new parameter (i.e. "keep-ref-order", as a boolean value – default: false) has been added in the conversion XSLT from DOCX to RASH. Its uses should result in the following behaviour:

  1. if false, the bibliographic reference list must be specified by means of the element "ul";
  2. if true, the bibliographic reference list must be specified by means of the element "ol".

Thus, the XSLT for DOCX to RASH conversion should be modified so as to enable such behaviour, and the Java code of the converter must be extended so as to accept a flag for specifying the "true" behaviour (point 2 of the aforementioned list) if needed.