Samstag, 20. November 2010

Djvu to pdf (with cut ability)

Just found a good djvu2pdf converter

http://pd4ml.com/djvu.htm

It is specifically designed for ebook readers
and you can crop the white borders of your djvu file

To install this programm on Linux you need to download the Djvu2pdf.zip on this site for other platforms and goto http://download.eclipse.org/eclipse/downloads/drops/R-3.6.1-201009090800/index.php#SWT and scroll down to download the swt binary and source
extract both archives and put the swt.jar in the Djvu2Pdf/lib from the other archive
To run the programm you have the chmod the run.sh file to 755
chmod 755 run.sh
now you can start ist with
sudo ./run.sh

Now you can load your djvu file into the programm and set the device resolution to 800x600px for the Kindle.
Change the other options as you like and your done.

Mittwoch, 3. November 2010

French dictionary on Kindle

Here is a little howto for converting Stardict dictionaries to a mobi format for Kindle

A great source for dictionaries is this site http://xdxf.revdanica.com/down/index.php

To convert the Stardict Dictionary to a txt file you can use Stardict Editor on http://stardict.sourceforge.net/other.php 
or pyglossary, which will work on Linux or Windows.

Once you have this file, lets name it dictionary.txt, you need tab2opf.py to convert this file into opf format.
Just use the command tab2opf dictionary.txt
The tab2opf programm is a python script, so you need python installed.

In this opf file you have to edit the import and output language specific to your dictionary.

For the last part you need mobigen from mobipocket.com.
Extract it and use the command mobipocket dictionary.opf

In the end you get a mobi file, which you can use on your Kindle.