withanage / typeset

OJS Typeset plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

OJS Typeset plugin

License:GNU General Public License v2.0


Languages

Language:PHP 89.8%Language:Smarty 10.2%