Hans,

I’m not sure I understand the differences between postion(), match() and
and index()
[https://www.pragma-ade.com/general/manuals/xml-mkiv.pdf#page=34].

The XML snippet that comes with them only makes sense to me when
<resources> and <collections> have their tags closed.

I attach the diff containing what I think is the right way to do it.

Many thanks for your excellent work,

Pablo
--- /context/tex/texmf-context/doc/context/sources/general/manuals/xml/xml-mkiv-expressions.tex	2021-07-27 19:40:31.249792000 +0200
+++ /xml-mkiv-expressions.tex	2022-05-21 18:33:10.172268738 +0200
@@ -103,14 +103,14 @@
       <paper>.2.</paper>
       <screen>.2.</screen>
     </manual>
-  <resources>
+  </resources>
   <resources>
     <manual>
       <screen>.3.</screen>
       <paper>.3.</paper>
     </manual>
-  <resources>
-<collection>
+  </resources>
+</collection>
 \stoptyping
 
 The following then applies:
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-context

Reply via email to