Skip to main content

An integrated editor for the typst typesetting system.

Project description

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.

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

typstwriter-0.3.tar.gz (810.4 kB view details)

Uploaded Source

Built Distribution

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

typstwriter-0.3-py3-none-any.whl (76.1 kB view details)

Uploaded Python 3

File details

Details for the file typstwriter-0.3.tar.gz.

File metadata

  • Download URL: typstwriter-0.3.tar.gz
  • Upload date:
  • Size: 810.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for typstwriter-0.3.tar.gz
Algorithm Hash digest
SHA256 46c357b2b8066c80b4b378e8248c04ab587a4f52ddb4ff314ffb96d8472a1d72
MD5 12028766c4858f0f4408d1c823db7424
BLAKE2b-256 6dcaa3d1e28aca420d2cb2d08cc0dfd6b3978f54862b6b025b94d4a1fd830f94

See more details on using hashes here.

File details

Details for the file typstwriter-0.3-py3-none-any.whl.

File metadata

  • Download URL: typstwriter-0.3-py3-none-any.whl
  • Upload date:
  • Size: 76.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for typstwriter-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8357d5c4eecfc17616eb27efc28c8353db9d4a84212717bb5bfc1e8b2a3128d6
MD5 7ef4d9fd9538dcd611a7b6b580395576
BLAKE2b-256 1efbc5cab973748309b8f70ba2a546adc070721ce4481d99900b55c794f86fd8

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