Project

mn2sts

0.0
No release in over 3 years
Low commit activity in last 3 years
mn2sts converts Metanorma XML into NISO STS XML. This gem is a wrapper around mn2sts.jar available from https://github.com/metanorma/mn2sts, with versions matching the JAR file.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

mn2sts Ruby gem

Gem Version Build Status Code Climate Pull Requests Commits since latest

Purpose

The mn2sts Ruby gem is a wrapper around the Java mn2sts which converts Metanorma XML files into native PDFs.

This gem is used to provide mn2sts.jar with mirrored version numbers, to allow Ruby code to easily refer to the desired mn2sts version as dependencies.

Installation

gem install mn2sts

Or include it in your gemspec.

Usage

require 'mn2sts'
Mn2sts.convert(sample_xml_path, output_pdf_path)

Updating the gem

Update lib/mn2sts/version.rb to the desired version of mn2sts.

Run rake to download the bin/mn2sts.jar file:

rm -f bin/mn2sts.jar
rake bin/mn2sts.jar

Then release the gem with rake release.