Re: [NTG-context] Crediting copyright on photographs

2022-05-05 Thread Bruce Horrocks via ntg-context
Thank-you Adam, Hraban and Richard for your suggestions. In the end it was remarkably simple: \starttext \definecollector[example] \setcollector [example] {\externalfigure[cow][width=6cm,frame=off]} \setcollector [example] [corner={right,bottom},location={right,top}]

Re: [NTG-context] Wiki update: create a .vsix extension package for VisualStudio Code (or VSCodium)

2022-05-05 Thread Hans Hagen via ntg-context
On 5/5/2022 12:01 PM, mf via ntg-context wrote: https://wiki.contextgarden.net/VSCode Thanks! Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The

[NTG-context] Wiki update: create a .vsix extension package for VisualStudio Code (or VSCodium)

2022-05-05 Thread mf via ntg-context
Hello list, I just added some instructions to the WIKI to build an extension file for VSCode, starting from the code you find in the LMTX installation at tex/texmf-context/context/data/vscode/extensions/context You find them at https://wiki.contextgarden.net/VSCode Massi

Re: [NTG-context] XML: calculations on attribute values before output

2022-05-05 Thread Duncan Hothersall via ntg-context
Thanks so much Taco, that opens the door to a lot for me. It's a tricky learning curve. Just in case anyone else is copying code in future for CALS, there's a tiny tweak to the rows calculation, it should be (t.at.morerows or 0) + 1. I see a route to solving lots of other problems here too.

Re: [NTG-context] Crediting copyright on photographs

2022-05-05 Thread Richard Mahoney via ntg-context
Bruce, I tend to do something such as the following: \startplacefigure[reference={fig:0007},location={here},title={{\it Vīkṣya}, 5b},list={Ch.\ {\sc ix}\TI {\it Vīkṣya}, 5b}] \externalfigure[plates/01-09/01-09-07- c.jpg][scale=1000,frame=off,equalwidth=325pt] {{\NI}{\tfx \copyright\ 2012

Re: [NTG-context] XML: calculations on attribute values before output

2022-05-05 Thread Taco Hoekwater via ntg-context
> On 4 May 2022, at 22:10, Duncan Hothersall via ntg-context > wrote: > > Hi. > > I'm processing an XML table and need to set a row span. Because we use a > variant of the CALS table model, spans are defined by an attribute saying how > many *additional* rows should be spanned, as opposed

Re: [NTG-context] Crediting copyright on photographs

2022-05-05 Thread Henning Hraban Ramm via ntg-context
Am 04.05.22 um 23:59 schrieb Bruce Horrocks via ntg-context: I need to include the copyright acknowledgement / photographer credit on an image but I'm not sure what's the best way to do it. Option 1: I can add the acknowledgement to the end of the \placefigure caption text: e.g.