Questions tagged [html]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

Can I include images with a src of “data:..” in a Kindle book created in HTML, and if so, are there restrictions?

I'd like to include images in HTML source for a Kindle book. Is a data URL image kosher for Amazon? Are there any restrictions on e.g. length? Thanks,
2
votes
1answer
634 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....
4
votes
1answer
244 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'...
3
votes
3answers
466 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 ...
6
votes
1answer
101 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 ...
0
votes
1answer
20 views

Hash (#) in filename loses chapter information when converted with calibre

I use calibre's ebook-convert to convert HTML files into MOBI files. I have found that if the HTML filename contains a hash-sign (#), then the "chapter structure" of the generated MOBI file is broken. ...
0
votes
0answers
57 views

How can I save archived 4chan threads to read on my Kindle Oasis?

I want to read a bunch of old 4chan threads on my Kindle Oasis, reading with the experimental browser is an uncomfortable experience, and every time I've tried to save threads on my computer and ...
1
vote
0answers
25 views

How to send a long web page to a Kindle device?

What's the simplest solution to send a long web page to a Kindle device? Normally I use five filters, but it sometimes barfs. In this case I'm guessing it's simply the size of the page. I'm ...
0
votes
0answers
39 views

How to hide video player controls/progress bar at bottom in Epub?

I am working on an ebook with video. It is being designed in InDesign. It is an art book and the video is full-page, and set to autoplay. Destination is primarily the iPad and Mac. The problem is ...
0
votes
1answer
62 views

how to convert a wikibook to e-pub or mobi?

Not strictly a Kindle question, e-pub would work. PDF isn't suitable. How can I get a wikibook, in full, on my Kindle? Kindle support I know it's been a bit of time, but maybe it's time to ...
0
votes
0answers
148 views

how to use “create a book” from wikibooks?

I only see: Print/export Create a collection Download as PDF Printable version whereas I'm looking for: The wikibooks documentation is certainly thorough: Formats How to convert to popular ...
1
vote
3answers
950 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: ...
1
vote
0answers
77 views

Automating <a href=“”> Links (EPUB, HTML)

EDIT: Disregard this question, I solved it using regular expressions (I thought they wouldn't work in this scenario but they did) I'm working on a translation of a text which is divided into short, ...
3
votes
1answer
95 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
3answers
629 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
109 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
125 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 ...
5
votes
6answers
2k 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 ...
64
votes
7answers
39k 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?
0
votes
0answers
367 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
0answers
867 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 ...
5
votes
2answers
816 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> </...
3
votes
2answers
2k 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. ...
1
vote
0answers
79 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) ...
5
votes
1answer
171 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. ...
2
votes
2answers
464 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-...
1
vote
2answers
172 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
167 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 ...
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 ...
5
votes
2answers
2k 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 ...
3
votes
1answer
343 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 ...
1
vote
0answers
103 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 ...
4
votes
1answer
233 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
0answers
153 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 ...
6
votes
4answers
303 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 ...
9
votes
1answer
5k 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
152 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 ...
1
vote
1answer
1k 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 ...
1
vote
3answers
346 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
2answers
53 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 ...
14
votes
1answer
3k 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 ...
8
votes
1answer
632 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 ...
5
votes
4answers
1k 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 ...
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
2k 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
245 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,...
7
votes
3answers
2k 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 ...
9
votes
1answer
981 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 ...
8
votes
1answer
540 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 ...
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 ...