Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

列出中西文共用码位的标点符号 #534

Open
xfq opened this issue Mar 29, 2023 · 5 comments
Open

列出中西文共用码位的标点符号 #534

xfq opened this issue Mar 29, 2023 · 5 comments

Comments

@xfq
Copy link
Member

xfq commented Mar 29, 2023

根据昨天的会议讨论,我们可以在文档中列出中西文共用码位的标点。

我可以想到的有弯引号、破折号、省略号、连接号、间隔号和分隔号。

@realfish
Copy link
Member

realfish commented Mar 29, 2023

GB/T 15834—2011 中涉及的相关标点:

  • 单引号(‘ 和 ’)、双引号(“ 和 ”),与西文引号共用码位
    • ‘‌ U+2018
    • U+2019
    • U+201C
    • U+201D
  • 破折号(——) ,与西文 em dash 共用码位
    • U+2014
  • 省略号(……), 与西文省略号共用码位
    • U+2026
  • 短横线(- 或 –),与西文 hyphen 或 en dash 共用码位
    • - U+002D
    • U+2013
  • 一字线(—),与西文 em dash 共用码位
    • U+2014
  • 间隔号(·),与西文 interpunct 共用码位
    • · U+00B7

@yisibl
Copy link

yisibl commented Oct 26, 2023

这个可以更新到规范吗?

@YDX-2147483647
Copy link

YDX-2147483647 commented Feb 22, 2024

ctex宏包实作

ctex宏包涉及“中西文公用的标点符号”,它认为以下字符中西文共用,但认为其中标“💦”的不是CJKpunct。而标“➕”代表 #534 (comment) 没提到。

  • 两对引号、省略号
  • 破折号或一字线
    • U+2014 Em Dash
    • U+2E3A Two-Em Dash💦➕
  • 短横线
    • U+2013 En Dash💦
  • 间隔号
    • · U+00B7 Middle Dot
    • U+2027 Hyphenation Point💦➕
  • 谜之字符
    • U+2025 Two Dot Leader💦➕
《CTeX宏集手册》原文

版本:2022/07/14,v2.5.10

CJKpunct 定义的标点符号是:

‘“「『〔([{〈《〖【

—…、。,.:;!?%〕)]}〉》〗】’”」』

注意顺序不能改变。

\seq_const_from_clist:Nn \c__ctex_punct_seq
  {
    "2018 , "201C , "300C , "300E , "3014 , "FF08 , "FF3B , "FF5B ,
    "3008 , "300A , "3016 , "3010 ,
    "2014 , "2026 , "3001 , "3002 , "FF0C , "FF0E , "FF1A , "FF1B ,
    "FF01 , "FF1F , "FF05 , "3015 , "FF09 , "FF3D , "FF5D , "3009 ,
    "300B , "3017 , "3011 , "2019 , "201D , "300D , "300F
  }

将间隔号、引号、破折号等中西文公用的标点符号归入字符范围 9,将他们设置为 JAchar。

\ltjdefcharrange{9}{%
  "00B7, "2018, "2019, "201C, "201D, "2013, "2014, "2025, "2026, "2027, "2E3A}

@xfq
Copy link
Member Author

xfq commented Feb 28, 2024

是不是应该还有分隔号(U+002F SOLIDUS [/])?

@YDX-2147483647
Copy link

是不是应该还有分隔号(U+002F SOLIDUS [/])?

可能中文应该用 U+FF0F Fullwidth Solidus? 不过现实中有不少 U+002F 前后加空格,例如 https://www.thetype.com/ 的标题文字 / 设计 / 文化

仅就简体中文而言,根据国标5.1.9条,分隔号占半个字位置。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants