View Single Post
Old 06-14-2012, 02:20 AM   #100
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,737
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Tkepner View Post
[...]entries I added via the Sigil "Add Semantics" are a no show.
Information added via Add Semantics is only used for generating entries in the <guide> section.

Quote:
Originally Posted by Tkepner View Post
I don't always want to use <h1> codes for Table of Contents Entries.
Sigil can only generate TOCs from headers.

If you want to be able to automatically generate TOC entries, you’ll need to use header tags and styles. You could easily simplify your example as follows:

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></title>
  <style type="text/css">
/*<![CDATA[*/

  h3 {
        text-align: center; 
        font-weight: bold;
        font-size: 130%;
        page-break-before: always;
  }
  /*]]>*/
  </style>
</head>

<body>
  <h3 id="TOC1_2" title="Endangering the King">-2-<br />
  Endangering the King</h3>
<!-- text of chapter 2 -->
</body>
</html>

Last edited by Doitsu; 06-14-2012 at 04:41 AM.
Doitsu is offline   Reply With Quote