Configuring WinEdt PDFTEXify To Include EPS Graphic
Configuring WinEdt PDFTEXify To Include EPS Graphic
This section is optional, but contains some valuable information for those who want to create PDF les that include Encapsulated PostScript (EPS) Files. These are the industry standard graphics les, which can be created, for example, with Adobe Illustrated. A The TEXify option in WinEdt is a very convenient way to process L TEX A les. Because there may be internal references in a L TEX document, it might A be necessary to run L TEX on a document more than once so that these references A are correct. For example, my Test-JDF.tex le needs L TEX to run twice since it automatically gives page numbers on the right top margin as Page xx of yy A Pages. The rst time L TEX is run, it determines the number of pages in the A test. The second time L TEX is run it adds the correct page number headings to the pages. A The TEXify option (Little Brown Bear) detects how many times L TEX needs to be run and then runs it that many times. Following this, if all is well, it opens A YAP and displays the DVI le. I have used this option when I have run L TEX in class, and suggested it for your own implementation, so by this time you should be familiar with the process, if not the exact details of its workings. A There is also an option called PDFL TEX that creates PDF les instead of DVI les, and then sends these to Adobe Acrobat for viewing. This is useful because PDF les are the industry and government standard, even the IRS les A are PDFs. The procedure is the same as in L TEX it is just that the output is in the more widely used PDF format rather than the DVI format. A However, although I want PDF les as my nal output, PDFL TEX would not work for me. My documents commonly include a lot of graphics, and professional graphics les are commonly in Adobe Encapsulated PostScript (EPS) format. This is an ASCII, that is, person-readable, format and these les are often quite large. They can be converted to the much smaller binary, that is, machine-readable, PDF format by using Adobe Acrobat software (which is not A freeware). PDFL TEX did not recognize EPS graphic les, so for it to be useful all the EPS les had to rst be converted to PDF les. Since my books might contain thousands of graphics les, this is not a minor problem. A I got around the problem by creating my own version of PDFL TEX that took a TeX le, created a DVI le, then created a PostScript (PS) les that included the graphic les, and nally used the Adobe Acrobat software to convert this to a PDF le. This worked, but I was never able to get it to include the multiple A runs of L TEX that makes TEXify so useful. Clearly, it would be useful to have a PDFTEXify option as well that would incorporate the nice features of TEXify but create PDF les as output, and additionally permitted the inclusion of graphics les in EPS format. I contacted the developer of WinEdt, Aleksander Simonic, and told him about my problem, and in this latest version of WinEdt he has included an option to solve this problem. You may never need to include EPS graphics les
in your documents, but if you want to have the option of doing so, here is how. First you need some (free) software, called GhostScript for creating PostScript les. Go to the internet site http://pages.cs.wisc.edu/~ghost/ Click on the line GPL Ghostscript. This should take you to the site http://pages.cs.wisc.edu/~ghost/doc/GPL/index.htm Go to the link http://sourceforge.net/projects/ghostscript/ At that site you will nd a green box that says Download GhostScript. Find the line that says GPL GhostScript 8.70 and click on it. Transfer the le to where ever you like to save download les and run the .EXE le to install GhostScript. Accept the default setting, and note that 40 meg of hard drive space is required. When the installation nishes there will be a window tell you where your personal information is located. You probably dont need to read the Readme le, just exit out of Explorer. Now we need to do a minor conguration in WinEdt and we are done. We need to change PDFTEXify, so go to Options/Execution Mode/TeX Output Then change PDFTEXify Output to the last entry, that is, to tex -> ps -> pdf (dvips + Ghostscript) and click OK. Now if you run using the the Brown Bear with the Adobe symbol in the background it will Close the current PDF le if it is open.
A Run L TEX as many times as it needs in order to get all the references correct,
Create the DVI le from the TeX le, Create a PS (PostScript) le from the DVI le, Convert the PS le to a PDF le, converting both text and graphics, Save the PDF le in the directory with the TEX le, Open the PDF le in Adobe Acrobat.