Skip to content

Nathan22Miles/sile-0.9.1

Repository files navigation

What is SILE?

SILE is a typesetting system. Its job is to produce beautiful printed documents. It’s similar to TeX, but with some ideas borrowed from InDesign, and written with modern technologies in mind.

What can I do with it (that I can’t do with TeX)?

First, have a look at the show-off file

SILE allows you to

  • Produce complex document layouts using frames.

  • Easily extend the typesetting system in a high-level programming language. (Lua)

  • Directly process XML to PDF without the use of XSL stylesheets.

  • Typeset text on a grid.

Getting and installing

SILE can be downloaded from its home page, or directly from the release page.

SILE is written in the Lua programming language, so you will need a Lua version 5.1 installation. It also relies on external libraries to access fonts and write PDF files. Its preferred combination of libraries is harfbuzz and a PDF creation library extracted from TeX. It should be possible to harfbuzz from your operating system's package manager. (For Harfbuzz to work you will also need freetype2 and fontconfig installed.) If this is not possible, SILE will attempt to use the GNOME Pango/Cairo libraries.

You also need to install the following Lua libraries using luarocks (downloading luarocks if you do not already have it installed).

  • lpeg
  • luaexpat
  • lgi (required for Pango-Cairo only)

Once your dependencies are installed, run

  • ./configure ; make install

(If you are running SILE from git, first run bootstrap.sh and then configure and make. I don't guarantee that SILE will work from the repository, although it probably ought to.)

This will place the SILE libraries and executable in a sensible location.

Now try sile examples/test.sil.

Finding out more

Please read the full SILE manual for more information about what SILE is and how it can help you. There are example documents (source and PDF) in the examples/ directory. There's also an FAQ available.

Contact

Please report bugs and send patches and pull requests at the github repository. For questions, please contact the author, Simon Cozens simon@simon-cozens.org.

License terms

SILE is distributed under the MIT licence.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published