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.1.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.1-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: atsphinx_typst-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 273acbe7a3c863990c725d8114f6c7cb0a96abf3f103e835272b79c6b692ee93
MD5 ba900edb500fa75961c0c602356b1757
BLAKE2b-256 7049dc5d92267c4ce8a13ffbd71ac363a292825d4027121ca711098141296286

See more details on using hashes here.

Provenance

The following attestation bundles were made for atsphinx_typst-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: atsphinx_typst-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b426f10bf11fed4cb400b14a73e07df569a7bedc687c730646fbef9fffc3e98d
MD5 1a972bd0305a18ad3b36e662d0b37844
BLAKE2b-256 4b7f5ffc37ff756d5663987dfaf8a5bae933eb2e623509f4b2dc006b79fce31a

See more details on using hashes here.

Provenance

The following attestation bundles were made for atsphinx_typst-0.1.1-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