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.5.1.tar.gz (297.3 kB view details)

Uploaded Source

Built Distribution

epijats-1.5.1-py3-none-any.whl (299.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: epijats-1.5.1.tar.gz
  • Upload date:
  • Size: 297.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for epijats-1.5.1.tar.gz
Algorithm Hash digest
SHA256 09d6d3907904f3770204685738e15cf7a4c8a0e7fa6859a8ac67532db2219816
MD5 3b2a0c383b3cfab630238c67b081df99
BLAKE2b-256 22b2a4b751191e6ce9a5922f69eb56c69a86e60cfdcf4660192a426376e53375

See more details on using hashes here.

File details

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

File metadata

  • Download URL: epijats-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 299.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for epijats-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4695ba7262f3be1d1f3ae85b1d377bdb3358fa8bfd6df4ca8f3a7f9dc9231caa
MD5 a7673554a0343ac06b13635acd6195df
BLAKE2b-256 ca07018151b1a7be30af340248672d972f3dcf77afc139b9d6e2635a7a13169c

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