![]() |
#16 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,683
Karma: 5703586
Join Date: Nov 2009
Device: many
|
I think, one thing easy to remove is the TEXT_OF_FOOTNOTE_HERE and the same for the endnote text place holder and just use the \\1 replace reference, since all of these are clips.
That way if you are marking up existing text it will work easier. I will take a shot at that. |
![]() |
![]() |
![]() |
#17 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,683
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Quote:
If I replace the footnote/endnote text with \\1 and assume the initial selection is in this format: "[1] The remainder of text here." We could extract the footnote number from the text and insert it into the template. We could look for [d+] or d+ at the beginning of the selection and use regex to extract the number. I think that would be doable. The same approach could be used for the references to footnotes. If nothing is selected it would add in the templates. How does that sound? Sort of a smart footnote clip. |
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,719
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
|
![]() |
![]() |
![]() |
#19 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() Posts: 253
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
Quote:
But curiously, the Windows Sigil doesn't object to "backlink" nor does my MacBook using Sigil Beta1. The objection is only in my Linux Sigil. So, why the difference? |
|
![]() |
![]() |
![]() |
#20 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() Posts: 253
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
Quote:
I jumped thro their Security hoops and Beta 1 runs fine. Beta 1 was also a tar.xz download and only three days ago. The MacBook sees some difference between Beta 1 and Beta 2 which Apple does not like. |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,683
Karma: 5703586
Join Date: Nov 2009
Device: many
|
I only have Mac intel laptop with me to check so I can not actually try running the CI arm build. I will try redownloading it from our CI and compare shasums to see if I downloaded it improperly.
|
![]() |
![]() |
![]() |
#22 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,719
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
Running EPUBCheck 5.2.1... please wait. Quote:
|
||
![]() |
![]() |
![]() |
#23 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,683
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Quote:
None of them should complain. The old epub:type="referrer" was dropped after the first update from the Epub3 Structural Semantics Vocabulary document back around when epub 3.0.1 came out. Ever since all of the updated Vocabulary lists have included epub:type="backlink" so it has been that way for quite a few years now. Not sure why you are seeing that. |
|
![]() |
![]() |
![]() |
#24 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,683
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Quote:
So nothing was added or lost on upload. If that build truly is broken in some way, then it is the github CI build process that is involved. I will look into it. |
|
![]() |
![]() |
![]() |
#25 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,699
Karma: 168959600
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
![]() |
![]() |
![]() |
#26 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,683
Karma: 5703586
Join Date: Nov 2009
Device: many
|
@philja
Okay I looked through the entire CI build and just like DiapDealer said, there were no issues. So I snuck into my wife's office and borrowed her MacBook Air (which is an arm64) and downloaded the Beta2 build from my github personal repo. Then I dragged it out of the Downloads folder to her Desktop: Then in Terminal.app I did the following: xattr -d com.apple.quarantine Sigil.app-2.6.0-Beta-2-Mac-arm64.tar.xz which I always do with trusted software (since I built it!) Then double-clicked on it to let Archive unpack it. I was able to then Double-Click on the resulting Sigil application and it launched just fine (after telling Apple it was okay to open). And it all worked for me. So I am not sure why you are seeing what you are seeing? Do you by chance have some strange MacOS anti-virus software running? |
![]() |
![]() |
![]() |
#27 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,683
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Quote:
When I added my changes to Sigil official master, I did not do a pull and merge. Instead I generated a diff by hand and edited it to include just the pieces I wanted. Then I checked out Sigil-Ebook Sigil master and applied the changes using patch. Then pushed them in a few restructured commits from my local repo back to Sigil master (official). So the source code is now up to date in Sigil-Ebook master. But the commits that got it there were "*different*" then the commits I used in my own repo but the end product should be identical. But github can not tell that by looking at commit logs. I have a tendency to hack around in my local repo and push to my personal github repo (so nothing gets lost) until I am reasonably happy. Then my personal repo will lie fallow until the next major change idea comes about. Everything from here on out will happen from Sigil official master. |
|
![]() |
![]() |
![]() |
#28 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() Posts: 253
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
Quote:
And my initial post indicated that I had checked the sha256 checksum on both downloads and both were ok. My installation procedure was to double-tap the download tar.xz to unpack it inside the Downloads directory and then drag the Sigil.app to the Applications directory. However, now for the good news. I followed your procedure as you listed it (on your wife's MacBook) using the first of my Beta2 downloads and now I have a working Beta2. It must be down to your line of code which I trustingly and blindly followed: Code:
xattr -d com.apple.quarantine Sigil.app-2.6.0-Beta-2-Mac-arm64.tar.xz |
|
![]() |
![]() |
![]() |
#29 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,683
Karma: 5703586
Join Date: Nov 2009
Device: many
|
I was checking the sha56 checksums from our github build to what I uploaded to my repo to make sure my initial upload was not broken.
Apple applies stricter security when you run or unpack things inside Downloads. I always drag it out of Downloads to the Desktop manually. I actually have a Droplet App that runs that command line command to remove the com.apple.quarantine extended attribute that Apple adds to everything you download. On my wife's machine I had to do it by hand. That attribute is like a virus in that everything you unpack on Apple gets that attribute defines to all its contents if the package itself has that extended attribute. To really have fun, go to your some busy folder on your Mac and open Terminal and type: ls -a@el to get a full listing of all of your extended attributes on your existing files in that folder then compare it with what you trust or do not trust. It is freaky anything runs at all. I regularly run clean up runs on my home and dev machines to remove those silly attributes from github checkouts, images, etc Apple really should have an easy way for a user to say I trust something. After 40+years of contributing to various open source projects and shareware before that, and over a decade on Sigil alone, I think a bit of trust should be given for what I produce. But Apple treats everything and everyone as suspect unless it is them. Last edited by KevinH; 06-21-2025 at 09:30 AM. |
![]() |
![]() |
![]() |
#30 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() Posts: 253
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |