Skip to content

withanage/typeset

Repository files navigation

OJS Typeset plugin

Description

Allows integration of a command line tool to execute file conversion to XML in OJS.

Currently supported:

  • Tools : meTypeset
  • Formats: DOCX/ODT -> JATS XML

For other command line tool integrations, minor code is needed.

Requirements

Installation

Recommended: tool configuration through admin

OJS_PATH=DEFINE_YOUR_OJS_PATH
cd $OJS_PATH/plugins/generic
git clone https://github.com/withanage/typeset 

# Add meTypeset in cofig.inc.php under [cli] section
; meTypeset path
meTypeset = /home/withanage/software/meTypset/bin/meTypeset.py

# Only if necessary, Add a python3 virtual environment path
python_vm= /home/withanage/python_vm 

Settings configuration

# Add tool path e.g. (usr/local/meTypset/bin/meTypset.py) under  
Settings -> Website -> Plugins -> Installed Plugins -> generic Plugins-> typeset  

Run conversion

typeset

Contact

https://github.com/withanage/typeset/issues