5 ms·
I 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 ar
by RyEgswuCsn 3y ago
I 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