Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-19-2025, 03:36 PM   #1
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,683
Karma: 5703586
Join Date: Nov 2009
Device: many
Call for testers for Sigil 2.6.0 - Beta 2

Given the EU recent move to require Accessibility for all Digital Publications and websites, Sigil might need an easier way to see and apply Aria Accessibility role attributes and mapped epub:type attributes, and a way to quickly paste in Aria Accessibility recommended code clips for Chapters, footnotes, endnotes, tips, etc.

In order to make that happen we have had to design a few base classes and dialogs and modify Sigil to employ them when editing in CodeView on epub3.

One proof of concept way of achieving this has been added to Sigil master and we are releasing it as a Beta build in the hopes people will download and test these new features and feed back their thought and comments.

Please note, to not make extra or duplicative work for Translators, I have *not* updated the base for translations to include this code and will not until we have hammered it into some final form.

I have posted the unsigned ci beta builds for Mac, Linux, and Windows on my personal repo here:

https://github.com/kevinhendricks/Bu...nMac/releases/

If you are willing to help make Sigil better please give these a test run and report back your thoughts. Much of the design and gui for these Accessibility improvements is still up in the air, so your feedback will be valuable.

The files to get are named as follows (you can grab the checksums as well):

Mac
----
Sigil.app-2.6.0-Beta-2-Mac-arm64.tar.xz
Sigil.app-2.6.0-Beta-2-Mac_x86_64.tar.xz

Windows
----------
Sigil-2.6.0-Beta-2-Windows-x64-Setup.exe

Linux AppImage
-----------------
Sigil-2.6.0-Beta-2-x86_64.AppImage

Thanks in advance for you help testing and your thoughts on the gui changes.

Last edited by KevinH; 06-19-2025 at 03:50 PM.
KevinH is offline   Reply With Quote
Old 06-20-2025, 12:06 AM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,694
Karma: 168959600
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Installed and looks good so far in very limited testing.

Is this based on the Sigil or your repository?
DNSB is offline   Reply With Quote
Advert
Old 06-20-2025, 03:08 AM   #3
philja
Addict
philja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enough
 
Posts: 253
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
I downloaded the Sigil.app-2.6.0-Beta-2-Mac-arm64.tar.xz for my MacBook but Apple refused to open the Sigil.app saying '“Sigil.app” is damaged and can’t be opened. You should move it to the Bin.'

The sha256 checksum was correct. I repeated the download and checksum and got the same rejection.

I don't remember getting that with the Beta 1. In that case it was a matter of finding out how to overcome Apple's objections to a file downloaded from the internet - not their claim that the file was damaged.

I'll get to Linux and Windows this afternoon when it's too hot to work outside.
philja is offline   Reply With Quote
Old 06-20-2025, 06:22 AM   #4
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,719
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
I also did some quick tests and everything looks OK. For footnotes and endnotes it would be helpful, if the clip would replace _N_ with a number if a number was selected before the clip was applied.

For example, if I enter a 1, select it and apply an Endnote LI clip the result should be:

Code:
    <li id="en1" epub:type="endnote">
      <p>
        <a href="HREF_FOR_RETURN_FROM_ENDNOTE#en1" epub:type="backlink" role="doc-backlink">[1]</a>
            TEXT_OF_ENDNOTE_HERE
      </p>
    </li>
Doitsu is offline   Reply With Quote
Old 06-20-2025, 08:08 AM   #5
philja
Addict
philja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enough
 
Posts: 253
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Got Beta 2 running successfully on both Linux and W10 boxes. The new ePub3 functionality works fine so far.

One question though.

When we click on Aria Clip and select an item, like <section>, would it be possible to keep the focus in the initial tag and have a pop-up appear automatically with a list of the possible appropriate roles?
philja is offline   Reply With Quote
Advert
Old 06-20-2025, 09:22 AM   #6
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,683
Karma: 5703586
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by philja View Post
Got Beta 2 running successfully on both Linux and W10 boxes. The new ePub3 functionality works fine so far.

One question though.

When we click on Aria Clip and select an item, like <section>, would it be possible to keep the focus in the initial tag and have a pop-up appear automatically with a list of the possible appropriate roles?
Thanks.

I think that would be possible but useful for only the section and aside clips as all of the remainders already have all the appropriate roles in them. So we would have to special case 'section' and 'aside' somehow.

Let me think about it.
KevinH is offline   Reply With Quote
Old 06-20-2025, 09:42 AM   #7
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,683
Karma: 5703586
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by Doitsu View Post
I also did some quick tests and everything looks OK. For footnotes and endnotes it would be helpful, if the clip would replace _N_ with a number if a number was selected before the clip was applied.

For example, if I enter a 1, select it and apply an Endnote LI clip the result should be:

Code:
    <li id="en1" epub:type="endnote">
      <p>
        <a href="HREF_FOR_RETURN_FROM_ENDNOTE#en1" epub:type="backlink" role="doc-backlink">[1]</a>
            TEXT_OF_ENDNOTE_HERE
      </p>
    </li>
But the user would still have to manually replace all the other placeholders, so it really would not help much. Especially with endnotes. One you created the endnotes you could always sequentially renumber them with Python Function Replace. To search for and replace that placeholder would be easy. But filling in all the remaining placeholders hrefs not so much.


So Let's say you had 6 footnotes, at the end of the file, I would insert one footnote clip, and copy and paste it 5 more times. Then use Python Function Replace to fill in each _N_ incrementing them automatically. For only 1 or 2 footnotes I would just do the replace by hand.

That still leaves replacing each footnotes text appropriately.

Footnotes are really hard to deal with in an editor, so a plugin is probably a better way to handle them.

Inside CV editor it is not clear if the footnote text already exists (ie. you are marking up existing text) and you just want to wrap around selected text and provide a number.

Or if no text exists so you just want to create a structure with all the roles and things first and as many of them as needed. The go back and fill in the text.

In a plugin you can assume the author has already somehow marked both the text you are footnoting and its corresponding footnote, and then can create links and number them much more easily.

I took the clips approach but perhaps a standalone insert footnote command or insert endnote command might be better. But it would need to differ across epub 2 and epub3.

Really not sure here.

Last edited by KevinH; 06-20-2025 at 09:48 AM.
KevinH is offline   Reply With Quote
Old 06-20-2025, 09:45 AM   #8
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,683
Karma: 5703586
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by DNSB View Post
Installed and looks good so far in very limited testing.

Is this based on the Sigil or your repository?
It is now all in Sigil master. It was just the only way to create the betas.

If need be I can revert things.
KevinH is offline   Reply With Quote
Old 06-20-2025, 09:49 AM   #9
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,683
Karma: 5703586
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by philja View Post
I downloaded the Sigil.app-2.6.0-Beta-2-Mac-arm64.tar.xz for my MacBook but Apple refused to open the Sigil.app saying '“Sigil.app” is damaged and can’t be opened. You should move it to the Bin.'

The sha256 checksum was correct. I repeated the download and checksum and got the same rejection.

I don't remember getting that with the Beta 1. In that case it was a matter of finding out how to overcome Apple's objections to a file downloaded from the internet - not their claim that the file was damaged.

I'll get to Linux and Windows this afternoon when it's too hot to work outside.
Wow, perhaps our CI for arm64 is broken. I will manually recreate one later this week and replace it.

Thanks for the head's up.
KevinH is offline   Reply With Quote
Old 06-20-2025, 10:22 AM   #10
philja
Addict
philja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enough
 
Posts: 253
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Quote:
Originally Posted by Doitsu View Post
I also did some quick tests and everything looks OK. For footnotes and endnotes it would be helpful, if the clip would replace _N_ with a number if a number was selected before the clip was applied.

For example, if I enter a 1, select it and apply an Endnote LI clip the result should be:

Code:
    <li id="en1" epub:type="endnote">
      <p>
        <a href="HREF_FOR_RETURN_FROM_ENDNOTE#en1" epub:type="backlink" role="doc-backlink">[1]</a>
            TEXT_OF_ENDNOTE_HERE
      </p>
    </li>
