04-04-2011, 09:41 AM | #61 |
Well trained by Cats
Posts: 29,791
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
If the header text-size is your issue:
Stylesheet: h3.chapter {font-size: 115%} Usage: <h3 class="chapter"> Looks about the same as H2</h3> <h3>Chapter X <br /> A second line in the book and as a single line in the TOC</h3> (you have to include a space or the lines runs together in the TOC) Last edited by theducks; 04-04-2011 at 01:23 PM. Reason: text->font fixed |
04-04-2011, 11:06 AM | #62 | |
eBook FANatic
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Quote:
Great minds, etc etc. |
|
Advert | |
|
04-04-2011, 11:10 AM | #63 | ||||
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Quote:
Quote:
Now look at the second screenshot, it's with the correct structure. The style may not be too nice, but at least it keeps the structure. Quote:
|
||||
04-04-2011, 12:47 PM | #64 | |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
To avoid surprises, it's always better not to trust defaults and set the important things yourself, in this case at least: font-size, margin, text-align, font-weight. |
|
04-04-2011, 01:44 PM | #65 |
Zealot
Posts: 121
Karma: 5070
Join Date: Dec 2010
Device: none
|
|
Advert | |
|
04-04-2011, 04:35 PM | #66 |
eBook FANatic
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
|
04-04-2011, 04:40 PM | #67 |
Fanatic
Posts: 527
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
|
Perhaps I don't really understand xhtml, but can anyone tell me why
<h3 id="head_3">Introduction</h3> is not acceptable to Sigil 0.4 (or .3.4)? It is supposed to be not correctly formed and Sigil will automatically 'fix' it if desired. Bob |
04-04-2011, 05:56 PM | #68 |
Well trained by Cats
Posts: 29,791
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Do you have a duplicate id elsewhere in the SAME file?
|
04-04-2011, 06:47 PM | #69 |
Fanatic
Posts: 527
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
|
I found the source of my errors: there was another, different, poorly formed tag that seems to have confused Sigil. Once I found and fixed that tag, the problem with the h3 tag went away.
I finally more or less completed my next book using v. 0.4.0, and I must really praise Valloric for a job well done! My document had several mistakes that Sigil pointed out; I manually corrected them and voila! There was a world of difference between using the old and frustrating v. 0.3.4 and the new improved 0.4.0. Thanks again to Valloric! |
04-05-2011, 01:32 AM | #70 |
Zealot
Posts: 121
Karma: 5070
Join Date: Dec 2010
Device: none
|
|
04-05-2011, 04:19 AM | #71 |
Junior Member
Posts: 3
Karma: 260
Join Date: Mar 2011
Device: Kindle 3, Blackberry Curve, Blackberry Torch
|
Love the new beta
This is a general addition to the thread since I've not had any issue yet with Sigil-0.4.0β3-Windows-Setup.exe, and I'm running it on both my desktop at home (Dell Optiplex dual-core pentium with 2 gigs of memory), and my traveling system that I use all the time both at home on wi-fi from my secured router, and away on both wi-fi and a tethered Blackberry with a data package since we have limited wi-fi availability locally (Dell Inspiron 1012 Netbook with Windows 7 with an Atom processor and 1 gig memory). This beta is *much* happier with limited system resources than the earlier versions I was using though I've plans on maxing out the memory on both machines as soon as I have the spare funds.
I've been producing ebooks in one form or another for going on a decade, and the Sigil-0.4.0β3 beta is dealing *very* nicely with how I normally work with my book design once I've done a first pass with NoteTab Pro to clean the files and do a few global search-and-replaces that I can't accomplish in Sigil (or pretty much anything else for that matter). Most of the files I've worked with to stay in practice while I've been home sick have been constructed on just about any crappy HTML editor you can name from the last 15 years (the web is a great resource for bad code sources to practice on), and there is a very great tendency for most or all of the code to be structured with BR tags dumped in a single massive container made of a single P tag or DIV, sometimes with additions of tables just to make more of a mess in the code. NoteTab Pro allows me to replace the BR tags with a string made of Closing P tag, 2 CR/LF codes, and the Opening P tag of the next paragraph which allows me to cleanly set headings for the TOC, and have human-readable code so I can skim the file(s) for any problems that need correction before I run validation on the cleaned code and bring it into Sigil to make the epub. The ability to open the TOC and OPF files just to double check that the items have picked up correctly so I can go back to the headings and files and make adjustments if I need to is something I've been waiting for since you first mentioned that it was coming in a future version. *Thank you!* Pat in North Carolina |
04-05-2011, 09:26 PM | #72 |
Fanatic
Posts: 527
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
|
Problem with small cap font in v4
I've been working with v4.0 qt 4.7.2 and have finished a pretty complex book with index, endnotes, and a small cap font. All went exceptionally well except at the end when I tried to add the small cap font - all seemed ok in Sigil 4 and the font statement seemed correct and was properly placed in the content.opf, but ADE would not show the small cap font. I then downloaded/installed v3.4 so that both versions are available for use, opened the epub in 3.4, deleted the small cap font and added it again, and the font showed in ADE. Thus the identical font was accepted when installed with Sigil 3.4 but not with Sigil 4. I've repeated these experiments several times and included trying to install another just downloaded small cap font.
It seems that v4 has a problem with imported fonts. It isn't fatal because it's easy to use v3.4 in the final stage of completion, but is a bit odd. Has anyone else experienced this problem? |
04-06-2011, 05:14 AM | #73 | |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Quote:
|
|
04-06-2011, 02:28 PM | #74 |
Fanatic
Posts: 527
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
|
I think I found the problem:
If I enter the following in my css for an epub using Sigil 3.4: @font-face {font-family: "Gv Petite Caps.ttf"; font-style: normal; font-weight: normal; src: url(../Fonts/Gv Petite Caps.ttf);} This epub shows the Petite Cap in Adobe DE If I then open the file using Sigil 4.0 the css petite cap statement becomes upon opening: @font-face {font-family: "Gv Petite Caps.ttf"; font-style: normal; font-weight: normal; src: ../Fonts/Gv Petite Caps.ttf);} Upon saving with S4, the new epub does not show the Petite Cap in ADE. One can correct the error using Sigil 4 and save, and the resulting epub shows the Petite Cap in ADE, but on reopening the file with Sigil 4, the error is again created. |
04-07-2011, 03:43 AM | #75 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Again, please create an issue on the tracker. Add your analysis,that would help Valloric.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil 0.2.4 | Valloric | Sigil | 16 | 09-09-2010 11:04 AM |
Sigil 0.2.0 betas available | Valloric | Sigil | 98 | 05-03-2010 04:07 PM |
Sigil v0.1.6 | Valloric | Sigil | 52 | 01-26-2010 02:24 PM |
Sigil v0.1.2 | Valloric | Sigil | 52 | 08-18-2009 03:15 AM |
calibre 0.6 betas now available | kovidgoyal | Calibre | 665 | 07-24-2009 11:11 PM |