Is there a best practice for ConTeXt source files, at all?
On 24 Apr 2021, at 13:55, Henning Hraban Ramm <texml@fiee.net> wrote:Am 24.04.2021 um 11:45 schrieb Jan U. Hasecke <juh+ntg-context@mailbox.org>:
Do you know of any prettifying tool?
I don’t know one.Is there a best practice for ConTeXt source files, at all?
I guess many of us adhere to Hans’ style, as shown in the sources.
i.e. e.g.
\setupsomething
[name]
[key=value,
otherkey=value]
while I prefer:
\setupsomething[name][
key=value,
otherkey=value,
]
That looks clearer to me and works a bit better with automatic indenting in editors.
But source code formatting is a matter of taste in most cases.
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________