|  02-03-2021, 04:02 PM | #46 | 
| Wizard            Posts: 1,291 Karma: 1428263 Join Date: Dec 2016 Location: Goiânia - Brazil Device: iPad, Kindle Paperwhite, Kindle Oasis | |
|   |   | 
|  02-03-2021, 04:07 PM | #47 | |
| Bibliophagist            Posts: 48,088 Karma: 174315300 Join Date: Jul 2010 Location: Vancouver Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos | Quote: 
 Code: <?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" lang="pt-BR" xml:lang="pt-BR">
  <head>
    <title></title>Code: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" lang="pt-BR" xml:lang="pt-BR"> <head> <title></title> | |
|   |   | 
| Advert | |
|  | 
|  02-03-2021, 04:16 PM | #48 | 
| Grand Sorcerer            Posts: 5,763 Karma: 24088559 Join Date: Dec 2010 Device: Kindle PW2 | 
			
			I just tested the plugin with a pre-release version of Sigil 1.5.0 built on 12/23/2020 from master on my Arch Linux machine, and the titles were properly populated with the toc entries.  However, on my 64bit Windows 10 machine, I got the same results as thiago.eec with Sigi 1.4.3. | 
|   |   | 
|  02-03-2021, 04:17 PM | #49 | 
| Wizard            Posts: 1,291 Karma: 1428263 Join Date: Dec 2016 Location: Goiânia - Brazil Device: iPad, Kindle Paperwhite, Kindle Oasis | |
|   |   | 
|  02-03-2021, 04:18 PM | #50 | |
| Wizard            Posts: 1,291 Karma: 1428263 Join Date: Dec 2016 Location: Goiânia - Brazil Device: iPad, Kindle Paperwhite, Kindle Oasis | Quote: 
 | |
|   |   | 
| Advert | |
|  | 
|  02-03-2021, 04:24 PM | #51 | |
| Sigil Developer            Posts: 9,070 Karma: 6361556 Join Date: Nov 2009 Device: many | 
			
			Wow.   I can not think of a change that would impact this plugin only on Windows since Sigil-1.4.3.   But I have so many Sigil builds lying around that my Sigil 1.4.3 on my mac may not be identical to whatever is on the releases page. I will download exactly that version and try the testcase with that exact version just in case it is a generic plugin bug that only exists in 1.4.3. Quote: 
 | |
|   |   | 
|  02-03-2021, 04:33 PM | #52 | 
| Sigil Developer            Posts: 9,070 Karma: 6361556 Join Date: Nov 2009 Device: many | 
			
			Okay, grabbed an official release build of Sigil-1.4.3 for mac from the Official Sigil github releases and wonloaded and installed it and ran Access-Aide on the provided testcase. On load I had to run Mend to add the Doctypes and then invoked Access-Aide and it did its job correctly. So something very Windows specific that impacts plugins is happening. Very strange. | 
|   |   | 
|  02-03-2021, 04:36 PM | #53 | 
| Sigil Developer            Posts: 9,070 Karma: 6361556 Join Date: Nov 2009 Device: many | 
			
			I will ask DiapDealer to investigate this on his Windows build to see if he has any ideas. Edit: Passed along the testcase to him and asked DiapDealer to take a look when he gets a chance. Interestingly enough I could not e-mail the plugin zip code to him as gmail barfed saying it was infected when of course it is just a zip with an executable inside and a bunch of python code. The executable is just to help see svg images in a tk plugin and is not needed. Hopefully he will be able to track down what the issue is and hopefully fix it in master. Last edited by KevinH; 02-03-2021 at 04:50 PM. | 
|   |   | 
|  02-03-2021, 05:10 PM | #54 | 
| Grand Sorcerer            Posts: 28,880 Karma: 207000000 Join Date: Jan 2010 Device: Nexus 7, Kindle Fire HD | 
			
			I was going to say I was seeing the same thing on Windows, but it looks like I should just skip to seeing why it might work differently on Windows.    | 
|   |   | 
|  02-03-2021, 05:12 PM | #55 | 
| Sigil Developer            Posts: 9,070 Karma: 6361556 Join Date: Nov 2009 Device: many | 
			
			Does it fail on master on Windows too?
		 | 
|   |   | 
|  02-03-2021, 05:25 PM | #56 | 
| Guru            Posts: 899 Karma: 3501166 Join Date: Jan 2017 Location: Poland Device: Various | 
			
			Yes (Windows 10). I have the build prepared just now and the problem exists.
		 | 
|   |   | 
|  02-03-2021, 05:25 PM | #57 | 
| Grand Sorcerer            Posts: 28,880 Karma: 207000000 Join Date: Jan 2010 Device: Nexus 7, Kindle Fire HD | 
			
			I haven't tried that yet. I was using a version of Sigil (somewhat newer than 1.4.3) that I have on my work laptop in order to give it a quick test.
		 | 
|   |   | 
|  02-03-2021, 06:07 PM | #58 | 
| Sigil Developer            Posts: 9,070 Karma: 6361556 Join Date: Nov 2009 Device: many | 
			
			So the problem may be with the executable as that is pretty much the only Windows specific thing.  Perhaps it is causing the plugin to exit abnormally?
		 | 
|   |   | 
|  02-03-2021, 06:15 PM | #59 | 
| Guru            Posts: 899 Karma: 3501166 Join Date: Jan 2017 Location: Poland Device: Various | 
			
			No, I see issue. Code: apath = os.path.normcase(apath) titlemap says "OEBPS/introducao.xhtml", but the bookpath says "OEBPS/Introducao.xhtml". Since the bookpath in the titlemap is different than the actual name in the EPUB file – the condition is not met and the title is not inserted. --- Edit: If the xhtml file name is written in lowercase (e.g. toc.xhtml) then the title is inserted because the bookpath matches the titlemap. Last edited by BeckyEbook; 02-03-2021 at 06:30 PM. | 
|   |   | 
|  02-03-2021, 06:44 PM | #60 | 
| Sigil Developer            Posts: 9,070 Karma: 6361556 Join Date: Nov 2009 Device: many | 
			
			But how does it work on Linux which is fully case sensitive?
		 | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| [Plugin] ACE - DAISY EPUB Accessibility Checker wrapper | Doitsu | Plugins | 37 | 07-15-2024 11:38 AM | 
| Easier access to plugin prefs | slowsmile | Plugins | 14 | 10-22-2017 01:42 PM | 
| Help me improve my EPUB converter | epubler | Workshop | 2 | 07-20-2011 09:15 PM | 
| Epub Revision - accessibility support | Nate the great | ePub | 1 | 02-23-2011 03:47 AM | 
| Kindle 2 Accessibility Access Mode suggestions | scotty1024 | Amazon Kindle | 4 | 02-28-2009 06:06 PM |