![]() ![]() ![]() These documents do not specify the endianness, which is however big endian, as can be seen looking into a DVI file itself. It seems to be based on a TUGboat article of the same name from 1992, but which is much shorter. Like PDF, DVI uses a limited sort of machine language with termination guarantees that is not a full, Turing-complete programming language like PostScript.Īs of 2004 there is a compilation of the specifications a DVI driver must implement by the "TUG DVI Driver Standards Committee". (Both PostScript and PDF formats can either embed their fonts inside the documents.) For a DVI file to be printed or even properly previewed, the fonts it references must be already installed. LaTeX).ĭVI differs from PostScript and PDF in that it does not support any form of font embedding, but merely references external font name. TeX markup may be at least partially reverse-engineered from DVI files, although this process is unlikely to produce high-level constructs identical to those present in the original markup, especially if the original markup used high-level TeX extensions (e.g. Drivers are also used to convert from DVI to popular page description languages (e.g. For example, most TeX software packages include a program for previewing DVI files on a user's computer display this program is a driver. DVI files are typically used as input to a second program (called a DVI driver) which translates DVI files to graphical data. Unlike the TeX markup files used to generate them, DVI files are not intended to be human-readable they consist of binary data describing the visual layout of a document in a manner not reliant on any specific image format, display hardware or printer. Please note that previous Acrobat versions used the AcroView server, and starting from Acrobat 10, the Reader uses AcroViewR10, Acrobat uses AcroViewA10.The device independent file format ( DVI) is the output file format of the TeX typesetting program, designed by David R. I use Acrobat 10, so in my case select DDE command, and you should fill the View project's output and Forward Search with the following: On the Viewer tab add the path of your PDF viewer.sPAPERSIZE=a4 -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -dPDFSETTINGS=/printer -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -sOutputFile="%bm.pdf" -c save pop -f "%bm.ps" At the Argument field add the following command (I would be happy if someone could give me some explanation concerning these parameters):.At the Executable field add the path of the GS executable (in my case.Copy the LaTeX=>PS profile, and on the Postprocessor tab add a new one (after DviPs), call it GhostScript, or whatever you want.Install GhostScript 9.02 (somehow the MikTeX 2.9 ps2pdf doesn't close the document, so each time I would have had to do it manually).But I installed the GhostScript 9.02, and it works!įor other's information (who are not so talented, just like me), I write here how did I manage to create the right profile: The wizard unfortunately doesn't create the LaTeX=>PS=>PDF profile. I suppose that you misunderstood my question, but hopefully after many days of Googling I found the answer. (Note: I'm aware of the pstrick workaround for pdfTeX, that will take some source code changes but, hey, whatever it takes to get a high quality pdf document). Do you think it will give the high quality PDF output, comparable with ps->distiller->pdf? I know pdfTeX has lots of pdf-specific features, so may be I can get something which looks even better than pdf produced with distiller (?). My second question is regarding the alternative way: converting dvi directly to pdf, with either dvi-to-pdf or may be I should just install the latest MiKTeX with pdfTeX. I'd like to hear from anyone who knows of the good quality converter. I've tried several freeware tools which work by installing a virtual pdf printer, and didn't like any of them. Since I don't have Acrobat Pro available all the time (only when I'm on university computing system), I'm looking for something close in quality to distiller, but less expensive, or may be even freeware. With gsview/ghostscript conversion is OK but worse than with distiller. Now if I can get a hold on Acrobat Pro, so I can use distiller to convert ps to pdf, this gives the superb result, no complains. Since I use lots of pstricks (so I have an embedded postscript inside dvi), that's the most simplest way for me. I still have an old MikTeX distribution (pre-pdfTeX), and my normal workflow is to convert tex to dvi to ps, which I print, but sometime I need to generate pdf, so I simply convert ps to pdf.
0 Comments
Leave a Reply. |