|  11-15-2021, 07:57 AM | #121 | 
| Guru            Posts: 963 Karma: 149907 Join Date: Jul 2013 Location: Rotterdam Device: HiSenseA5ProCC, OnyxNotePro, Note5, Kobo Glo, Aura | 
			
			It took me a while to dreg up what was happening with the Nouveau Littré. However, the recto entry now looks again as it should: Code: <ar> <head><k>recto</k></head><def><b>RECTO,</b> N.*m. [<f>ʀɛkto</f>] (mot lat. <i>recto</i>, s.-e. <i>folio recto</i>, sur le feuillet qui est à l'endroit) <f>•</f>*La première page d'un feuillet*; il est opposé à<i>verso </i>. <f>•</f>* Au pl. <i>Des rectos. </i>*<f>♦</f>*<i>Recto verso, </i>des deux côtés. <i>Faire une impression recto verso. </i></def> </ar> @GetKey Could you test whether the Nouveau Littré of Nov15th2021 looks well? | 
|   |   | 
|  11-15-2021, 02:39 PM | #122 | |
| Junior Member        Posts: 8 Karma: 848 Join Date: Aug 2014 Location: Netherlands Device: PB631 | 
			
			It's not possible to change the font in the Dictionary app. I guess I would have to modify the font in the system files, because there is no global setting in the interface. That could be the topic of another thread, but I don't care too much about this issue myself.   Testing your Nov15th2021 versions: 
 Very nice!  Quote: 
 | |
|   |   | 
|  11-15-2021, 04:55 PM | #123 | 
| Guru            Posts: 963 Karma: 149907 Join Date: Jul 2013 Location: Rotterdam Device: HiSenseA5ProCC, OnyxNotePro, Note5, Kobo Glo, Aura | 
			
			In some cases cleanseAr introduces '&' and '<'. It doesn't remove them.  It is a shortcoming of Pocketbook Dictionary, that it can't handle basic HTML. What we're doing now is converting a perfectly good-looking dictionary, so that it looks well on Pocketbook, too.   Anyway, glad that everything works. I'll rerun the script tomorrow for all those Pocketbook dictionaries. We got rid of quite a bit of bugs! Also nice for my niece, who just got a Pocketbook Lux. Thanks for testing. | 
|   |   | 
|  11-16-2021, 02:23 PM | #124 | 
| Guru            Posts: 963 Karma: 149907 Join Date: Jul 2013 Location: Rotterdam Device: HiSenseA5ProCC, OnyxNotePro, Note5, Kobo Glo, Aura | 
			
			@Getkey I've updated all the pocketbook dictionaries in the pCloud. If you would be willing to test the new ones, I would appreciate it.
		 | 
|   |   | 
|  11-17-2021, 02:46 PM | #125 | ||
| Junior Member        Posts: 8 Karma: 848 Join Date: Aug 2014 Location: Netherlands Device: PB631 | Quote: 
 Quote: 
 
 | ||
|   |   | 
|  11-18-2021, 05:25 PM | #126 | 
| Guru            Posts: 963 Karma: 149907 Join Date: Jul 2013 Location: Rotterdam Device: HiSenseA5ProCC, OnyxNotePro, Note5, Kobo Glo, Aura | 
			
			Post #13 and #15 suggest that the only formatting for whitespace is the br-tag. All others, such as span, quote, blockquote are stripped by the converter to dic-format. VanDale is styled with blockquotes: Code: <ar><head><k>leerling</k></head><def> <blockquote><span> <span><b>l<span><u>ee</u></span>r·ling</b></span> <span> <span>de<sup><i>m</i></sup></span> </span> <span> <span> <span><i>meerv</i></span>: leerlingen</span>; <span><span><i>verkleinw</i></span>: leerlingetje</span></span> </span> <span> <span> <span> <span><i>zelfst nw</i></span> </span> <span> <span><span><b>1. </b></span> <span> <span>iem. die onderwijs krijgt</span> </span> <span> <blockquote align="left"><span><b>• </b></span> <span><i>een <span><b>externe</b></span> leerling</i></span> </blockquote> <blockquote align="left"><span><b>• </b></span> <span><i>een <span><b>ijverige</b></span> leerling</i></span> </blockquote> <blockquote align="left"><span><b>• </b></span> <span><i>een <span><b>interne</b></span> leerling</i></span> </blockquote> <blockquote align="left"><span><b>• </b></span> <span><i>een <span><b>knappe</b></span> leerling</i></span> </blockquote> <blockquote align="left"><span><b>• </b></span> <span><i>een leerling van <span><b>school</b></span> /sturen/verwijderen/</i></span> </blockquote> <blockquote align="left"><span><b>• </b></span> <span><i>een <span><b>zwakke</b></span> leerling</i></span> </blockquote> <blockquote align="left"><span><b>• </b></span> <span><i>de <span><b>zwakste</b></span> leerling van de klas</i></span> | <span>de slechtst presterende leerling</span>; <span>land, bedrijf enz. dat het slechtst presteert op een bepaald terrein</span> </blockquote> </span> </span> <span><span><b>2. </b></span> <span> <span> <span><b>volgeling</b></span> van iemands leer of stelregels</span> </span> <span> <blockquote align="left"><span><b>• </b></span> <span><i>de leerlingen van <span><b>Jezus</b></span></i></span> </blockquote> </span> </span> </span> </span> </span></blockquote> </def></ar> The new greek dictionary is styled with div-blocks: Code: <ar><head><k>ελληνο-</k></head><def> <div style="margin-left:0em"><span style="color:darkslategray"></span> [<!-- T --><span style="font-family:'Helvetica'">elıno</span><!-- T -->]</div> <div style="margin-left:0em"><span style="color:darkslategray"><b>ελληνό-</b></span> [<!-- T --><span style="font-family:'Helvetica'">elınó</span><!-- T -->], όταν κατά τη σύνθεση ο τόνος ανεβαίνει στο α' συνθετικό</div> <div style="margin-left:0em"><span style="color:darkslategray"><b>ελλην-</b></span> [<!-- T --><span style="font-family:'Helvetica'">elın</span><!-- T -->], σπάνια όταν το β' συνθετικό αρχίζει από [<!-- T --><span style="font-family:'Helvetica'">o</span><!-- T -->]</div> <div style="margin-left:1em">α' συνθετικό σε σύνθετες λέξεις με αναφορά κατά περίπτωση στα ονόματα<i><span style="color:slategray">Έλληνας, ελληνικός, ελληνισμός.</span></i></div> <div style="margin-left:2em"><span style="color:green"><b>1.</b></span> </div> <div style="margin-left:3em"><span style="color:mediumseagreen"><b>α.</b></span> (σε σύνθετα επίθετα) για σχέση (φιλία, συνθήκη <i class="p" style="color:green">κτλ.</i>) μεταξύ των Ελλήνων και του λαού που υποδηλώνει το β' συνθετικό· (<i class="p" style="color:green">πρβ.</i> <i><span style="color:slategray">-ελληνικός</span></i><sub>1</sub>): <i><span style="color:slategray">~αγγλικός, ~αμερικανικός, ~γερμανικός, ~ολλανδικός, ~τουρκικός</span></i>.</div> <div style="margin-left:3em"><span style="color:mediumseagreen"><b>β.</b></span> σε εθνικά ουσιαστικά: <i><span style="color:slategray">Ελληνοκύπριος,</span></i> ο Έλληνας της Κύπρου. <span style="color:lime"><b>||</b></span> <i><span style="color:slategray">Ελληνοαμερικανός.</span></i></div> <div style="margin-left:2em"><span style="color:green"><b>2.</b></span></div> <div style="margin-left:3em"><span style="color:mediumseagreen"><b>α.</b></span> με αναφορά στη νεοελληνική γλώσσα. <i class="p" style="color:green">ΑΝΤ</i> ξενο-: <i><span style="color:slategray">ελληνόγλωσσος, ~μαθής, ελληνόφωνος.</span></i> <span style="color:lime"><b>||</b></span> (<i class="p" style="color:green">παρωχ.</i>) με αναφορά στην αρχαία ή τη λόγια μορφή της ελληνικής γλώσσας: <i><span style="color:slategray">~διδάσκαλος</span></i>.</div> <div style="margin-left:3em"><span style="color:mediumseagreen"><b>β.</b></span> για λεξικό, λεξιλόγιο <i class="p" style="color:green">κτλ.</i> στο οποίο οι λέξεις της ελληνικής γλώσσας ερμηνεύονται (αποδίδονται) στη γλώσσα που υποδηλώνει το β' συνθετικό: <i><span style="color:slategray">~αγγλικός,</span></i> <i class="p" style="color:green">ΑΝΤ</i> αγγλοελληνικός· <i><span style="color:slategray">~γερμανικός, ~ελληνικός, ~τουρκικός.</span></i></div> <div style="margin-left:2em"><span style="color:green"><b>3.</b></span></div> <div style="margin-left:3em"><span style="color:mediumseagreen"><b>α.</b></span> με αναφορά <i class="p" style="color:green">συνήθ.</i> στον αρχαίο ελληνικό πολιτισμό: <i><span style="color:slategray">~λάτρης</span></i>.</div> ... </def></ar> So new to the info in post #13 and #15 is that apparently, the div-tag is retained: Every div-block gets its own block. So substituting blockquotes for div's could be an approach for VanDale. The margin-left:..em styling doesn't work as expected. Both 1.α. and 2.α. have 3em left-margin, but they are not aligned. α' and 1. both have 0em and 1em respectively, but they are aligned. Obviously, we are not in control! Maybe the left-margins are correctly displayed, but the div-blocks are of different width and centered. Maybe we can force them with style="width: 100%";? @Getkey You could just get the xdxf-file, remove all entries except those your are testing and change the html-around and convert to see what works. If you could provide me with the an example of the working code and an accompanying screenshot, I am willing to implement and rerun the script on all offending dictionaries.   Last edited by Markismus; 11-19-2021 at 02:22 AM. | 
|   |   | 
|  11-20-2021, 07:35 AM | #127 | 
| Guru            Posts: 963 Karma: 149907 Join Date: Jul 2013 Location: Rotterdam Device: HiSenseA5ProCC, OnyxNotePro, Note5, Kobo Glo, Aura | 
			
			@GetKey I replaced the <blockquote>-tags with <div style="margin: 0 0 0 1em;">-tags. For example the article 'leerling' becomes: Code: <ar> <head><k>leerling</k></head><def><div style="margin: 0 0 0 1em;"><span> <span><b>l<span><u>ee</u></span>r·ling</b></span> <span> <span>de<sup><i>m</i></sup></span> </span> <span> <span> <span><i>meerv</i></span>: leerlingen</span>; <span><span><i>verkleinw</i></span>: leerlingetje</span></span> </span> <span> <span> <span> <span><i>zelfst nw</i></span> </span> <span> <span><span><b>1. </b></span> <span> <span>iem. die onderwijs krijgt</span> </span> <span> <div align="left" style="margin: 0 0 0 1em;"><span><b>• </b></span> <span><i>een <span><b>externe</b></span> leerling</i></span> </div> <div align="left" style="margin: 0 0 0 1em;"><span><b>• </b></span> <span><i>een <span><b>ijverige</b></span> leerling</i></span> </div> <div align="left" style="margin: 0 0 0 1em;"><span><b>• </b></span> <span><i>een <span><b>interne</b></span> leerling</i></span> </div> <div align="left" style="margin: 0 0 0 1em;"><span><b>• </b></span> <span><i>een <span><b>knappe</b></span> leerling</i></span> </div> <div align="left" style="margin: 0 0 0 1em;"><span><b>• </b></span> <span><i>een leerling van <span><b>school</b></span> /sturen/verwijderen/</i></span> </div> <div align="left" style="margin: 0 0 0 1em;"><span><b>• </b></span> <span><i>een <span><b>zwakke</b></span> leerling</i></span> </div> <div align="left" style="margin: 0 0 0 1em;"><span><b>• </b></span> <span><i>de <span><b>zwakste</b></span> leerling van de klas</i></span> | <span>de slechtst presterende leerling</span>; <span>land, bedrijf enz. dat het slechtst presteert op een bepaald terrein</span> </div> </span> </span> <span><span><b>2. </b></span> <span> <span> <span><b>volgeling</b></span> van iemands leer of stelregels</span> </span> <span> <div align="left" style="margin: 0 0 0 1em;"><span><b>• </b></span> <span><i>de leerlingen van <span><b>Jezus</b></span></i></span> </div> </span> </span> </span> </span> </span></div></def> </ar> Could you test the VanDale GWHD dictionary dated November 21th? Last edited by Markismus; 11-21-2021 at 09:12 AM. | 
|   |   | 
|  11-21-2021, 01:16 PM | #128 | 
| Junior Member        Posts: 8 Karma: 848 Join Date: Aug 2014 Location: Netherlands Device: PB631 | 
			
			@Markismus I tested your VanDale GWHD dictionary from November 21th, no changes compared to the one from the 16th. I did a couple tests myself: Code: <ar><head><k>leerling</k></head><def> <b>l<u>ee</u>r·ling</b> de<sup><i>m</i></sup> <i>meerv</i>: leerlingen; <i>verkleinw</i>: leerlingetje <i>zelfst nw</i> <b>1. </b> iem. die onderwijs krijgt <b>• </b> <i>een <b>externe</b> leerling</i> <br/> <b>• </b> <i>een <b>ijverige</b> leerling</i> <br/> <b>• </b> <i>een <b>interne</b> leerling</i> <br/> <b>• </b> <i>een <b>knappe</b> leerling</i> <br/> <b>• </b> <i>een leerling van <b>school</b> /sturen/verwijderen/</i> <br/> <b>• </b> <i>een <b>zwakke</b> leerling</i> <br/> <b>• </b> <i>de <b>zwakste</b> leerling van de klas</i> | de slechtst presterende leerling; land, bedrijf enz. dat het slechtst presteert op een bepaald terrein <br/> <b>2. </b> <b>volgeling</b> van iemands leer of stelregels <b>• </b> <i>de leerlingen van <b>Jezus</b></i> <br/> <br/> </def></ar> <ar><head><k>leerling2</k></head><def><span> <span><b>l<span><u>ee</u></span>r·ling</b></span> <span> <span>de<sup><i>m</i></sup></span> </span> <span> <span> <span><i>meerv</i></span>: leerlingen</span>; <span><span><i>verkleinw</i></span>: leerlingetje</span></span> </span> <span> <span> <span> <span><i>zelfst nw</i></span> </span> <span> <span><span><b>1. </b></span> <span> <span>iem. die onderwijs krijgt</span> </span> <span> <span><b>• </b></span> <span><i>een <span><b>externe</b></span> leerling</i></span> <br/> <span><b>• </b></span> <span><i>een <span><b>ijverige</b></span> leerling</i></span> <br/> <span><b>• </b></span> <span><i>een <span><b>interne</b></span> leerling</i></span> <br/> <span><b>• </b></span> <span><i>een <span><b>knappe</b></span> leerling</i></span> <br/> <span><b>• </b></span> <span><i>een leerling van <span><b>school</b></span> /sturen/verwijderen/</i></span> <br/> <span><b>• </b></span> <span><i>een <span><b>zwakke</b></span> leerling</i></span> <br/> <span><b>• </b></span> <span><i>de <span><b>zwakste</b></span> leerling van de klas</i></span> | <span>de slechtst presterende leerling</span>; <span>land, bedrijf enz. dat het slechtst presteert op een bepaald terrein</span> <br/> </span> </span> <span><span><b>2. </b></span> <span> <span> <span><b>volgeling</b></span> van iemands leer of stelregels</span> </span> <span> <span><b>• </b></span> <span><i>de leerlingen van <span><b>Jezus</b></span></i></span> <br/> </span> </span> </span> </span> </span><br/></def></ar> <ar>   | 
|   |   | 
|  11-21-2021, 03:41 PM | #129 | 
| Guru            Posts: 963 Karma: 149907 Join Date: Jul 2013 Location: Rotterdam Device: HiSenseA5ProCC, OnyxNotePro, Note5, Kobo Glo, Aura | 
			
			And what if you only moved the <br> tag outside span-tags?
		 | 
|   |   | 
|  02-03-2022, 05:11 PM | #130 | 
| Junior Member        Posts: 1 Karma: 854 Join Date: Feb 2022 Device: pocketbook | 
			
			@Maksimus - just a quick note that the Nederlands-Engels and Engels-Nederlands dic files from Nov16th2021 on pcloud are the same file. Just checked and they are both EN-NL dictionaries. Having downloaded both files they have the same size in kb. Any chance to upload the NL-EN dict?
		 | 
|   |   | 
|  02-12-2022, 06:23 AM | #131 | 
| Guru            Posts: 963 Karma: 149907 Join Date: Jul 2013 Location: Rotterdam Device: HiSenseA5ProCC, OnyxNotePro, Note5, Kobo Glo, Aura | 
			
			@mitchXL Thanks for the catch. Indeed, it seems I never ran the dictionary conversion at that time. I've updated the dic-file and tagged it Feb12th2022.
		 Last edited by Markismus; 03-01-2022 at 07:40 AM. | 
|   |   | 
|  04-06-2022, 09:48 AM | #132 | 
| Junior Member  Posts: 2 Karma: 10 Join Date: Oct 2021 Device: none | 
				
				PCDATA invalid Char value 3
			 
			
			Hi, I'm converting a dictionary using PocketBookDic script - mobi -> stardict, and I encountered an issue: Code: parser error : PCDATA invalid Char value 3
<key>E</key>
    ^ | 
|   |   | 
|  04-06-2022, 12:56 PM | #133 | 
| Junior Member  Posts: 2 Karma: 10 Join Date: Oct 2021 Device: none | 
			
			solved by modification subroutine: removeInvalidChars in script PocketBookDic
		 | 
|   |   | 
|  04-15-2022, 10:56 AM | #134 | 
| Junior Member  Posts: 7 Karma: 10 Join Date: Jul 2019 Location: Deutschland Device: InkPad 3_(PB-740) | 
			
			I can use the converter.exe , but who knows how to do it: support in the word search tag dictionary, for example: in dictionaries of the format *.dsl word in the tags << dictionary >> is displayed as a link to the dictionary entry of the word "dictionary", respectively, when you click on this link, you go to the corresponding entry in the dictionary. Я могу использовать convert.exe, но кто знает, как это сделать: поддержка в словаре тегов поиска слова, например: в словарях формата *.dsl слово в тегах <<словарь>> отображается как ссылка на словарную статью слова "словарь", соответственно при нажатии на эту ссылку происходит переход на соответствующую статью в словаре. Ich kann die converter.exe verwenden, aber wer weiß, wie es geht: Unterstützung im Wortsuche-Tag-Wörterbuch, zum Beispiel: in Wörterbüchern des Formats *.dsl wird das Wort in den Tags << dictionary >> als Link zum Wörterbucheintrag des Wortes "dictionary" angezeigt bzw. wenn Sie auf diesen Link klicken, gelangen Sie zum entsprechenden Eintrag im Wörterbuch. | 
|   |   | 
|  04-16-2022, 09:07 AM | #135 | 
| Zealot            Posts: 134 Karma: 546310 Join Date: Jun 2011 Device: PocketBook Touch HD, PocketBook Era | 
			
			I don't think PB dictionary format can handle hyperlinks.
		 | 
|   |   | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Pocketbook dictionary | logan | PocketBook | 322 | 03-05-2024 09:48 AM | 
| Dictionary coversion from .mobi to pocketbook format? | doctorat | PocketBook | 16 | 07-01-2020 05:34 PM | 
| Webster's 1913 Dictionary in Pocketbook Format | luqmaninbmore | PocketBook | 8 | 05-27-2020 10:41 AM | 
| SW>EN Dictionary for Pocketbook | tttrine | PocketBook | 3 | 06-09-2015 06:01 AM |