Commit graph

69 commits

Author SHA1 Message Date
stephenmk dbf0cf0eb8
Fix Yomichan image height calculation error
For images that have greater height than width values, the image
proportions for Yomichan were being calculated incorrectly. This can
be observed for example in the SMK8 entry for くの字点 and the
DAIJIRIN2 entry for 定積分.
2023-07-16 18:53:28 -05:00
Stephen Kraus 4d6c3c3cf5
Fix daijirin phrase reading for 怠け者の節句働き 2023-07-13 18:44:06 -05:00
Stephen Kraus 4e06482657
Fix daijirin phrase reading for 天馬空を行く 2023-07-13 18:30:44 -05:00
Stephen Kraus fd8d304726
Fix daijirin phrase reading for 水清ければ魚棲まず 2023-07-13 17:08:12 -05:00
stephenmk 7c40dafd52
Adjust padding style for child link lists in mdict 2023-07-12 20:27:47 -05:00
stephenmk d51de0b3dc
Redesign search key logic for mdict
https://github.com/stephenmk/jitenbot/issues/1#issuecomment-1631583836
2023-07-12 19:02:07 -05:00
stephenmk c9ab0aea46
Include copy of CSS file in mdict output directory
There is also a read-only copy archived in the MDD resource file.
This external file is more convenient for the user to edit.
2023-07-12 17:53:28 -05:00
stephenmk 4cd81cda35
Adjust jitenon mdict CSS 2023-07-12 17:51:19 -05:00
stephenmk 3cfca06f46
Add variant kanji 靭 and 靱 2023-07-11 16:54:41 -05:00
stephenmk ce2e106646
Add more detailed runtime messages 2023-07-10 21:18:40 -05:00
stephenmk 227c02b9e4
Fix mdict font styles
These are the styles used in the original Monokakido stylesheets
2023-07-10 19:17:55 -05:00
stephenmk dfc9a60d9e
Remove vertical margin from mdict entry styles 2023-07-10 12:35:46 -05:00
Stephen Kraus c6d3e2d5d8
Increase max image height 2023-07-09 22:41:34 -05:00
Stephen Kraus d0bc56bc80
Adjust left margin 2023-07-09 22:13:59 -05:00
stephenmk a0264652d8
Make ruby elements unselectable in mdict 2023-07-09 15:48:09 -05:00
Stephen Kraus ff8a057821
Update GoldenDict example in README.md 2023-07-09 14:11:15 -05:00
stephenmk 17974cae79
Adjust ruby sizes in smk8 mdict 2023-07-09 14:01:43 -05:00
stephenmk 19fcb0d5b2
Specify font names in MDict styles 2023-07-09 13:34:33 -05:00
stephenmk 4f3279c55a
Add superscript style 2023-07-08 21:26:50 -05:00
stephenmk 9a1f70133d
Use space indents instead of tabs in CSS files 2023-07-08 20:53:09 -05:00
stephenmk 8855afb464
Reorganize data file directory 2023-07-08 20:49:42 -05:00
Stephen Kraus 5c231fc6a0
Update README.md 2023-07-08 17:17:20 -05:00
stephenmk 4c837cd72d
Add export support for the MDict dictionary format 2023-07-08 16:49:03 -05:00
Stephen Kraus e4a2e75d82
Add romanizations to readme 2023-05-06 23:01:30 -05:00
Stephen Kraus 71cb47ea04
Update README.md 2023-05-06 22:27:34 -05:00
stephenmk ef878143d7
Warn user when corrupted page data is downloaded from jitenon 2023-05-06 22:07:06 -05:00
stephenmk c737f10885
Add tests for Expressions functions 2023-05-06 20:07:07 -05:00
stephenmk 6dbc8b90ce
Add entry and term factories 2023-05-06 16:55:00 -05:00
stephenmk 3d795ab49f
Add crawler factory 2023-05-06 13:15:38 -05:00
stephenmk 68949dde6c
Use snake_case 2023-05-05 22:54:22 -05:00
stephenmk 7ad72a6e4f
Add support for jitenon-kokugo 2023-05-05 22:53:17 -05:00
Stephen Kraus fa86377404
Add indent to 副義 divs in Daijirin 2023-05-02 21:46:37 -05:00
Stephen Kraus e6c892967a
Update README.md 2023-05-01 23:53:22 -05:00
Stephen Kraus 2bd6ea1322
Redo example images in README.md 2023-05-01 23:24:28 -05:00
Stephen Kraus 6e6d9d3e5a
Update TODO.md 2023-05-01 21:48:58 -05:00
Stephen Kraus ab5049e2de
Create TODO.md 2023-05-01 21:37:49 -05:00
stephenmk fce94903a0
Specify UTF-8 encoding with file i/o 2023-05-01 20:03:03 -05:00
Stephen Kraus 78c65350d5
Update README.md 2023-05-01 19:17:26 -05:00
Stephen Kraus 8086dfcefb
Update jitenbot.py 2023-05-01 18:25:42 -05:00
Stephen Kraus c23db8c50e
Create README.md 2023-05-01 18:23:05 -05:00
stephenmk 5aa954bf2d
Add support for Shinmeikai 8th edition & Daijirin 4th edition 2023-05-01 17:31:28 -05:00
stephenmk 0cfa3a19df
Decrease threshold for displaying jitenon readings in table 2023-04-23 14:45:34 -05:00
stephenmk 298b25ed9e
Import functions explicitly 2023-04-23 12:33:42 -05:00
stephenmk e9cbd8fe4e
Add conditions for displaying term reading in entry headword line 2023-04-23 12:31:02 -05:00
stephenmk 25fa5d107a
Create extra forms for expressions with rare kanji variants 2023-04-23 11:46:27 -05:00
stephenmk fbaba0f499
Protect attribute 2023-04-23 00:34:46 -05:00
stephenmk 08b180f442
Redesign Jitenon glossaries for yomichan 2023-04-23 00:17:42 -05:00
stephenmk 934f6534f1
Rename util.py -> expressions.py 2023-04-22 21:01:52 -05:00
stephenmk 886faf1984
Add more attribute support to yomichan glossary 2023-04-22 20:45:40 -05:00
stephenmk 13f07c9000
Organize yomichan term creation logic into separate classes 2023-04-22 20:26:54 -05:00