Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 02-28-2015, 12:27 AM   #31
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,509
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
In the ongoing goal of using at much from the style sheet as you can, I see numerous occurences of
Code:
<p class="center" style="margin-top: 1em; margin-bottom: 1em">* * *</p>
as a break.

Why not add a new class and then just code
Code:
<p class="break" >* * *</p>
(after adding
Code:
.break {
  text-align: center;
  margin-top: 1em; 
  margin-bottom: 1em
}
to the stylesheet of course).

The whole idea is to try to separate the text itself from as much markup as possible.

Last edited by PeterT; 02-28-2015 at 12:30 AM.
PeterT is offline   Reply With Quote
Old 02-28-2015, 11:47 AM   #32
saguay
Enthusiast
saguay began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Feb 2015
Device: SIGIL
Thank you !
saguay is offline   Reply With Quote
Advert
Old 02-28-2015, 11:54 PM   #33
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by PeterT View Post
In the ongoing goal of using at much from the style sheet as you can, I see numerous occurences of
Code:
<p class="center" style="margin-top: 1em; margin-bottom: 1em">* * *</p>
as a break.

Why not add a new class and then just code
Code:
<p class="break" >* * *</p>
(after adding
Code:
.break {
  text-align: center;
  margin-top: 1em; 
  margin-bottom: 1em
}
to the stylesheet of course).

The whole idea is to try to separate the text itself from as much markup as possible.
Amen to that! But I use:

Code:
.scenebreak {
  text-align: center;
  text-indent: 0%;
  margin: 1em;
}
Text-indent can be and is in my case set on the p tag, and then ends up all crooked.
eschwartz is offline   Reply With Quote
Old 03-01-2015, 02:31 AM   #34
jbacelar
Interested in the matter
jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.
 
jbacelar's Avatar
 
Posts: 421
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook InkPad 3
Talking

Quote:
Originally Posted by eschwartz View Post
Text-indent can be and is in my case set on the p tag, and then ends up all crooked.
Me too.
jbacelar is offline   Reply With Quote
Old 03-01-2015, 02:16 PM   #35
saguay
Enthusiast
saguay began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Feb 2015
Device: SIGIL
Thank you very much.
saguay is offline   Reply With Quote
Advert
Old 03-01-2015, 02:23 PM   #36
saguay
Enthusiast
saguay began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Feb 2015
Device: SIGIL
The final product with your help is here : manuscritdepot.com/doc-transfert/epub_jocelyn_malo_011.epub

Do you know how I can add security to block any modification of this ePub ?
saguay is offline   Reply With Quote
Old 03-01-2015, 02:52 PM   #37
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,509
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Unfortunately unless you sell via a reseller and have DRM enabled nothing you can do.

Even with DRM in place it's easy to remove that protection.
PeterT is offline   Reply With Quote
Old 03-01-2015, 03:00 PM   #38
saguay
Enthusiast
saguay began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Feb 2015
Device: SIGIL
I dont sell with a reseller. I dont want DRM. I just want a protection to block any modification by readers, like I use to do with PDF.
saguay is offline   Reply With Quote
Old 03-01-2015, 03:20 PM   #39
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: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
That is not possible. It is also not possible with PDF btw, since that can easily enough be circumvented.
Toxaris is offline   Reply With Quote
Old 03-01-2015, 03:35 PM   #40
saguay
Enthusiast
saguay began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Feb 2015
Device: SIGIL
Every thing can be circumvented. But when you force people to do it it's better than no protection at all. Thank you for your help.
saguay is offline   Reply With Quote
Old 03-01-2015, 05:18 PM   #41
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
What precisely are you protecting against, and why is it different from DRM?

Also -- it is debatable if forcing people to circumvent protection is better than not having protection -- many of the biggest readers tend to be more knowledgeable and/or members here, and some hold it against the author/publisher if there is DRM.
And by the time a book is being distributed via illegal channels, there is by definition no DRM anymore.

Last edited by eschwartz; 03-01-2015 at 05:22 PM.
eschwartz is offline   Reply With Quote
Old 03-01-2015, 07:22 PM   #42
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
dgatwood's Avatar
 
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Quote:
Originally Posted by PeterT View Post
In the ongoing goal of using at much from the style sheet as you can, I see numerous occurences of
Code:
<p class="center" style="margin-top: 1em; margin-bottom: 1em">* * *</p>
as a break.

Why not add a new class and then just code [code]<p class="break" >* * *</p>
Or if you really want to go all the way:

Code:
<div class="section">Entire section contents go here.</div>
and then add:

Code:
.section + .section::before {
  display: block;
  text-align: center;
  margin-top: 1em; 
  margin-bottom: 1em;
  content: "* * *";
}


Unless, of course, you're also targeting Kindle, in which case kindlegen will barf when producing the MOBI content. Once again, the lowest of lowest common denominators ruins things for everybody.... *sigh*
dgatwood is offline   Reply With Quote
Old 03-01-2015, 07:25 PM   #43
saguay
Enthusiast
saguay began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Feb 2015
Device: SIGIL
Thank you.
saguay is offline   Reply With Quote
Old 03-01-2015, 07:29 PM   #44
saguay
Enthusiast
saguay began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Feb 2015
Device: SIGIL
It's a great experience that I have to live with you on this forum. Thank you all. I remain open to your comments.
saguay is offline   Reply With Quote
Old 03-01-2015, 07:30 PM   #45
saguay
Enthusiast
saguay began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Feb 2015
Device: SIGIL
My english is not so good. I hope you understanf I am happy !
saguay is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A SIMPLE SOLUTION TO AMERICA'S WEIGHT PROBLEM: Banish Belly and Lose Weight in 5 DrDln Self-Promotions by Authors and Publishers 0 05-20-2011 12:29 AM
PRS-650 Weight of covers StanByk Sony Reader 7 09-29-2010 02:16 PM
Overdrive throwing weight behind epub tech_au News 27 02-28-2009 03:12 PM
WEIGHT pbananth Which one should I buy? 20 04-04-2008 01:31 PM


All times are GMT -4. The time now is 12:41 PM.


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