Hello everyone,
I'm bringing this message back up because I would like to localize the quotation mark style for Italian. I had some doubts because, unlike English with the CMOS, Italian does not have a widely accepted reference standard, and I did not want to rely solely on my personal conventions. However, after doing some research in various texts and linguistics websites, my ideas have become even more confused.
One possibility would be to leave everything as it is, following English conventions, which are generally acceptable in Italian as well.
Another possibility would be to follow a convention similar to the French one and use guillemets (« ») as the primary quotation marks. The problem is that, while these quotation marks are often used in Italian for dialogue (which is rare or entirely absent in STEM texts) and for quoting statements by an author (a somewhat more common occurrence), there is at least one other use of quotation marks that is semantically different and might require separate treatment. I am referring to cases where we want to highlight a term, either because it has just been introduced or because it is being used in a slightly informal or non-standard sense (for example, "we are looking for a 'small' integer that satisfies the given equation"). In this case, guillemets would be inappropriate in Italian; standard quotation marks would work better, or alternatively the <em> tag could be used. This made me wonder whether it might be worthwhile to distinguish between the different semantic uses of quotation marks.
I also noticed another minor issue. As an experiment, I tried setting the language to French to see the effect on my project. My book is released under the GFDL license, and the file that needs to be used is the official English version, which contains quite a few <q> tags that should retain standard English quotation marks. To achieve this, it is sufficient to add the xml:lang="en-US" attribute to the <appendix> tag, and everything works correctly.
However, there is also a <shortlicense> tag in the preamble that should likewise have the xml:lang="en-US" attribute added. Doing so produces the correct English quotation marks, but it also causes a validation error.
Dear Rob,
Thank you for your answer.
If you want to dive into a semantic nightmare, Wikipedia documents even more different uses of quotation marks:
https://en.wikipedia.org/wiki/Quotation_marks_in_English
That said, I think that perfectly semantic markup is nearly impossible (for example, how many different uses do we have for some mathematical symbols?).
To keep things simple, the English style is perfectly reasonable for Italian as well, even if it is not the only possible choice. I wouldn't go down that rabbit hole for now.
About the licenses: following the advice in
https://pretextbook.org/doc/guide/html/open-licenses-6.html
an author could copy the version formatted for inclusion in a PreTeXt project from the source of the guide. Therefore, I would add xml:lang="en-US" to the source of the guide and possibly elsewhere. This should be harmless (even if redundant) for English-language projects, while providing a more faithful result for projects in languages other than English. I just realized that, beyond the quotation-mark issue, there is also LaTeX hyphenation to consider.
The same applies to the shortlicense code, provided that the schema is updated.