![]() |
#16 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
When do people learn that there ain't such thing as a free lunch? If you want something nice, learn HTML/CSS. If not, work with the tools that are there.
You can ask questions of course, but 'we' will not do the work for you. Get your basics right. Read the manual, read Pablo's introduction to HTML/CSS elsewhere on the forum. That will already help enormously and will not take much time. |
![]() |
![]() |
![]() |
#17 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Book Concocter
![]() Posts: 59
Karma: 10
Join Date: Jun 2010
Location: China
Device: Sony Reader
|
Thanks, Turtle91, I will certainly look at the video and tutorials you recommend. Practical tips and answers to specific questions that crop up while one is learning -- reading the Sigil user guide and experimenting -- are always valuable and much appreciated by a newcomer to Sigil.
|
![]() |
![]() |
![]() |
#19 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
Quote:
The xhtml has a header - which Sigil creates for you. Then there's the link to the stylesheet. The Body section is very simple - a chapter header enclosed in <h1></h1> tags, some paragraphs enclosed in <p></p> tags. The stylesheet defines the appearance of a basic paragraph - stuff inside <p></p>. There's also a definition for a <p> following a <h1> - the no-indent style for a first paragraph. And a style <p1> for a paragraph with space above. |
|
![]() |
![]() |
![]() |
#20 |
Book Concocter
![]() Posts: 59
Karma: 10
Join Date: Jun 2010
Location: China
Device: Sony Reader
|
Thanks Mr Exaltedwombat. Appreciated. I need to study HTML encoding and creating CSS first before I'm going to understand the code view window, and participate here, this is clear. Just for your amusement: PagePlus X6, the desktop publishing program, also publishes to ePub. A PagePlus X6 page can be endlessly subtle and complex, way beyond what any word processor can achieve. What a PagePlus-produced ePub must look like in Sigil's code view, and how far such an ePub would travel on eBook readers, I cannot begin to imagine, being so clueless. It would be "HTML horror", I suppose.
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
HTML coding. Encoding is something else entirely.
Let that be my contribution. |
![]() |
![]() |
![]() |
#22 |
Book Concocter
![]() Posts: 59
Karma: 10
Join Date: Jun 2010
Location: China
Device: Sony Reader
|
Great contribution, Mr. DiapDealer. I feel ready for the next step. What precisely is the difference between coding a HTML and encoding a HTML?
|
![]() |
![]() |
![]() |
#23 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#24 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,305
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Quote:
Coding of HTML on the other hand is the art of applying tags to text elements to obtain stylistic effects. |
|
![]() |
![]() |
![]() |
#25 |
Book Concocter
![]() Posts: 59
Karma: 10
Join Date: Jun 2010
Location: China
Device: Sony Reader
|
I've already received appreciated links on where to learn how to code HTML. (Note my excellent choice of the word "code".) It seems I also need links to learn what DRM is. (Or was it DMR? I can't go back to check without losing this "Reply to Thread" page ...)
The point is, I have a lifetime of producing all kinds of documents behind me: educational readers, also desktop publications (books, paper publications, based on documents and desktop publishing). I produced newsletters and journals distributed online to a specific readership. That's how I came to know PagePlus. And so forth. None of this required the level of technical knowledge an eBook creator clearly needs to have. I bow to the technical expertise here. Really, I'm impressed. Mr. Exaltedwombat, I've been warned very sternly here not to use .xhtml's (with associated pictures etc) from ePubs produced by other programs such as word processors. This is really what this whole thread is about: "bagging" a handy .xhtml produced by for instance writer2epub and adding it to Sigil. From what you wrote, I now gather that it may be done. But then you need to inspect the .xhtml (and its associated files) with knowledge of HTML coding. Otherwise you will be digging a hole for yourself. You have to follow the narrow road to HTLM heaven, not the wide road, grabbing a free lunch here and there, as I was warned in a moving sermon a few postings ago. Have I seen the light now? I confess to my cluelessness and I really mean to learn to code HTML asap. And thanks for all the responses! Its fun. |
![]() |
![]() |
![]() |
#26 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,312
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
To continue the theological analogy...you don't need to know anything else about DRM, other than it is EVIL incarnate...foisted upon us innocent consumer's by the Devilish publishers in an attempt to keep us manacled in bondage to a particular publisher/retailer.
![]() Most of those word processors are/were designed to create a printed document...so it didn't matter what coding went on behind the scenes. As the electronic document age came upon us, it was very difficult to get those ponderous software developers to adjust there way of thinking. Eventually their product could "save as" a particular format (epub in this case) but it still carries all the baggage of that nasty coding that was previously hidden behind the scenes. People are serious when they say it is sometimes easier/better to just dump your raw text into Sigil and add the basic html tags in code view. HTML coding for an epub SHOULD be very simple...IMHO the simpler the better. Chapter headings: <h2>Chapter One</h2> Paragraph tags: <p>A bunch of words hopefully joined with good grammar and punctuation into a paragraph</p> Emphasized words: <em>Italicised Words</em> That should be about 95% of the tags you need for the HTML coding...but the other 5% are important too! The CSS is where all the magic takes place...you can make all that basic html look beautiful (or not) just by changing the CSS file. An excellent example of this is at the ePub Zen Garden. You can see the same basic page completely changed just by selecting different CSS styles in the top right drop-down box. Those links I provided - the sigil video tutorial, and the HTML/CSS tutorials - are a great place to start...they will set you on the straight and narrow path - and even place your hand on the iron rod - very quickly! Cheers! Last edited by Turtle91; 04-30-2013 at 09:06 PM. |
![]() |
![]() |
![]() |
#27 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,903
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
As long as you import BOTH together (Sigil WILL usually bring in both if they are properly accessible. ) Each source file SET (a set is 1 or more XHTML files from the same source) can have its own CSS . Of coarse, If the files all started with a common (monster ![]() |
|
![]() |
![]() |
![]() |
#28 |
Book Concocter
![]() Posts: 59
Karma: 10
Join Date: Jun 2010
Location: China
Device: Sony Reader
|
I'm building up a whole vocabulary here ...
a HTLM is CODED a .xhtml is PAIRED with another file a SET of .xhtml's derives from the same source (thus probably all PAIRED with the same CSS) It's all going into my notebook, thanks very much |
![]() |
![]() |
![]() |
#29 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
Quote:
A html often contains a link to a stylesheet. The usual term is "Linked". An epub (like a website, which it strongly resembles) will be split into sections. Chapters of a book will typically have similar layout and therefore use the same css stylesheet. It may be convenient to use a different stylesheet for e.g. a title page, table of contents, bibliography... |
|
![]() |
![]() |
![]() |
#30 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,312
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Do you ever get the feeling that you are trying to take a sip from a fire hose??
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is there a way to export .xhtml files from Sigil? | Derek R | Sigil | 13 | 03-28-2013 07:28 AM |
Can I use custom xhtml tags in Sigil? | Doitsu | Sigil | 2 | 09-21-2012 07:51 AM |
When Calibre Goes to Sigil in HTML *and* XHTML | Tulpana | Sigil | 6 | 07-09-2012 10:03 AM |
Sigil 0.3.4 / Problème CSS entre Sigil et iPad | Grivels | Software | 10 | 07-03-2011 09:06 AM |
Importing "big" XHTML files in Sigil | paulpeer | Sigil | 8 | 03-19-2010 05:00 AM |