Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 990 Bytes

File metadata and controls

32 lines (23 loc) · 990 Bytes

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.