4 ms·
I took a different architectural approach with my plain text editor, KeenWrite[0]. Edit the document in plain text and plain TeX with a real-time preview, then
by thangalin 5y ago
I took a different architectural approach with my plain text editor, KeenWrite[0]. Edit the document in plain text and plain TeX with a real-time preview, then generate the final stylized PDF using ConTeXt. In the screenshots[1], the "pdf themes" section shows a single source of truth being edited in the background with three different PDFs in the foreground: a manuscript format, a format using Baskerville, and a plain Times Roman-esque version.
This approach allows complete separation of content versus presentation, thanks to ConTeXt. (Although separating the two is possible with LaTeX, seldom does anybody do so.)
The motivation behind building yet another text editor, though, wasn't TeX integration; rather, I wanted a text editor that allows me to quickly and easily reference variables organized hierarchically[2].
[0]: https://github.com/DaveJarvis/keenwrite https://github.com/DaveJarvis/keenwrite
[1]: https://github.com/DaveJarvis/keenwrite/blob/master/docs/screenshots.md https://github.com/DaveJarvis/keenwrite/blob/master/docs/scr...
[2]: https://www.youtube.com/watch?v=u_dFd6UhdV8 https://www.youtube.com/watch?v=u_dFd6UhdV8