TA的每日心情 | 慵懒 2019-1-23 10:04 |
---|
签到天数: 122 天 [LV.7]常住居民III
|
发表于 2018-11-5 22:17:29
|
显示全部楼层
本帖最后由 trivialstuff 于 2018-11-6 00:09 编辑 8 E( u+ M+ Y8 ?1 o# i
4 @3 T8 P% p* ?5 S
perhaps it's just me, but I'm having a hard time exporting "Dictionary of Literary Characters.mdx" into a txt file. Both GetDict.exe and MdxExport.exe failed to do so. 7 g& N: C" \4 M1 l
Maybe there's some problem with the mdx itself, cos it shows no entries when opened in GoldenDict. 2 h0 N, G" z+ [0 L& E( \; I( m7 N
5 }& N# }- g# t% z' J$ E) p$ w/ ` w+ h# x# d6 ~2 y
To make it case-insensitive, try using MdxBuilder 3.0 Beta2 to build your mdx (the source file should be a txt file), with "key case sensitive" unchecked.
( Q9 ^; }) \( @, H3 c, q8 X2 [5 a! J% H+ z
" m7 ?5 C6 s3 n a: {- s
& Q, R K5 ^' j v# H* I N' n
: k9 E! a2 z7 K1 ?6 sSo I just had a look at the css and html files you gave. " c3 t/ g1 h/ d9 `9 J- G$ r8 O# R; J
Your css is all good, but in terms of html, some </dfn> tags are unclosed. ' H6 n6 v Y5 o/ t6 L
' ?3 ~1 E5 H) Y5 c4 I
By using Regular Expressions (Perl), you can edit mutiple tags at once.. c, k* O1 k8 k
To add missing </dfn> tags, you can replace: 4 B6 [( E- c1 @
with+ d& x* l+ U3 b4 f4 _+ e
G2 L& c" X' N& aI'm using EmEditor and it works like a charm.
: m" F" U. U, h3 z& i( b
: H6 H0 K1 x. v2 O
h1 a6 S0 g6 D& _Still, there are 349 matches on <dfn> but 348 on </dfn>, which means one unclosed <dfn> slips through. + _$ ?3 `9 v: |; c
Turns out to be “<dfn>1934, et seq” at line 629. Just manually add an end tag </dfn> to this one.& [3 |6 }! V; H2 ~
& r, z" T" H' J
. \* _9 M/ t/ i: }) Z1 M) s
" w$ }: d9 T0 q5 `. \. F3 `
I'm no expert, but hope this helps.
. B1 {; G" A1 T j# \5 C& l/ h
6 y" A' ~$ P0 k' G4 k+ }2 I7 J ]' P: a- K7 J) e1 x
2 x# F8 D( d( e: _4 L
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?免费注册
x
评分
-
2
查看全部评分
-
|