06-27-2012, 09:09 PM | #91 | |||
Sigil & calibre developer
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Quote:
Quote:
Quote:
--- Syncing: Syncing the cursor between views isn't supported. The cursor should remember its position within the view. BookView: EPUB 3? Yes? The old BV doesn't support outputting HTML5. It actually doesn't even support outputting 100% valid XHTML. Tidy is used to turn the output into something that passes validation. There is not good WYSIWYG editing component. I'm not willing to spend the time to write one from scratch as that would be the equivalent of creating something similar and even more complex than a browser. So either what's currently available can be used or no BV. Personally I'd love to drop BV completely. It's the most frustrating piece of Sigil to work on. It doesn't work properly and it never has. It complicates the code base by a large amount. About 60% of the time spent working on every release is spent dealing with BV. That said, I don't think it's a good idea to drop BV from Sigil. A non-Sigil Sigil without BV would be a different story though. Slotting the old BV back in is possible. It should only take an afternoon worth of work. I'll weigh the advantages of doing so. But don't think that putting the old BV back will solve every issue. For example, the old BV doesn't always produce output that will pass validation. It's actually easier to modify CKEditor's output than the old BV. The point of the beta is to see what work, what doesn't, what people don't like and what people like. Funny thing about doing a beta is about 25% of the issues reported aren't new. They've been around for quite some time. The hardest part of developing software is what one person requests as functionality and loves another person hates. So we end up with different parties asking for different things that don't work well together. There are only a few outcomes. One party isn't happy. Neither party is happy. Both parties are somewhat happy. It's pretty much impossible to make both parties completely happy. At this point I'm thinking I have enough feedback to go back the drawing board for 0.6.0. Put some more work into it and try again at a later date. If something doesn't work there isn't anything wrong with trowing it out. The only drawback is with limited developers and limited resources it delays a new release. |
|||
06-27-2012, 09:50 PM | #92 |
Well trained by Cats
Posts: 30,364
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Bug? 902 on XP
Sometimes in CV Replace is no longer an option (only Find) Reloading (with a Save) the Book (and exact same page) and Replace is once again Available. I have not pinned it down to any Solid events. It has happened 3 times in the last few days |
06-27-2012, 10:06 PM | #93 |
Not who you think I am...
Posts: 374
Karma: 30283
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
|
If you're looking for moral support for dropping BV as an editor, I'm offering it.
A simple Display View of how it looks, without any ability to edit would be fine with me (assuming it can actually display things like embedded fonts, etc.) It'd be nice if such a Display View was dockable/separable (for dual-screen use), and if it auto-refreshed -- although I understand that may be difficult with well-formedness checks. A manual refresh would be adequate. I think you are indeed trying to develop "two, Two, TWO! apps in one!" One for people that get HTML and regex, and one for people who don't -- or don't want always to be bothered, at least. I wonder if it's even possible to write a "word-processor for epubs" that let's you look under the hood and tinker... Not enough guarantee of regularity to let you be confident of what you're changing when you word-process, especially when importing from external sources. To keep it elegant, it's one or the other (or both, separately.) $0.02, |
06-28-2012, 12:47 AM | #94 | ||
Evangelist
Posts: 490
Karma: 1665031
Join Date: Nov 2010
Location: Vancouver Island, Nanaimo
Device: K2 (retired), Kobo Touch (passed to the wife), KGlo, Galaxy TabPro
|
Quote:
Quote:
|
||
06-28-2012, 01:32 AM | #95 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
|
06-28-2012, 05:22 AM | #96 |
Guru
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
|
06-28-2012, 05:42 AM | #97 | |
Grand Sorcerer
Posts: 27,893
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Last edited by DiapDealer; 06-28-2012 at 05:47 AM. |
|
06-28-2012, 06:59 AM | #98 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
The old book view had its own problems which were very annoying. Things got automatically highlighted, so when you pressed delete more text than you wanted disappeared. But syncing, such as it was, was nice.
Please do not drop book view. It allows me to see if my code editing has been successful or not without having to open up another program. Half the utility would be gone, since if all I wanted to do was edit code I could use tweak epub along with any good text editor. Being able to find odd characters or strange spacing is very worthwhile. PG Canada material has page numbers made invisible that cause odd spaces in the text. It is not easy to see this in code view, but it is very clear in book view. The effect of non-breaking spaces is more obvious in book view than in code view. It is hard to keep both BV and CV, but it is worthwhile. The syncing issue may not be such a big thing if we could see the position remembered in book view. I usually work my way down a document, so I would generally move down both on the BV side and CV side pretty much together anyway. Any chance the BV modules old and new could be modularized, so they could be selected at install time, without creating much more work and hair tearing? Maybe that would satisfy both camps. |
06-28-2012, 08:05 AM | #99 | |
I am what I am
Posts: 6,625
Karma: 62235665
Join Date: Sep 2011
Device: iPad3, Voyage
|
Quote:
I worry that last position remembered will require too much searching for the cursor. It may not be a problem on first edit, but on second proof changes may be far and few between. |
|
06-28-2012, 09:54 AM | #100 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
I'd prefer syncing myself, but user_none has made it clear he doesn't want to do it. I was just aiming for some middle ground that he could do without making it too much work. He does have a day job and I REALLY appreciate him bringing Sigil up to the level that he has. I am pretty sure MY mind could not stretch from payment processing software to epub creation software.
You have the displayed text which looks simple, then all the underlying code...where is the cursor, really? To which side of invisible text, or a change in style? |
06-28-2012, 10:25 AM | #101 |
Guru
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
Doesn't really matter - as long as I can highlight a string of text and find the same string, with or without its adjacent code, highlighted in Code View.
|
06-28-2012, 10:43 PM | #102 | |
Not who you think I am...
Posts: 374
Karma: 30283
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
|
Quote:
Imagine passing a website's code through three or four different web-editors, then opening the code-view and trying to parse what the heck everything was. Never work. It's always a complex of spaghetti-code and overlaid styles. It's like what you get out of Calibre after a conversion. It works, visually. That's it. Not readily parseable for elements, because it doesn't care. It's just trying to do something visual. The point of proper editing of a book is to generate good classes and elements, divorcing style from content; the only way to do that is to get smart about minimizing what you use. If you allow it to be open-ended, you break easily Word-processing a book into shape, because the necessarily-limited set of elements and styling is exceeded and the app cannot cope -- it is impossible, short of machine-sentience for it to know what you intended. Making an editor that displays what the code does, sure; that's self-evident. Making an editor that meets the needs of the ignorant and the wise is impossible -- all you'll ever get is kludges. Now I'm up to $0.04. Aloha, |
|
06-29-2012, 05:34 AM | #103 | |
Member
Posts: 12
Karma: 10
Join Date: Sep 2010
Location: Brno, Czech Republic
Device: Android-based tablet
|
Quote:
However, for this and other situations it would be enough to be able to exclude HTML tags in Search and Replace. Moreover Search and Replace in Book view isn't able to go through all files. I would be happy if there was one more checkbox "Exclude HTML tags" in Search and Replace dialog in Code view. One more thing: I realized, that if I replace a hyphen with an en dash, the code – is inserted in the code view instead of unicode character "–", even if I enter "–" as the replacement text. That happens after clicking "Replace all". If I replace individually by clicking "Replace", the unicode character is inserted. I think it should be either one way or the other, not both. And I prefer inserting the unicode character (if I wanted to insert – I could enter it as replacement text). |
|
06-29-2012, 08:57 AM | #104 |
eBook pro
Posts: 71
Karma: 5634
Join Date: Jan 2011
Location: Hertford, UK
Device: PC, iPad, Kindle, Kindle Fire, Galaxy Ace
|
Title tag contents disappearing
A small bug I've found - the contents of the title tag sometimes goes awol leaving just the tags (<title></title>). It seems to happen in the active file when switching between BV & CV and back again, regardless of which source cleaning option is selected.
|
06-29-2012, 10:56 AM | #105 | |
Evangelist
Posts: 490
Karma: 1665031
Join Date: Nov 2010
Location: Vancouver Island, Nanaimo
Device: K2 (retired), Kobo Touch (passed to the wife), KGlo, Galaxy TabPro
|
Quote:
FIND: >" REPLACE: >“ Replaces all quote marks after any > which usually denotes the end of an HTML tag. Next, replace all " in front of a capital letter: FIND: "([A-Z]) REPLACE: “\1 That should take care of most if not all quotes that start a sentence. I then go on to replace the ending quote of a sentence with curly quote mark. FIND: "</ REPLACE: ”\1 then replace all quote marks after a period, comma, question mark, exclamation mark: FIND: ([.,?!])" REPLACE: .” I usually do a step through to check to make sure I got all the marks: FIND: “(.*?)” I then do a final step through to see if there are any straglers, this WILL find " marks in HTML tags, but not all of them by skipping any that start with an equal sign (classes) or ending in > end of class: FIND: ([^=])"([^>]) It's a bit of work but MUCH less than stepping through each " mark and judging if it should be replaced. As all but the last two can "Replace All" Last edited by Danger; 06-29-2012 at 10:59 AM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
0.5.901 (0.6.0 beta) avaliable | user_none | Sigil | 118 | 06-19-2012 08:59 PM |
0.4.903 (0.5 beta) Avaliable | user_none | Sigil | 77 | 01-03-2012 09:24 PM |
0.4.902 (0.5 beta) Avaliable | user_none | Sigil | 65 | 12-18-2011 11:58 AM |
No Avaliable format ? ? ? | Janette55 | Library Management | 5 | 04-16-2011 04:09 PM |
Beta 2.0.3 firmware 902 problems | Roos | PocketBook | 15 | 12-15-2010 10:11 AM |