4 ms·
Perhaps, although personally I prefer latex, because at its best it is somewhat self describing: \chapter{Animals} instead of == Animals or should that be:
by AngusH 6y ago
Perhaps, although personally I prefer latex, because at its best it is somewhat self describing:
\chapter{Animals}
instead of
== Animals
or should that be:
=== Animals
I think an xml or html like approach is better:
<chapter>Animals</chapter>
One of the big issue is modal states for structure or styling.
I've often found trouble in latex because you are in some state that you didn't expect and somehow have to get out of.
Nested XML would hopefully be more obvious about what your state is.
Docbook probably got this right, but it was too verbose for most.
- misnome 6y ago\chapter, or should that be \section, or should that be \subsection, or \subsubsection etc, depending on which layout you are using. \part maybe?
- AngusH 6y agoGood point, https://en.wikibooks.org/wiki/LaTeX/Document_Structure#Sectioning_commands https://en.wikibooks.org/wiki/LaTeX/Document_Structure#Secti... wikibooks latex guide suggests \chapter is level 0, which gives "=" (1 equals sign), But then surely the h1 document title should be above that, which would be "=" (1), so a chapter is below at "==" (2)? \part apparently is -1 in latex, which would be seem to be odd. But document title isn't part of the latex sectioning hierarchy... Given that there is a document title, part and chapter, chapter could maybe "===" (3) or maybe "==" (2) if we're not using parts or we don't consider the document title. I think anyway? It's unfortunate that the creators of latex did not follow the HTML heading rules better. (despite latex pre-dating html of course) :-)
- mmcdermott 6y agoTrue, it is more self-describing and that has some real benefits. What I typically found was that I didn't like writing in LaTeX for the same reason I don't like writing in HTML -- the syntax occupies more space and so it gets more attention, which pulls me away from the thoughts I was actually trying to write.