Skip to content
/ norma Public
forked from ContentMine/norma

Convert XML/SVG/PDF into normalised, sectioned, scholarly HTML

License

Notifications You must be signed in to change notification settings

petermr/norma

 
 

Repository files navigation

Norma

A tool to convert a variety of inputs into normalized, tagged, XHTML (with embedded/linked SVG and PNG where appropriate). The initial emphasis is on scholarly publications but much of the technology is general.

Installation

For a simple introduction and a description of how to install binaries of the software please see: here

Input

Norma will convert legacy files into scholarly html. It converts files that are in a CProject structure. This enables it to process multiple papers in a single run without overwriting files. It also keeps all the data from each paper together in its own CTree. This includes metadata about the paper, images that may have been extracted from the paper and supplementary files such as tables.

To convert a CTree full of NLM xml files such as those you might have downloaded from EuropePMC with getpapers you can run:

norma --project <CProject folder> --input fulltext.xml --output scholarly.html --transform nlm2html

Building from source

Norma can be built with maven3 and requires java 1.7 or greater.

Contributing to development

If you're interested in contributing please take a look at: CONTRIBUTING.md

About

Convert XML/SVG/PDF into normalised, sectioned, scholarly HTML

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 96.8%
  • Java 2.2%
  • XSLT 1.0%
  • JavaScript 0.0%
  • TeX 0.0%
  • Shell 0.0%