Kindle Previewerを使ってみる
いきなりKindle Previewerが起動しなくてどうしようかと思ったが/Applications/Kindle\ Previewer.app/Contents/MacOS/Kindle\ Previewerにexport JAVA_HOME=`/usr/libexec/java_home -v 1.6`を書き足したら無事起動するようになった。
ref. http://d.hatena.ne.jp/takahashim/20130318/p1
で「警告があります」といわれるけども肝心の警告が化けている。どうしようかと思ったが、結局のところ中途半端に日本語対応されているのが問題で、しかも日本語を選択するところはなかったからOSの設定を見ているに違いない、と思ってOSの言語設定を変更。
ふむふむ、CSSがないとかカバーページがないとか、ページマップがないとか怒られてるのね。どう解決するのかはぼちぼち調べよう。
************************************************************* Amazon kindlegen(MAC OSX) V2.8 build 0208-797bf75 A command line e-book compiler Copyright Amazon.com and its Affiliates 2013 ************************************************************* Info:I9026:option: (hidden) amazon creator tool or pipeline Info:I9014:option: -verbose: Verbose output Info(prcgen):I1048: Unpacking ePub file Info(prcgen):I1047: Added metadata dc:Title "ReVIEWの実験" Info(prcgen):I1047: Added metadata dc:Creator "西尾泰和" Info(prcgen):I1002: Parsing files 0000003 Info(prcgen):I1003: Parsing file URL: sample.html Info(prcgen):I1003: Parsing file URL: top.html Info(prcgen):I1003: Parsing file URL: sample.re.html Info(cssparser):I10005: CSS file not found "/var/folders/qm/9vp90by552x47w125blqd7z40000gn/T/mobi-QtsH7f/OEBPS/sample.css" Info(prcgen):I1015: Building PRC file Info(prcgen):I1006: Resolving hyperlinks Info(prcgen):I1010: Writing hyperlinks Info(prcgen):I1049: Building table of content URL: /var/folders/qm/9vp90by552x47w125blqd7z40000gn/T/mobi-QtsH7f/OEBPS/sample.ncx Warning(prcgen):W14016: Cover not specified Info(prcgen):I1014: Converting and merging media file "/tmp/mbt-xHI5he7DD_4_3_15_3B_26_1B7_16C82_ACB252C0_6" Info(pagemap):I8000: No Page map found in the book Info(prcgen/inflections):I1012: Compiling inflections Info(prcgen):I1019: Building index into record 0000000 Index name: $NCX Info(prcgen):I1026: Unicode index using utf-8 encoding 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: Hiragana [3040..309F] Info(prcgen):I1046: Found UNICODE range: CJK Unified Ideographs [4E00..9FFF] Info(prcgen):I1046: Found UNICODE range: Chinese, Japanese, and Korean (CJK) Symbols and Punctuation [3000..303F] Info(prcgen):I1046: Found UNICODE range: Halfwidth and Fullwidth Forms [FF00..FFEF] Info(prcgen):I1046: Found UNICODE range: Katakana [30A0..30FF] Info(prcgen):I1017: Building PRC file, record count: 0000001 Info(prcgen):I1018: Building PRC file record 0000000 Info(prcgen):I1044: Uncompressed record size: 0004096 Info(prcgen):I2001: Final stats - TEXT: 000000755 bytes 000000001 records Info(prcgen):I2002: Final stats - PICTURES: 000000000 bytes 000000000 records Info(prcgen):I2003: Final stats - INDEXES: 000000552 bytes 000000003 records Info(prcgen):I2004: Final stats - TRAILING: 000000005 bytes 000000001 records Info(prcgen):I2005: Final stats - FRAMES: 000000088 bytes 000000002 records Info(prcgen):I2006: Final stats - OTHER: 000018632 bytes 000000005 records Info(prcgen):I2007: Final stats - TOTAL: 000020032 bytes 000000011 records Info(prcgen):I1039: Final stats - text compressed to (in % of original size): 51.78% Info(prcgen):I1040: The document identifier is: "ReVIEWWDB" 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):I1019: Building index into record 0000000 Index name: $FRAG Info(prcgen):I1019: Building index into record 0000003 Index name: $SKEL Info(prcgen):I1019: Building index into record 0000005 Index name: $GUIDE Info(prcgen):I1019: Building index into record 0000008 Index name: $NCX Info(prcgen):I1029: The default lookup index is: "$FRAG" Info(prcgen):I2001: Final stats - TEXT: 000001358 bytes 000000001 records Info(prcgen):I2003: Final stats - INDEXES: 000002120 bytes 000000011 records Info(prcgen):I2005: Final stats - FRAMES: 000000116 bytes 000000003 records Info(prcgen):I2006: Final stats - OTHER: 000008765 bytes 000000003 records Info(prcgen):I2007: Final stats - TOTAL: 000012364 bytes 000000018 records Info(prcgen):I1039: Final stats - text compressed to (in % of original size): 44.32% Info(prcgen):I1041: The file format version is V8 Info(prcgen):I1032: PRC built successfully Info(prcgen):I15000: Approximate Standard Mobi Deliverable file size : 0000014KB Info(prcgen):I15001: Approximate KF8 Deliverable file size : 0000016KB Info(prcgen):I1037: Mobi file built with WARNINGS!