View Single Post
Old 11-14-2014, 12:26 AM   #1
Johann Cat
Member
Johann Cat began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Nov 2014
Device: Kobo Aura HD; Kindle III; Kindle PWII; Boyue T62D; Onyx Boox i86
Removing Italics from an epub

I recently downloaded an epub book from Gutenberg--
a book of poems by Poe. The poems are in italics, which is
both goofy looking and incorrect. However, I can't detect what portion
of CSS or HTML is creating the italics. It isn't as simple as the
text block of the poem being <i> coded.

In the editor before each poem is code like this:

</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link href="../stylesheet.css" rel="stylesheet" type="text/css"/>
<link href="../page_styles3.css" rel="stylesheet" type="text/css"/>
</head>
<body class="calibre2">
<h2 class="calibre8" id="calibre_pb_60">
THE LAKE —— TO——
</h2>
<pre xml:space="preserve" class="calibre3">

The poem (in this case, "The Lake") that follows will be in italics.
Experimenting, I removed this code and, lo, the itals disappeared, but
while the poem looked fine in the editor,
on my epub reader (a Kobo Aura HD), the text of the poem had vanished!

So, two questions: is there a style sheet code somewhere in this
book that is forcing the itals--how could I edit that?
is there some "extra CSS" instruction I could use to just strip the book
(or better yet, a portion of it) of italics?

I am an amateur at code writing/ reading, so pardon the
basic quality of this query.

Johann
Johann Cat is offline   Reply With Quote