![]() |
#286 | |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
![]() |
![]() |
#287 |
Dead account. Bye
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Kovid, since we have crossed while posting, I repeat here the last edit from my previous post:
And another suggestion related to the ";" issue. Currently, Beautify CSS removes the last ";". As a safety measure I would do the opposite action, I would always add it even if not necessary... Last edited by arspr; 12-10-2013 at 12:13 PM. |
![]() |
Advert | |
|
![]() |
#288 |
Ebook-Fan
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 398
Karma: 698564
Join Date: Feb 2011
Device: PRS T1
|
I dont like the name of the when I spit files:
Now its: part0000_1 part0000_1_1 part0000_1_1_1 After a view splits i had a monster like this: "part0000_1_1_1_1_1_1" I like to have it like in sigil: part0000_1 part0000_2 part0000_3 part0000_4 Last edited by samy2; 12-10-2013 at 12:14 PM. |
![]() |
![]() |
#289 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@samy2: While that scheme works well in your particular case, consider when you have two files, already named:
part000_1.html part000_2.html Now when you split part000_1.html you will get part000_1.html part000_3.html part000_2.html So that the names become out of order. @arspr: Checking CSS for validity will be implemented soon. And you are right, it's better to have the trailing semi-colon to avoid unnecessary mistakes. |
![]() |
![]() |
#290 |
Dead account. Bye
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Some additional little things about Check Book:
And another one about Fix HTML which actually looks like a bug:
Last edited by arspr; 12-10-2013 at 03:43 PM. |
![]() |
Advert | |
|
![]() |
#291 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
@kovid,
Another few comments for your consideration (using beta 1.14 10th Dec on Windows 7) :
|
![]() |
![]() |
#292 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,749
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
However, if you invoke the program from the calibre GUI and quit without saving the file system modified timestamp, file size and checksums do seem to change. The database last_modified_date presumably changes because the file system properties changed. It should be consistent, and I would have thought that if the file isn't saved then the file and its properties shouldn't change. BR Last edited by BetterRed; 12-10-2013 at 10:09 PM. |
|
![]() |
![]() |
#293 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@jackie_w: Turn off automatic metadata update under calibre integration in the preferences and the file will not be touched unless you do a save. last_modified is not intended to track file time modification, tweak book is no different in that respect. Currently, tweak book operates completely independently of calibre, you can close calibre and TB will continue to work. Changing it to update last modified dates will mean that will change. Not a tradeoff I think is worth making.
I prefer having the current element at the top of the panel, as having it at the center means you can never be sure exactly where it is and your eyes have to scan around looking for it. Also showing the element at the center is not very robust. It works for simple layouts, but more complex ones can cause problems with the element not perfectly positioned. Showing it at the top uses the browsers' own implementation and is much more robust. The Files Browser does not track the currently opened file. You can select multiple entries in the files browser, so having it track the current file doesn't make much sense. I suppose I could it have it show the currently opened file in bold, but the selected files are not going to change. Re: colors: I'll have a look at increasing the contrast in wombat for selected text and nbsp highlighting. In any case, at some point I will add the ability to create your own custom themes, then you can tweak the colors to your hearts content. |
![]() |
![]() |
#294 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,794
Karma: 30548723
Join Date: Dec 2006
Location: Singapore
Device: Boyue
|
Any chance of adding a way to batch rename files. So that if I select all the chapter html files and name the first one Chapter01.html the rest are named in sequence
Another thing to make filename from the toc name or heading so if the heading is Preface or Introduction. I just right click the file and choose rename using toc name. Ability to detect auto replace chapter images with text. I hate those think they bulk up an ebook for no reason. |
![]() |
![]() |
#295 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@Dopedangel: There will be a bulk file rename wizard which will put the files into a "standard" folder structure. No reason it cannot have an option to rename all html files with a standard prefix and number. For the rest, patches are welcome.
|
![]() |
![]() |
#296 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,749
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR Last edited by BetterRed; 12-10-2013 at 10:52 PM. |
|
![]() |
![]() |
#297 | ||||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
![]() Quote:
Quote:
Quote:
In that case, I'm sure I can wait till the complete custom color feature is available. |
||||
![]() |
![]() |
#298 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@arspr: A nesting error is only an error at the point where a mismatched closing tag is present, not where the opening tag is present. Therefore the behavior of Check Book is correct.
As for xmlns:xml, that declaration is redundant and should be removed. The xml namespace is *always* defined in XML documents. http://www.w3.org/XML/1998/namespace I suppose I could have the html 5 parser remove it automatically, I will look into that. |
![]() |
![]() |
#299 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@BR: yeah, calibre has no way to know what you do in TB. However, I will have it refresh those preferences every time TB is launched, so that should take care of it.
@jackie: It may be possible to have TB inform calibre when it does a save, which will allow calibre to update the filesize and last modified columns appropriately. However, it will only work as long as calibre is running and is on the correct library. Last edited by kovidgoyal; 12-10-2013 at 11:29 PM. |
![]() |
![]() |
#300 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
New builds at: http://download.calibre-ebook.com/betas/
Changes: 1) Check Book now checks CSS as well, in stylesheets and inside <style> tags 2) Renamed Tweak Book to Edit Book. I think I found and changed all references, but if you spot any old references to tweaking, let me know 3) Updates last_modified and filesize automatically when launched from inside calibre 4) Various small bug fixes for issues reported in this thread |
![]() |
![]() |
|
![]() |
||||
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 |