![]() |
#301 | |
Ebook-Fan
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 398
Karma: 698564
Join Date: Feb 2011
Device: PRS T1
|
Quote:
Now when you split part000_1.html you will get: part000_1.html part000_1_1.html part000_1_2.html part000_1_3..html So it is no disorder! Something like this is better than a monster like " "part0000_1_1_1_1_1_1" Last edited by samy2; 12-11-2013 at 08:52 AM. |
|
![]() |
![]() |
#302 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
|
Quote:
There are two things I've not seen an answer to, or I've missed it: - Is it supposed to be correct that the GUI must be restarted if you add or change a shortkey? It doesn't work or show up if you don't restart. - Is it possible to navigate using the TOC, somehow? |
|
![]() |
Advert | |
|
![]() |
#303 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
Anyway these are the steps to reproduce:
Hope you can shed some light and thanks for the fixes to last_modified and highlighting current file in File Browser ![]() |
|
![]() |
![]() |
#304 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,397
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@jackie: Thanks, it's not actually a sync problem. What happens is that when you go back to the previously opened editor, the cursor position remains the same as it was before, which means no sync request is sent causing the preview to remain at the top of the file. I'll look into the best solution for that, that is not too inefficient. Feel free to delete the file.
@Katsunami: Shortcut changes no longer require a restart. Update to the last beta I posted. And as I mentioned previously (to arspr, I think), a TOC View is on my todo list. EDIT: Fixed: https://github.com/kovidgoyal/calibr...808259a5388f7d Last edited by kovidgoyal; 12-11-2013 at 12:24 PM. |
![]() |
![]() |
#305 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Kovid,
I have some unknown property names in CSS when I do a check for: panose-1: Spoiler:
Hyphenation: adobe-hyphenate, hyphens, -moz-hyphens,, -webkit-hyphens Spoiler:
An other observation: When I move the inspector window with the mouse the window flips back to the old position. I think, it will be a better choice to have no moving or undock for this window, as long as the window will lose the content by doing this (only a guess). |
![]() |
Advert | |
|
![]() |
#306 | |||
Dead account. Bye
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Quote:
Quote:
Quote:
![]() ![]() You forgot about styles inside tags... I attach a screenshot ("You forgot CSS inside tags....jpg") of a real book where I have deleted a ";" in the middle of it. (Line 12 between "center" and "background-color"). And then even another suggestion request (no real hurry about it). The next screenshot ("CSS Warning Texts.jpg") shows errors because of deleted ";" (lines 3 and 10) and a deleted "}" (line 19). I really, but really really, think that the error texts are completely UNfriendly. If you could somehow "translate" them to common world information, it would be really welcomed. EDITED ---- And another possible issue. Please check "Before.jpg" and "After.jpg" (a Beautify action). I've deleted the ending </i> in line 15. When Beautify (or Fix HTML) is launched an extra pair of "<i> </i>" appears outside the paragraph (lines 17 - 21). Last edited by arspr; 12-11-2013 at 05:02 PM. Reason: Possible issue with Beautify / HTML Fix |
|||
![]() |
![]() |
#307 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,397
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@Divingduck: Those are all non-standard css properties. You will be warned about any property not in the CSS 2.1 standard (plus a few from CSS 3). Extra CSS properties are usually harmless, so just ignore the warning, if you dont want to delete them.
@arspr: If you have modified text in an editor, all entities are automatically converted to unicode before checking, which is why you will not get message about them. Close and re-open the editor and you will see that. I'm afraid the error messages come from the cssutils library, I really dont have the time/interest to make them more friendly. Patches are welcome. You really should not be using style attributes, but remind me about it after the release and I will see if checking can be added for them. The HTML 5 spec requires unclosed <i> tags to render the remaining text in italic, which is why you get an extra pair of <i> tags. It's a silly requirement, but it's in the spec, probably for legacy compatibility requirements. Try viewing the following html snippet in a modern browser, Code:
<!DOCTYPE html> <html> <head> <title>test</title> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> </head> <body> <p>some <i>italic</p> after text will also be italic </body> </html> Last edited by kovidgoyal; 12-11-2013 at 10:44 PM. |
![]() |
![]() |
#308 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Quote:
I was reporting these points, because the font setting came out form Calibre by integrating a reduced font set (a mix of European and Japanese characters) and I guess there will come up questions about findings if users integrate fonts with Calibre and go then to the editor to make small adjustments. Well, Hyphenation becomes more and more common in todays reader. This was why I brought it up. But you are right, it is as well a non-standard. Only a quick thinking around: Maybe you can integrate some when in the future a switch to hide some of the findings like uncritical warning informations. Last edited by Divingduck; 12-12-2013 at 02:27 AM. |
|
![]() |
![]() |
#309 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,397
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@Divingduck: Good point about panose-1, I have special cased it so that the checker does not report it as an unrecognized property.
Unfortunately, the css library calibre uses -- cssutils is not very good for this purpose. The Book Check tool actually just intercepts its log messages and converts them into error entries. Therefore, there is no easy way to ignore some types as errors, as the errors are not really identified in any concrete way. That is why the error messages are also fairly cryptic. Still, I think having the ability to detect errors in CSS is valuable, despite the sub-optimal implementation. |
![]() |
![]() |
#310 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
|
![]() |
![]() |
#311 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,397
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
FYI, A table of contents viewer and checking for style attributes will be in tomorrows release.
|
![]() |
![]() |
#312 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Is there a way to insert a new image? I can see how to delete or replace an existing image. Have I missed something?
|
![]() |
![]() |
#313 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,397
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
File->New file
|
![]() |
![]() |
#314 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
![]() |
![]() |
![]() |
#315 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,397
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I have changed the menu entry to read "New file (images/fonts/HTML/etc)"
|
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to make Sigil live | varlog | Sigil | 136 | 10-25-2013 02:34 PM |
how many tocs does Sigil make? | Gregg Bell | Sigil | 17 | 01-31-2013 09:39 AM |
How do I make all .pdf's in my calibre library open in calibre instead of preview | morbo3000 | Library Management | 9 | 07-30-2011 10:39 AM |
using sigil to make changes befote conversion | alansplace | Sigil | 11 | 06-07-2011 07:50 AM |
i can't make sigil run in fedora 14 | nastarovia | Sigil | 1 | 01-20-2011 05:02 AM |