Skip to main content

Typstwriter

An integrated editor for the typst typesetting system.

Features

  • Integrated Document Viewer
  • Integrated File System viewer
  • Syntax highlighting

Configuration

Typstwriter can be configured using a configuration file, see example_config.ini for an example config file. After modifying the config file, typstwriter needs to be restarted.

Typstwriter looks for configuration files in the following locations:

  • /etc/typstwriter/typstwriter.ini
  • /usr/local/etc/typstwriter/typstwriter.ini
  • Platform specific configuration directory:
    • $XDG_CONFIG_HOME/typstwriter/typstwriter.ini
    • %USERPROFILE%\AppData\Local\typstwriter\typstwriter\typstwriter.ini
  • ~/.typstwriter.ini
  • ./typstwriter.ini

Files further down in the list will take precedence.

Installation

Using pip:

Typstwriter is available on PyPI. To install using pip simply use:

pip install typstwriter

From source

Get the source code by cloning the desired branch or download a release from th github repository and install from the toplevel directory:

git clone https://github.com/Bzero/typstwriter
pip install ./typstwriter/

Install typst

Independently of the installation method chosen, the typst CLI has to be available to compile typst documents. Consult the typst repository for details on installing typst. Alternatively, the path of a typst executable can be specified in the configuration file.

Development

Clone the repository

git clone https://github.com/Bzero/typstwriter/

Install typstwriter in edit mode

pip install -e ./typstwriter/

Run the tests with pytest to make sure that everything is working correctly. Inside the source directory, run:

pytest

Activate pre-commit hooks to automatically check changes before committing. Inside the source directory, run:

pre-commit install

Contributing

Contributions are always welcome!

License

Typstwriter is licensed under the MIT license.

Metadata

Release files for typstwriter 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for typstwriter 0.3
File Size Uploaded
typstwriter-0.3.tar.gz 810.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for typstwriter 0.3
File Interpreter ABI Platform
typstwriter-0.3-py3-none-any.whl Python 3 none any Details

Total release size: 886.5 kB

Release files / typstwriter-0.3.tar.gz

Download URL typstwriter-0.3.tar.gz
Size 810.4 kB
Tags Source
SHA-256 checksum
How to use checksums
46c357b2b8066c80b4b378e8248c04ab587a4f52ddb4ff314ffb96d8472a1d72
BLAKE2b-256 checksum
How to use checksums
6dcaa3d1e28aca420d2cb2d08cc0dfd6b3978f54862b6b025b94d4a1fd830f94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.3

Release files / typstwriter-0.3-py3-none-any.whl

Download URL typstwriter-0.3-py3-none-any.whl
Size 76.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8357d5c4eecfc17616eb27efc28c8353db9d4a84212717bb5bfc1e8b2a3128d6
BLAKE2b-256 checksum
How to use checksums
1efbc5cab973748309b8f70ba2a546adc070721ce4481d99900b55c794f86fd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.3

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page