You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using the lang:[] macro in the ISO Rice document, to output variant as multilingual variants of term designations. But we have done away with the variant element, outside of organisation names, in favour of repeating the element with different languages. This was done in order to simplify the Relaton grammar.
But this needs to be generalised. If an element contains just lang:[] variant elements, it can be converted in this way. But if we have adjacent lang:[] instances in running text, we need to wrap them into spans:
This is a lang:en[A] lang:fr[B]
to
<span lang="en">A</span> <span lang="fr">B</span>
We don't particularly want lang:[] used outside of Semantic XML elements like terms, but we do need to cope with it if it occurs in general, now that we have got rid of variant for language variants.
Btw @ronaldtse This is part of me finding discrepancies between the grammar and the output: variant should no longer be used in this sense.
The text was updated successfully, but these errors were encountered:
We are using the
lang:[]
macro in the ISO Rice document, to outputvariant
as multilingual variants of term designations. But we have done away with thevariant
element, outside of organisation names, in favour of repeating the element with different languages. This was done in order to simplify the Relaton grammar.So we don't want
to output
but
But this needs to be generalised. If an element contains just lang:[] variant elements, it can be converted in this way. But if we have adjacent lang:[] instances in running text, we need to wrap them into spans:
to
We don't particularly want lang:[] used outside of Semantic XML elements like terms, but we do need to cope with it if it occurs in general, now that we have got rid of
variant
for language variants.Btw @ronaldtse This is part of me finding discrepancies between the grammar and the output:
variant
should no longer be used in this sense.The text was updated successfully, but these errors were encountered: