Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [html]

HyperText Markup Language - a group of markup languages created primarily to facilitate displaying rich-formatted content on the web.

1
vote
0answers
31 views

xpath in the calibre editor

Abstract In some search operations in calibre one can use an xpath expression to get the values for particular tags, i.e. the following expression: //h:div[re:test(@class, "figbox", "i")] selects ...
1
vote
0answers
33 views

Return links for Table of Contents list and in-book headings

I'm using Notepad++ to format my first novel in HTML before converting it to MOBI and/or ePUB. I've done the code to make the items on my Table of Contents into live links and they all take me to ...
1
vote
0answers
42 views

Why are epub .xhtml files saved as .html?

Why are ePub content files, which (as I understand) are to be interpreted as XHTML, saved with a .html file extension? I realize that they are interpreted correctly by readers in accordance with their ...
2
votes
2answers
103 views

ePub converter that saves in HTML5?

Does anyone have an ePub converter that actually saves in HTML5? I have tried Kotobee Author and Calibre but they save in HTML 4/XHTML. An update of the Mozilla Composer/SeaMonkey IDE (Internet ...
1
vote
0answers
386 views

How to split an EPUB into multiple files of one chapter if each chapter consists multiple html pages?

To separate an EPUB file to multiple file, I need to find all <h2 and replace them with <hr class="sigil_split_marker" /><h2. However, each element of a chapter is consisted in its own ...
3
votes
2answers
580 views

How to convert a html ebook to a pdf file?

Is there some program which can convert a html ebook (consisting of many html files located under different directories and linked to each other) to a pdf file? For example, some shell scripting (e.g. ...
3
votes
1answer
84 views

Move image to top of the page (like LaTeX’s \begin{figure}[t])

Before I start, let me be clear about what I’m not trying to do: I’m not trying to keep particular text on the same page as an image. I’m not trying to force a page break before an image. That said, ...
1
vote
0answers
50 views

Selectively Pull HTML website book with ToC Links in Frames into an Epub? excluding library links & other books

This is related, but has some issues in working. How can I convert an HTML site into an ebook? Top > Website Menu Left Frame > Table of Contents (Multi Level Nested Tree with JScript I think) ...
2
votes
2answers
255 views

Paragraph margins: CSS vs br tags

I'm formating my fiction ebook using Sigil. For clarity between scenes/POV changes/scene breaks etc, I need to have certain margins between paragraphs. I decided I need three types of margins: short-...
5
votes
6answers
459 views

How can I create an ebook from existing HTML files?

I will be writing software that allows me to select stretching exercises, put them in order, and then create an ebook, one per page, and then use it on my kindle. I was hoping that my software could ...
1
vote
2answers
99 views

How can I highlight visited anchors in an epub?

Suppose I insert the following anchor in an epub... <span id="horse"></span>The first horses in America . . . Then I insert a link in the index... Horse, in America, <a href="..Text/...
2
votes
2answers
103 views

How to alternate row colors of tables in ePub files

Can anyone tell me how to create tables with alternating row colors in an epub? For example, I might want the default background color to be white, but every other row would have a light blue ...
5
votes
2answers
881 views

How can I prevent a widowed/orphaned header?

I have a chapter that has brief information for each of the 50 states. Each section begins with a state's name in a h4 tag. When I preview my book, I sometimes see a header resting on the bottom of a ...
1
vote
0answers
65 views

Internal Links Between InDesign Documents Don't Work

First, a little background: I created a series of documents, each one representing a chapter in my book. Then I created a book and imported all the documents into it. It seems to be working OK; when I ...
1
vote
2answers
444 views

Can I use bold and italics tags?

I'm new to epubs; I'm wading through the InDesign tutorials and will then have to learn how to work with iBooks Author (and perhaps Sigil as well). Anyway, I ran into an unexpected snag in InDesign: ...
2
votes
1answer
197 views

Importing XHTML Files into InDesign

I just watched a series of InDesign tutorials on Lynda.com. It looks relatively simple, but one thing I'm hung up on is importing content. I created my book as a website in Dreamweaver, so I could ...
4
votes
1answer
127 views

Table headings that may repeat for several “pages”

I'm writing with Sigil an ebook with several tables, different sizes and extensions. Is there a code in HTML or CSS to have table headings row to repeat thru several "pages" (depending on how big is ...
1
vote
3answers
398 views

section numbers in epub headings

I want to display chapter and section headings in an epub file (epub version 3.0) so that the titles preceded by the corresponding section numbers. Currently I am explicitly writing the section ...
1
vote
0answers
119 views

How can I read local html files on my 1st Edition Nook?

I know that the 1st Edition Nook (OS version 1.7) does not have the capability to read .html files via the ebook reader. However, it seems to be able to read local .html files from the browser. I know ...
8
votes
1answer
3k views

Any opensource or free css stylesheets for books?

I am creating epub using sigil. Every book has almost (if not all) same elements: Headings, paragraphs, images, tables, quotes, boxes, notes, footnotes, references, bibliography etc. I don't have a ...
1
vote
1answer
120 views

Resize readium document if content body has changed

I have an interactive ebook that hides answers from the learner until he/she clicks a Show button. The show function then toggles an div element between display:none and display:block. All answers ...
5
votes
2answers
313 views

Is it possible to create anchors in the numbers of an <ol> list?

I need a clarification regarding the link creation for <ol> list in the HTML page. Here is the example code for reference. <ol> <li>test</li> <li>test</li> </...
1
vote
1answer
690 views

Parsing an epub file and displaying its contents on a website?

I want to show my epub files on my site, so I'm thinking of creating my own reader in PHP. First I need to know how to read this file type. Can I show the HTML files that are in the epub directly in ...
6
votes
4answers
271 views

Software recommendation for writing ebook and exporting to multiple formats

I am thinking about writing and/publishing an ebook with the following in mind: It will contain code (needs proper formatting) I should be able to publish PDF and EPUB versions I might need to have ...
1
vote
0answers
339 views

writing inline footnotes for html to mobi conversion using calibre

I'm generating html code that I convert to .mobi format using Calibre. I have implemented endnotes with backlinks as follows: text.html: this is some text <a id="footnote1" href='footnotes/1....
5
votes
2answers
50 views

Efficient way to colour code text?

For the purposes of learning Chinese, I want to write every character in a short novel in a colour that corresponds to its tone (pronunciation thing). The book is an epub, and I've been doing the html ...
4
votes
1answer
199 views

How do you make paragraphs break in iBooks or Nook?

I have just finished the long and arduous task of typesetting a book using quarkXpress2015. While everything is beautiful on-screen and as a PDF, things get ugly when exporting as ePub for ebooks. I'...
4
votes
3answers
1k views

Join broken paragraphs Regex Sigil

I'm trying to edit some xhtml on Sigil. With the command "<p>([a-z]) I'm able to find all paragraphs that begin with lower case. That tells me that they shouldn't be separate from the previous ...
1
vote
3answers
271 views

How to find duplicate IDs in epub?

Chapter_1.xhtml: <div id="ch1_sec1"> <h1 id="level1">Section 1</h1> <p id="p1">paragraph1, see <a href="Chapter_1.xhtml#f1">fig 1</a></p> <figure id="f1"&...
5
votes
4answers
479 views

How to hide/delete/ignore a specfic span type

I am generating HTML output for ePub from LaTeX source. But, am having difficulty eliminating the "Chapter " at the start of each chapter. So, wondering if there is an easy way to tell the HTML ...
5
votes
1answer
154 views

Using the same javascript library several times in an ebook

I would like to develop responsive ebooks, and lucky me I found that iBook Author allows to include javascript in the books. This works through inserting the HTML widget in a small box to the text. ...
1
vote
1answer
1k views

Why does the text in my aside display in my ebook?

I'm trying to use the pop-up footnotes for that are now supported by iBooks see here. I can get the pop ups to work and it has the text that I want, but for some reason the text in the aside is also ...
3
votes
2answers
1k views

How to convert an HTML5 and JQuery featured E-book to an Executable file(exe), having inbuilt browser?

I want to distribute the e-book content, which has some HTML5 and Jquery features, securely by converting the whole HTML package into an EXE. Does any HTML Compiling software exists which has its own ...
7
votes
1answer
476 views

How can I toggle text reliably across all ereaders in an epub file?

I'm trying to make a multilingual ebook where I have two different translations of the same story. I'm trying to get it so that you can toggle the language by clicking on individual paragraphs. I ...
7
votes
1answer
237 views

What design patterns exist for responsive web design of ebooks?

What design patterns, best practice etc. exist for responsive web design of ebooks? I am creating an ebook with HTML5/CSS3/JavaScript that should be readable well at different devices (browser, tabled,...
6
votes
1answer
88 views

CircularFLO doesn't apply styles for live text

I do conversion with CircularFLO from .indd to .epub. The problem is that live text doesn't pick up styles. I have live text in my document but it is always Times New Roman. What am I missing? See ...
7
votes
3answers
1k views

Is there a detailed guide for creating an ebook for Kindle in HTML/CSS

I want to be able to create an ebook on my own for Kindle. I want to do this in HTML, and then later use KindleGen and KindlePreviewer for generating a .mobi file and previewing. I've looked around ...
8
votes
1answer
794 views

custom bullets html ebook kindle

I am creating an ebook for Amazon's Kindle in HTML, and then later use KindleGen to convert it into the Kindle's MOBI version. The problem I am currently having is with custom bullets for nested ...
14
votes
1answer
2k views

what does the v5.0 in the name of an e-book file stand for?

I have seen various e-books on the Internet that have a (v5.0) in the name e.g. Charles Darwin - On the Origin of Species (v5.0).epub Initially I thought this had to with the version 5 of the ...
11
votes
2answers
4k views

Can custom fonts be embedded in mobi or epub books targeting eink readers?

Assuming that I am targeting non-tablet eBook readers such as Kindle and nook, is it possible to layout a book with some text in the default font of the device and some paragraphs in a special font ...
4
votes
3answers
2k views

Epub cover does not display properly in Kobo app

I formatted an epub for an indie author. The author tells me that the cover displays properly on the Kindle and the Nook; I checked it in ADE and Calibre. It passed the IDPF epub validator. However, ...
8
votes
1answer
453 views

More than one chapter div in one epub file?

A self-publishing author started his book with two epigraphs and a prologue. I originally formatted this as one file, putting the epigraphs at the top of the page (separated by blank lines). The ...
10
votes
2answers
291 views

When it is better to use plain HTML instead of CSS?

I published a book which contains some (simple) math formulas, like axn+bxn−1+ … + hx + k = 0. Such formulas may be displayed just with (X)HTML, as you may see. However, some friends of mine ...
6
votes
1answer
792 views

Avoid additional styling of images in html made by Calibre viewer

Under Ubuntu 12.04 I converted with Calibre an html source to epub format, but when I read the resulting epub with Calibre I noticed (using the 'inspect' command of Calibre viewer) that images get ...
5
votes
1answer
120 views

Embed a CDF file into an EPUB 3

Can a Wolfram Computable Document Format (CDF) file be embedded in an EPUB 3 container? If not, is it possible to convert the CDF to HTML5 and then embed it?
8
votes
1answer
77 views

Are there ways to easily convert chapter-split books from popular fan-fiction sites into single e-book?

Are there ways to easily convert chapter-split books from popular fan-fiction sites into single e-book? Of course, one can either manually download every one of 50+ chapters of a large fic by hand ...
48
votes
7answers
24k views

How can I convert an HTML site into an ebook?

I'd like to create a .mobi file from a website like the Python Tutorial, to read on my Kindle. Is it possible to do it on Ubuntu?