06-08-2017, 12:55 AM | #16 | |||
Bookmaker & Cat Slave
Posts: 11,463
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Quote:
The hoohah about Word's cruft is grossly--grossly--overstated. If someone understands EITHER Word's built-in Styles and Headings, or same in CSS, Word can be used to produce VERY clean HTML. I do it all the time. What Word (and Scrivener) do put out is utter cruft when someone just types along and creates ad hoc styles. NO word processor, none, zip, zein, zilch, does that well and then doesn't create cruft. By and large, all of them operate on your basic, simple, computer principle: GIGO. Whether it's Scrivener, Word, Pages, Ywriter, etc. If someone can't take a few minutes to learn Word--their own tool--then, yes, they get garbage out that has to be cleaned, top to bottom. But even then--unless the user is hopelessly lost--the cruft isn't that hard to clean. I've seen some doozies, god knows, but almost all of them are cleanable very quickly. I'd strongly--strongly--recommend that you take a look at Toxaris' ePUBTools. Works a treat to clean Word files and output clean HTML. What we do is either output the Word file to HTML, which we then clean in an HTML editor which exists for the purpose (I use NoteTab Pro, which about half of us do; the other half prefer Epsilon, which is a programmer's editor) or, we go directly from the Word output to Sigil. It depends on the cleanliness, or lack thereof, of the Word file. Once the HTML is cleaned, we put that cleaned HTML file into Sigil and finish it up. That, to my mind, is the best use of Sigil. It is, after all, not an HTML editor--it's an ePUB editor, yes? Quote:
Diap and Kevin are the experts here, by a long patch. They maintain and improve the Sigil Code. Others, too (if I've omitted someone, my sincere apologies). Folks like Doits create plugins that enhance it. I'm simply a user thereof. If you can tell us--or show us--where you've done X that added a p, and Y that added a div, we can probably--probably--shed some light on the subject. However, back to your initial point: you really oughtn't use Sigil as a Word processor. Unless you're writing in code/markup, it's a bit counterproductive. Hitch |
|||
06-08-2017, 05:28 AM | #17 |
Guru
Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
|
At the risk of putting in my opinion where others, better qualified, have expressed theirs I think the clue is in the name - Book VIEW. It's fine for viewing what you are going to see and does that job well; the problem comes if you try to use it for editing.
I used Sigil for quite a time before I discovered you could use Book View to edit. It wasn't long before I saw it wasn't a good idea. Personally I tend to use Calibre's editor for most things but there are some things that Sigil does that Calibre doesn't and then I use Sigil for that. The important thing is to know your tools and to use the most appropriate one for the job in hand. BobC |
Advert | |
|
06-08-2017, 07:10 AM | #18 |
Grand Sorcerer
Posts: 27,580
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Pasting content into Sigil is definitely not the recommended usage. As Hitch mentioned, there are countless export tools for popular Word Processing programs (as well as import plugins for Sigil) which can be used to create clean html for import into a Sigil epub.
|
06-08-2017, 09:47 AM | #19 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jun 2017
Device: none
|
Aaah, thanks, there is useful information there.
|
06-09-2017, 03:04 AM | #20 |
Guru
Posts: 668
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
I use a text editor, (Ultraedit), to compose text.
About the only styling I might need is italics. Ultraedit has "tag" buttons to add the <i>text</i> or whatever other html you want. When I'm done I run a macro to convert linebreaks to <p> </p>, then copy it all and paste into Sigil's CODE view. Tweak the styles from there in Sigil. Last edited by AlanHK; 06-10-2017 at 11:12 PM. |
Advert | |
|
06-16-2017, 11:44 AM | #21 |
Guru
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
Yes, Notepad is good for plain, straightforward text entry, which will paste into Sigil with no cruft.
Or, if you WANT some layout, compose in Word. As long as you use the layout functions correctly (e.g. centre text with the Centre function, not by padding with spaces) Calibre will convert it into good, functional EPUB code. Maybe not pretty code, but who cares? |
06-18-2017, 10:29 PM | #22 | ||
Bibliophagist
Posts: 36,187
Karma: 145735366
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Quote:
Last edited by DNSB; 06-18-2017 at 10:31 PM. |
||
06-19-2017, 05:44 AM | #23 | ||
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Quote:
Quote:
I use Word to compose, because I have an add-in that enables it to understand WordStar keyboard commands, which double my typing speed. Again pace Hitch, I have no interest in learning how to use Styles in Word. It takes literally seconds to clean a 60,000-word Word doc, may one minute for a 150,000 word. Of 26 published books, not nearly as much as half an hour. The only time I use Book View now is to do a quick check on hyperlinks. For me, Preview Pane has wholly replaced it. |
||
06-19-2017, 07:54 AM | #24 |
Grand Sorcerer
Posts: 27,580
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
If you hate the code produced --- then write the code yourself. If you won't/can't write the code yourself --- then don't hate the code that's the produced for you. These are the choices.
|
06-19-2017, 08:17 AM | #25 |
Resident Curmudgeon
Posts: 74,421
Karma: 129358310
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I use Notepad++ and it's a very good text editor. I highly recommend it. It so blows away Notepad. And Notepad++ is free and very well supported. Notepad++ handles text files with different line endings no problem. Notepad has trouble with any text files created on OS X or Linux.
|
06-19-2017, 09:20 AM | #26 | |
Groupie
Posts: 171
Karma: 3517858
Join Date: May 2016
Location: Monterrey, Mexico
Device: Samsung Tab-3 7"
|
Quote:
Notepad is what I call a "Free with Microsoft Windows" program. Notepad++ is a "Free, VALUABLE" program. Either way, I think the OP is much ado about nothing. Using a hammer to place a screw is always likely to get you results you don't want. |
|
06-19-2017, 11:16 AM | #27 |
Grand Sorcerer
Posts: 27,580
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I've come to prefer EditPad-lite to Notepad++, myself. On Windows, anyway.
|
06-19-2017, 05:58 PM | #28 | |
Bookmaker & Cat Slave
Posts: 11,463
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
NJ, dear: You should be careful to use "multi-quote" when replying to more than one poster. The secodn quoted portion of your response was to exaltedwombat, not me. *do* care about the quality of the code, because IMHO, and IME, using hinky code gets you hinky results, and worse, unpredictable, unforeseen, hinky results. I'm not a happy camper about those. ALSO, if you don't want to learn how to use Styles, in Word, nj, then honestly, you should NOT be giving toots, or lessons, or selling a book, on how to turn Word into html, because, with all due respect, you are missing 90% of the actuality of it, and making MORE work than needs doing. The REASON that you "hate the HTML that comes out of Word" is because you don't know how to bloody use Word. It's like the posters that complain that Sigil is a crappy word-processor. So it is, because: it's not a word-processor. If you refuse to take the entire HOUR it might take you, to learn how to use Styles and Headings, in Word, then you have precisely ZERO right to bitch about what it outputs--because it is outputting exactly what you are INPUTTING. You can pace me all you want, NJ, but them's the beans. Literally, in this instance, scitis autem rei vobis loquor. (With apologies to Foxe). Hitch |
|
06-19-2017, 09:34 PM | #29 | |
null operator (he/him)
Posts: 20,643
Karma: 26960534
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
But for less esoteric tasks I use Notepad++ ಠ_ಠ For a change of pace, I use Bowpad, particularly when I want a side helping of file system tree. BR |
|
Tags |
code, newbie, sigil, stylesheet, tags |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Seeking Advice | MicS | Calibre | 5 | 04-18-2013 08:23 AM |
Seeking Layout Advice | GrannyGrump | ePub | 8 | 12-13-2012 09:03 AM |
Seeking tech advice | wyndslash | Lounge | 13 | 08-26-2011 07:56 PM |
Student Seeking advice | Stabiliser | Which one should I buy? | 3 | 04-28-2009 09:33 AM |
Yet another noob seeking advice | Voice of Reason | Which one should I buy? | 6 | 04-01-2008 03:49 PM |