this post was submitted on 08 Oct 2023
3 points (100.0% liked)

Emacs

305 readers
1 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

Typst is a very young but very promising markup language with use-cases similar to LaTeX. One big objective advantage of typst over LaTeX is compilation speed.

For that reason alone, it would be nice to be able to export org to PDF through typst.

Does anyone have a fledgling ox-typst implementation (open to contributions)?

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 11 months ago

For reference https://github.com/typst/typst

Looking quickly at the spec, I don't think much of the typst functionality would be used by an org exporter.

If you are interested in such an exporter, I'd recommend you put together a description of the mappings that you'd like to see. That is, what org features do you need and how does that translate into a typst feature; I'm not asking for an implementation, just guidance on the scope of a first-pass at the exporter. That will give someone with the technical skills to implement an org exporter guidance as to what features to focus on.

[–] [email protected] 1 points 10 months ago (1 children)

Hey! Yes, I have started working on one in July. I have also been working on documentation for org-export, because right now it simply doesn't exist. No, reading org-element code is not documentation, and it's not even "self-documentation", because I had to read the code itself and not the automatically generated documentation that appears when I use `C-h f`, since the actual docstrings are templated garbage. So yeah, but I don't think I'll be finishing it any time soon. I may upload it to github if you need it though.

[–] [email protected] 1 points 10 months ago (1 children)

I may upload it to github if you need it though

Please do.

[–] [email protected] 1 points 10 months ago (1 children)

I did upload it, but it was deleted for some reason. on github: filipencopav/unfinished-ox-typst

[–] [email protected] 1 points 10 months ago