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 09-15-2011, 02:15 PM   #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: 11,867
Karma: 13081948
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Probably a silly queston!

I have been trying to create Sigil files with no "sgc-" CSS entries.

The following style sheet entry always shows up but no where in the code can I find it used.

Code:
  <style type="text/css">
/*<![CDATA[*/

  p.sgc-1 {text-align: center}
  /*]]>*/
  </style>
Is it just an artifact or have I missed something?
__________________
Charlie

'Bene legere saecla vincere'.
'To read well is to master the ages' [Prof. Issac Flagg]
crutledge is offline   Reply With Quote
Old 09-15-2011, 04:05 PM   #2
theducks
Staff to 4 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: 10,715
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
Quote:
Originally Posted by crutledge View Post
I have been trying to create Sigil files with no "sgc-" CSS entries.

The following style sheet entry always shows up but no where in the code can I find it used.

Code:
  <style type="text/css">
/*<![CDATA[*/

  p.sgc-1 {text-align: center}
  /*]]>*/
  </style>
Is it just an artifact or have I missed something?
Did you ever use the "Center Text" button (this particular entry)?

I am thinking that some also get created as a work-around for the WYSIWYG, Book Viewer. Work-arounds are common Just like I have to code around The ADE viewer that will not center a partial width HR
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
theducks is offline   Reply With Quote
 
Enthusiast
Old 09-15-2011, 04:09 PM   #3
Rand Brittain
Bookmaker
Rand Brittain can eat soup with a fork.Rand Brittain can eat soup with a fork.Rand Brittain can eat soup with a fork.Rand Brittain can eat soup with a fork.Rand Brittain can eat soup with a fork.Rand Brittain can eat soup with a fork.Rand Brittain can eat soup with a fork.Rand Brittain can eat soup with a fork.Rand Brittain can eat soup with a fork.Rand Brittain can eat soup with a fork.Rand Brittain can eat soup with a fork.
 
Posts: 178
Karma: 9070
Join Date: Sep 2010
Device: Cybook Opus
I often wish that Sigil wouldn't keep adding @page margins to documents, I have to admit. I'm not sure why it does.
Rand Brittain is offline   Reply With Quote
Old 09-15-2011, 05:02 PM   #4
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: 11,867
Karma: 13081948
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Quote:
Originally Posted by theducks View Post
Did you ever use the "Center Text" button (this particular entry)?

I am thinking that some also get created as a work-around for the WYSIWYG, Book Viewer. Work-arounds are common Just like I have to code around The ADE viewer that will not center a partial width HR
I never edit in book view. Always code view.

ADE is not the only RS that doesn't handle <hr /> very well. I went to various graphics as a work around. Tables aren't the only thing that graphics improves.
__________________
Charlie

'Bene legere saecla vincere'.
'To read well is to master the ages' [Prof. Issac Flagg]
crutledge is offline   Reply With Quote
Old 09-15-2011, 05:29 PM   #5
theducks
Staff to 4 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: 10,715
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
Quote:
Originally Posted by crutledge View Post
I never edit in book view. Always code view.

