Hacking DVI files: Birth of DVIasm
نویسنده
چکیده
This paper is devoted to the first step of developing a new DVI editing utility, called DVIasm. Editing DVI files consists of three parts: disassembling, editing, and assembling. DVIasm disassembles a DVI file to a human-readable text format (more flexible than DTL), and assembles the output back to a DVI file. DVIasm is useful for people who have a DVI file without TEX source, but need to modify the document. It enables us to put a preprint number, a watermark, or an emblem on the document without touching the TEX source. DVIasm is attractive to even a TEX expert who wants to modify a few words in his document more than a hundred pages long. We discuss in the paper how DVIasm supplements TEX. The current version supports only the standard DVI file format as in DVItype and DTL. The next versions will support 16-bit TEX extensions including Omega, pTEX, and X E TEX.
منابع مشابه
C:\DOCUMENTS AND SETTINGS\XPMUSER\DESKTOP\FILES OF XP MODE\ADVANCED OPERATIONS RESEARCH TERM 2 OF 1392\DUAL 1392.dvi
متن کامل
DEVICE - INDEPENDENT FILE FORMAT DVI type changes for
13. Device-independent file format. Before we get into the details of DVItype, we need to know exactly what DVI files are. The form of such files was designed by David R. Fuchs in 1979. Almost any reasonable typesetting device can be driven by a program that takes DVI files as input, and dozens of such DVI-to-whatever programs have been written. Thus, it is possible to print the output of docum...
متن کاملTEX to HTML Translation via Tagged DVI
This paper describes dvihtml, a program under development for translating a tagged DVI file into HTML. A common problem when translating TEX into another format is handling unexpected macros. Fortunately, TEX’s macro language is flexible enough to pass markup information to the DVI file in the form of \special’s, fonts and small horizontal or vertical movements. Translating the resulting DVI fi...
متن کاملA Device Independent DVI Interpreter Library for Various Output Devices
In this paper, we describe DVIlib, which is a device independent DVI interpreter library written in C developed by the author. Since DVIlib is completely independent from specific output devices, new printer drivers and previewers (DVIware) can be easily developed. DVIlib is a set of functions to read and render DVI files. To render a page, DVIlib generates a bitmap for each character in a page...
متن کاملAnother Look at L A TEX to SGML Conversion
Publishers are starting to use SGML as their permanent form of storage for documents. How can LTEX files be converted to an SGML instance? This paper discusses possible strategies, and describes an implementation by Elsevier Science of a system based on conversion in TEX itself, and extraction of SGML code from the dvi file.
متن کامل