addyosmani / addyosmani/backbone-fundamentals

Broken link while building .mobi book

Aberta
#562 4 comentários 0 reações 0 responsáveis Ver no GitHub
confirmed
Linguagem predominante
Rich Text Format
Estrelas
9.2k
Forks
1.4k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Hello Addy!

I tried to compile `.mobi` book from source. I did it, but with one error. I think that problem is in broken link.
### Short answer

```
Warning(prcgen):W14001: Hyperlink not resolved: /tmp/mobi-lIuMsH/ch008.xhtml#marionette
Warning(prcgen):W14002: Some hyperlinks could not be resolved
```
### Full answer

```
$ sudo make mobi
awk 'FNR==1{print ""}{print}' chapters/*.md > 'backbone-fundamentals'.md
pandoc -s 'backbone-fundamentals'.md --normalize --smart -t epub -o 'backbone-fundamentals'.epub \
--epub-metadata build/metadata.xml \
--epub-stylesheet epub.css \
--epub-cover-image img/cover.jpg \
--title-prefix 'Developing Backbone.js Applications' \
--normalize \
--smart \
--toc
# Download: http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000765211
# Symlink bin: ln -s /path/to/kindlegen /usr/local/bin
kindlegen 'backbone-fundamentals'.epub

*************************************************************
Amazon kindlegen(Linux) V2.9 build 0730-890adc2
A command line e-book compiler
Copyright Amazon.com and its Affiliates 2013
*************************************************************

Info(prcgen):I1047: Added metadata dc:Title "Developing Backbone.js Applications"
Info(prcgen):I1047: Added metadata dc:Date "2014-03-07T21:21:20Z"
Info(prcgen):I1047: Added metadata dc:Creator "Addy Osmani"
Info(prcgen):I1047: Added metadata dc:Rights "Creative Commons Attribution Non-Commercial Share Alike 3.0"
Info(cssparser):I10004: @rules other than @import, @charset and @font-face are not supported.
Info(prcgen):I1052: Kindle support cover images but does not support cover HTML. Hence using the cover image specified and suppressing cover HTML in content. URL: /tmp/mobi-lIuMsH/cover.xhtml
Warning(prcgen):W14021: Guide title is empty. Item is ignored
Info(prcgen):I1002: Parsing files 0000022
Info(prcgen):I1015: Building PRC file
Info(prcgen):I1006: Resolving hyperlinks
Warning(prcgen):W14001: Hyperlink not resolved: /tmp/mobi-lIuMsH/ch008.xhtml#marionette
Warning(prcgen):W14002: Some hyperlinks could not be resolved.
Info(prcgen):I1008: Resolving start reading location
Info(prcgen):I1049: Building table of content URL: /tmp/mobi-lIuMsH/toc.ncx
Info(pagemap):I8000: No Page map found in the book
Info(prcgen):I1045: Computing UNICODE ranges used in the book
Info(prcgen):I1046: Found UNICODE range: Basic Latin [20..7E]
Info(prcgen):I1046: Found UNICODE range: General Punctuation - Windows 1252 [2018..201A]
Info(prcgen):I1046: Found UNICODE range: Latin Extended-A [100..17F]
Info(prcgen):I1046: Found UNICODE range: Latin-1 Supplement [A0..FF]
Info(prcgen):I1046: Found UNICODE range: Spacing Modifier Letters [2B0..2FF]
Info(prcgen):I1046: Found UNICODE range: Combining Diacritical Marks [300..36F]
Info(prcgen):I1017: Building PRC file, record count: 0000278
Info(prcgen):I1039: Final stats - text compressed to (in % of original size): 40.86%
Info(prcgen):I1040: The document identifier is: "Developing_B-s_Applications"
Info(prcgen):I1041: The file format version is V6
Info(prcgen):I1031: Saving PRC file
Info(prcgen):I1033: PRC built with WARNINGS!
Info(prcgen):I1016: Building enhanced PRC file
Info(prcgen):I1007: Resolving mediaidlinks
Info(prcgen):I1011: Writing mediaidlinks
Info(prcgen):I1009: Resolving guide items
Info(prcgen):I1017: Building PRC file, record count: 0000299
Info(prcgen):I1039: Final stats - text compressed to (in % of original size): 41.99%
Info(prcgen):I1041: The file format version is V8
Info(prcgen):I15000: Approximate Standard Mobi Deliverable file size : 0003260KB
Info(prcgen):I15001: Approximate KF8 Deliverable file size : 0003317KB
Info(prcgen):I1037: Mobi file built with WARNINGS!
make: *** [mobi] Error 1
```

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.