Commit graph

135 commits

Author SHA1 Message Date
a2468b54e1 Merge remote-tracking branch 'origin/master' into jk-bakalarka 2024-02-27 10:24:41 +01:00
945bb760e8 UCWTeX: Figure je float 2024-02-27 10:23:33 +01:00
88d653af15 Číslování 2024-02-27 10:22:37 +01:00
583b3ba010 Stop adding NBSPs around TeX math. Patches welcome to make this smarter. 2024-02-27 10:14:19 +01:00
9ccd2886b9 Bump katex-server: Nobody needs a better nullish coalescing operator than OR 2024-02-27 10:11:39 +01:00
c90e00a1ae Fix broken transformation of divs and spans. 2024-02-27 10:02:19 +01:00
4dd1eb0314 TeX: Základní implementace citací 2024-02-25 23:54:02 +01:00
48e34eaf8e BakalářkoTeX 2024-02-25 22:24:45 +01:00
37c8ec4e2e Slanted font 2024-02-25 22:24:09 +01:00
62263fbe0f Merge remote-tracking branch 'origin/master' into jk-bakalarka 2024-02-25 18:02:59 +01:00
7f52abde14 katex-server bump: Removed null coalescing operator, because I don't want to update node on every computer in existence. 2024-02-24 02:11:57 +01:00
f0d939a65b Separate context init for transform processor into separate function, add option to not make images clickable. 2024-02-23 23:37:22 +01:00
f14f28d3a4 Added dependency printing 2024-02-22 14:02:32 +01:00
cd07b3abf8 Creating of dirs in namespaces only when they're accessed (this is needed because until then, we don't know what $dir is. Also telling pandoc to strip comments. 2024-02-22 11:50:50 +01:00
a1c439c32e Minor fixes, typos, generating of MetaValues, fixed error where KeyErrors from the inside of the tree would get eaten. 2024-02-21 23:34:23 +01:00
72b9bc7bf1 Add special StandaloneHTMLGenerator. Also handle prepending the document in a more pandocy way. 2024-02-21 21:43:49 +01:00
7f3490536e Attach Groups correctly in the tree, Images now support height in HTML. 2024-02-21 16:27:04 +01:00
3ce0b5037b Some changes to allow commands to touch the rest of the tree they're currently in. This shall only be done on parts of the tree not yet transformed, otherwise, very weird things can happen. 2024-02-21 15:04:25 +01:00
e2f2c4f5f0 Ještě více magie, která se snaží zachraňovat blokové výstupy z příkazů, které byly zavolány jako Span. 2024-02-20 20:09:58 +01:00
7b81919914 OK the submodule was broken. 2024-02-20 18:27:34 +01:00
6180b581b8 KaTeX server is now in separate repo. 2024-02-20 18:23:51 +01:00
93f5949361 Přidána data na kontextu nezávislá na docu. 2024-02-20 12:13:06 +01:00
5c066d46af Fix handlování cest obrázků, když jsou namespacové. 2024-02-20 01:00:36 +01:00
caef60d472 TP is now passed to commands. Output from the TP is not transformed automatically and has to be done manually from the commands. 2024-02-18 00:27:13 +01:00
f97ee7de52 renamed: formatitko.tex -> src/formatitko/formatitko.tex 2024-02-18 00:18:22 +01:00
84a4f6acb7 Merge pull request 'Přidány namespaces pro obrázky, jak jsme se o nich bavili s @mj' (#55) from image-namespaces into master
Reviewed-on: #55
2024-02-17 23:57:47 +01:00
b9c193d45f Implemented image processor namespaces 2024-02-17 23:47:30 +01:00
1950ab56e6 Errors now print full path from CWD, not just filename 2024-02-17 23:46:46 +01:00
7783dc25f4 Drobnosti 2024-02-17 23:40:24 +01:00
ce0a3e1192 Actually deprecate the old stuff (forgot a few imports). 2024-02-17 21:34:11 +01:00
405a4f396c Číslování sekcí 2024-02-17 20:55:12 +01:00
723038a2bd Deprecated old versions of transform, html and tex generation. 2024-02-17 18:24:08 +01:00
c7dd1a2e95 Merge pull request 'Experimental error handling with snippets of input for OutputGenerator.' (#54) from error-handling into master
Reviewed-on: #54
2024-02-17 18:21:41 +01:00
50b29b1ae3 Improved error messages 2024-02-17 18:07:47 +01:00
affc2c4279 Fix chybějících obrázků v testech 2024-02-17 11:18:11 +01:00
a15a711d0f Přechot na LuaTeX 2024-02-17 11:16:20 +01:00
2e76687172 Merge branch 'master' into error-handling 2024-02-16 17:15:39 +01:00
6de4ea2743 Error handling now contains filename. 2024-02-15 18:19:10 +01:00
42a63b3163 Partial rewrite of error handling
Now the error doesn't handle itself, but offers a helper function to do
it.
2024-02-15 18:09:54 +01:00
a7963ba824 WIP: Experimental error handling with snippets of input for OutputGenerator. Would be nice to generalise for TransformProcessor, which is not easy as they don't have a common parent class. 2024-01-06 19:32:54 +01:00
6fe4ef8aaf Fix: Do HTML se nepsala dvojdolarová matematika 2023-12-25 13:50:10 +01:00
f49e791807 Fix #53 2023-12-11 02:27:31 +01:00
05ffd321d8 Inline KaTeX musí zůstat inline i v HTML jinak přidává mezery, kam nemá. 2023-11-15 16:03:51 +01:00
0f7ed0ae32 Menší změny po code review s @wipocket. 2023-10-01 15:33:34 +02:00
63cd7a212a Přidáno automatické volání TeXu a generování pdf, resolves #17. 2023-09-21 21:15:16 +02:00
dc3b6510bb Merge branch 'katex-socket'
Mergeuju, protože mě snad nenapadá žádný problém a nechci si vytvářet
další konflikty.
2023-09-21 20:28:53 +02:00
1b971ea3b4 První draft generátoru pro UCWTex. Ocením feedback od @jirikalvoda a @mj. #22 2023-09-21 17:22:59 +02:00
fa2cf0a5cc Fixed html escape of code blocks. 2023-09-20 23:58:41 +02:00
9fa0cb2582 Updated README #39. 2023-09-20 23:58:30 +02:00
b7ebe6d4a0 Formátítko se nyní umí pustit jen jako KaTeX server a vrátit socket, který se dá předávat jiným formátítkům. 2023-09-20 22:53:03 +02:00