Jim <[email protected]> writes:
> That is a good principle... but one should not descend into misery trying
> to do that. The regexp
> "\\(?:[ \t]*\\(?:\\[[^][]*?\\(?:{[^}{]*}[^][]*\\)*\\]\\)?\\|.*$\\)"
> looks like the sort of thing that could bring on a migraine headache. :-)
You get used to that kind of regexp stuff, be patient ;-)
> I do get good results with the tests I ran.
>
> As it turns out, I was mixing up commands a bit: \startcomponent can't
> take a \title, but I did check with
> \startdocument [metadata:author={fun and ] games}]
> (this metadata gets put in the PDF), and I checked that the author
> field in the metadata is exactly what I might hope.
Thanks for testing.
> So I think your suggestions for ConTeXt-header-end and
> ConTeXt-trailer-start are good, and if your offer to push them into
> git is still on offer, please go ahead and do so.
Done.
Best, Arash