02-20-2021, 02:41 PM | #61 |
Sigil Developer
Posts: 7,651
Karma: 5433388
Join Date: Nov 2009
Device: many
|
The Sigil version should be nearly identical to the Chrome browser version (but it might be a few versions behind) for the most part. The network stuff is really only useful for epub3 remote resources, just like the javascript console is really only useful for epub3s that use javascript.
Yes a basic description of what a DOM tree is (a tree based parsing of their xhtml code in CodeView) would help but showing how to click on the tree to expand and collapse it to find the tags (nodes) of interest and where to look (for the selected tag) for the layout details height/width and where that tag/node inherits its css definitions from (especially important for cascading part of css) are probably the most important parts for most epub developers. Then pointing people with external links for all of the rest of it in case they are interested. That would be grand! Last edited by KevinH; 02-20-2021 at 02:46 PM. |
02-20-2021, 03:16 PM | #62 |
Zealot
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
|
Got it. I am working on it.
|
Advert | |
|
02-20-2021, 10:02 PM | #63 | |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
14.4MB->11.2MB by running them through TruePNG. (The older compression tool made by the guy who created ScriptPNG + ScriptJPG, now known as pingo.) It works by:
QoL Side Note: And while I was skimming through the images, I noticed: When presenting data in columns, it's best to follow these key rules:
This allows your eyes to easily read/compare rows. So this: Code:
(Left) (Left) (Left) Level Included Hidden h1 9 0 h2 52 0 h3 0 182 h4 0 61 h5 0 0 h6 0 0 Code:
(Left) (Right) (Right) Level Included Hidden h1 9 0 h2 52 0 h3 0 182 h4 0 61 h5 0 0 h6 0 0 Similar alignments can probably be used in other number-columns throughout Sigil. I'm thinking:
would be easier to read with right-alignment too. Code:
File Size 123.34 56.78 9.00 1.23 Code:
File Size 123.34 56.78 9.00 1.23 Last edited by Tex2002ans; 02-20-2021 at 11:47 PM. |
|
02-20-2021, 11:42 PM | #64 |
just an egg
Posts: 1,587
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Hi Kevin,
Here’s the User Interface chapter. I went through it line-by-line, attempting to make sure, to the best of my novice ability, that everything is up-to-date as of Sigil 1.5.0. Note: I did the menus and toolbars in the order that they appear on the default interface with a clean install. Let me know if I should keep going. I was thinking to take on Preferences next. Though if there are faster, more experienced Sigil users who want to jump in, that’s okay too ETA: I just uploaded a new zip (User_Interface_v2.zip) with smaller PNGs (using tinypng.com). Last edited by odamizu; 03-12-2021 at 03:08 PM. Reason: removed attachments now that User Guide is done |
02-21-2021, 08:19 AM | #65 | |
Sigil Developer
Posts: 7,651
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Wonderful! Thank you! I will integrate what you have created into the user guide.
Yes please do Preferences as well if you are willing. Speed is not that important. The user guide desperately needed to be overhauled. Take care, Kevin Quote:
|
|
Advert | |
|
02-21-2021, 12:34 PM | #66 |
Fanatic
Posts: 500
Karma: 3498633
Join Date: May 2011
Location: Surrey, UK
Device: Kobo Aura One, Sony PRS 600/650
|
I have worked my way through the images from the master copy.
I have reduced the overall size from 13.8Mb down to 3.05Mb without sacrificing too much in the way of quality. I have uploaded them to the Google Drive folder for you to have a look at. |
02-21-2021, 12:44 PM | #67 |
Sigil Developer
Posts: 7,651
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Wow! Great work!
I will grab them later tonight when I have a free moment. I only have my ipad today so I can't do much. Thank you! Kevin |
02-21-2021, 12:54 PM | #68 | |
Sigil Developer
Posts: 7,651
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Thanks. I will look into adding alignment to the table columns you mentioned but no numeric decimal alignment is available in Qt so it would have to be simulated by string conversion to fixed number of digits and right alignment.
That said, the alignment of the "tooltip" in the shown image is not easily changed or important as it is only a tooltip, not a real table. Take care, Kevin Quote:
|
|
02-21-2021, 01:30 PM | #69 | |
Guru
Posts: 692
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
|
Quote:
EDIT: The reports will also work. Code:
size_item->setTextAlignment(Qt::AlignRight); Last edited by BeckyEbook; 02-21-2021 at 01:40 PM. |
|
02-21-2021, 01:53 PM | #70 |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
|
02-21-2021, 01:58 PM | #71 |
Sigil Developer
Posts: 7,651
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Pull Requests that I can merge would be much welcomed. Or even posting a diff or patch and pming me a link would work.
Last edited by KevinH; 02-21-2021 at 02:09 PM. |
02-21-2021, 03:24 PM | #72 |
just an egg
Posts: 1,587
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
I just uploaded a new zip file (User_Interface_v2.zip) with smaller PNGs. Reduced the total from 2.6 MB to 637 KB. Hopefully that is meaningful. You can grab it from my original post above.
I will move on to Preferences! |
02-21-2021, 04:25 PM | #73 | |
Sigil Developer
Posts: 7,651
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Great! Thank you! I will grab everything this evening when I get to a desktop or my laptop computer. All I have access to now is an ipad.
Kevin Quote:
|
|
02-21-2021, 04:26 PM | #74 |
Sigil Developer
Posts: 7,651
Karma: 5433388
Join Date: Nov 2009
Device: many
|
|
02-21-2021, 04:37 PM | #75 |
Zealot
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
|
I have finished the tutorial on how to use the Inspector tool. The files have been zipped into the attached zip file.
All the file names begin with "tutorial_inspector" for consistency. There is one html file and 22 images. I designed the page to go under the Tutorials page. I created the page inside of the Sigil user manual, so if you unzip the files and import them into the manual, it should all work. I placed the chapter at the end of the tutorial section, but feel free to place it anywhere you want it. Also, feel free to edit as needed. Let me know if you have any problems with it, and I will fix them. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wanted: Volunteers to Update the Sigil User's Guide | KevinH | Sigil | 55 | 05-18-2018 02:52 AM |
Sigil Improvement Projects for Developers/Volunteers | KevinH | Sigil | 19 | 06-27-2016 06:19 PM |
Sigil and chapters. | p3aul | Sigil | 5 | 11-29-2012 09:23 PM |
Sigil + Adobe Digital Editions + chapters | wkuiper | Sigil | 6 | 11-23-2012 10:58 AM |
Sigil and epub (can I delete empty chapters?) | desaderal | Sigil | 3 | 03-24-2011 07:57 AM |