Originally Posted by Grzanka
Thank you also for pointing out the syntax errors. However, my question is - why does it work on Kindle Previewer but not on my Kindle Touch?
You've left out too much information to begin to solve the riddle. Questions:
- What version of Kindle Previewer are you using?
- What device(s) have you set in Kindle Previewer when you did the test?
- What version of Kindle for PC did you test in?
- What firmware version is on your Kindle Touch?
You should be using the newest version of Kindle Previewer, currently version 2.4. Also, in Kindle Previewer you should always test in both the "Kindle" and Kindle Fire" modes (if there is no Kindle Fire mode you have an old version of Previewer).
The current version of Previewer builds a dual format MOBI file. One partition is Classic MOBI and the other is the new KF8 format. The Kindle Fire and the current version of the Kindle for ?? apps all read the KF8 partition when available. If you haven't change its prefs, the Kindle Previewer will default to the Kindle Fire mode and thus preview only the KF8 partition. You Kindle Touch is an unknown. The original firmware only read Classic MOBI while the newest firmware (5.1.0) reads the KF8 partition if available.
If your MOBI file has a faulty Classic MOBI partition and a viable KF8 partition it will read fine in the current Kindle for PC and current Kindle Previewer is default mode but would fail on a Touch if it hasn't had its firmware upgraded. It's also possible that you've upgraded your Touch and your file's KF8 partition is exposing a flaw in the 5.1.0 firmware in the Touch or in both the Previewer's Fire mode and Kindle for PC ( riding over the flaw or reverting to the Classic MOBI partition when the KF8 flaw is encountered; this would be a flaw in a test app like Previewer but desirable behavior in a real world reader like Kindle for PC).