Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 01-15-2011, 06:40 AM   #1
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Which is consdered correct practice?

Code:
<a id="CH_1"></a>
<h2>CHAPTER 1.</h2>
or

Code:
<h2 id="CH_1">CHAPTER 1.</h2>
The reason I'm asking this is that I normally use the second format. On loading a file to Sigil, with TIDY on full, each

Code:
<h2 id="CH_#">
was changed to

Code:
<h2 id="00002">
Problem with TIDY or should I revert to the first format?
crutledge is offline   Reply With Quote
Old 01-15-2011, 07:23 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by crutledge View Post
Code:
<a id="CH_1"></a>
<h2>CHAPTER 1.</h2>
or

Code:
<h2 id="CH_1">CHAPTER 1.</h2>
The second is correct, the first is wrong, unless everything is wrapped in a <div>.

Quote:
The reason I'm asking this is that I normally use the second format. On loading a file to Sigil, with TIDY on full, each

Code:
<h2 id="CH_#">
was changed to

Code:
<h2 id="00002">
If I remember correctly, fragment names cannot start with a digit, so the second would be wrong.
Jellby is offline   Reply With Quote
Advert
Old 01-15-2011, 12:53 PM   #3
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 crutledge View Post
The reason I'm asking this is that I normally use the second format. On loading a file to Sigil, with TIDY on full, each

Code:
<h2 id="CH_#">
was changed to

Code:
<h2 id="00002">
Problem with TIDY or should I revert to the first format?
No, Sigil only adds ID's to headings that don't have them. And AFAIR it doesn't start the ID name with a digit.
Valloric is offline   Reply With Quote
Old 01-15-2011, 01:00 PM   #4
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,781
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Sigil will replicate the ID (and fail at Flightcrew check) if you place the insert point at the beginning (BV) of a heading and hit return to insert blank lines
theducks is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best Practice: Embed Fonts?? luthar28 ePub 37 11-01-2011 04:16 AM
Best practice for <title> tags cscotts Calibre 1 12-14-2010 04:54 AM
Storytelling Theory & Practice Moejoe Writers' Corner 13 08-25-2009 02:50 PM
Do you use/Have you used any other sites to practice your writing and get critiqued? mklynds Writers' Corner 5 07-06-2009 09:18 PM
restrictive practice nobicus Sony Reader 14 09-30-2008 11:27 AM


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


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