Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 07-02-2011, 10:55 PM   #1
useroo
Junior Member
useroo began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2011
Device: none
Arrow Adding new chapters the easy way??

Hi all,
while i can work easily with Sigil for most of the job, at present i mock around the bush to add a new Chapter and i think i am doing something wrong or better that i am missing some vital bit of "how-to" information.

I create my chapter in HTML.
I open the file in 1 sperate Sigil window and save as .epub.
So far so good.

In another Sigil window i have the actual, quite large book that i am putting together chapter by chapter.
In this Sigil window i find nothing that would let me simply insert a new .epub or .html file into a new Section...xhtml Chapter break page, so i basically copy and paste from the chapter by itself in the second Sigil window to the new Section page.

Sure, that works somehow, but there must be another way or??

The trouble with doing it the above described way is that images can't be copied and pasted along with text for instance, and that Sigil has no "Select all" option in it's "Edit" menu like almost every other software program on the planet has.

Please let me know how i can do this better, thanks.
useroo is offline   Reply With Quote
Old 07-02-2011, 11:35 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,812
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by useroo View Post
Hi all,
while i can work easily with Sigil for most of the job, at present i mock around the bush to add a new Chapter and i think i am doing something wrong or better that i am missing some vital bit of "how-to" information.

I create my chapter in HTML.
I open the file in 1 sperate Sigil window and save as .epub.
So far so good.

In another Sigil window i have the actual, quite large book that i am putting together chapter by chapter.
In this Sigil window i find nothing that would let me simply insert a new .epub or .html file into a new Section...xhtml Chapter break page, so i basically copy and paste from the chapter by itself in the second Sigil window to the new Section page.

Sure, that works somehow, but there must be another way or??

The trouble with doing it the above described way is that images can't be copied and pasted along with text for instance, and that Sigil has no "Select all" option in it's "Edit" menu like almost every other software program on the planet has.

Please let me know how i can do this better, thanks.
Many of 'The Standard' key strokes work in Sigil.
Ctrl-A =Select All


Tip (if your new work use the same stylesheet)
Paste your NEW chapter at the END of the Existing one, Then Split the chapter.

All the 'boilerplate' parts of the HTML will be included on the new page. that would not happen if you just pasted into a 'new' page.


If you use 'Add Existing' in the book browser: It will insert any Stylesheet (and renumber it if needed) along wit the HTML file. It does not test the stylesheet to discover if it is common to the various pieces..
theducks is offline   Reply With Quote
Advert
Old 07-03-2011, 04:51 PM   #3
useroo
Junior Member
useroo began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2011
Device: none
Thanks for the useful tips

Just played a bit around with your tip on using
'Add Existing' in the book browser "theducks".
If i bring in a html file it remains in the book browser as html, is not converted into xhtml - how come??
If i use the converted epub file instead of the html original Sigil does not even add it to the list but rather further down below into the Misc folder.
This confuses me now, shouldn't any file added to the "text" folder automatically end up as xhtml and why do epubs not go in there??

Since you bring up style sheets, i use the very very old Netscape 4 Composer for this projects text, image s and layout (yep, has some advantages to keep old software that is pure and simple...) - and there where no style sheet's to NS 4 back then.

So my question would be; if i only deal with pure HTML styling, do i need to worry about any CSS, or does Sigil anyway change code around? (i notice it pop's a good number of INLINE CSS right into the xhtml code, but that is easy to handle...


Quote:
Originally Posted by theducks View Post
Many of 'The Standard' key strokes work in Sigil.
Ctrl-A =Select All


Tip (if your new work use the same stylesheet)
Paste your NEW chapter at the END of the Existing one, Then Split the chapter.

All the 'boilerplate' parts of the HTML will be included on the new page. that would not happen if you just pasted into a 'new' page.


If you use 'Add Existing' in the book browser: It will insert any Stylesheet (and renumber it if needed) along wit the HTML file. It does not test the stylesheet to discover if it is common to the various pieces..
useroo is offline   Reply With Quote
Old 07-04-2011, 01:48 PM   #4
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Why would the code be converted to xhtml? Sigil will not convert. Then again, there is probably not much to change...

You can only import txt and (x)html into Sigil for the text folder. Everything else goes either to their respective folder (images, fonts, stylesheets) or to the misc. I am not surprised that it ended up in the misc folder.

I would advise using stylesheets. You could everything in the HTML file itself, but that would include massive repeating yourself over and over again. Internal stylesheets could be used, but they are not usable across HTML files.

I am a little curious why you use Sigil to create a chapter separately and then add it to another Sigil session. You can just add a chapter by right-clicking on the text folder and say either 'create new' or 'use existing'.
Toxaris is offline   Reply With Quote
Old 07-04-2011, 03:44 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,812
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
And Why worry. Sigil will wrap HTML in the needed boilerplate to make it complient.

Style sheets are NOT only for (or required) XHTML
IMHO
Stylesheets make BIG projects simple(r) by having a single place to create a 'style' that can be used many places (and is easy to fix if you change your mind).
theducks is offline   Reply With Quote
Advert
Reply

Tags
adding new chapters


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
azw to mobi: Not detecting chapters/page break at chapters and no TOC RachDvn Calibre 3 01-16-2011 09:53 AM
Adding a folder of chapters pendragginp Calibre 4 03-25-2010 08:07 AM
Total Novice Seeks Help w/ Adding Chapters to Manybooks.net ePub Files KingSausage Calibre 1 01-01-2010 05:12 PM
ePub Chapters vs. Stanza Chapters kjk Sigil 4 09-14-2009 10:50 AM
Too many chapters with 0.6 pepak Calibre 4 08-01-2009 11:58 AM


All times are GMT -4. The time now is 02:02 AM.


MobileRead.com is a privately owned, operated and funded community.