![]() |
#31 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() Posts: 262
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
Quote:
I only get the 'blue' message on my linux box running UbuntuStudio24.04.1 and with the Beta2 Sigil. Years ago when I first started using Sigil (v0.9ish), I used to get lots of messages from the epubcheck plugin. The first few were in blue and the others in red. IIRC, someone on this forum said the blues were for info only and could be ignored and only the red needed fixing to validate the epub. These days, it's rare to get any message at all so I've probably upped my game a bit. On a new epub3 generated from scratch in Sigil Beta2, filled with some 'lorem ipsum' text and a footnote with backlink using the new Aria Clips, I still get that message on the linux box, but not on W10 nor MacBook. And I'm certain I only used your plugin to validate and there's no coding error. I don't understand why it's only the linux box which produces this message, but I'm not going to worry too much about it. |
|
![]() |
![]() |
![]() |
#32 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,723
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
"usage": true, |
|
![]() |
![]() |
Advert | |
|
![]() |
#33 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,525
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'm not getting the "Unrecognized epub:type value 'backlink'" warning on Linux with the Beta 2 AppImage. New Epub3; ipsum lorem text; made a footnote with backlink using the Aria Clips.
Using version 0.4.7.1 of the EpubCheck plugin (with version 5.2.1 of Epubcheck). |
![]() |
![]() |
![]() |
#34 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,525
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#35 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,723
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
"usage": true, Code:
java -jar "C:\Users\user\AppData\Local\sigil-ebook\sigil\plugins\EpubCheck\epubcheck.jar" "C:\Users\user\Downloads\backlink.epub" -u --json -
Spoiler:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#36 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,704
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Quote:
Does the info also barf when epub:type="backlink" is replaced by much older epub:type="referrer"? |
|
![]() |
![]() |
![]() |
#37 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,723
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
BTW, I checked the latest specs and backlink still has a draft status. |
|
![]() |
![]() |
![]() |
#38 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,704
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Quote:
So to follow the spec we either need to drop support for both epub:type="referrer" as it is no longer part of the official vocabulary (and has not been for years) or we replace it with the draft backlink but it has been draft for years. Either way, the bug is in epubcheck. |
|
![]() |
![]() |
![]() |
#39 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,704
Karma: 5703586
Join Date: Nov 2009
Device: many
|
I have opened the following issue in epubcheck explaining the situation. Hopefully they will modify a future version of epubcheck to do "the right thing" whatever that is.
My hope is the powers that be will formally adopt the draft "backlink" and epubcheck will support it properly or maybe return "referrer" to the standard vocabulary list. One or the other should work. https://github.com/w3c/epubcheck/issues/1617 |
![]() |
![]() |
![]() |
#40 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,723
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
USAGE(OPF-088): C:/Users/user/Downloads/backlink.epub/OEBPS/Text/Section0001.xhtml(12,116): Unrecognized epub:type value "backlink". In JSON mode, it'll be: Code:
"messages" : [ { "ID" : "OPF-088", "severity" : "USAGE", "message" : "Unrecognized epub:type value \"backlink\".", "additionalLocations" : 0, "locations" : [ { "url" : { "opaque" : false, "hierarchical" : true } If you hear back from the EPUBCheck devs, they'll probably want to know the message code, which is "OPF-088." Since this message, which is neither a warning nor an error, is only shown if the optional -u/--usage parameter is specified hardly anybody will ever see it anyway. EDIT: I've just found this 2016(!) post: Quote:
Last edited by Doitsu; 06-21-2025 at 03:08 PM. |
||
![]() |
![]() |
![]() |
#41 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,704
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Hi All,
I took a shot at making Aria Clips be a bit smarted about the _N_ and with \\1. Now if I want a footnote div with _N_ being 3 and I was marking up existing text I could do the following, assume this is my existing text (or that I added it by hand) Code:
[3] The text of my footnote goes here. It should now produce the following: Code:
<div id="fn3" epub:type="footnote" role="doc-footnote"> <p> <a href="#ref_fn3" epub:type="backlink" role="doc-backlink">[3]</a> This is the text of my footnote. </p> </div> It works similarly for footnote with aside, footnote with div, and endnote in li. It also works just on the _N_ field in footnote ref, footnote backlink, endnote ref, endnote_backlink, and pagebreak_span I am still working on positioning the cursor into the empty section and aside tags. I have not figured out a way to do that easily (yet). I have pushed all of this to Sigil master with deploy and will post new Beta-3 builds shortly. |
![]() |
![]() |
![]() |
#42 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,704
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Hi Doitsu,
Wonderful. I have liberally copied and pasted this extra information into my issue on epubcheck, with the hope it clarifies things. They should simply remove that check or accept backlink. Thanks, Quote:
|
|
![]() |
![]() |
![]() |
#43 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,704
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Okay I have posted a Sigil 2.6.0 Beta-3 builds to play and test with. It should now support the "smarter" clips by gleaning number from text selected in CV.
They are all unsigned direct from our github CI builds. There are available on the Releases page of one of my github repositories: https://github.com/kevinhendricks/Bu...OnMac/releases Of course, for anyone who builds their own, you can build from current official Sigil master. All feedback welcome. KevinH |
![]() |
![]() |
![]() |
#44 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() Posts: 262
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
Quote:
I checked the EpubCheck.json file in my Linux box and you're right - "usage":true I then went to my W10 box and found "usage": false. I set it to true and voila!, W10 also announces that epub:type value "backlink" is unrecognised. Curiously, I have no recollection of ever having edited the EpubCheck.json file in any of my machines. But now I have, I've set "usage": false on all boxes. |
|
![]() |
![]() |
![]() |
#45 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() Posts: 262
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
Beta 3 with the revised footnote clips works well on my linux box. All the ref no's and highlighted text were correctly placed.
When you have several footnotes at the end of a chapter, having each one wrapped in <div> tags makes for an ugly load of code. If the Code:
<div id="fn2" epub:type="footnote" role="doc-footnote"> Code:
<div> <p id="fn1" epub:type="footnote" role="doc-footnote"> <a href="#ref_fn1" epub:type="backlink" role="doc-backlink">[1]</a> TEXT_OF_FOOTNOTE_HERE </p> <p id="fn2" epub:type="footnote" role="doc-footnote"> <a href="#ref_fn2" epub:type="backlink" role="doc-backlink">[2]</a> for more info on this item, look at chapter 6 </p> </div> Would that violate any rules? |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |