jdlorimer / chinese-support-redux

Anki add-on providing support for Chinese study
https://ankiweb.net/shared/info/1128979221
GNU General Public License v3.0
100 stars 50 forks source link

About punctuation and symbols #208

Open rudyeikichi opened 2 years ago

rudyeikichi commented 2 years ago

This is between an issue and a request: Is there a way to automatically leave the punctuation without any tone class? Example: . (I prefer to see only . Without any colour)

I suppose there is a way to change manually something in one of the files in order to leave alone all symbols that aren't Pinyin syllables, i Just don't know where to look/modify.

Thanks in advance, Rudy

rudyeikichi commented 2 years ago

In the request you cannot see but in the example it was span class="tone5" . /span Here I took out the > <, so that you can see it

DanGould commented 2 years ago

everything in the span gets colored. put punctuation outside the span

rudyeikichi commented 2 years ago

That's what I want. I don't want the punctuation automatically "spanned". I think I can slightly change something in one of the files of this add-on to achieve it. I had a similar problem before with uppercase not included in the Pinyin syllables and therefore not included in the span, then I posted here and solved it manually typing the uppercase in one of the files of this add-on, as suggested.

rudyeikichi commented 2 years ago

Just for reference, the previously mentioned issue I mentioned was: capital letters in syllables in reading field (imported previously) are not recognized as real chinese syllables and shown as tone 5 letters. #112