2020年7月28日 星期二

[3C] Kindle 相關資源

先是如何移除 kindle 的廣告

衛斯理的開箱Buy+分享: 教你如何關閉Kindle的廣告(remove the special offers)

這我自己實作過,的確可以
這裡簡單紀錄一下 (以下引用自上述網址)

執行步驟:
1. 申請註冊美國亞馬遜Amazon的帳號,登錄Kindle設備(已經申請好的可以跳過這步驟)
進入Amazon的帳號中的"Manage Your Content and Devices"

 在"Settings"中確認一下地區設定要設為Taiwan

2. 前往Help網頁如下: https://www.amazon.com/gp/help/customer/display.html/ref=footer_gw_m_b_he?ie=UTF8&nodeId=508510

進入Contact Us網頁後
What can we help you with? 選擇你的Devices

Tell us more about your issue ? (可任意選擇一下你的問題)

3. 選Chat,進入後跟線上客服說:

Hi Sir,
I live in Taiwan.
Could you help me to remove the special offers from my device for Free ?
Thanks.
原本我是寫 Could I turn off the AD for free ?
然後經過簡單的交談後線上客服人員就會幫你移除廣告。

=============================

源樣、源流、源雲明體:三款改造自思源宋體免費繁體中文字型下載

有點忘了有沒有灌了
不過因為要看直排,有些字體在直排時的標點符號會偏一邊
要試一下

==============================

接下來是轉書的部分

目前來源有兩種
一種是從好讀下載來的 updb 檔
用好讀的程式開以後轉成 txt
然後校對後改成 epub 跟 mobi 檔

參考的是這篇

衛斯理的開箱Buy+分享: 製作與轉換適合Kindle 8中文直書直排之Mobi格式電子書技巧大公開 for Mac

簡單來說

目次用
#
##
###
來分章節

然後丟進 calibre 後
先編輯書本資料
然後轉 epub

轉的時候有兩步驟
一個是樣式要加上以下的 css

body{
-epub-writing-mode: vertical-rl;   /*直式設定 for epub*/
-epub-line-break: normal;          /*斷行設定 for epub*/
-webkit-writing-mode: vertical-rl; /*直式設定*/
-webkit-line-break: normal;        /*斷行設定*/
line-break: strict;                /*斷行設定,參數(normal , auto , strict)*/
writing-mode: vertical-rl;         /*直式設定 for Kindle*/
line-height: 1.2;                  /*控制行間距(可忽略)*/
text-indent: 2em;                  /*首行空兩格*/
margin: 3%;
}

p{
margin: 1.5rem;
}

h2{
margin-left:3rem;
margin-right:3rem;
}

h3{
margin-left:3rem;
margin-right:3rem;
}

還有一個是目錄的地方要用
//h:h1
//h:h2
//h:h3
轉成 epub 後
先確定章節是不是對了
然後轉 mobi
轉之前要先編輯 epub
打開 content.opf
加入

<dc:language>zh-tw</dc:language>
<meta content="vertical-rl" name="primary-writing-mode"/>

以及把 <spine toc="ncx">
換成 <spine page-progression-direction="rtl" toc="ncx">

然後丟進 kindlegen 就可以了

==============================

 另一個是從 kobo 買書 這裡我就不強求改成直排書
主要就是用 calibre 解 drm

在Kindle上直排閱讀於Kobo購買的書籍 – Duen-Ya Yu – Medium