4 ms·
Skip it and go straight to Typst. https://github.com/typst/typst https://github.com/typst/typst https://github.com/qjcg/awesome-typst https://github.com/qjcg/
by velcrovan 3y ago
Skip it and go straight to Typst.
https://github.com/typst/typst https://github.com/typst/typst
https://github.com/qjcg/awesome-typst https://github.com/qjcg/awesome-typst
- distcs 3y agoLaTeX is a de-facto standard in academia and journals. Makes it very hard to just skip and go to Typst or any of the other recent takes on math typesetting.
- wenc 3y agoLooks interesting and I could see this being adopted in limited situations. Most Latex users only use a tiny subset of its capabilities. Most non-math journals also easily accept non Latex manuscripts. The math part seems similar to Latex (without backslashes) which is important since most folks have built muscle memory there (not just for documents but also for typing math in other situations like Markdown docs and Mathjax or KaTeX websites) The only issue is the ecosystem for specialized fields with their own typesetting requirements. But I’m all for anything that is easier to debug than Latex. That said I feel it will never truly compete with LaTeX in terms of adoption. LaTex is like SQL — it’s long in the tooth and has some minor design issues but represents something very fundamental that defies reinvention.
- benterix 3y agoThank you for this, I might consider it for my next paper - it seems great at a first glance. Do you use it on a daily basis? Any problems I should be aware of? I see quite a few open issues - do they actually matter?
- lugao 3y agoI've utilized it to craft a number of high-school level mathematics and physics problems and solutions, and the experience was genuinely pleasing. The scripting language brings a fresh perspective to the markup language, while the plugin ecosystem is steadily expanding and improving. Though I don't have firsthand experience in formatting documents to meet publication standards, the flexibility it offers seems promising for such applications. My sincere hope is that it garners the recognition it truly deserves, and that significant publications in the future will embrace it, rolling out official templates directly in typst.
- wewxjfq 3y agoIt can't embed PDFs and there doesn't seem to be a solution in sight, because they want to keep their software stack working in the browser. It supports embedding SVGs, but converting PDF to SVG never works well, so the only reliable option is to render the PDF to high-DPI PNG. The font subsetting seems to be suboptimal. I had small documents that were a megabyte when they should have been a few kilobytes. This however can be fixed with PDF tools.
- dr_kiszonka 3y agoWould you happen to know if it is possible to convert an existing Latex document into Typst?
- velcrovan 3y agoYou could do it with Pandoc (https://github.com/jgm/pandoc https://github.com/jgm/pandoc), it supports both Latex and Typst as input and output formats, and can use either as a PDF engine.
- dr_kiszonka 3y agoGreat - thanks so much!
- deleted 3y ago[deleted]
- chaxor 3y agoThis looks neat. I noticed it has a scripting language built in, but how might one use already made scripts in another language? For example, if I already have a make_plot.py script, can I just call it instead of rewriting everything in this new scripting language? It seems that this functionality would be absolutely crucial for adoption, but there's nothing but complaining and disagreement on the issue raised on this in the GitHub.
- RyEgswuCsn 3y agoI kind of hoped that new contenders to LaTeX could ditch the state-based sections (e.g. `\section{Introduction}`) and switch to strictly scoped sections that are properly closed (i.e. section trees).
- taeric 3y agoHTML is evidence that having to do a closing tag is an amusing non-starter for authored pages. Such that I don't see that flying too well.
- 13415 3y agoThe problem with HTML is that you name the tags and can close them anywhere.You could have something like this instead: \section{Introduction}{ . . . }
- taeric 3y agoI get the motivation. I'm not sold on the results. Especially since you will have a ton of machinery around what sections can go in other sections. It really is nicer to not have the brackets.
- psychoslave 3y agoSure, but a single pair of parentheses is enough: [section[Introduction][...]]
- diarrhea 3y agoGood point, never thought of that. Indentation would become hellish though.
- xigoi 3y agoSections in my markup language work like that. I definitely find it a better approach. https://xidoc.nim.town/commands.html#section https://xidoc.nim.town/commands.html#section
- jksk61 3y agoit's like suggesting to use julia for ML 5 years ago instead of using Python, because it is new. Nowadays is somewhat decent but still lags behind PyTorch and none cares, same will be for Typst unless something major happens. For example, how I'm supposed to use a markdown language that doesn't have a tikz-like library? Sure you can still write commutative diagram but that's not all tikz does.
- lenkite 3y agoWould be great if they had stuck to typesetting Math instead of inventing a new programming language. Lot of scope creep there. Who wants to learn yet another programming language ?