ADE is not the only RS that doesn't handle <hr /> very well. I went to various graphics as a work around. Tables aren't the only thing that graphics improves.
Then it is probably a work around.
You might peek and find what uses that selector (suspect a non H# title)
Margins work for me on HR tricks, I avoid graphics that can be done with entities or styl sheet tricks.
No tables for me
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
theducks is offline   Reply With Quote
Old 09-15-2011, 05:44 PM   #6
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: 11,867
Karma: 13081948
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Quote:
Originally Posted by theducks View Post
Then it is probably a work around.
You might peek and find what uses that selector (suspect a non H# title)
I've done a global search and it never appears in the code.
__________________
Charlie

'Bene legere saecla vincere'.
'To read well is to master the ages' [Prof. Issac Flagg]
crutledge is offline   Reply With Quote
Old 09-15-2011, 05:58 PM   #7
theducks
Staff to 4 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: 10,715
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
Quote:
Originally Posted by crutledge View Post
I've done a global search and it never appears in the code.
That I have not seen.

I find SGC codes scattered about (when used without my using a button) for headings, italics (<i> tags )
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
theducks is offline   Reply With Quote
Old 09-15-2011, 06:36 PM   #8
LaoTseu
Member
LaoTseu began at the beginning.
 
Posts: 20
Karma: 12
Join Date: Sep 2011
Device: Kindke
My experience is that if you remove the /* <!DATA ... entries, they are not put again by Sigil unless you use the WYSIWYG to format. I never use the WYSIWYG to apply styles once I've remove them so they stay gone forever.

It's strange that Sigil doesn't simply use <em> and <strong> for italic and bold instead of creating class.
LaoTseu is offline   Reply With Quote
Old 09-15-2011, 07:05 PM   #9
kmckinley
Member
kmckinley has learned how to read e-bookskmckinley has learned how to read e-bookskmckinley has learned how to read e-bookskmckinley has learned how to read e-bookskmckinley has learned how to read e-bookskmckinley has learned how to read e-bookskmckinley has learned how to read e-bookskmckinley has learned how to read e-books
 
Posts: 15
Karma: 954
Join Date: Aug 2011
Device: NOOK Simple Touch
Quote:
Originally Posted by crutledge View Post
I've done a global search and it never appears in the code.
Have you tried searching in code view for only "sgc-1"?
kmckinley is offline   Reply With Quote
Old 09-16-2011, 09:01 AM   #10
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,107
Karma: 927511
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Quote:
Originally Posted by Rand Brittain View Post
I often wish that Sigil wouldn't keep adding @page margins to documents, I have to admit. I'm not sure why it does.
I always set this myself in the stylesheet, so perhaps that is the reason I have not seen this behavior.
__________________
Creator and maintainer of the e-Book Tools Word add-in.
Creator and maintainer of the Clean HTML macro for MS Word.
Toxaris is offline   Reply With Quote
Old 09-16-2011, 09:03 AM   #11
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,107
Karma: 927511
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Quote:
Originally Posted by LaoTseu View Post
It's strange that Sigil doesn't simply use <em> and <strong> for italic and bold instead of creating class.
Actually, I am glad. I feel that <em> and <strong> is very open for interpretation. The browser can decide that emphasis is bold or underline. It says nothing about the layout, only about the meaning of the words.
__________________
Creator and maintainer of the e-Book Tools Word add-in.
Creator and maintainer of the Clean HTML macro for MS Word.
Toxaris is offline   Reply With Quote
Old 09-16-2011, 09:19 AM   #12
theducks
Staff to 4 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: 10,715
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
Quote:
Originally Posted by Toxaris View Post
Actually, I am glad. I feel that <em> and <strong> is very open for interpretation. The browser can decide that emphasis is bold or underline. It says nothing about the layout, only about the meaning of the words.
Right.
I have yet to find a Strong TTF
or an EM TTF

I do have Bold TTF versions
I have Italic TTF versions

If a different type face was all I was after, I could use those tags.
I prefer to be more specific and use a stylesheet
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
theducks is offline   Reply With Quote
Old 09-16-2011, 10:04 AM   #13
pietvo
Reader
pietvo shines like a glazed doughnut.pietvo shines like a glazed doughnut.pietvo shines like a glazed doughnut.pietvo shines like a glazed doughnut.pietvo shines like a glazed doughnut.pietvo shines like a glazed doughnut.pietvo shines like a glazed doughnut.pietvo shines like a glazed doughnut.pietvo shines like a glazed doughnut.pietvo shines like a glazed doughnut.pietvo shines like a glazed doughnut.
 
pietvo's Avatar
 
Posts: 500
Karma: 8718
Join Date: Aug 2009
Location: Cochabamba, BO
Device: Onyx Boox 60, iPod Touch
Quote:
Originally Posted by Toxaris View Post
Actually, I am glad. I feel that <em> and <strong> is very open for interpretation. The browser can decide that emphasis is bold or underline. It says nothing about the layout, only about the meaning of the words.
Well, you can put the desired interpretation in the CSS stylesheet.
pietvo is offline   Reply With Quote
Old 09-16-2011, 03:12 PM   #14
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,107
Karma: 927511
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Quote:
Originally Posted by pietvo View Post
Well, you can put the desired interpretation in the CSS stylesheet.
Of course I can, but that is not the point. I really think that items like <em>, <strong> are misused. They should be used for structure, not layout.
__________________
Creator and maintainer of the e-Book Tools Word add-in.
Creator and maintainer of the Clean HTML macro for MS Word.
Toxaris is offline   Reply With Quote
Old 09-16-2011, 03:31 PM   #15
pietvo
Reader
pietvo shines like a glazed doughnut.pietvo shines like a glazed doughnut.pietvo shines like a glazed doughnut.pietvo shines like a glazed doughnut.pietvo shines like a glazed doughnut.pietvo shines like a glazed doughnut.pietvo shines like a glazed doughnut.pietvo shines like a glazed doughnut.pietvo shines like a glazed doughnut.pietvo shines like a glazed doughnut.pietvo shines like a glazed doughnut.
 
pietvo's Avatar
 
Posts: 500
Karma: 8718
Join Date: Aug 2009
Location: Cochabamba, BO
Device: Onyx Boox 60, iPod Touch
Quote:
Originally Posted by Toxaris View Post
Of course I can, but that is not the point. I really think that items like <em>, <strong> are misused. They should be used for structure, not layout.
Right, and CSS should be used for layout. So what's the problem? The structure here is "different kinds of emphasis".
pietvo 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
Unutterably Silly jbcohen Lounge 4 11-27-2010 12:04 AM
The Silly Things We Do kazbates Lounge 60 03-07-2010 04:49 AM
May be a silly question...but... mdibella Sony Reader 5 12-11-2009 11:01 AM
Unutterably Silly Silly duck!! RickyMaveety Lounge 7 07-06-2009 02:40 PM
What they really wanted to say....(utterly silly silly silly) GeoffC Lounge 27 05-25-2008 02:17 PM


All times are GMT -4. The time now is 01:21 PM.


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