Ticket #40953

The vertical colon in traditional Chinese

Eröffnet am: 2020-11-12 23:26 Letztes Update: 2021-01-15 19:44

Auswertung:
Verantwortlicher:
(Keine)
Typ:
Status:
Geschlossen
Komponente:
(Keine)
Meilenstein:
(Keine)
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Keine
Datei:
3

Details

The vertical colons and semicolons in traditional Chinese should be vertically arranged like simplified Chinese or two dots leader instead of horizontal arranged like Japanese. (I know Japanese do not use colons and semicolons in vertical writing mode but in fact the managements of semicolons are different in luatexja and platex. platex will arrange the semicolons vertically like MS Word but I don't know what is "more" correct)

Codes for luatexja:

\documentclass{ltjtarticle}
\usepackage[match]{luatexja-fontspec}
\usepackage{lua-visual-debug}

\newjfontfamily\cn{Source Han Serif SC}[Language=Chinese Simplified, TateFeatures={JFM=zh_CN/{vert,quanjiao}}]
\newjfontfamily\tw{Source Han Serif TC}[Language=Chinese Traditional, TateFeatures={JFM=zh_TW/{vert,quanjiao}}]
\newjfontfamily\jp{Source Han Serif}[Language=Japanese, TateFeatures={JFM=ujisv}]

\begin{document}
{\cn あ:ア;漢}

{\tw あ:ア;漢}

{\jp あ:ア;漢}

\end{document}

Codes for platex

\documentclass{tarticle}

\begin{document}
あ:ア;漢
\end{document}

Ticket-Verlauf (3/8 Historien)

2020-11-12 23:26 Aktualisiert von: tanukihee
  • New Ticket "The vertical colon in traditional Chinese" created
2021-01-15 14:30 Aktualisiert von: tanukihee
  • Details Updated
2021-01-15 16:00 Aktualisiert von: h7k
Kommentar

Sorry for the late reply.

The vertical colons and semicolons in traditional Chinese should be vertically arranged

In UTR#50, fullwidth colon (U+FF1A) and semicolon (U+FF1B) are both marked with "Tr", which means "use the vertical variant if possible, but rotate 90 degrees if not". This is why LuaTeX-ja rotates fullwidth colon and semicolon.

I added the exceptional table in ltj-jfont.lua at the commit a80dbd1. If there are other characters that should not be rotate, please let me know.

2021-01-15 19:44 Aktualisiert von: tanukihee
Kommentar

Thank you for your reply. I haven't found other punctuations that should not be rotated. The ticket could be closed.

It is because the vertical semicolon is "undefined" in vertical Japanese that the managements of semicolons are different in luatexja and platex (and MS Word)?

2021-01-15 19:44 Aktualisiert von: tanukihee
  • Status Update from Offen to Geschlossen

Dateianhangliste

  • luatexja.jpg(69KB)
    • Codes compiled by luatexja
  • platex.jpg(15KB)
    • Codes compiled by platex, notice the vertical semicolon
  • MS Word.jpg(36KB)
    • How colons and semicolons are arranged in MS word

Bearbeiten

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Anmelden