| Crates.io | matex |
| lib.rs | matex |
| version | 0.2.0 |
| created_at | 2022-02-24 18:15:11.287215+00 |
| updated_at | 2022-02-24 19:21:47.082713+00 |
| description | MaTeX a document scripting language |
| homepage | |
| repository | http://github.com/MKProj/MaTeX |
| max_upload_size | |
| id | 538657 |
| size | 74,465 |
MaTeX is a simpler version of LaTeX built for users who do not want to deal with
the complications of LaTeX. This languages compiles down to tex before compiling down to
pdf.
Here's the rundown for MaTeX, there's four types of tokens:
\foo{some value} = foo: some value)\bar = bar;)\begin{baz}...\end{baz} = baz > begin)% lalalala = % lalalala)So let's see how these look in MaTeX:
% \documentclass{article}
documentclass: article
% \author{Someone}
author: Someone
% \title{Some Title}
title: Some Title
% \date{Date}
date: Date
% \usepackage{listings}
import: listings
% \begin{document}
document > begin
% \maketitle
maketitle;
% \input{anotherfile}
input: anotherfile
% \end{document}
document > end
For inputs, make sure to put the name of the file not
name.matexsince it's already inferred.
matex new <project_name>matex build <name>matex compile