Skip to content

Commit 296fd2f

Browse files
Add extra 'search' field to list of symbols
1 parent 6e9cfba commit 296fd2f

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

gaiji/DHARMA_gaiji.tsv

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
names text description
1+
names text description search
22
danda dandaPlain | plain vertical bar
33
dandaSerif | vertical bar with a headmark or small horizontal line on top
44
dandaHooked | vertical bar with a hook on top
@@ -56,8 +56,8 @@ gomutraFinalComplex ⁋ final gomūtra involving a more complex design than the
5656
squiggleVertical braceCurlyClose ⌇ a wavy or zigzag vertical line
5757
indistinct symbol that is definitely present, but is so damaged (or unclear in the surrogate for a reason other than damage) that it cannot be assigned to any of the primary categories
5858
unknown symbol that cannot be assigned to a genus
59-
spiral @
60-
pc
61-
tēti
62-
mācam
63-
varuṣam
59+
spiral @
60+
pc
61+
tēti
62+
mācam
63+
varuṣam

gaiji/readme.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Otherwise, the symbol name itself is displayed as a placeholder.
88

99
If you want to register a new symbol, you first need to edit the file
1010
`gaiji.tsv`. You can edit it with Microsoft Excel, LibreOffice Calc, or another
11-
spreadsheet editor. The file contains four fields:
11+
spreadsheet editor. The file contains the following fields:
1212

1313
1. `names`. This is a list of symbol names, separated with whitespace. The
1414
provided names are treated as aliases. By "symbol name", we mean the value
@@ -17,6 +17,9 @@ spreadsheet editor. The file contains four fields:
1717
textual representation of the symbol. This field is optional.
1818
3. `description`. A description of the symbol. This is displayed in
1919
tooltips. This field is optional.
20+
4. `search`. A string to be used for representing the symbol in the search
21+
representation. If not given, the value of the `text` field is used. And if
22+
the latter is not given, it defaults to a generic string.
2023

2124
Optionally, you can create an image representing the symbol. This image will be
2225
displayed in tooltips and in the symbols table (not implemented yet!).

0 commit comments

Comments
 (0)