Ps2pdf

If you want to convert PostScript files to the PDF format so that people who use Windows can easily view them, then ps2pdf file.ps is all you need. This command creates the PDF version with the name file.pdf. There are a number of variants of this command depending on the PDF format level you want to produce. If you need to specify this, you can use ps2pdf12, ps2pdf13, and ps2pdf14. ps2pdf has the same effect as ps2pdf12. The names refer to levels 1.2, 1.3, and 1.4 of the PDF specification.

Device independent files (DVI) are files produced by the TeX and LaTeX typesetting system (explained in the next section) that can then be printed using a suitable driver to an output device. Most typically on Linux they are converted to PostScript using the command dvips and then printed directly. DVI files can be viewed directly using a program such as kdvi .

You can extract the text from a DVI file with the command dvi2tty. Similar caveats to those mentioned for ps2ascii apply: The text you get out might not be exactly the text that was put in. A command such as [email protected]:~ > dvi2tty filename.dvi extracts the text to standard output. You can, of course, redirect it to a file.

The dvi2tty package is not installed by default, but is included in the openSUSE

TeX is a text formatting system developed by Donald Knuth. LaTeX is an extension of TeX. These systems are widely used for typesetting mathematical and scientific books and also in creating printable versions of open source documentation. A TeX or LaTeX source file is a plain-text file with added markup.

The detex command tries to remove all markup from a TeX or LaTeX source file. It can also be called as delatex. For example:

[email protected]:~ > detex filename.tex outputs the stripped text to standard output.

These commands are part of the detex package, which is not installed by default.

Was this article helpful?

0 0

Post a comment