XmacsLabs / mogan

Mogan STEM Suite (based on GNU TeXmacs): Enjoy exploring science and technology!
https://mogan.app
GNU General Public License v3.0
386 stars 31 forks source link

Insufficient punctuation rules for CJK #397

Closed z-rui closed 1 year ago

z-rui commented 1 year ago

Source:

<tabular|<tformat|<cwith|1|1|1|1|cell-width|1in>|<cwith|1|1|1|1|cell-hmode|exact>|<cwith|1|1|1|1|cell-hyphen|t>|<table|<row|<\cell>
  \<#6211\>\<#80FD\>\<#541E\>\<#4E0B\>\<#FF08\>\<#73BB\>\<#7483\>\<#FF09\>\<#800C\>\<#4E0D\>\<#4F24\>\<#8EAB\>\<#4F53\>\<#3002\>

  \<#6211\>\<#80FD\>\<#541E\>\<#4E0B\>\<#73BB\>\<#7483\>\<#FF08\>\<#800C\>\<#4E0D\>\<#FF09\>\<#4F24\>\<#8EAB\>\<#4F53\>\<#3002\>

  \<#6211\>\<#80FD\>\<#541E\>\<#4E0B\>\<#73BB\>\<#7483\>\<#201C\>\<#800C\>\<#4E0D\>\<#201D\>\<#4F24\>\<#8EAB\>\<#4F53\>\<#3002\>

  \<#6211\>\<#80FD\>\<#541E\>\<#4E0B\>\<#73BB\>\<#7483\>\<#800C\>\<#2014\>\<#2014\>\<#4E0D\>\<#4F24\>\<#8EAB\>\<#4F53\>\<#3002\>

  \<#6211\>\<#80FD\>\<#541E\>\<#4E0B\>\<#3010\>\<#73BB\>\<#7483\>\<#3011\>\<#800C\>\<#4E0D\>\<#4F24\>\<#8EAB\>\<#4F53\>\<#3002\>
</cell>>>>>

Output:

image

Problems:

da-liii commented 1 year ago

The generated ID is 112 for this bug.

da-liii commented 1 year ago

Documented in #456

da-liii commented 1 year ago

Before #510

image

After #510

image

According to https://www.w3.org/International/clreq/#prohibition_rules_for_line_start_end and the screenshots, there only one symbol to be fixed:

image
da-liii commented 1 year ago

The remaining problem is about encoding, let me close the ticket now.

closed by #510