Wednesday, April 16, 2008

The Intelligent Village

The following Bulgarian Animation by Donyo Donev explains one of the most common problems in quantum gravity papers for years now. Somebody makes a model. It contradicts a classical fact. It is modified. It breaks something. It gets modified. It is redone again and again for several times. Finally, the initial problem for whose solution the initial assumption was made is forced to be back to the theory. It is back and resolves some post-created problems but yet there exists the main problem there.

Wednesday, April 02, 2008

How to convert jpeg images into eps?

If you use windows to write LaTeX files (by editors like WinEdit etc.) you may feel that it is terribly hard to find an effective way to convert a picture with format jpeg, bmp, etc into the appropriate format of LaTex, which is eps.

If you google it you will get many softwares which are mostly non-free. I tried several of them and faced with funny problems. For instant when you convert a picture in one of them, it does it on its trial version but it stamps (!) the outcome eps picture with a very large signature of their company, which makes the picture useless. Another software convert it with very poor quality in its trial version, etc.

I found two simple way to overcome this problem.

First method:

1- First install GSview and GhostScript from this page on your windows.

2- Download the humble, effective and small software called "jpeg2ps" that let you convert jpeg to eps with acceptable quality (and you can increase its quality manually). jpeg2ps is available from here and many other sites, notably CTAN mirrors.

UPDATE: If you are lost and do not know how to work with jpeg2ps software in Windows, read my jpeg2ps pedagogical helps on it.

Second method:

1- First install GSview and GhostScript from this page on your windows.

2- Install the driver of a Postscript printer (denoted by a "PS" at the end of the printer name. This can be done as follows: Start -> Control Panel -> Printers -> Add printer. Press next a couple of times until you reach the page where you can choose between different manufacturers. Choose a Postscript printer.) I have chosen the printer "Apple Color LW 12/660 PS."

3- Now come back to My Computer and find the picture you want to convert. Right click on it and press Edit, or you Open With - > Paint. If you do not know what Paint is, go to Start -> Accessories -> Paint. Now, File -> Print. Choose the printer you just installed. Tick on "Print to a file." Click on the printer Preferences - > Advanced. Where there is "PostScript Option" in the tree diagram, click on the little + sign next to it such that you see its sub-branches. In the "PosScript Output" change the default which might be Optimized for Speed into "Encapsulated Post Script (EPS)." You also can play with other features and properties to change the quality of the outcome EPS picture. Then OK everything and choose a name for the outcoming file. It will be created at the same foldr as the original file was in.


More information:

How to work with jpeg2ps software in Windows? (Gauge Invariance)