Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 01:41 PM   #1
foosion
Addict
foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.
 
Posts: 289
Karma: 36772
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
_=""

An ebook I'm editing has some images that I wanted to be smaller. I added a width style:

Code:
<img style="width: 60%" src="images/xyz.jpg" alt=""/>
Calibre's editor flagged this and, when asked, auto-corrected to

Code:
<img style="width: 60%" _="" src="images/xyz.jpg" alt=""/>
My search skills are not adequate to find _="". Please explain the change.
foosion is offline   Reply With Quote
Old Today, 02:32 PM   #2
theducks
Well trained by 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: 30,326
Karma: 58000000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I suspect this is just a glitch because of the order of attributes
You might try a ; after 60%
theducks is offline   Reply With Quote
Advert
Old Today, 02:46 PM   #3
foosion
Addict
foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.
 
Posts: 289
Karma: 36772
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
You're right. Must be more careful.

foosion is offline   Reply With Quote
Old Today, 04:53 PM   #4
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 742
Karma: 1077122
Join Date: Sep 2013
Device: Kobo Forma
If you haven't run across it already, a good place to learn and experiment with regex is:
https://regex101.com/
enuddleyarbl is offline   Reply With Quote
Old Today, 05:27 PM   #5
foosion
Addict
foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.
 
Posts: 289
Karma: 36772
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Quote:
Originally Posted by enuddleyarbl View Post
If you haven't run across it already, a good place to learn and experiment with regex is:
https://regex101.com/
Alas, I'm familiar enough with regex to appreciate the old quote, "Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems."

The meaning of _="" in a CSS file continues to elude.
foosion is offline   Reply With Quote
Advert
Old Today, 05:54 PM   #6
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 39,142
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
May I ask if you post what the original code was that triggered this issue? I tried to generate a similar ePub (both 2 and 3) using the code you posted and did not get the oddity you showed either using calibre's ebook-editor or Sigil.
Attached Thumbnails
Click image for larger version

Name:	screencap_2024-09-10_144707.png
Views:	5
Size:	94.1 KB
ID:	210738  
DNSB is online now   Reply With Quote
Old Today, 06:18 PM   #7
foosion
Addict
foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.foosion can successfully navigate the Paris bus system.
 
Posts: 289
Karma: 36772
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Quote:
Originally Posted by DNSB View Post
May I ask if you post what the original code was that triggered this issue? I tried to generate a similar ePub (both 2 and 3) using the code you posted and did not get the oddity you showed either using calibre's ebook-editor or Sigil.
I'm sorry to say I haven't been able to recreate it. I heavily edited the ebook in many steps before and after adding the 60%. To give an indication of the initial file:

Code:
      <div class="inline-image inline-image-size-medium inline-image-flow-center inline-image-flow-within-text inline-image-aspect-wide inline-image-without-caption inline-image-begins-section inline-image-before-element-end">

        <div class="inline-image-container">

          <img src="images/chapno-1.jpg" alt=""/>

        </div>

      </div>
foosion is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pressing "Restore Defaults" under "Book Details" wipes all "Look & Feel" settings. MarjaE Library Management 1 03-30-2021 11:46 AM


All times are GMT -4. The time now is 06:27 PM.


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