|09-14-2012, 12:36 PM||#1|
Join Date: Dec 2010
Device: Kindle PW2
Can I use custom xhtml tags in Sigil?
I'd like to edit a Kindle dictionary source file with Sigil. The problem is that Amazon still uses the old MobiPocket custom HTML tags to define dictionary entries. For example, a minimal dictionary entry would look like this.
<idx:entry> <idx:orth>Fahrvergnügen</idx:orth><br /> driving enjoyment (n) </idx:entry>
Is there anything I could do to make Sigil ignore these tags other than commenting them out?
(I know that xhtml custom tags are frowned upon and that the file wouldn't validate; I'm just wondering if I could use Sigil to edit the Kindle dictionary source files, because it would, for example, allow me to automatically generate the .ncx file.)
|09-20-2012, 10:33 PM||#2|
Sigil & calibre developer
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
0.6.0, currently there is a beta avaliable allows you to completely turn off Tidy (which is removing/modifying the tags). At least that's one of the intended features. It's currently in beta so I can't really say if it's working 100% yet. That said, the current version won't do what you want but Sigil should be able to do what you need very soon (if not already with the 0.5.905 beta).
|09-21-2012, 07:51 AM||#3|
Color me gone
Join Date: Apr 2008
Location: Central Oregon Coast
That option as well as well formed error checking are located in correct menu/drop down, IMO. They can be turned off/on by someone knowledgeable but unlikely to be set wrong by mistake. It is obvious how much thought you have put into this.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Custom code in ePub titlepage.xhtml||Mrs_Often||Conversion||6||07-24-2012 12:36 PM|
|When Calibre Goes to Sigil in HTML *and* XHTML||Tulpana||Sigil||6||07-09-2012 10:03 AM|
|questions on self-closing tags and legal xhtml in epubs||KevinH||ePub||5||04-23-2012 10:12 PM|
|Custom columns vs tags||Artha||Calibre||3||11-22-2011 09:25 AM|
|Supported XHTML tags in EPUB||spaze||ePub||5||02-27-2011 09:35 PM|