Home

Bijlage 16 Windvi User's Manual

image

Contents

1. 10 pages at a time goto home end or any page within the document different shrink factors to zoom page in and out magnifying glass to show the page at the pixel level use of vf fonts display pk gf font files oooada 146 Bijlage 16 Windvi User s Manual o automatic generation of missing PK files even for PostScript fonts tracking dvi file changes and automatic reopening understanding Omega extended dvi files drag and drop file from the Windows shell explorer some color support foreground and background oooada Installation The home of Windvi Windvi is part of the Web2c package for win32 You will find the whole Web2C package on any CTAN archive for example ftp ftp tex ac uk pub tex systems win32 web2c Beta versions of Web2C for Win32 are available from ftp ftp ese metz fr pub TeX win32 beta If you want to retrieve only the windvi distribution you should get ftp ftp tex ac uk pub tex systems win32 web2c windvixx zip for the standalone released version ftp ftp ese metz fr pub TeX win32 beta windvixx zip for beta versions xx being always as high as possible Announcements of beta version are made through the texk win32 mailing list Subscriptions can be sent to texk win32 request ese metz fr Send help in the subject for more information Unpacking Assuming you have retrieved one of the windvixx zip files you will have to unpack it at the jroot of some TDS con
2. time and the status bar doesn t change there is the chance of an improper installation Check with the previous question In this case you will need to kill Windvi by hand and any process named mf exe or mktexpk exe too Known bugs and TODO list Windvi is uninterruptible during font loading The option version makes Windvi abort We need to add the preview of ps inclusions by using Ghostscript We need to add more support for specials Windvi is resource consuming There are probably some other bugs left ooo ooo Color naming You can use rgb rr gg bb where rr gg and bb are the hexadecimal 00 FF intensities of red green and blue component or any of the predefined symbolic names I editor s note the HTML file lists alle of the defined names at this point in the text 149
3. Fabrice Popineau Fabrice Popineau supelec fr Editor s note This article is an adaptation of the HTML file that comes with the current version 0 40 of windvi Why another Windows dvi viewer Note that throughout this document when I say Win32 this means Windows 9x and Windows NT There are many previewers for dvi files under Win32 The most popular is probably Dviwin by H Sendoukas However it lacks some important features o the ability to recursively search directories for font files o the ability to use vf files or display PostScript fonts Unfortunately the Dviwin sources were never put into the public domain on the other side of the fence Xdvi un der Unix has these features is widely used and its sources are available Xdvi k uses the kpathsea library to search directories already used in the Web2c win32 port of TeX so there was some interest in porting Xdvi k to Win32 As it turned out this turned into far more than just a port as X Windows is far from Win32 All the user interface and the graphical part has been rewritten For the future when the base functionality of Xdvi k is available and stable under Win32 we can expect to add the interesting features of Dviwin to Windvi Features The most important features of Windvi are as follows o monochrome or grey scale bitmaps antialiasing for fonts O easy navigation through the dvi file page by page with different increments by 5 or
4. e Quick startup Create a shortcut to Windvi on your desktop o click right button on the desktop o New Shortcut o browse and find windvi exe o OK Next explore your computer drag and drop some dvi file onto the Windvi icon If everything goes well Windvi will open your dvi file and choose a suitable shrink factor for the page to be fully displayed Reference guide Command line options lt page gt Specifies the first page to show If is given without a number the last page is assumed the first page is the default altfont lt font gt Declares a default font to use when the font in the dvi file cannot be found This is useful for example with PostScript fonts Defaults to cmrio background lt color gt uses jcolor as background color bg lt color gt same as background debug lt bitmask gt If nonzero prints additional information on standard output The number is taken as a set of independent bits The meaning of each bit follows 1 bitmaps 2 dvi translation 4 pk reading 8 batch operation 16 events 32 file opening 64 PostScript communication 128 Kpathsea stat 2 calls 256 Kpathsea hash table lookups 512 Kpathsea path definitions 1024 Kpathsea path expansion 2048 Kpathsea searches To trace everything having to do with file searching and opening use 4000 Some 148 Fabrice Popineau of these debugging options are actually provided by Kpathsea See the Debugging section in the Kpath
5. e vertical offset of the output on the page See offsets Shortcut keys Home goto the upper left corner of the page If margins are active use them Next n Enter goto next page Prior b Backspace goto previous page Ctrl Home Ctrl End goto first resp last page Numpad Numpad zoom in resp out Arrow keys 1 r u d move in the corresponding direction left right up down k Normally when Windvi switches pages it moves to the home position as well The k keystroke toggles a keep position flag which when set will keep the same Voorjaar 1998 Bijlage 16 position when moving between pages M set margins at the cursor t change tick units cursor position FAQ 1 Windvi opens and closes immediately You should check your installation o did you rename the xam files into cnf files o have you cnf files o what mktexnam cmrio does report o incase of trouble do the following set KPATHSEA_DEBUG_OUTPUT err log mkktexnam debug 1536 cmr10 and send the errlog file to mailto Fabrice Popineau supelec fr 2 Windvi is stuck with the hour glass cursor displaying some font name in the status bar Currently when kpathsea is generating fonts Windvi is blocked You can t see any progress status This is because kpathsea based programs are inherently console mode programs and Windvi is a GUI program If it takes too long
6. formant texmf tree like this one lt root gt bin win32 texme dvips tex latex web2c O owindvi exe windvi exe mktex exe and gsftopk exe go to bin win32 o render ps used by gsftopk goes to texmf dvips o texmf cnf and mktex cnf go to texmf web2c MAPS Windvi User s Manual ES Windvi fontcony File Move View Help Bijlage 16 1 51 x slal elal i lt gt gt n l Taco Hoekwater Kluwer Academic Publishers Dordrecht taco hoekwater wkap n1l abstract This article makes a comparison between bitmapped and vector fonts and presents some of the problems encountered when tried to convert METAFONT sources into PostScript Type 1 fonts oF px input logo bye What do we see here signments made the lines that contain an input this command functions the same way as Xs input so it will start reading the file Logo mf next and Bijlage 1 Generating Type 1 Fonts from Metafont Sources First there are a bunch of as then there is finally the last command is bye keywords METAFONT PostScript fonts Type 1 conversion metafog The file Logo mf contains the actual commands to create the characters It helps to run METAFONT now to see what is going on Just type the following to a system command The second part of this article will focus more closely on some of the problems that I faced while trying to convert METAFONTSs into PostScript Type 1 fonts but first
7. n inches or centimeters It determines the home position of the page within the window as follows If the entire page fits in the window then the margin settings are ignored If even after removing the margins from the left right top and bottom the page still cannot fit in the window then the page is put in the window such that the top and left margins are hidden and presumably the upper left hand corner of the text on the page will be in the upper left hand corner of the window Otherwise the text is centered in the window See also sidemargin topmargin and the keystroke M mfmode lt mode def gt Specifies a mode def string which can be used in searching for fonts It is also passed to Metafont during automatic creation of fonts mgs lt size gt Same as mgsI mgs n lt size gt Specifies the size of the window to be used for the magnifying glass for Button n The size may be given as an integer indicating that the MAPS Windvi User s Manual magnifying glass is to be square or it may be given in the form width x height Defaults are 200x150 400X250 700x500 1000x800 and 1200x1200 nogrey Turns off the use of greyscale anti aliasing when printing shrunken bitmaps nomakepk Turns off automatic generation of font files that cannot be found by other means offsets Specifies the size of both the horizontal and vertical offsets of the output on the page This should be a decimal number o
8. ptionally followed by cm e g 1 5 or 3cm giving a measurement in inches or centimeters By decree of the Stanford TeX Project the default TeX page origin is always I inch over and down from the top left page corner even when non American paper sizes are used Therefore the default offsets are 1 0 inch See also xoffset and yoffset p lt dpi gt Defines the size of the fonts to use in pixels per inch The default value is 600 qpaper lt papertype gt Specifies the size of the printed page This may be of the form widthheight or widthheightcm where width is the width in inches or cm and height is the height in inches or cm respectively There are also synonyms which may be used us 8 5xI1 usr 11x8 5 legal 8 5x14 foolscap 13 5X17 as well as the ISO sizes al a7 bI b7 cI C7 alr a7r al a7rotated etc The default size is 21 X 29 7 cm rv Causes the page to be displayed with white characters on a black background instead of vice versa s lt shrinkfactor gt Defines the initial shrink factor The default value is to choose en appropriate factor S lt density gt Same as density q v sidemargin lt dimen gt Specifies the side margin see margins topmargin lt dimen gt Specifies the top and bottom margins see margins xoffset lt dimen gt Specifies the size of the horizontal offset of the output on the page See offsets yoffset lt dimen gt Specifies the size of th
9. scheme is explained in detail in the Kpathsea documentation The main points are any generated file will go in the same texmf tree as the one in which the font source has been found if the source directory is not writable the directory named by VARTEXFONTS will be used so you had better set this variable to something meaningful in texmf cnf MT_FEATURES can be set either in mktex cnf or in your environment to control the naming of generated files you can add dosnames nomode stripsup plier striptypeface fontmaps and varfonts to the features Feel free to experiment with them by setting MT_FEATURES in the environment and checking with mktexnam cmr1o for the result you want 147 Bijlage 16 Type fonts In order to use gsftopk exe to generate PK files for Type1 fonts you will need to install Ghostscript Ghostscript is used in the background for computing the bitmaps Setting it up is quite easy assuming that Ghostscript has been installed in c gstools gs5 10 and fonts in c gstools fonts add to your environment set GS_PATH c gstools gs5 10 gswin32c exe set GS_LIB c gstools gs5 10 c gstools fonts After that Windvi should be able to generate PK files for your Type1 fonts providing you have the corresponding vf and tfm files It is however wise to try mktexnam exe on some of your fonts mktexnam ptmr8r for example to check that the fonts will be put at the right plac
10. sea manual density lt density gt Determines the density used when shrinking bitmaps for fonts A higher value produces a lighter font The default value is 40 For monochrome displays for color displays use gamma Same as S foreground lt color gt uses jcolor as foreground color fg lt color gt same as foreground gamma lt gamma gt Controls the interpolation of colors in the greyscale anti aliasing color palette Default value is 1 0 For o gamma j 1 the fonts will be lighter more like the background and for gamma 1 the fonts will be darker more like the foreground Negative values behave the same way but use a slightly different algorithm For color and grayscale displays for monochrome see density hush Causes Windvi to suppress all suppressible warnings hushchars Causes Windvi to suppress warnings about references to characters which are not defined in the font hushchecksums Causes Windvi to suppress warnings about checksum mismatches between the dvi file and the font file hushspecials Causes Windvi to suppress warnings about special strings that it cannot process keep Sets a flag to indicate that Windvi should not move to the home position when moving to a new page See also the k keystroke margins lt dimen gt Specifies the size of both the top margin and side margin This should be a decimal number optionally followed by cm e g 1 5 or 3cm giving a measurement i
11. some explanation is in order as to why one might want to do this conversion and precisely what this conversion entails These tonics are the cuhiecte of the first counle of nara mf Tanai prompt logol0 Probably you didn t have to worry about where the mf file ic on vour harddick cince most METAEONT Page Dvi viewer for Win32 In order not to overwrite the texmf cnf and mktex cnf files of people who are already using Web2c for win32 those files are distributed as texmf xam and mktex xam You must rename them if you don t already have cnf files Next add lt root gt bin win32 to your PATH This is done by modifying autoexec bat under Windows 9x or the Control Panel System under Windows NT Configuration If you have respected the previous layout for the tree ie the o relative position of windvi exe with respect to the texmf directory you should not have anything more to configure than update your PATH environment variable If you want to use windvi exe in another context you o may need to set the TEXMFMAIN and or TEXMFCNF environment variable TEXMFMAIN must point to the texmf directory and TEXMFCMF to the directory contain ing texmf cnf Voorjaar 1998 12 Scaling 5 Cursor Pos 119 848ptx 105 394pt Generation of PK files The generation of PK files is under control of the Kpathsea library through the use of mktexpk exe You can choose the destination for generated files the

Download Pdf Manuals

image

Related Search

Related Contents

TDC Triple Burst DMX LED light effect User manual - Bax  2.76Mb - AMETEK Programmable Power  as escutas - finetanks.com  Manuale dell`utente  © DECRA Roofing Systems, Inc. 2012  1 Runwien user`s and reference guide Contents  Mod. 1092 Ref. 1092/601  User Manual    [ 「電子内視鏡 EC-590ZP」の付属品Jチューブ JT  

Copyright © All rights reserved.
Failed to retrieve file