Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 10-12-2009, 01:07 PM   #181
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by GeoffC View Post
Is it possible to prevent the insertion of an extra line between text.
The coding of poem structure correctly inserts the blocks within <pre> tags, but still insists on an extra line feed/carriage return between each line such that;

aaaaaaaaaa
bbbbbbbbbb becomes

aaaaaaaaaa

bbbbbbbbbb
You're pasting that text from another rich text application, right? Pasting such text has its drawbacks, since Sigil can't control how the application you're pasting from inserts the text required onto the clipboard. And pasting into the Book View leaves the clipboard import up to Webkit, and it would be hard to circumvent this.

In general, if you want to transfer some rich text into Sigil, it is always best to import it.

But do create an issue on the tracker with this. Don't forget to include all the necessary steps (and HTML code) to replicate this issue.

Quote:
Originally Posted by GeoffC View Post
Also is there a way to supress the insistence of adding 4 character insert at the start of a new 'chapter' - other than manually manipulating the code ?
I'm not sure I know what you're talking about. Create an issue with step-by-step instructions that replicates this.
Valloric is offline  
Old 10-13-2009, 10:42 AM   #182
GeoffC
Chocolate Grasshopper ...
GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.
 
GeoffC's Avatar
 
Posts: 27,599
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
skip it (I've also replied to your pm).
I suspect much of my problem is copy/paste from other applications (as you've rightly indicated - namely MS Onenote, where I do much of my wips).

I've not had too much of this today - so it's probably due as well to me getting used to this application - which remains superb .... Thanks .....
GeoffC is offline  
Old 10-20-2009, 06:29 PM   #183
Croker
Connoisseur
Croker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enough
 
Posts: 94
Karma: 630
Join Date: Sep 2008
Location: Melbourne, Australia
Device: Kobo Libra Colour, obv.
Valloric

I'm loving Sigil and therefore have posted here to commend you on your hard work. Kudos!

Anyway, I do have one possible suggestion for you - is it possible to implement a "drop cap" setting into Sigil?

Allow me to explain - despite the explanations I've found here on the forums in how to add drop caps to ePubs, they might as well be written in Greek for all I understand of them. I mean no disrespect to the people involved in those conversations, but they tend to assume a deep knowledge of the various ins-and-outs of source code as used in an ePub file, and how to amend it manually.

For those of us who use programs like Book Designer and Sigil to tidy up our files and get them to display in the way we like, trying to tamper with the source code is too complex and daunting - at least, in my experience. I was nearly in tears of frustration trying to get fonts of my own choice to work with ePub files on my Sony Reader, and that was relatively straightforward to achieve (with the help of Calibre)!

So, my suggestion for Sigil is as follows - would it be possible to highlight a letter of text - at the very start of a chapter - and turn it into a drop cap by clicking a button in Sigil? I appreciate that I have no idea of how difficult this would be to achieve on a technical level, but it would be a massive bonus to me if you could pull it off.

I'd envisage that, in the same way you can highlight text in a file and click "bold" (and the source code will change to reflect your choice), you could do the same with a drop cap, selecting a letter and clicking the "drop cap" button (which would again insert the appropriate change to the source code).

So - is this possible (or even feasible!) or not? I'd be interested to know!
Croker is offline  
Old 10-20-2009, 06:38 PM   #184
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by Croker View Post
So, my suggestion for Sigil is as follows - would it be possible to highlight a letter of text - at the very start of a chapter - and turn it into a drop cap by clicking a button in Sigil?
This is certainly feasible and will be added to Sigil in time, as part of a larger "common actions shortcuts" menu or whatever. But this is a rather specific need. Sigil is currently still in its early stages, and there are a lot of things that affect most (if not all) of Sigil's users that need to be taken care of first. Features like a Search&Replace dialog (coming in the next version). After that there's some redesign work, and then we can talk about this. So I'm sorry to say you won't see it soon.

It's not that I don't think this is good feature—it is—but I need to prioritize.

Do add it to the tracker so I don't forget.
Valloric is offline  
Old 10-20-2009, 06:53 PM   #185
Croker
Connoisseur
Croker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enough
 
Posts: 94
Karma: 630
Join Date: Sep 2008
Location: Melbourne, Australia
Device: Kobo Libra Colour, obv.
Quote:
Originally Posted by Valloric View Post
This is certainly feasible and will be added to Sigil in time, as part of a larger "common actions shortcuts" menu or whatever. But this is a rather specific need. Sigil is currently still in its early stages, and there are a lot of things that affect most (if not all) of Sigil's users that need to be taken care of first. Features like a Search&Replace dialog (coming in the next version). After that there's some redesign work, and then we can talk about this. So I'm sorry to say you won't see it soon.

It's not that I don't think this is good feature—it is—but I need to prioritize.

Do add it to the tracker so I don't forget.
Hey, that's okay - I appreciate you taking the time to reply, Valloric. I will pop it on the tracker, though.

You're quite right to prioritise stuff like Search & Replace, mind you. To be honest, the sooner I can use just Sigil to prepare all my ePubs from start to finish, the happier I'll be!

As an aside - and without wishing to derail this thread - if anyone can explain in layman's terms how I can easily add drop caps to my ePubs, please drop me a PM and let me know!
Croker is offline  
Old 10-22-2009, 07:46 AM   #186
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 73,976
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Not a PM, as it may be of interest generally.

There are several ways to do a drop cap. If you book is formatted just right, it can be done just with CSS, but setting it up is tricky.

So, a simple two-step drop cap tutorial:

1. In Sigil Book View, go to the paragraph you want to have a drop cap. Now switch to code view. Find the paragraph and add the following around the first letter of the paragraph, in this example, an H.

<span class="dropcap">H</span>

2. Now look up at the top of the file in code view. Find the lines that say

<style type="text/css">
/*<![CDATA[*/

and immediately after them add the following

span.dropcap { float:left; font-size: 4.7em; line-height:0.8em; margin-right: 3pt; margin-bottom: -0.1em; }

Switch back to book view. Ta da!

Add the <span class="dropcap"></span> to all the letters at the start of paragraphs where you want a drop cap.

You might need to tweak the values for font-size, line-height and margin-bottom to get the effect you want. The Sigil book view may not show exactly how it'll appear in ADE, but it's pretty close.

I've added a sample Sigil file showing the drop cap in action.

Quote:
Originally Posted by Croker View Post
As an aside - and without wishing to derail this thread - if anyone can explain in layman's terms how I can easily add drop caps to my ePubs, please drop me a PM and let me know!
Attached Files
File Type: zip DropCap.sgf.zip (2.0 KB, 373 views)

Last edited by pdurrant; 10-23-2009 at 03:15 PM. Reason: Added sample file; Fixed example!
pdurrant is online now  
Old 10-23-2009, 01:33 PM   #187
Croker
Connoisseur
Croker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enough
 
Posts: 94
Karma: 630
Join Date: Sep 2008
Location: Melbourne, Australia
Device: Kobo Libra Colour, obv.
YOU BEAUTY! That works a treat.

Thanks very much!
Croker is offline  
Old 10-24-2009, 12:11 PM   #188
mklynds
That guy, no not that guy
mklynds plays well with othersmklynds plays well with othersmklynds plays well with othersmklynds plays well with othersmklynds plays well with othersmklynds plays well with othersmklynds plays well with othersmklynds plays well with othersmklynds plays well with othersmklynds plays well with othersmklynds plays well with others
 
mklynds's Avatar
 
Posts: 337
Karma: 2846
Join Date: May 2009
Location: Alberta, Canada
Device: PRS600 Red
Okay I have been around the forums for a while but I am brand spankin new to Sigil as of 15 minutes ago or so. I was wondering if anyone has made a tutorial for Sigil or compiled a list of helpful commands. I have zero coding experience but am a bit of a perfectionist and would love to be able to make my books better.

Another question. Is there a book here on mobile read that I could download as a example of what a properly formatted book should like like. As it is now. I have no idea how to take the image of the book in my head and make it a reality.

Hopeless I know!! But I learn quick!

Mike
mklynds is offline  
Old 10-24-2009, 12:15 PM   #189
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by mklynds View Post
Another question. Is there a book here on mobile read that I could download as a example of what a properly formatted book should like like.
Here's one of the most amazing epubs you can find.
Valloric is offline  
Old 10-27-2009, 10:31 AM   #190
GeoffC
Chocolate Grasshopper ...
GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.
 
GeoffC's Avatar
 
Posts: 27,599
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
Quote:
Originally Posted by Valloric View Post
Here's one of the most amazing epubs you can find.

Seconded , thirded, fourthed etced .....
GeoffC is offline  
Old 11-02-2009, 11:02 AM   #191
Josch91
Reader
Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.
 
Josch91's Avatar
 
Posts: 818
Karma: 3522
Join Date: Apr 2009
Location: Germany
Device: Kindle 4, iPad
Hi Valloric,

is it possible, that Sigil is also reading out the chapter-informations from the "toc.ncx" file, when opening a ePub file. Because there are some ePubs without chapter tags in the html files. If you are opening this files with Sigil to edit them, all the chapter informations are gone.

Thank you in advance,
Josch
Josch91 is offline  
Old 11-02-2009, 11:17 AM   #192
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by Josch91 View Post
is it possible, that Sigil is also reading out the chapter-informations from the "toc.ncx" file, when opening a ePub file. Because there are some ePubs without chapter tags in the html files. If you are opening this files with Sigil to edit them, all the chapter informations are gone.
The NCX is always specific to the XHTML files in the epub. Since Sigil doesn't (in the current version) preserve the original file structure, that information is meaningless. The content of those XHTML files is loaded, and then transferred back into XHTML based on the location of the chapter breaks.

Somehow trying to preserve the NCX links to elements within the original XHTMLs also doesn't work, since HTML Tidy will rewrite the markup into something different and the original links will be meaningless too.

So no, the NCX information cannot be preserved.
Valloric is offline  
Old 11-02-2009, 11:24 AM   #193
Josch91
Reader
Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.
 
Josch91's Avatar
 
Posts: 818
Karma: 3522
Join Date: Apr 2009
Location: Germany
Device: Kindle 4, iPad
Thank you for your fast reply. Are you planning to integrate the functionality to preserve the original file structure in the near future?

Thank you in advance,
Josch
Josch91 is offline  
Old 11-02-2009, 12:22 PM   #194
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by Josch91 View Post
Thank you for your fast reply. Are you planning to integrate the functionality to preserve the original file structure in the near future?
See this thread. Basically yes.

But the NCX will probably still be ignored on import. HTML Tidy will still obsolete any links in it so it can't be used.
Valloric is offline  
Old 01-07-2010, 09:37 PM   #195
poodlemama
Member
poodlemama began at the beginning.
 
poodlemama's Avatar
 
Posts: 10
Karma: 10
Join Date: Jan 2010
Device: Sony PRS 600
Is there any way to remove all page numbers from an ePub?
poodlemama is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil -- what version of .epub? Kivgaen Sigil 30 01-29-2011 02:03 AM
Sigil ePub to MOBI crutledge Calibre 1 10-08-2010 12:04 PM
Sigil Toc editor Enesco Sigil 16 09-23-2010 06:41 AM
Sigil ePub editor - where is it? Alexander Turcic ePub 3 08-04-2009 05:55 PM


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


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