![]() |
#106 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,439
Karma: 5703082
Join Date: Nov 2009
Device: many
|
@Hitch,
Tex2002ans, has already posted a few test cases for me so no worries. Thanks, KevinH |
![]() |
![]() |
![]() |
#107 | ||||||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
![]() 2 InDesign EPUBs -> Merged -> Calibre EPUB->EPUB conversion. This is where you can see 1 CSS file per chapter + overlapping class names: Spoiler:
1 Word -> HTML -> Calibre EPUB->EPUB conversion. This is where you can see a typical CSS mess: Spoiler:
Quote:
When designing a print book, one type of workflow is: - individual "chapter file"s - then link them together into a single "book file". (This allows you to easily swap/remove chapters, auto-renumber pages/endnotes, etc.) In my case though, as a converter, I don't have that single "book file"... I only get the 20 separate "chapter file"s. So, when I'm exporting, I export each individual chapter -> EPUB... hence the 20 different similar-but-not-quite CSS files. Mix Direct Formatting and lots of other cruft in there, and you get a giant, conflicting mess on your hands. IF I had the monolithic "book file", I'd be able to export a single EPUB... but you'd still have a spaghetti mess, but no conflicting names. :P (Same as cleaning up Word->HTML, etc. etc.) Quote:
I think they all just break it down to individual classes. So the bulk of consolidate/cleanup would probably be this simple conversion cruft: Code:
.class1 { text-align: center; } .class2 { text-align: center; font-size: 1em; } .class3 { text-align: center; font-size: .9em; } Quote:
I'm not familiar with Import. (I don't actually use InDesign, I only know enough to get text OUT OF IT as soon as possible.) I believe it's built-in. See this video as one example: Nukefactory: "How to import text into InDesign without losing basic formatting" But as usual, the thing is:
So each stage in the conversion workflow has the potential to introduce nonsense or lose key information. And again, as a converter... I don't have control over what these people are doing in intermediate steps. I just have to clean up the cruft and create the ultimate ebook. ![]() Minor Rant: Spoiler:
Quote:
You click on a class, it ranks everything that's close. Then you can Shift+Click or Ctrl+Click and merge the classes together. * * * Usually, I try to do this stripping/consolidating in passes. Clean up:
and at each stage, I try to merge what I can to my "normalized" (human-readable) classes:
This is where I got excited when I stumbled upon that Calibre "Transform Styles" tab. It will allow me to at least come up with a set of some property-stripping rules that would save some time. But the frustrating thing about Calibre EPUB->EPUB is it changes the class names. And it's hard to know ahead-of-time what junk is going to be in this specific book! Each one will introduce their own unique niggles: Like one book might use font-size: .88889em, another might have .888em and .8em. One book might be typeset in "Times New Roman" with "Arial" crept in, another book "Arial" as the main with "Times New Roman" crept in. This is why I mostly do CSS consolidation as THE VERY FIRST STEP after merging, then do successive rounds of EPUB->EPUB to make sure I get down to more bare bones. But, of course, at later stages, when looking at CSS details, that's when you spot more consolidation that could've been done. (Hence, a nice GUI, CSS Comparison/Merger, Style Mapper, etc.) Quote:
![]() ![]() Last edited by Tex2002ans; 09-22-2021 at 03:55 PM. |
||||||
![]() |
![]() |
Advert | |
|
![]() |
#108 | |||||
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Quote:
Quote:
Quote:
My latest rant, unrelated to Kevin and Diap, is that we're getting INDD package files from "designers" that Do Not Use Any Styles At All. Apparently, they licensed INDD on Monday, got a job on Wednesday and now, even though they couldn't spell DEZINER on Monday, now they IZ ONE! GRRRRRMMMMMMMBLLLL Quote:
Hitch |
|||||
![]() |
![]() |
![]() |
#109 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 312
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
Quote:
Isn’t that most of em? Just kidding, most do use styles. Gives em something to constantly override. Last edited by phillipgessert; 09-22-2021 at 05:18 PM. |
|
![]() |
![]() |
![]() |
#110 | |||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
![]() Still look for some baaaad InDesign files. I sent relatively tame ones. (I know I have some really disgusting ones over the years, but I just grabbed one off the top of my head + my latest from two weeks ago.) You've definitely seen a lot worse stuff than me too. Oh boy... some of your horror stories... Quote:
... I fallback to IDML files. This allows me to open it up in whatever older InDesign version I have. There's no way I'm going to pay some preposterous fee, only to open the files for a split second and export EPUBs out. Quote:
He was a pleasure to meet/talk with in-person, and he had a very nice Styles workflow. (Also in charge of typesetting monthly/quarterly journals + lots of other random documents.) I haven't had the pleasure to work directly with him though. But that's the kind of person I could trust coming up with a consistent Styles workflow from: Word Styles -> InDesign Styles -> HTML/EPUB Classes -> Sigil cleanup. But that requires someone who knows what they're doing at that Input/Output stage. (Similar to those videos I link to showing how to use Word to cleanup Styles + catch Direct Formatting. [LibreOffice 7.1 recently added a Styles Inspector too!]) Word Styles... a few of the editors I work with know/use them... but the problem there is lots of them are working in CMSes (Content Management Systems) or Google Docs... so they're mostly working directly on the web. Yes, they may get a Word file initially from an author, but then it quickly goes into web collaboration... and then, with many fingers in the pie, more and more Direct Formatting and crap gets introduced. (Not to mention all the absolute hidden TRASH that gets introduced when doing Comments, Track Changes, copying/pasting from the web, using the Rich Text Editors, using the mobile version of these apps, etc.) Complete Side Note: LibreOffice is going to be having their 2021 conference tomorrow: https://blog.documentfoundation.org/...-participants/ There's dozens of talks with lots of interesting information in there. ![]() I'm very interested in the: Built-in "Xray" like UNO object inspector which is similar to the Inspector built into web browsers. You'd be able to open up a document and see the DOM + exactly what properties are set: https://tomazvajngerl.blogspot.com/2...inspector.html That might help in debugging some particularly tricky documents. Last edited by Tex2002ans; 09-22-2021 at 05:46 PM. |
|||
![]() |
![]() |
Advert | |
|
![]() |
#111 | |
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 437
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
Quote:
But in my defense, I didn't care about the development details because I thought it would be logical that you develop this feature as it is already the case for plugins: an extensive list of which the GUI buttons are only shortcuts to the favorites. Hence my bad surprise to see a static system. (Oh, and stop developing Sigil according to your own specification and preference. Some things I understand for technical reasons, but "oh no, I just need 3, deal with it" is stupid, you're not the only one using it.) Last edited by un_pogaz; 09-23-2021 at 05:50 AM. |
|
![]() |
![]() |
![]() |
#112 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,341
Karma: 203719646
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Please consider not posting here any more if you can't do so without lashing out with personal insults when development doesn't go the way you'd like. YOU'RE not the only one using Sigil either. If you can't refrain on you're own, I will help you in that regard. |
|
![]() |
![]() |
![]() |
#113 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,439
Karma: 5703082
Join Date: Nov 2009
Device: many
|
Quote:
You did not bother to become involved, provided no feedback at all during the process, and then whined and complained when it did not turn out the way you wanted. You are like a child on a playground when things do not go their way. And your ability to win friends and influence people astounds me. And you obviously do not understand how Open Source software development works. Open source has been and will always be about the developers "scratching their own itch first" followed by merit based input from interested and involved users who "earn" their voice. Look at all the users who have already earned their voice by volunteering their time to help others here on the forums, help test, help report bugs, help when asked for input, etc. That is what an open source community is all about. If you do not like that, then use something else instead of leaching off the goodwill and hard work of others. Last edited by KevinH; 09-23-2021 at 09:13 AM. |
|
![]() |
![]() |
![]() |
#114 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2021
Device: none
|
Log Window
Is there a way to stop the log window from opening unless there is an error?
|
![]() |
![]() |
![]() |
#115 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,439
Karma: 5703082
Join Date: Nov 2009
Device: many
|
No, since an errors may cascade or be ignored depending on earlier decisions. So the Log needs to be examined to determine full success as well as failure for each step.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Feature requested for Sigil 1.7 | RbnJrg | Sigil | 23 | 08-06-2021 08:44 AM |
Feature Requests for Adding Books | toomuchreading | Library Management | 5 | 03-17-2015 03:15 PM |
Parity feature with Sigil | roger64 | Editor | 8 | 03-17-2014 11:28 AM |
New to "Read in Store" feature: Limited Selection | negris123 | Barnes & Noble NOOK | 4 | 06-09-2011 01:08 PM |
New Inkmesh Feature: Limited Time Free Ebooks | anurag | News | 11 | 02-25-2010 02:43 PM |