Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 06-22-2016, 02:37 PM   #16
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,489
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by KevinH View Post
Instead please try what I just pushed to master. I am still not sure the save to disk is needed but that bug fix is needed for editing content content.opf.
Seemed to work great on the Linux side of things. Now doing a Windows build to verify (but I suspect it will work fine there, too).

EDIT: does the trick on Windows, too.

Last edited by DiapDealer; 06-22-2016 at 03:00 PM.
DiapDealer is offline  
Old 06-22-2016, 04:02 PM   #17
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,573
Karma: 5703586
Join Date: Nov 2009
Device: many
Good to know! We can decide if that is annoying enough for a new release once we see if any other bugs come up.
KevinH is offline  
Advert
Old 06-23-2016, 01:22 AM   #18
icallaci
Guru
icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.
 
Posts: 817
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
Quote:
Originally Posted by DiapDealer View Post
In my case: it's simply a matter of editing any css file in any epub on Windows Vista (the only O.S. I've tested so far).

As soon as you make an edit (any edit) to the css file, the code repositions itself so the line you just edited is in the center (vertically) of the Code View Tab. No matter where the line was vertically before you altered it, it will end up in the center after.

I currently can't make it NOT happen on that machine.
Ditto here. It happens on every CSS file, every time (although I'm running Win 8.1, not Vista). Sorry for my slow response; I've been traveling all day.

Edited to add: Just saw the latest posts that indicate you may have found the problem. Thanks!

Last edited by icallaci; 06-23-2016 at 01:30 AM.
icallaci is offline  
Old 07-10-2016, 07:26 PM   #19
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by KevinH View Post
Good to know! We can decide if that is annoying enough for a new release once we see if any other bugs come up.
Well, it's not my place to say whether a release is called for, but it is very annoying IMHO.
st_albert is offline  
Old 07-10-2016, 07:35 PM   #20
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
That is why git development versions exist.
eschwartz is offline  
Advert
Old 07-11-2016, 10:26 AM   #21
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by eschwartz View Post
That is why git development versions exist.
Indeed. That thought occurred to me, and maybe when I'm feeling adventurous one day, I'll go that route. But for now, it's "better the devil you know than the devil you don't know."



Albert
st_albert is offline  
Old 07-15-2016, 03:38 AM   #22
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
So I ran into this oddity (bug?) today.

Finereader 12 outputs this footnote code:

Code:
<p><a id="bookmark1"><sup><a href="#footnote1">1</a></sup></a></p>
Sigil 0.8.6 + W3C's XHTML Validator thought the above code was well formed... while Sigil 0.9.6 thought it was not.

If I allowed Sigil 0.9.6 to repair the file, it changed the code to this:

Code:
<p><a id="bookmark1"><sup></sup></a><a href="#footnote1">1</a></p>
I suspect it has to do with a difference between XHTML 1.1 <-> HTML4/5 and allowing nested <a> tags.
Tex2002ans is offline  
Old 07-15-2016, 09:20 AM   #23
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,573
Karma: 5703586
Join Date: Nov 2009
Device: many
You are correct, nested anchors are not allowed. As it turns out according to the xhtml 1.1 dtd / schema nested anchors are not allowed in xhtml 1.1 (if you choose strict vs tr it should be caught by a validator). They are also not allowed in html4 or html5 according to the rules and therefore are not allowed in xhtml5 either.

That said, most browsers did display nested anchors as expected, so people still use them but techically should not.
KevinH is offline  
Old 07-15-2016, 10:15 AM   #24
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Code:
.../...<sup></sup>.../...
Really? When I meet this, I usually suppress it.
And then the two links blend into one. A little like for a Tetris game.

Last edited by roger64; 07-15-2016 at 10:41 AM.
roger64 is offline  
Old 07-15-2016, 10:30 AM   #25
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,489
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Sup tags always make me hungry.
DiapDealer is offline  
Old 07-15-2016, 02:49 PM   #26
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,936
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by DiapDealer View Post
Sup tags always make me hungry.
I thought it was <sub> tags that brought on hunger


For those lurkers
A 'Sub" (or hoagie) is a Sandwich made on roll
theducks is offline  
Old 07-15-2016, 04:36 PM   #27
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by KevinH View Post
As it turns out according to the xhtml 1.1 dtd / schema nested anchors are not allowed in xhtml 1.1 (if you choose strict vs tr it should be caught by a validator).

That said, most browsers did display nested anchors as expected, so people still use them but techically should not.
Thanks for the info.

Quote:
Originally Posted by roger64 View Post
Code:
.../...<sup></sup>.../...
Really? When I meet this, I usually suppress it.
I agree, in most cases an empty tag like that is absolutely useless. I typically strip those things out as one of the initial cleaning steps.

In this case, it is important to see exactly how Sigil decided to alter the code.

In the Before, the footnote number is superscript. After Sigil 0.9.6 does its magic, the number is no longer superscript.

Before: <p><a id="bookmark1"><sup><a href="#footnote1">1</a></sup></a></p>

After: <p><a id="bookmark1"><sup></sup></a><a href="#footnote1">1</a></p>

I never really noticed this too much since Sigil never complained before + I have a set of Regex I have been using for years and years to clean/condense a bunch of the Finereader cruft. This Regex is one of them:

Search: <p><a id="[^"]+"><sup><a href="[^"]+">([0-9]+)</a></sup></a></p>\s+<p>
Replace: <p><sup>\1</sup>

Quote:
Originally Posted by theducks View Post
I thought it was <sub> tags that brought on hunger


For those lurkers
A 'Sub" (or hoagie) is a Sandwich made on roll
Always great when you need to add an explanatory note to your jokes.
Tex2002ans is offline  
Old 08-15-2016, 03:24 PM   #28
LonelyTutor
Junior Member
LonelyTutor began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2016
Device: iOS
With the latest version of Sigil on OSX 10.11.5, I ran in a rather peculiar issue: Sigil deleted the contents of my images folder. Anybody else ran into that issue?
LonelyTutor is offline  
Old 08-15-2016, 03:37 PM   #29
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,573
Karma: 5703586
Join Date: Nov 2009
Device: many
Deleted or moved???

Sigil when opening an epub, always changes it to match is internal model. In this case you should find an Images folder (case sensitive name) and it should appear in the BookBrowser window on the far left size of the screen. All images will be moved to be inside that new Images folder and all of the links to them should be properly updated.

If not, please post a sample of your epub showing the issue (if it can be publicly shared - no copyright or license restrictions). If it is private and can not be shared, you can use personal mail (pm) here to send us a link to it (KevinH, or DiapDealer) so we can see if we can recreate your issue.

KevinH

Last edited by KevinH; 08-15-2016 at 03:40 PM.
KevinH is offline  
Old 08-16-2016, 01:54 AM   #30
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
The only time I saw that happen, was quite a while ago. The images were referenced correctly in the XHTML files, but with a wrong extension in the OPF. I suspect it was a anti-piracy measure. Since Sigil reads the OPF to see which files to read, the images were not loaded. I don't know if this has changed, at least Sigil also some special files in other directories like the META-INF.
Mind you, this was about 2-3 years ago.
Toxaris is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil-0.9.2 Released KevinH Sigil 14 01-11-2016 03:11 AM
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 KevinH Sigil 106 10-04-2015 10:41 AM
Sigil 0.8.2 Released user_none Sigil 12 12-22-2014 06:02 PM
Sigil 0.7.4 Released user_none Sigil 47 01-05-2014 02:31 PM
Sigil 0.4.1 Released user_none Sigil 50 09-01-2011 04:58 PM


All times are GMT -4. The time now is 05:51 AM.


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