CTeX-org / CTeX-org/ctex-kit

xpinyin: 仅输出拼音、元音无音标、拼音格式化

Open
#492 13 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

package/xpinyin wishlist
Dominant language
TeX
Stars
1.1k
Forks
128
Avg merge
1h 25m
Merged PRs (30d)
5

Description

偷懒劲又犯了,写文章的时候老要用到作者的拼音,所以想用xpinyin来直接输出,就不用我自己去一个个字母敲了,目前宏包内的命令是同时输出汉字和拼音,且拼音中的元音是有调的,我想只要拼音,且原音换成没有调的。

这就是第一个需求,就是用一个命令仅输出作者的拼音,且元音无音调,拼音不是上标的。

接着是第二个需求,希望能对输出的拼音格式化,包括几种形式,我可以用选项切换。
比如李志超这样一个作者,
输出形式为
LI Zhichao
LI Zhi-chao
Li Zhichao等

就这么两个需求,麻烦各位大大帮忙实现一下。我自己就不去研究实现啦,感谢!
@qinglee @zepinglee @muzimuzhi @leo-liu @stone-zeng

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the xpinyin package and its existing command that outputs Chinese characters with pinyin. Define the requested standalone, unaccented, non-superscript output and the selectable formats such as “LI Zhichao”, “LI Zhi-chao”, and “Li Zhichao”; done means these forms work reliably through package options.

Written by the indexing model from the issue text.

Assessment

Tech stack
tex
Domain
internationalization, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.