Jan Černohorský
1a629b2bf9
Vytvořena třída TransformProcessor, nahrazuje tranform.py. Nepoužívá panflutí walk, ale řeší si rekurzi sama. Aktuálně by měla umět vše, co původní transform. #21
1 year ago
Jan Černohorský
f63ed7b56a
Trochu zpoužitelněný systém příkazů. Resolves #24 .
Asi nemá úplně smysl mít nějaký magický nedeterministický způsob, jak
dělat výstupy příkazů víc inline. Pokud příkazy chtějí být volatelné
inline, musí se postarat o to, že jejich výstup s tím bude kompatibilní.
Příkaz si může ověřit, jestli se očekává inlinovost podle toho, jestli
je parametr `e` třídy BlockCommand nebo `InlineCommand`.
1 year ago
Jan Černohorský
f8c1cac18e
Also upravené testovací soubory, protože se nepatrně změnilo api commandů.
1 year ago
Jan Černohorský
b4a123e817
A large set of changes + README + comments everywhere.
- Inline groups
- Raw partils
- Fixed image paths
- Overall revamped image processing
- Untrusted partials
2 years ago
Jan Černohorský
fbf491575f
Improved image processing
Images are now looked up relative to their path.
Srcsets are generated for web images for fast loading.
2 years ago
Jan Černohorský
303dcfaa1f
Main file cleanup, image processing.
2 years ago
Jan Černohorský
1e2b306b15
TeX tables.
2 years ago
Jan Černohorský
5e475f6881
Partials are now also isolated in output TeX and KaTeX. Also language is now so special it pops out to TeX as a macro at the start of each group.
2 years ago
Jan Černohorský
da30967d12
Figures and misc.
TODO:
- Custom implementation of attributes, classes and functions for math
- Image processing
- Tables for TeX
- KaTeX math context (defs work in subsequent math blocks)
2 years ago
Jan Černohorský
241e001023
Miscellaneous bugfixes, a huge TeX mess.
2 years ago
Jan Černohorský
91bbbfc2b7
Added direct print of metadata.
2 years ago
Jan Černohorský
1e9054a909
Started working on TeX output, minor bugfixes.
2 years ago
Jan Černohorský
a5e87aefde
Syntax highlighting and miscellaneous fixes.
2 years ago
Jan Černohorský
be2d8ed723
Finished KaTeX math rendering.
2 years ago
Jan Černohorský
aa46599f2e
First working HTML generation.
2 years ago
Jan Černohorský
f49085b309
Started working on HTML generation.
2 years ago
Jan Černohorský
46dff9c42c
Some more clever bavlna stuff.
2 years ago
Jan Černohorský
c85fc8ce55
Added some functionality to bavlna, metadata write
Also includes an hour and a half of debugging this issue:
https://github.com/sergiocorreia/panflute/pull/224
just to find out it was already fixed in the version that I looked at
the source code of but not in the version installed on my system.
2 years ago
Jan Černohorský
f69e8a7127
Split into more files, implemented metadata.
2 years ago
Jan Černohorský
0a11b2e466
A much cleaner system that doesn't rely on global variables for context.
2 years ago
Jan Černohorský
1cf0de20fc
Finished partials.
2 years ago
Jan Černohorský
990f5b3bb9
WIP import and include
2 years ago
Jan Černohorský
eab36a19af
A reimplementation of the command system.
Also transform now doesn't do the traversing by itself but is called by
panflute's walk.
2 years ago
Jan Černohorský
4aeadd3c71
Started working on command execution, added direct code execution, removed some bugs.
2 years ago
Jan Černohorský
f04ce0693b
A lot of things, ifn, WIP commands.
2 years ago
Jan Černohorský
4ca04d8202
Initial very WIP commit.
2 years ago