![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Nov 2022
Device: none
|
How to view the html source code of epub through calibre
Previously, I successfully clicked the button casually, but now I want to click it and forget the path of the function button.
Function introduction: click to view all html texts in epub If you know, please tell me, thank you |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
You have to use the "Edit Book" option.
Open the book and you will see the xhtml, css and other pages |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Nov 2022
Device: none
|
Thank you for your answer, but it is not the "Edit Book" function. There is a function button that can display all the html files in an epub book in a small window, similar to viewing html files in txt format
|
![]() |
![]() |
![]() |
#4 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Make the window as big/small as you want. Keyboard shortcuts BR |
|
![]() |
![]() |
![]() |
#5 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 450
Karma: 3886916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Kobo Forma
|
An epub is a zip archive. Is it possible you at some point had epub files set to "open with" an archive manager? That would give you a texty view of the contents.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Are you thinking of the View, File Browser button/setting available when editing a book?
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Nov 2022
Device: none
|
None of the above functions are what I want.
It took me about two weeks to find it. Which can directly view the epub and combine all the html texts for viewing |
![]() |
![]() |
![]() |
#8 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
|
![]() |
![]() |
![]() |
#9 |
Member
![]() Posts: 10
Karma: 10
Join Date: Dec 2022
Device: ninguno
|
Please, I'm interested, could you share the solution?
|
![]() |
![]() |
![]() |
#10 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
The Editor shows both Code and preview views of each component (viewable text) as well as the CSS and OPF The Editor allows you to add Images, HTML and CSS files I find no valid reason for one huge Monolithic mess. The S&R, spell check features work across all parts (selected by type). You can drag the order of the sections |
|
![]() |
![]() |
![]() |
#11 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,740
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
What the OP wants is a really terrible way to do it and using the editor is the best way to do it.
|
![]() |
![]() |
![]() |
#12 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,211
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Maybe he meant the 'Inspector' (see the attached screenshot). I use the inspector a lot, but mostly inside the Editor. It is useful to find CSS conflicts.
To use it in the Viewer, just press 'Esc' to show the controls, and choose 'Inspector' at the bottom. On the inspector window, you can hover the paragraphs and they are highlighted on the Viewer window. P.S.: It is easier to use it inside the Editor, because the Viewer has a lot of extra HMTL/CSS. The book content is inside '#document'. |
![]() |
![]() |
![]() |
#13 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Nov 2022
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#14 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Nov 2022
Device: none
|
Quote:
And I don't know much about scripting plug-ins At the end of 2023 March, I finally figured out where the function was. Can barely improve the efficiency of their access to HTML source |
|
![]() |
![]() |
![]() |
#15 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,012
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
No, the epub is usually ALREADY separate html files.
Also the HTML without the css file is broken. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre lose code block style on EPUB to HTML conversion phase | mw-b | Conversion | 1 | 11-02-2018 02:56 AM |
Help With Mobi HTML Source Code | JeremyBenson | Kindle Formats | 1 | 02-01-2013 02:59 AM |
Source code for converting html to mobi | Thisiswhatiam | Kindle Formats | 10 | 06-04-2012 02:47 PM |
Viewing the source code for converting html to mobi. | Thisiswhatiam | Development | 3 | 05-23-2012 03:12 PM |
HTML to epub displays munged source code | haven | Conversion | 4 | 03-10-2011 10:08 PM |