Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 12-08-2010, 07:46 PM   #1
soulartist
Enthusiast
soulartist began at the beginning.
 
soulartist's Avatar
 
Posts: 45
Karma: 10
Join Date: Nov 2010
Location: New Mexico
Device: none
Untitled.ePub-Sigil and Code question

1) When I open a test ePub doc in Sigil, why does an Untitled.ePub doc open up behind the main Sigil window?

2) Why does the code keep repeating "http://www.w3.org/XML/1998/namespace"

<p class="sidebar-quote" xml:lang="en-us" xmlns:xml="http://www.w3.org/XML/1998/namespace">I’m a painter. What do I have to know about words and <span class="no-style-override">writing</span>?</p>

BTW: Of all the readers I have (ADE, Kindle preview, Calibre), Sigil most accurately presents my text. Why?

Thanks,

Eden
soulartist is offline   Reply With Quote
Old 12-09-2010, 04:14 AM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,861
Karma: 2714881
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
I have no idea. When I open a epub, it is the only open epub. Perhaps you have started multiple instances of Sigil. How do you open the epub, via the menu or by clicking the epub? On what OS are you?

The second part is even stranger. When I open a new page in sigil, it is formated like:

Code:
<?xml version="1.0"?>
<!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>
</head>

<body style="">
  <p>&nbsp;</p>
</body>
</html>
Nothing about painters... Is your header like the one above? What is the source of the code?
Toxaris is offline   Reply With Quote
Old 12-09-2010, 05:22 AM   #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,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by soulartist View Post
1) When I open a test ePub doc in Sigil, why does an Untitled.ePub doc open up behind the main Sigil window?
This is a Mac-specific issue. I know, it's annoying. Just ignore it for now.

Quote:
Originally Posted by soulartist View Post
2) Why does the code keep repeating "http://www.w3.org/XML/1998/namespace"
This is related to the code you imported. There was something in it which forced Tidy to add this to everything, or it was there to begin with. It's just a namespace declaration, feel free to ignore/delete it.

Note that when you create a new paragraph in the Book View by pressing ENTER, the attributes from the <p> you were in are copied over to the new <p>.

Quote:
Originally Posted by soulartist View Post
BTW: Of all the readers I have (ADE, Kindle preview, Calibre), Sigil most accurately presents my text. Why?
You'll have to ask the creators of those other Rendering Systems. Although Calibre's presentation should be fairly close to Sigil's; they both use the same underlying engine (QtWebkit).
Valloric is offline   Reply With Quote
Old 12-09-2010, 05:06 PM   #4
soulartist
Enthusiast
soulartist began at the beginning.
 
soulartist's Avatar
 
Posts: 45
Karma: 10
Join Date: Nov 2010
Location: New Mexico
Device: none
More details

Here are some points for clarification:

Quote:
Originally Posted by Valloric View Post
This is a Mac-specific issue. I know, it's annoying. Just ignore it for now.
Okay

Quote:
This is related to the code you imported. There was something in it which forced Tidy to add this to everything, or it was there to begin with. It's just a namespace declaration, feel free to ignore/delete it.
This was an ePub file exported directly from InDesign. I didn't make any changes with Sigil.

When I look at the the HTML code in Dreamweaver, I see this code (which is free from the xmlns:xml="http://www.w3.org/XML/1998/namespace">) for the text:

<p class="sidebar-quote" xml:lang="en-us">I’m a painter. What do I have to know about words and <span class="no-style-override-1">writing</span>? </p>

At the top of doc, the only reference to www.w3.org is this:

<?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">

Quote:
Note that when you create a new paragraph in the Book View by pressing ENTER, the attributes from the <p> you were in are copied over to the new <p>.
I see. So far, I haven't done any work with Sigil; I'm trying to understand how it works.

Quote:
You'll have to ask the creators of those other Rendering Systems. Although Calibre's presentation should be fairly close to Sigil's; they both use the same underlying engine (QtWebkit).
Calibre is okay, but text is often jumbled?
soulartist is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about using Sigil to convert HTML ficbot Sigil 9 03-06-2011 08:12 AM
calibre, sigil and Dreamweaver question twnad Calibre 1 12-07-2010 06:05 PM
Question for Sigil users pearblossom Sigil 20 11-23-2010 04:33 AM
Are the SGC_# a sigil code? JaneFancher Sigil 14 09-06-2010 04:08 AM
Sigil Newbie Question 93terp Sigil 2 01-11-2010 07:22 PM


All times are GMT -4. The time now is 09:06 AM.


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