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.
- OJS 3.1.2 or later
- meTypeset
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
# Add tool path e.g. (usr/local/meTypset/bin/meTypset.py) under
Settings -> Website -> Plugins -> Installed Plugins -> generic Plugins-> typeset