dvgt(1)

πŸ“¦ version 3.51L3, in opensuse-leap 16.0

hey bestie πŸ’– welcome to dvgt(1) from the General Commands Manual β€” this is the interactive TeX page previewer, and she is iconic. periodt.

πŸ’– NAME πŸ’–

dvgt β€” interactive TeX page previewer. slay.

✨ SYNOPSIS ✨

dvgt [-H x_offset] [-V y_offset] [-d dummy_pk] [-e dummy_tfm] [-l] [-m
magnification] [-r xres yres] [-v vdu] [-x paperwd] [-y paperht]
filename[.dvi]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so dvgt is a version of the DVItoVDU interactive TeX page previewer. The program lets you look at TeX-generated DVI files on a variety of commonly available VDUs. main character energy fr fr.

The "DVItoVDU User Guide", userguide.tex, explains how to use the program. iykyk 🫢

🌸 NOTE ON OPTIONS' DEFAULTS 🌸

bestie this part matters: all options have default values. System dependent initial defaults are set at compile-time. (Compilation note: these constants are set in the source file defaults.h.) Some defaults can be set by environment variables. The command line options override the environment variables, which in turn override the compiled initial defaults. hierarchy, periodt ✨

πŸŽ€ OPTIONS πŸŽ€

  • -H horizontal_offset, -V vertical_offset β€” TeX, by default, considers the top left corner of the printed page as one inch below and one inch to the right of the physical page. So does dvgt. The two offsets move this corner. Positive dimensions move it downwards and rightwards; negative offsets are allowed. (default = 0.0in)
  • -d file β€” dvgt will warn you if your document uses a font at a non-existent size. Rather than abort, it will load the PK font specified after -d and continue so you can look for more errors. Paragraphs using this dummy information are likely to have ragged right margins. (default is system dependent; environment: DV_DUMMY_PK)
  • -e file β€” Default TFM file, similar to the -d option. (default is system dependent; environment: DV_DUMMY_TFM)
  • -l β€” Set landscape mode: exchange x and y dimensions. (This does NOT rotate the page, sorry.) The default is portrait mode.
  • -m i β€” This option lets you replace the magnification used in the DVI file with some other value; i is a positive integer, 1000 times the desired magnification. The given value should be chosen carefully so that the new font sizes still correspond to existing PK files. Unless you know exactly what you are doing you should avoid using -m, especially if your TeX source file uses magnification AND true dimensions. (default = DVI magnification)
  • -r x,y, -r x β€” dvgt treats the imaginary sheet of paper on which a DVI page will appear as a two dimensional array of tiny dots known as paper pixels. x and y are positive floating point numbers that define the numbers of pixels per inch in the horizontal and vertical directions, respectively. Their values should match the respective resolutions of the device that will be used to print your document. If only one value is given, then it is used as the resolution both horizontally and vertically. (default is system dependent)
  • -v string β€” This option is used to tell dvgt what type of VDU you are using. If TERM does not describe your VDU, you need to override the default value. Typing "dvgt -v vis550 foo" will tell dvgt you're using a Visual 550. The current version will accept the following strings (in upper or lower case):
    • aed512 β€” AED 512 with 512 by 512 screen
    • gigi β€” same as regis
    • kermit β€” same as ncsatel
    • linux β€” Linux SVGA driver
    • ncsatel β€” NCSA Telnet's Tektronix 4010 emulation
    • regis β€” any ReGIS compatible VDU
    • tek4010 β€” same as ncsatel
    • vis240 β€” Visual 240
    • vis241 β€” same as vis240
    • vis500 β€” Visual 500
    • vis550 β€” Visual 550
    • vis603 β€” Visual 603
    • vis630 β€” Visual 630
    • vk100 β€” same as regis
    • vt100 β€” any VT100 compatible in 80 column mode;
    • vt102 β€” same as vt100
    • vt100132 β€” any VT100 compatible in 132 column mode
    • vt125 β€” same as regis
    • vt200 β€” same as vt220
    • vt220 β€” VT220 using down-loaded chunky graphics
    • vt240 β€” same as regis
    • vt640a β€” VT100 with Retro-Graphics

(default = value of DV_TERM or TERM)

  • -x dimen, -y dimen β€” These two options define the width and height of the paper upon which your document will be printed. Both values are specified as dimensions like those used in TeX, but the units are restricted to bp, cm, in, mm, pc, pt, px, or sp. px is specific to dvgt, and represents one paper pixel. Every time you select a page, dvgt will use these paper dimensions to check that all printed material falls within the paper edges. (default is system dependent)

🌈 ENVIRONMENT 🌈

The default value for most of the options mentioned above can be set by environment variables. In addition, the Linux SVGAlib driver uses these environment variables. bestie, env vars are lowkey doing a lot here πŸ’…

  • GSVGAMODE β€” The default graphics mode used by dgvt. This must be a valid mode as defined in SVGAlib's "vga.h". It can be either a mode name (e.g., G640x480x256) or a mode number (e.g., 12).
  • DV_LINUX_FG, DV_LINUX_BG β€” These define the foreground and background colors, respectively. The value should be the red, green, and blue color components separated by commas. For example, for bright red text, use "255,0,0".

πŸ‘‘ AUTHOR πŸ‘‘

origin story incoming πŸ‘‘

  • Originally written in Modula-2 for VAX/VMS systems, as dvitovdu, by Andrew Teverrow.
  • Translated to C for Unix systems, as dv, by Ian Dall.
  • Reworked and improved, as dvgt, by Geoffrey Tobin.
  • Linux port and SVGAlib driver by Rob Malouf (malouf@csli.stanford.edu).

⭐ SEE ALSO ⭐

go read these too, bestie: tex(1), latex(1), dvips(1). πŸ¦‹βœ¨


okay that's the whole page! source/version: dvgt(1); date: July 10, 1995 πŸ’–πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from