Skip to main content

E-Printing Identified JATS

Project description

epijats

epijats converts baseprint JATS XML to PDF in three independent stages:

          JATS
Stage 1:   ▼
          "webstract" interchange format (json, yaml, or jsoml)
Stage 2:   ▼
          HTML
Stage 3:   ▼
          PDF

Using the epijats command line tool, you can start and stop at any stage with the --from and --to command line options. The output of epijats --help is:

usage: __main__.py [-h] [--from {jats,json,yaml,jsoml,html}]
                   [--to {json,yaml,jsoml,html,html+pdf,pdf}] [--no-web-fonts]
                   inpath outpath

Eprint JATS

positional arguments:
  inpath                input directory/path
  outpath               output directory/path

options:
  -h, --help            show this help message and exit
  --from {jats,json,yaml,jsoml,html}
                        format of source
  --to {json,yaml,jsoml,html,html+pdf,pdf}
                        format of target
  --no-web-fonts        Do not use online web fonts

Installation

python3 -m pip install epijats[format1,format2,...]

where each formatN etc.. is one of jats, html, pdf, yaml, or jsoml. Json support is automatic.

Non-Python requirements

If you are converting from JATS, the following dependencies must be installed:

  • pandoc
  • pandoc-katex-filter Node.js NPM package
  • git

All other dependencies will be automatically installed by pip.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

epijats-1.2.1.tar.gz (292.5 kB view details)

Uploaded Source

Built Distribution

epijats-1.2.1-py3-none-any.whl (295.9 kB view details)

Uploaded Python 3

File details

Details for the file epijats-1.2.1.tar.gz.

File metadata

  • Download URL: epijats-1.2.1.tar.gz
  • Upload date:
  • Size: 292.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for epijats-1.2.1.tar.gz
Algorithm Hash digest
SHA256 7f2112bc70e1f3b118cc3fa7707229af99f9417e55954bac8dd369ef1db5466d
MD5 80d334453b9deea44fe861d4d5c8416f
BLAKE2b-256 790ac19f707695acdb1f72ec403ec6c682c95c890508be001c6a8f08451a82bd

See more details on using hashes here.

File details

Details for the file epijats-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: epijats-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 295.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for epijats-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 425dfb478ded643e426e06e435975f871f85b44f92032f19d6f45034628ea29a
MD5 1e8d51ff548dc274d0d49888dfb8be1c
BLAKE2b-256 86154f43f2cb8b523ed19494f20f24aadc3a6627f33ee024951869eb9346c895

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page