2022-03-28 15:03:21 +02:00
#+title : :input chinese
#+subtitle : Spend your 3 hours a week in Emacs
#+created : May 13, 2019
#+since : 21.12.0
2021-10-16 01:27:36 +02:00
* Description :unfold:
2019-05-13 00:48:04 -04:00
This module adds support for traditional Chinese script by introducing two input
methods: Pinyin and Wubi.
2021-10-16 01:27:36 +02:00
** Maintainers
*This module needs a maintainer.* [[doom-contrib-maintainer: ][Become a maintainer? ]]
2019-05-13 00:48:04 -04:00
2021-10-16 01:27:36 +02:00
** Module flags
2023-02-23 02:25:01 -05:00
- +rime ::
Enables the [[https://rime.im/ ][rime ]] backend for pyim.
2023-02-23 02:34:11 -05:00
- +childframe ::
Display pyim candidates in a [[https://www.gnu.org/software/emacs/manual/html_node/elisp/Child-Frames.html ][child frame ]] rather than overlay or tooltip.
2019-05-13 00:48:04 -04:00
2021-10-16 01:27:36 +02:00
** Packages
2022-09-26 02:19:42 +08:00
- [[doom-package:ace-pinyin ]]
- [[doom-package:chinese-wbim ]] if [[doom-module:+wubi ]]
2023-02-23 02:30:33 -05:00
- [[doom-package:evil-pinyin ]] if [[doom-module::editor evil +everywhere ]]
2022-09-26 02:19:42 +08:00
- [[doom-package:fcitx ]]
2023-02-23 02:25:01 -05:00
- [[doom-package:liberime ]] if [[doom-module:+rime ]]
2022-09-26 02:19:42 +08:00
- [[doom-package:pangu-spacing ]]
2023-02-23 02:34:11 -05:00
- [[doom-package:posframe ]] if [[doom-module:+childframe ]]
2022-09-26 02:19:42 +08:00
- [[doom-package:pyim ]] unless [[doom-module:+wubi ]]
2019-05-13 00:48:04 -04:00
** Hacks
2021-10-16 01:27:36 +02:00
- ~org-html-paragraph~ has been modified to join consecutive Chinese lines into
2019-05-13 00:48:04 -04:00
a single long line without wanted spaced (when exporting org-mode to html).
2021-10-16 01:27:36 +02:00
** TODO Changelog
# This section will be machine generated. Don't edit it by hand.
/This module does not have a changelog yet./
* TODO Installation
[[id:01cffea4-3329-45e2-a892-95a384ab2338 ][Enable this module in your ~doom!~ block. ]]
#+begin_quote
🔨 This module is missing install instructions. [[doom-contrib-module: ][Write some? ]]
#+end_quote
2023-02-23 02:25:01 -05:00
If you want to use rime as the input method engine:
- Emacs must be built with dynamic module support, i.e. compiled with the
=--with-modules= option.
- You need =librime= installed on your system.
- You need =make= , =cmake= and a C compiler such as =gcc= so that liberime can
build =liberime-core.so= .
2021-10-16 01:27:36 +02:00
* TODO Usage
#+begin_quote
🔨 This module has no usage documentation yet. [[doom-contrib-module: ][Write some? ]]
#+end_quote
2019-05-13 00:48:04 -04:00
* TODO Configuration
2021-10-16 01:27:36 +02:00
#+begin_quote
🔨 /This module's configuration documentation is incomplete./ [[doom-contrib-module: ][Complete it? ]]
#+end_quote
2021-04-13 23:55:08 +08:00
** Using fcitx5
Modify ~fcitx-remote-command~ to change the default:
2021-10-16 01:27:36 +02:00
#+begin_src emacs-lisp
2021-04-13 23:55:08 +08:00
;; in $DOOMDIR/config.el
(setq fcitx-remote-command "fcitx5-remote")
2021-10-16 01:27:36 +02:00
#+end_src
2021-04-13 23:55:08 +08:00
2021-10-16 01:27:36 +02:00
* Troubleshooting
/There are no known problems with this module./ [[doom-report: ][Report one? ]]
* Frequently asked questions
/This module has no FAQs yet./ [[doom-suggest-faq: ][Ask one? ]]
* TODO Appendix
#+begin_quote
🔨 This module has no appendix yet. [[doom-contrib-module: ][Write one? ]]
#+end_quote