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.

Many thanks for your help,

Pablo
return {
    name     = "Korean",
    version  = "1.00",
    comment  = "Some Korean stuff",
    author   = "Hans Hagen",
    metadata = {
        pdftag = "ko",
        export = "ko",
    }
}
return {
    name     = "Chinese",
    version  = "1.00",
    comment  = "Some Chinese stuff",
    author   = "Hans Hagen",
    metadata = {
        pdftag = "zh",
        export = "zh",
    }
}
return {
    name     = "Farsi",
    version  = "1.00",
    comment  = "Some Farsi stuff",
    author   = "Hans Hagen",
    metadata = {
        pdftag = "fa",
        export = "fa",
    }
}
return {
    name     = "German (1901)",
    version  = "1.00",
    comment  = "Some old German ortography stuff",
    author   = "Hans Hagen",
    metadata = {
        pdftag = "de-1901",
        export = "de-1901",
    }
}
return {
    name     = "Ukranian",
    version  = "1.00",
    comment  = "Some Ukranian stuff",
    author   = "Hans Hagen",
    metadata = {
        pdftag = "uk",
        export = "uk",
    }
}
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to