ptts v1.3.1

plain text typesetting system

Plain Text Typesetting System

A nice way to format text to be shown inside terminal / with monospace font.

Both more clasical and vi-based keybindings are supported in the tui.

usage

dependencies

  • libreadline (needs devel package if compiling)
  • xelatex (optional, but needed for pdf)
  • Visual Studio Build Tools (if compiling on Windows (should come with the compiler??))

fonts

Fonts are a bit finicky, so when in doubt, copy fonts next to your document.

Font names should be as follows:

<fontname>-Regular.{otf|ttf}
<fontname>-Bold.{otf|ttf}
<fontname>-Italic.{otf|ttf}
<fontname>-BoldItalic.{otf|ttf}

Windows problems

Tui doesn't work. Probably crystal-term/reader issue.

Windows does not follow any naming conventions, so only the built-in Hack works (and any fonts in same dir that follow the mentioned convention)

attributions

ptts comes with the HACK font.

Repository

ptts

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • 2 months ago
  • April 18, 2024
License

MIT License

Links
Synced at

Thu, 26 Dec 2024 09:57:12 GMT

Languages