View Single Post
Old 01-22-2020, 03:05 AM   #10
rtiangha
Evangelist
rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.
 
Posts: 495
Karma: 356531
Join Date: Jul 2016
Location: 'burta, Canada
Device: Kobo Glo HD
Quote:
Originally Posted by snarkophilus View Post
Hah, thanks! I was working on figuring out the penelope options myself.

I'll try to finish without looking at your command line.
I think it should work, but I'm going off of memory (not sure if --sort-before is really needed if you have --sort-after, but it still works so whatever). I can't remember if I ran --ignore-synonyms or not. I'm fairly certain I didn't run --flatten-synonyms on the various dictionaries first, but perhaps I did (it's been a while)?? Hmm...

I just realized that I uploaded the wrong version of Moby Thesaurus; it's the stock version and not the one I ended up using in my final version. I basically did some very minor edits to bold the number of entries and italicize the headword. I've updated the file (link remains the same) so if you think the stock thesaurus looks a little boring, try re-downloading the file and try again (It's not that much better, but at least it looks different).

And the GCIDE version in my build directory is slightly newer too, so in case I did run --flatten-synonyms on that dictionary before merging, I also uploaded that version too (same link); I'm not sure if it matters though (from what I can tell, flattening synonyms first may be needed because penelope doesn't migrate stardict tagged synonyms (i.e. <sym>) to Kobo dictionary synonym format (i.e. <var>) at all, so you may miss out on some definitions when searching if they're tagged as synonyms to a different definition as Kobo won't search them out and will only return strict headword definitions. That said, I can't remember if that GCIDE dictionary actually implements tagged synonym functionality).

I also think it all looks better with a sans-serif font rather than the stock Georgia font (I used the "Dictionary text font-family/font-size/line-height" libnickel patch to replace Georgia with generic sans-serif (which currently defaults to Avenir Next) and shrunk the font to 23px and decreased the line spacing to 1.30em, which looks fine on my Glo HD but your miliage may vary depending on your screen size and resolution), but it's up to you.

Last edited by rtiangha; 01-22-2020 at 05:27 AM.
rtiangha is offline   Reply With Quote