keenwrite
xenops
Our great sponsors
keenwrite | xenops | |
---|---|---|
71 | 10 | |
493 | 169 | |
- | - | |
8.1 | 1.7 | |
6 days ago | 3 months ago | |
Java | Emacs Lisp | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
keenwrite
- FLiP Stack Weekly 28-Jan-2023
-
Pure Java Typesetting System
> like font face, font size, horizontal and vertical element positioning and line spacing, etc.
May I recommend ConTeXt?
For my purposes, KeenType was only meant to provide a real-time "rough draft" of equations rendered inside of KeenWrite[0], my FOSS Markdown editor. That is, I edit in Markdown, then KeenWrite converts the inline TeX-based equations for previewing. When I'm ready to create a "finished" product, KeenWrite exports the Markdown to XHTML then feeds the XHTML, along with a theme, to ConTeXt[1]. The various themes[2] are where font faces sizes, alignment, kerning, etc. are tweaked. In this way content remains completely separated from presentation.
[0]: https://github.com/DaveJarvis/keenwrite
-
Architecture diagrams should be code
KeenWrite[0], the FOSS Markdown text editor I’ve been working on, includes the ability to render plain text diagrams via Kroki[1]†. See the screenshots[2] for examples. Here’s a sample Markdown document that was typeset[3] using ConTeXt[4] (and an early version of the Solare[5] theme).
One reason I developed KeenWrite was to use variables inside of plain text diagrams. In the genealogy diagram, when any character name (that’s within the diagram) is updated, the diagram regenerates automatically. (The variables are defined in an external YAML file, allowing for integration with build pipelines.)
Version 3.x containerizes the typesetting system, which greatly simplifies the installation instructions that allow typesetting Markdown into PDF files. It also opens the door to moving Kroki into the container so that diagram descriptions aren’t pushed over the Internet to be rendered.
†Kroki, ergo KeenWrite, supports BlockDiag (BlockDiag, SeqDiag, ActDiag, NwDiag, PacketDiag, RackDiag), BPMN, Bytefield, C4 (with PlantUML), Ditaa, Erd, Excalidraw, GraphViz, Nomnoml, Pikchr, PlantUML, Structurizr, SvgBob, UMLet, Vega, Vega-Lite, and WaveDrom.
Note that Mermaid diagrams generate non-conforming SVG[6], so they don’t render outside of web browsers. There is work being done to address[7] this problem.
[0]: https://github.com/DaveJarvis/keenwrite
[1]: https://kroki.io/
[2]: https://github.com/DaveJarvis/keenwrite/blob/main/docs/scree...
[3]: https://pdfhost.io/v/4FeAGGasj_SepiSolar_Highlevel_Software_...
[4]: https://wiki.contextgarden.net/Main_Page
[5]: https://github.com/DaveJarvis/keenwrite-themes/
-
Is it possible to add LaTeX commands to a markdown file?
KeenWrite leverages KeenWrite Themes to change how documents are presented. The Tarmes theme is an example of a very basic theme, meant to act as a base for making new themes. Take a look at Tarmes, which is probably the closest answer to your question. Feel free to add issues against the issue tracker or add questions to the discussion area.
My editor, KeenWrite allows typesetting of TeX, as shown in its screenshots. The reason I developed the editor to be TeX-based is because there are other TeX implementations besides LaTeX. One of them is ConTeXt.
- is it possible to use markdown instead of html for a website
-
OpenJDK Proposes Project Galahad to Merge GraalVM Native Compilation
It'll help build cross-platform desktop applications. In theory, it'll mean hooking the build process up to a GitHub action to build platform-specific binaries, such as my FOSS KeenWrite Markdown editor[0], without having to have a copy of every operating system.
To my knowledge, cross-compiling "native" Linux and Windows binaries using Java requires duct tape, chewing gum, and warp-packer.[1]
GraalVM isn't a panacea, though.[2] For example, GraalVM cannot compile Renjin, a pure Java R interpreter, so you have to switch from Renjin to FastR. Switching isn't trivial.
[0]: https://github.com/DaveJarvis/keenwrite
[1]: https://dave.autonoma.ca/blog/2020/06/29/write-once-build-an...
-
Converting my PhD thesis into HTML
> Nevertheless, I would prefer a Markdown-based system
My free, cross-platform desktop Markdown editor, KeenWrite[1], integrates with the ConTeXt typesetting software[2]. I'm working on a branch[3] to make integration containerized[3] because its installation is painful. KeenWrite limits math to plain TeX[4] so that the output can be rendered using any TeX-based typesetter (ConTeXt, LaTeX, MathJax, εχTEX, etc.).
Here's a sample document typeset using ConTeXt (skip to page 40 for the math):
https://pdfhost.io/v/4FeAGGasj_SepiSolar_Highlevel_Software_...
That document theme is called Solare[8].
> that can use CSS and MathML
Adding CSS mixes presentation logic with content, which is something KeenWrite strives to avoid. Instead, KeenWrite implements Pandoc's annotation syntax to keep presentation logic out of the content. I've written about this extensively in my Typesetting Markdown series[5].
You can produce some pretty amazing documents just with annotations, such as the following that I wrote in Markdown and typeset using ConTeXt:
https://impacts.to/downloads/lowres/impacts.pdf
> has a 100% bibtex clone for references.
Markdown fails at references. At some point, I'd like to implement cross-references in KeenWrite. Except there's at least six competing standards for the syntax, which I've also remarked upon[6], making the choice of syntax difficult[7].
[1]: https://github.com/DaveJarvis/keenwrite
[2]: https://wiki.contextgarden.net/Installation
[3]: https://github.com/DaveJarvis/keenwrite/blob/1_typeset_using...
[4]: https://github.com/DaveJarvis/keenwrite/blob/main/docs/scree...
[5]: https://dave.autonoma.ca/blog/2020/04/28/typesetting-markdow...
[6]: https://talk.commonmark.org/t/cross-references-and-citations...
[8]: https://github.com/DaveJarvis/keenwrite-themes/tree/main/sol...
- Consider Using CSV
- Inkscape 1.2.2 Released
xenops
-
Looking for a neovim GUI with image previews
Hi, I really like this package for emacs that allows to preview latex and images directly in the document (not in an extra window): https://github.com/dandavison/xenops.
-
Preview LaTeX equations on *.tex files
im surprised noone has mentioned https://github.com/dandavison/xenops which does exactly what you're looking for
-
Ask HN: What is your “I don't care if this succeeds” project?
https://github.com/dandavison/xenops
Mathematical LaTeX editing in Emacs with automatic inline rendering of math, tables, and TiKZ diagrams.
It's hard to imagine this getting popular because (a) it's Emacs, (b) LaTeX is a pain and Overleaf is pretty nice, (c) I think it would require the Auctex team to want to adopt my implementation, and combine their expertise and code to parse LaTeX math delimiters as reliably as auctex does, (d) I only use and develop Xenops when I'm studying maths, which is not at all now I have a real job again. But Xenops is nice to use.
-
I'm able to take notes in mathematics lectures using LaTeX and Vim
Plug: I recently created a new LaTeX editing environment for Emacs with automatic inline rendering of math, TikZ diagrams, and tables:
https://github.com/dandavison/xenops
It creates plain LaTeX files that can be shared with non-Emacs users, but also works with org-mode. Math preview images are SVG by default and are crisp on high res / retina screens.
-
JupyterLab LaTeX – live-editing of LaTeX documents in JupyterLab
Plug: If you're an Emacs user, I've written an emacs LaTeX editing environment with automatic live rendering of LaTeX math, tables, and TikZ images. The images are rendered asynchronously using emacs-aio.
-
TeXmacs and the Art of Mathematical Writing
[Plug] If you're an emacs user, here's a project which renders all math in LaTeX documents to SVG preview images automatically as you type:
https://github.com/dandavison/xenops
I've used it a lot and I believe the experience is better than preview-latex in auctex (that's the only thing from auctex that it replaces).
-
More Emacs archaeology: xenomacs? Circa 2000?
Xenops - Definitely too new.
What are some alternatives?
markdown-preview.nvim - markdown preview plugin for (neo)vim
marktext - 📝A simple and elegant markdown editor, available for Linux, macOS and Windows.
zenburn-emacs - The Zenburn colour theme ported to Emacs
Zettlr - A Markdown Editor for the 21st century.
vim-markdown - Markdown Vim Mode
org-fragtog - Automatically toggle Org mode LaTeX fragment previews as the cursor enters and exits them
m4b-tool - m4b-tool is a command line utility to merge, split and chapterize audiobook files such as mp3, ogg, flac, m4a or m4b
SpaceVim - A community-driven modular vim/neovim distribution - The ultimate vimrc
novelWriter - novelWriter is an open source plain text editor designed for writing novels. It supports a minimal markdown-like syntax for formatting text. It is written with Python 3 (3.7+) and Qt 5 (5.10+) for cross-platform support.
JupyterLab - JupyterLab computational environment.
kroki - Creates diagrams from textual descriptions!
transitions - A lightweight, object-oriented finite state machine implementation in Python with many extensions