After thinking it over, the "nb" and "nn" issue probably a bug in the
L10N files for ditac - which I myself have translated.
I suppose the following:
<message name="openQuote"> «</message>
<message name="closeQuote">» </message>
should be changed to the following:
<message name="openQuote">«</message>
<message name="closeQuote">»</message>
When it comes to the "no" issue, then this is probably simply because
there is no no.xml file for ditac ... And since "no" simply means
"Norwegian", without being specific about Norwegian Nynorsk or Norwegian
Bokmål, there isn’t really a - eh - neutral way to way to create a
'no.xml' file. Even Common Locale Data Repository seem - according to my
quick search - to ignore 'no', and simply recommend 'nb' and 'nn'. See
http://cldr.unicode.org/
I must think about this ...
Leif
On 10 Jan 2018, at 0:58, Leif Halvard Silli wrote:
See the attached topic file (q-bug-in-pdf.dita).
The various sections of the attached topic file is set to
xml:lang="fr", "en", "de", "nb", "nn" and "no".
The trouble is with "nb", "nn" and "no".
* First the issue with "no": Here the issue is that PDF-conversion
(and XMLmind) uses “upper quotes” instead of «typographical
quotes». For "nn" and "nb" this is not an issue. Perhaps you need to
make sure that "no" is aligned with "nn" and "nb".
* Second, the issue with "nn" and "nb". Here the issue is that, as can
be seen in the attached PDF, *after* the </q>, there is a wide gap of
white-space. Worse (although it is not visible in this particular
PDF), it can happen - as it recently happened to me - that, when ditac
wants to insert a line-break just after the <q>, the dot can be placed
on the next line (instead of being kept together with the quotation
mark), like so:
«this is a quotation»
.
* The last example of the document shows the output that I expect for
both "nn", "nb" and "no".
At the moment, I am very reluctant to use <q> at all, due to this
issue.
Leif Halvard Silli
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support