Skip to main content

E-Printing Identified JATS

Project description

epijats

epijats converts Baseprint XML to HTML/PDF in three independent stages:

          XML (Baseprint or JATS)
Stage 1:   ▼
          Baseprint XML
Stage 2:   ▼
          HTML
Stage 3:   ▼
          PDF

Choose --to=xml to reformat XML input to Baseprint XML output.

usage: epijats [-h] [--version] [--to {xml,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
  --version             show program's version number and exit
  --to {xml,html,html+pdf,pdf}
                        format of target
  --no-web-fonts        Do not use online web fonts

Installation

python3 -m pip install epijats[pdf]

with the [pdf] suffix optional and only needed of PDF generation.

Option Trade-offs

--no-web-fonts

Advantages:
+ works offline
Disadvantages:
- fonts need to be installed locally
- font rendering may vary

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

epijats-3.2.1-py3-none-any.whl (71.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: epijats-3.2.1.tar.gz
  • Upload date:
  • Size: 138.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for epijats-3.2.1.tar.gz
Algorithm Hash digest
SHA256 8772fa9e9dcd03f9cb8dd00fdd2a7677f8cf0e7abebebb7619378acecd55a40e
MD5 29b47e76d7421c3b0670168776e478dd
BLAKE2b-256 e146ad7ef8e71af34ffa8ef4eaecc46c84f878753ae0c7b1ed1410ff14526954

See more details on using hashes here.

File details

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

File metadata

  • Download URL: epijats-3.2.1-py3-none-any.whl
  • Upload date:
  • Size: 71.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for epijats-3.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cc28d7090d58273c03e0f485f56d2c1c19cf5465dc855ead1df54dad6919e816
MD5 b0f6464e662d6346b18d468161c54677
BLAKE2b-256 67e6f185aaa6e9126375b133188234e4456cb48c96ef228e9b784fc0506e7ae6

See more details on using hashes here.

Supported by

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