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 02-18-2021, 10:30 AM   #1
handictra
Junior Member
handictra began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2019
Device: Kindle Paperwhite
Question double quotes are shown as &quot

In my editor of Calibre 5.11 is in the content.opf in l.17 shown the attribute &quot.

Why does it not show it as double quote & why is l.17 not shown in notepad after I extracted epub with 7zip?
handictra is offline   Reply With Quote
Old 02-18-2021, 11:43 AM   #2
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: 36,543
Karma: 146059340
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
What are you trying to read a file that is intended for machine use?

You will also find in the dc:description block, that the < and > are also shown as named entities (along with ', & and "). These are the 5 named entities that XML, HTML5 and epub3 allow.

So instead of <div>, you would see & lt ;div& gt ; as an example.

And what is " l.17"? Line #17?

Last edited by DNSB; 02-18-2021 at 11:46 AM.
DNSB is online now   Reply With Quote
Advert
Old 02-20-2021, 08:10 AM   #3
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,581
Karma: 87456643
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
OTOH proper double quotes are “ and ” but don't work where a tag uses ".

^^^ what DNSB says. Depends what file you look at and if the double quote is inside or outside a tag. The < and > obviously always have to be replaced by entities in html files when they are not tags but text.
Quoth is offline   Reply With Quote
Old 02-22-2021, 05:39 AM   #4
handictra
Junior Member
handictra began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2019
Device: Kindle Paperwhite
Ah thanks.
Yes, I mean line 17. Why can't I view the line 17 in Calibre, but get it shown in notepad?
handictra is offline   Reply With Quote
Old 02-22-2021, 10:24 AM   #5
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: 29,950
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by handictra View Post
Ah thanks.
Yes, I mean line 17. Why can't I view the line 17 in Calibre, but get it shown in notepad?
Notepad? Not Notepad++ (a friendly code editor)?
Calibre EDITOR has no problem displaying line 1 onward.

NOTE Code lines are counted without wraps (Calibre does not show line numbers on wrapped lines.
theducks is offline   Reply With Quote
Advert
Reply

Tags
calibre 5.11, content.opf, double quote, editor, epub


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change single quotes to double quotes Elfwreck Workshop 16 04-26-2013 10:06 AM
MS Word Find & Replace and "Smart" quotes question. Ahu Lee Workshop 1 01-14-2013 11:02 AM
Orphaned end double quotes AlexBell Workshop 2 09-07-2011 07:33 AM
Single quotes to double quotes? lunixer General Discussions 35 10-10-2010 05:47 AM
Dealing with double quotes " in URL kinurev Recipes 6 10-03-2010 09:57 AM


All times are GMT -4. The time now is 10:30 PM.


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