Commit graph

50 commits

Author SHA1 Message Date
7769b12cda Resolve #23. 2023-07-21 12:56:07 +02:00
bec8100786 Přejmenování zkratkovitě pojmenovaných proměnných a fix změn z fe63458a51 aby to actually fungovalo. #13 2023-07-20 23:05:00 +02:00
516c2fb8e0 Use str.replace() instead of regex. #13 2023-07-20 22:25:13 +02:00
fe63458a51 Změněn interface OutputGeneratoru. Viz poslední komentář v #13. 2023-07-20 22:15:55 +02:00
6b60c313be Velmi velmi nedodělané generování pandoc-like LaTeXu, see #22. 2023-07-19 23:25:06 +02:00
9092102fce Vylepšený error handling, žádná chyba už není Exception, warningy používají pythoní warnings #3 2023-07-19 19:30:28 +02:00
6dd2cbc995 Částečně předělán image processing, resolved #4, resolved #6. 2023-07-19 19:17:00 +02:00
6606c72a55 https://pandoc.org/MANUAL.html\#extension-latex_macros NO 2023-07-19 17:19:45 +02:00
1ed1265b19 Unifikace stylu názvů proměnných, viz můj komentář v #14. 2023-07-19 16:18:09 +02:00
cfbe3e128d #13: Přidáno deprecation varování do původní html funkce. 2023-07-19 15:31:37 +02:00
fe0345570c #13: Předěláno generování HTML na nový systém. Resolves #10. Pracuje se s tím podstatně líp. 2023-07-19 15:28:21 +02:00
fde4c2b476 Fix menší chyby v output_generatoru. 2023-07-18 23:18:44 +02:00
1a56c0e03f První draft #13, obecná třída ze které podědí HTML_generator a TeX_generator. 2023-07-18 23:00:59 +02:00
48e6f53a4f Bump package-locku pro katex-server, protože si nato npm stěžovalo. 2023-07-18 19:33:45 +02:00
4375e3fc8f Vyřešeno pár errorů od pyrightu, odstraněny hvězdičkové importy (#16), zbyly jen v html.py a tex.py, které se stejně budou celé předělávat. 2023-07-18 19:33:23 +02:00
af3138c049 Přidán .editorconfig, aby editory nedávaly mezery, kam nepatří. :) 2023-07-18 18:05:59 +02:00
410c2852b2 Resolve #20: Na katex-server čekáme pomocí stdoutu. 2023-07-18 18:02:02 +02:00
76c1a5fd04 #1: katex-server si nyní sám volá npm install
Po poradě s kamarády pythonáři se to asi tak má dělat, i když je to trochu eh
2023-07-18 17:47:29 +02:00
7b77499012 #1: Zabalíčkování katex-serveru 2023-07-18 17:15:09 +02:00
6982b31996 První pokus o #1, zabalíčkování. 2023-07-18 14:51:53 +02:00
f3309d6569 Add LICENSE 2023-06-07 12:46:55 +00:00
bc45937d8e print in commands now automatically converts to string, untrusted partials cannot include beyond PWD. 2023-02-20 00:58:22 +01:00
e07141fe10 Don't leave hanging katexserver. 2023-02-11 18:26:12 +01:00
b4a123e817 A large set of changes + README + comments everywhere.
- Inline groups
- Raw partils
- Fixed image paths
- Overall revamped image processing
- Untrusted partials
2023-02-07 02:47:48 +01:00
fbf491575f Improved image processing
Images are now looked up relative to their path.
Srcsets are generated for web images for fast loading.
2023-02-06 16:56:52 +01:00
303dcfaa1f Main file cleanup, image processing. 2023-02-06 01:00:45 +01:00
1e2b306b15 TeX tables. 2023-02-05 17:53:18 +01:00
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. 2023-02-05 17:13:50 +01:00
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)
2023-02-05 01:15:08 +01:00
241e001023 Miscellaneous bugfixes, a huge TeX mess. 2023-02-04 18:49:24 +01:00
91bbbfc2b7 Added direct print of metadata. 2023-02-04 00:51:46 +01:00
7de248bcdc Added output files to gitignore. 2023-02-04 00:30:30 +01:00
1e9054a909 Started working on TeX output, minor bugfixes. 2023-02-04 00:29:45 +01:00
a5e87aefde Syntax highlighting and miscellaneous fixes. 2023-02-03 22:54:33 +01:00
be2d8ed723 Finished KaTeX math rendering. 2023-02-03 14:54:16 +01:00
f71eea3c06 Started working on KaTeX integration. 2023-02-02 18:48:48 +01:00
aa46599f2e First working HTML generation. 2023-02-02 16:39:18 +01:00
f49085b309 Started working on HTML generation. 2023-02-02 02:50:33 +01:00
46dff9c42c Some more clever bavlna stuff. 2023-02-01 01:55:55 +01:00
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.
2023-02-01 01:32:36 +01:00
f69e8a7127 Split into more files, implemented metadata. 2023-01-31 14:37:00 +01:00
0a11b2e466 A much cleaner system that doesn't rely on global variables for context. 2023-01-31 13:38:54 +01:00
1cf0de20fc Finished partials. 2023-01-31 00:44:48 +01:00
990f5b3bb9 WIP import and include 2023-01-30 01:46:50 +01:00
eab36a19af A reimplementation of the command system.
Also transform now doesn't do the traversing by itself but is called by
panflute's walk.
2023-01-29 20:44:29 +01:00
4546aaa765 Nefunkční stav: Před přepsáním na použití funkce walk 2023-01-29 19:21:03 +01:00
4aeadd3c71 Started working on command execution, added direct code execution, removed some bugs. 2023-01-24 03:17:30 +01:00
f04ce0693b A lot of things, ifn, WIP commands. 2022-11-24 16:57:54 +01:00
51ec48bf05 Added MJ's show function. 2022-11-20 00:37:03 +01:00
4ca04d8202 Initial very WIP commit. 2022-11-20 00:20:41 +01:00