Skip to main content

Generate Typst sources and PDF from Sphinx document.

Project description

Faster PDF generator from Sphinx document using Typst.

Features

  • Provide typst and typstpdf builder to generate Typst document (and PDF) from doctree.

  • TODO: Provide utility directives and roles for Typst syntax.

Getting started

pip install atsphinx-typst
# If you also want to build PDF, install with extra 'pdf'
pip install 'atsphinx-typst[pdf]'

You can run typst and typstpdf builder without set it into extensions.

# To generate Typst document.
make typst
# To generate Typst document and PDF from document.
make typstpdf

Milestones

v0.1 (for working)

  • Supports core directives and roles.

  • ✅ Supports generating PDF using typst python project.

  • ✅ Gnerate PDF file of this project’s project.

v1.0 (for stable)

  • Use for PDF of sphinx-revealjs’s documentation.

  • Publish my private tech ZINE.

Download files

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

Source Distribution

atsphinx_typst-0.1.0.tar.gz (121.2 kB view details)

Uploaded Source

Built Distribution

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

atsphinx_typst-0.1.0-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file atsphinx_typst-0.1.0.tar.gz.

File metadata

  • Download URL: atsphinx_typst-0.1.0.tar.gz
  • Upload date:
  • Size: 121.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for atsphinx_typst-0.1.0.tar.gz
Algorithm Hash digest
SHA256 887c7fe12176184e31a21a2555240d9203147c883711f24b8ffb7dac664de212
MD5 228e5b41891f989948226c981a613dc4
BLAKE2b-256 26c9f4bf3495eae231c56d5592e663121cf7891860deea342dc88a54b5c1845f

See more details on using hashes here.

Provenance

The following attestation bundles were made for atsphinx_typst-0.1.0.tar.gz:

Publisher: release.yaml on atsphinx/typst

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file atsphinx_typst-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: atsphinx_typst-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for atsphinx_typst-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d149646e37d81b7862389d3438c0672b0306c3b4190d3c7a54eb604c540a82a5
MD5 95a652cc8b603e1c6e07ff0478d1c711
BLAKE2b-256 e835251a221cce69d4880308d646b2a19db8e534944811332b6f7d6e9e687cc5

See more details on using hashes here.

Provenance

The following attestation bundles were made for atsphinx_typst-0.1.0-py3-none-any.whl:

Publisher: release.yaml on atsphinx/typst

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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