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.0.2.tar.gz (70.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.0.2-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for atsphinx_typst-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b74c99be3f36e811213e8798eee655e327ee6e0052ea1bcba7b8969ab333c6a1
MD5 7e82d2892cff548ecb875a4109eab189
BLAKE2b-256 46e5bbd81ade76b648b9d0dfc0f0d8960abd2e8c6c463ba1b00e2c2f54bfd8e1

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for atsphinx_typst-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bfd418cc83c4e6871716f9b906e013850cf1fc36caa26f666e15a83d5b0fe1c9
MD5 89e3da86e34337ca47ef80dbb9c83e8f
BLAKE2b-256 562ce05ed79044a9064a48e2af4097fb187cb9c99f42a4f60c293b05efc67b5c

See more details on using hashes here.

Provenance

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