[+] Latex for rime
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,36 @@
|
|||||||
|
# Rime schema
|
||||||
|
# encoding: utf-8
|
||||||
|
|
||||||
|
schema:
|
||||||
|
schema_id: latex
|
||||||
|
name: Latex Math Symbols
|
||||||
|
version: "1.1"
|
||||||
|
author:
|
||||||
|
- slbtty <shenlebantongying@gmail.com>
|
||||||
|
- mark <mark@mkmark.net>
|
||||||
|
description: |
|
||||||
|
Latex Math Symbols Input Method.
|
||||||
|
You have to type '\' first to get symbols.
|
||||||
|
This schema is intended to be used as an addon for other input methods.
|
||||||
|
|
||||||
|
engine:
|
||||||
|
processors:
|
||||||
|
- speller # to enable alphabet & initials below.
|
||||||
|
- selector
|
||||||
|
- navigator
|
||||||
|
- express_editor
|
||||||
|
segmentors:
|
||||||
|
- abc_segmentor
|
||||||
|
- fallback_segmentor
|
||||||
|
translators:
|
||||||
|
- table_translator
|
||||||
|
|
||||||
|
speller:
|
||||||
|
alphabet: 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\^_-><+-=()[]'
|
||||||
|
initials: '\_^'
|
||||||
|
auto_select: true
|
||||||
|
|
||||||
|
translator:
|
||||||
|
dictionary: latex
|
||||||
|
enable_sentence: false
|
||||||
|
enable_user_dict: false
|
||||||
@@ -10,4 +10,18 @@ __patch:
|
|||||||
patch:
|
patch:
|
||||||
"translator/dictionary": extended #词典名字可自定义,与下方文件名保持一致即可
|
"translator/dictionary": extended #词典名字可自定义,与下方文件名保持一致即可
|
||||||
'engine/translators/+':
|
'engine/translators/+':
|
||||||
- lua_translator@date_translator
|
- lua_translator@date_translator
|
||||||
|
engine/translators:
|
||||||
|
- punct_translator
|
||||||
|
- r10n_translator
|
||||||
|
- reverse_lookup_translator
|
||||||
|
# meaning of the regex: ^ start of line, \\ the starting \, .+ any char 1 or more time, $ end
|
||||||
|
recognizer/patterns/reverse_lookup: '^\\.+$'
|
||||||
|
schema/dependencies:
|
||||||
|
- latex
|
||||||
|
abc_segmentor/extra_tags:
|
||||||
|
- reverse_lookup
|
||||||
|
reverse_lookup:
|
||||||
|
dictionary: latex
|
||||||
|
enable_completion: false
|
||||||
|
tips: latex
|
||||||
Reference in New Issue
Block a user