Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 10-30-2015, 10:50 AM   #1
Echeban
Junior Member
Echeban began at the beginning.
 
Echeban's Avatar
 
Posts: 8
Karma: 10
Join Date: Sep 2015
Location: West Virginia
Device: Kindle
how to change Sigil's heading

When importing an HTML file, if it does not have a heading, Sigil adds this

Code:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title/>
</head>
Where is that text, and how can I customize it?
Why? I want to add a line to link my own CSS, like this
Code:
  <link href="../Styles/styles.css" rel="stylesheet" type="text/css" />
Echeban is offline   Reply With Quote
Old 10-30-2015, 11:31 AM   #2
Arios
A curiosus lector!
Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.
 
Arios's Avatar
 
Posts: 463
Karma: 2015140
Join Date: Jun 2012
Device: Sony PRS-T1, Kobo Touch
Something like that?

Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>About Sigil</title>
  <link href="../Styles/styles.css" rel="stylesheet" type="text/css"/>
</head>

<body>

<p>...</p>
.........
</body>
</html>
Bold is mine.
Arios is offline   Reply With Quote
Advert
Old 10-30-2015, 11:42 AM   #3
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,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
Because the EPUB2 rules say that the Boilerplate MUST exist to be valid, even if it is a null value

You can Bulk S&R to update your <title> block

Linking stylesheets in Sigil is a piece of cake (chocolate-fudge, 3-klayers)

Add your stylesheet(s) Files Add: Existing Files (You can bulk add here)
select the files to get the SAME set of linked stylesheets: Right-click-Link Stylesheets: Tick those that apply: OK

NOTE: all existing links will be removed if not selected. No incremental adds, except that the tick boxes WILL be pre-selected if the link exists in ALL the files that were chosen
theducks is offline   Reply With Quote
Old 10-30-2015, 11:43 AM   #4
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,643
Karma: 5433388
Join Date: Nov 2009
Device: many
Or try simply right clicking on the newly imported file in Sigil's BookBrowser window and select "Link Stylesheets..."

KevinH
KevinH is offline   Reply With Quote
Old 10-30-2015, 02:52 PM   #5
Echeban
Junior Member
Echeban began at the beginning.
 
Echeban's Avatar
 
Posts: 8
Karma: 10
Join Date: Sep 2015
Location: West Virginia
Device: Kindle
thanks!
Echeban is offline   Reply With Quote
Advert
Reply

Tags
css tools


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue with Sigil and chapter titles (Heading 2) AprilHare Sigil 18 02-05-2020 08:14 PM
heading tag with sigil 0.7.4 bobcdy Sigil 3 01-12-2014 12:45 PM
font change sigil to mobi with kindlegen wyatt650 Sigil 4 09-05-2013 10:49 AM
Can I change heading font size in Calibre? lizzielou Calibre 3 01-21-2012 09:31 AM
Recomendation about Heading in Sigil sergiodongala Sigil 6 07-06-2011 08:12 PM


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


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