I still wonder why anyone would create such awful grammar for a programming language. Considering LaTeX's initial release was 40 years ago, there were certainly other programming languages from which to draw inspiration. And I certainly don't believe that LaTeX DSL was the most suitable solution for solving typesetting problems.
LaTeX3 Automatic Labels for Fun and No Profit
81–90 of 90 posts
Re: LaTeX3 Automatic Labels for Fun and No Profit
#82Weird conclusion, because LaTeX has mostly replaced TeX.
There is a nice symmetry here:
C -> C++ -> Rust ~ Typst <- LaTeX <- TeX
Re: LaTeX3 Automatic Labels for Fun and No Profit
#83> Yes, we are aware of typst. I think it’s cool, but C++ hasn’t replaced C, Rust hasn’t replaced C++, Typst is unlikely to replace LaTeX. Likewise, many are aware of LuaTeX, but, again, the entrenching of a 40-odd year system is not to be underestimated. I am rooting for typst, anyway, and hope it finds its place. Well here's the process I went through in the last few years: I found out about LuaTeX, saw it was suppo…
Typst is exciting, but I wish their roadmap would prioritize features in common use in LaTeX like microtype rather than niche new features like style revocation.
Re: LaTeX3 Automatic Labels for Fun and No Profit
#84Earlier quoted context omitted.
Typst is exciting, but I wish their roadmap would prioritize features in common use in LaTeX like microtype rather than niche new features like style revocation.
Microtype features are already incorporated. See this issue: https://github.com/typst/typst/issues/261#issuecomment-14886...
https://github.com/typst/typst/blob/10a3fbd174fc1a3f95937c91...
It's basically a kludge; there's a lot more work needed to actually implement even overhang properly.
Re: LaTeX3 Automatic Labels for Fun and No Profit
#85Earlier quoted context omitted.
pandoc is seriously under-powered for the kinds of things that LaTeX and Typst can do. Much of the information in Typst/LaTeX source code would simply be ignored during the conversion. It is fine for simple documents, but cannot handle a lot of stuff.
Pandora offers a superset of LaTeX and any other markup languages as long as you’re not using it for final rendering. I have a Markdown+LaTeX project I’m working on and try to write mostly in markdown, but can drop down into LaTeX in-line if need be. I compile a tex file with Pandoc and render with pdflatex, bibtex, makeindex, etc., etc.
what was being discussed is using Pandoc to convert from Typst to LaTeX, which it can't really do because its internal document representations are not as expressive as either Typst or LaTeX.
Re: LaTeX3 Automatic Labels for Fun and No Profit
#86> Yes, we are aware of typst. I think it’s cool, but C++ hasn’t replaced C, Rust hasn’t replaced C++, Typst is unlikely to replace LaTeX. Likewise, many are aware of LuaTeX, but, again, the entrenching of a 40-odd year system is not to be underestimated. I am rooting for typst, anyway, and hope it finds its place. Well here's the process I went through in the last few years: I found out about LuaTeX, saw it was suppo…
So I would not recommend a new PhD student (actually undergrad student) to learn Typst just yet.
Re: LaTeX3 Automatic Labels for Fun and No Profit
#87I still wonder why anyone would create such awful grammar for a programming language. Considering LaTeX's initial release was 40 years ago, there were certainly other programming languages from which to draw inspiration. And I certainly don't believe that LaTeX DSL was the most suitable solution for solving typesetting problems.
Re: LaTeX3 Automatic Labels for Fun and No Profit
#88Earlier quoted context omitted.
It should be in the LaTeX sources on the website. This does look much more compact though. Just to now push it a little. I wonder if I can make the `1/(d+1)` in the superscript be not a real fraction but inline fraction.
Here are the LaTeX versions from the article source: \begin{align} \begin{split} \mathcal{C}(M) = &\: \Et^t(\theta,\S_t)^2 + C_t M_t^{-\frac{2}{d}} + \Et^\pde(\theta,\S_\inte)^2 +C_\pde M_\mathrm{int}^{-\frac{2}{d+1}}\\&+ C_1{T}^{\frac{1}{2}} \bigg[\Et^\divv(\theta,\S_\inte) +C_\divv M_\mathrm{int}^{-\frac{1}{d+1}}+(1+\nu) big( \Et^s(\theta,\S_s) + C_s M_s^{-\frac{1}{d}}\big)\bigg],\\ \end{split} \end{align} and for…
Re: LaTeX3 Automatic Labels for Fun and No Profit
#89Earlier quoted context omitted.
I think the idea in this comment -- that users of languages inherit all of the perceived negatives of the community developing the language -- is just wrong. (I say "perceived" because some of the claims in this post are simply incorrect, such as the claim the Rust language developers think "backwards compatibility may actually be considered an anti-goal".) For example, over the last couple of years I've been re-impl…
I didn't claim anything about your project at all. A claim about a perceived tendency does not amount to asserting an absolute rule. That being said, though, for any major project, it's hard to overstate the long-term effect of community pressure. I maintain a moderately-sized project using Gtk for its GUI, and am personally deeply opposed to the RHEL blob (which Gtk/Gnome belongs to)'s culture of "windowsification"/…
Re: LaTeX3 Automatic Labels for Fun and No Profit
#90> Yes, we are aware of typst. I think it’s cool, but C++ hasn’t replaced C, Rust hasn’t replaced C++, Typst is unlikely to replace LaTeX. Likewise, many are aware of LuaTeX, but, again, the entrenching of a 40-odd year system is not to be underestimated. I am rooting for typst, anyway, and hope it finds its place. Well here's the process I went through in the last few years: I found out about LuaTeX, saw it was suppo…
Many of the equations and syntax I used in my PhD work can't be written in Typst. For instance, Young Tableaus, or commutation diagrams. Or circuits generated from inline code. I am not even sure if it has been coded in a way to support such extensions. So I would not recommend a new PhD student (actually undergrad student) to learn Typst just yet.
The ecosystem for the kind of things you mention is expanding rapidly, have a look at these:
https://typst.app/universe/package/fletcher
https://typst.app/universe/package/quill
https://github.com/fenjalien/cirCeTZ
These are based on CeTZ: https://github.com/johannes-wolf/cetz , a kind of TikZ for typst. I don't see anything for Young Tableaux but it should be easy to do based on that.