2013-05-30 13:35:40 +02:00
|
|
|
To create the kindle version:
|
|
|
|
|
|
|
|
* build programs
|
|
|
|
* build pre
|
|
|
|
|
|
|
|
* kindlegen's archive in ~/xfer
|
2015-12-20 14:31:17 +01:00
|
|
|
* do:
|
|
|
|
gd tmp/kindlegen
|
|
|
|
tarx $HOME/xfer/kindlegen_linux_2.6_i386_v2_8.tar.gz
|
2013-05-30 13:35:40 +02:00
|
|
|
|
2015-12-20 14:31:17 +01:00
|
|
|
* xd 2b
|
|
|
|
* createhtml kindle
|
|
|
|
* xd 1h
|
2015-12-19 22:44:35 +01:00
|
|
|
|
2015-12-20 14:31:17 +01:00
|
|
|
* edit ./cplusplus.opf to reflect the latest version, maybe add a new
|
2013-05-30 13:35:40 +02:00
|
|
|
chapter.
|
|
|
|
|
2015-12-20 14:31:17 +01:00
|
|
|
* do:
|
|
|
|
../tmp/kindlegen/kindlegen -gif cplusplus.opf |& tee /tmp/out
|
2014-12-24 21:10:06 +01:00
|
|
|
|
|
|
|
* the new file is cplusplus.mobi
|
2014-01-18 15:03:45 +01:00
|
|
|
|
2013-05-30 13:35:40 +02:00
|
|
|
* Follow the instructions at
|
|
|
|
https://kdp.amazon.com/self-publishing/dashboard
|
2015-12-19 22:44:35 +01:00
|
|
|
|
2015-12-20 14:31:17 +01:00
|
|
|
Select: `Book actions' for uploading the latest version:
|
2015-12-19 22:44:35 +01:00
|
|
|
|
2014-01-18 15:03:45 +01:00
|
|
|
- Click on C++ Annotations
|
|
|
|
- Edit the version
|
|
|
|
- Click Browse to go to the location where the .mobi file is and
|
|
|
|
upload
|
|
|
|
|
2015-12-20 14:31:17 +01:00
|
|
|
Don't forget to tick the accept option and to do `Save and Publish'
|
|
|
|
(even if that was already selected earlier)
|
2013-05-30 13:35:40 +02:00
|
|
|
|
|
|
|
* cd ..
|
|
|
|
* build distclean
|
2015-12-20 14:31:17 +01:00
|
|
|
* rm html/cplusplus.mobi
|
|
|
|
|
2014-01-18 15:03:45 +01:00
|
|
|
|
|
|
|
|
|
|
|
|