Hi, On Wed, Jul 30, 2025 at 4:41 PM Pablo Rodriguez via ntg-context <ntg-context@ntg.nl> wrote: > > On 7/29/25 22:38, Hans Hagen via ntg-context wrote: > > On 7/29/2025 8:07 PM, Pablo Rodriguez via ntg-context wrote: > >> [...] > >> Is language tagging still to be finished? > > > > you need to load a goodie (for now) > > > > \setuplanguage[agr][goodies={lang-agr.llg}] > > Many thanks for your explanation, Hans. > > I attach the goodies for language codes with different chars (no case > variants). > > Just tested them (with https://www.ngpdf.com/) and they seem to work fine. > > >> \doloopoverlist{agr, ua, deo, farsi, cn, kr, gr, es-la, mo} > >> {\startblockquote[\recursestring] > >> \dorecurse{3}{\startparagraph > >> testing language: \currentlanguage > >> \stopparagraph} > >> \stopblockquote} > > > > so you want language on a paragraph> btw, paragraph is kind of costly, > > maybe i need to check that too; there is also bpar but that one is > > ungrouped > > No, I was checking tagging and I found an issue. > > \startblockquote...\stopblockquote is tagged as > delimitedblock(Div)/delimitedcontent(Span). > > Language tag is added in delimitedcontent(Span). But blockquotes may > contain paragraphs. > > The issue is that delimitedcontent(Span) may be containing paragraph(P), > which is not allowed. > > Sorry, but I don’t see why blockquotes should contain only a single > paragraph.
As a funny coincidence, I was just looking at block quotes. We are making some simple variant of tagging in an example setup (maybe others want it differently). What do you think of \startquotation This quote contains two paragraphs. You just read the first one, this is the second one. \stopquotation giving (only look at the structure) <delimitedblock ns="1" pdf="BlockQuote"> <delimitedsymbol ns="1" pdf="Lbl"> “ </delimitedsymbol> <delimitedcontent ns="1" pdf="Div"> <paragraph ns="1" pdf="P"> This quote contains two paragraphs. </paragraph> <break ns="1" pdf="NonStruct"> <paragraph ns="1" pdf="P"/> </break> <paragraph ns="1" pdf="P"> You just read the first one, this is the second one. </paragraph> </delimitedcontent> <delimitedsymbol ns="1" pdf="Lbl"> ” </delimitedsymbol> </delimitedblock> ? This validates, and seems to be OK structure wise. There are a few more to go over, and then this will be available for testing. (The standard one will likely mostly be something very simple (read NonStruct) that surely validates...) /Mikael ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________