I thought I might have a case where I disagree. For an existing book where on revision you might want to add a second footnote to a chapter using #fn2, I thought epubcheck would choke because #fn1 thro #fn34 had already been used in various chapters thro the book.

But to my surprise, it didn't object to #fn2 being used in two separate chapters. Could this cause a problem in some e-reading devices?

But it did bring up a blue 'error' message about an unrecognised epub:type value "backlink"
philja is offline   Reply With Quote
Old 06-20-2025, 10:33 AM   #11
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,683
Karma: 5703586
Join Date: Nov 2009
Device: many
Is this the latest epubcheck?

According to the latest official docs on mapping the epub:type referrer is now called backlink.

So perhaps they have not updated epubcheck to meet their own latest standards.
KevinH is offline   Reply With Quote
Old 06-20-2025, 10:53 AM   #12
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,524
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by KevinH View Post
Wow, perhaps our CI for arm64 is broken. I will manually recreate one later this week and replace it.
I don't see anything unusual in the arm64 CI deploy run for your betas. Looks the same as the last few releases. *shrug*

But we rarely use the deploy builds (except for betas) so maybe there is something going wrong creating the the tgz archive.

Last edited by DiapDealer; 06-20-2025 at 11:03 AM.
DiapDealer is online now   Reply With Quote
Old 06-20-2025, 11:04 AM   #13
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,524
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by philja View Post
But to my surprise, it didn't object to #fn2 being used in two separate chapters. Could this cause a problem in some e-reading devices?
Not to my knowledge. ids/url fragments only need to be unique to the file they're in.
DiapDealer is online now   Reply With Quote
Old 06-20-2025, 11:09 AM   #14
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,524
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by DiapDealer View Post
I don't see anything unusual in the arm64 CI deploy run for your betas. Looks the same as the last few releases. *shrug*

But we rarely use the deploy builds (except for betas) so maybe there is something going wrong creating the the txz archive.
The only difference I see is that your mac beta archives are named *.tar.xz whereas the official releases have been using *.txz
DiapDealer is online now   Reply With Quote
Old 06-20-2025, 11:53 AM   #15
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,719
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by KevinH View Post
Is this the latest epubcheck?

According to the latest official docs on mapping the epub:type referrer is now called backlink.

So perhaps they have not updated epubcheck to meet their own latest standards.
I created a new epub3 file with the following contents:

Spoiler:
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">
<head>
  <title>title</title>
</head>

<body>
  <section epub:type="endnotes" role="doc-endnotes">
    <ol>
      <li id="en1" epub:type="endnote"><p><a href="Section0001.xhtml#en1" epub:type="backlink" role="doc-backlink">[1]</a> TEXT_OF_ENDNOTE_HERE</p></li>
    </ol>
  </section>
</body>
</html>


(I added a circular dummy backlink.)

EPUBCheck 2.5.1 didn't complain about it.
Here's the partial .json output:

Spoiler:
Code:
  "checker" : {
    "path" : "C:\\Users\\user\\AppData\\Local\\sigil-ebook\\sigil\\plugins\\EpubCheck\\temp.epub",
    "filename" : "temp.epub",
    "checkerVersion" : "5.2.1",
    "checkDate" : "06-20-2025 17:47:20",
    "elapsedTime" : 41944,
    "nFatal" : 0,
    "nError" : 0,
    "nWarning" : 0,
    "nUsage" : 0
  },


Most likely, philja is using an older version or there's another syntax issue in his code.
Doitsu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Beta Testers for Sigil-2.3.0 Needed KevinH Sigil 71 07-22-2024 09:54 AM
Call for beta testers https://kobli.me neuraltoxin Kobo Developer's Corner 10 01-21-2023 12:43 AM
Another call for testers NiLuJe Kobo Developer's Corner 26 09-20-2019 11:25 AM
Call for testers kovidgoyal Calibre 289 09-19-2008 01:45 PM


All times are GMT -4. The time now is 06:58 PM.


MobileRead.com is a privately owned, operated and funded community.