GithubHelp home page GithubHelp logo

ignite's Introduction

Ignite is a sophisticated index document generating tool, suitable for open-book exams, documentation, and similar scenarios.

Readme δΈ­ζ–‡ | English

Prerequisites

  • Python 3.4+ (with pip)
  • Typst

Usage

Index File Syntax

Begin by writing the index content into data/index.txt. The index file consists of several lines. Except for blank lines (which will be ignored), each line should conform to one of two formats:

  1. Starting with < and ending with >, this denotes a chapter division. The content inside the angle brackets will be considered the chapter title.
  2. Composed of any content followed by a number at the end, representing an entry. The number indicates the page number of the entry.

Generating the Document

python3 -m pip install -r requirements.txt
python3 main.py
typst compile index.typ
# This will generate index.pdf

For adjustments and formatting details, please review and modify index.typ as needed.

Example

We have provided a set of examples under the example/ directory. You can generate an example document with the following command:

typst compile index.typ --input data-dir=example
# This will generate index.pdf

Example Document P1

Example Document P2

ignite's People

Contributors

fa555 avatar

Stargazers

xbei avatar Chen Liang avatar

Forkers

xbei0223

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.