Skip to content

mp4096/indentex

Repository files navigation



Travis Build Status Appveyor Build status Coverage Status

Chocolatey

Indentex is an indentation-based superset of LaTeX. An Indentex source file is more concise and visually less cluttered than an equivalent LaTeX file. Its indentation-based syntax was inspired by Python. Transpiling an Indentex source file yields a plain LaTeX file, which can be used further in your toolchain, sent to a publisher or your colleagues.

Installation

From source

Indentex requires Rust 2018 edition. Please install the latest stable Rust version (≥ 1.31.1).

cargo install --git https://github.com/mp4096/indentex/

Usage

Type indentex -h for help:

indentex 0.5.0
Mikhail Pak <code@mp4096.com>:Hans Kirchner <h.kirchner@tum.de>
Transpiler for an indentation-based superset of LaTeX

USAGE:
    indentex [FLAGS] <path>

FLAGS:
        --disable-do-not-edit    Disable prepending the 'DO NOT EDIT' notice
        --flatten-output         Remove all indentation from the output
    -h, --help                   Prints help information
    -V, --version                Prints version information
    -v, --verbose                Show transpilation progress

ARGS:
    <path>    Path to a single indentex file or a directory (recursively transpile all indentex files)