Home

MiKTeX Manual

image

Contents

1. d Installing MiKTEX 2 1 Installation Instructions oaoa 2 1 1 Prerequisites 1 11 2 1 2 Choosing an installation size 2 1 3 Shared vs private installation 2 2 oo on nn 2 1 4 Installing a basic system 11155 2 1 5 Installing a complete system 2 1 5 1 Task 1 Download the complete MiKTEX distribution 2 1 5 2 Task 2 Install MIKTEX e 2 2 Items the Start Menu e s s 1 2 3 Removing MIKTEX Using MiK TEX 3 1 Getting Started 2 oll lll sss s s s oss 3 2 Specialities ce dme ces Sud yum eie Fe 3 2 1 Automatic Package Installation 2 2222s 3 2 2 Finding out Package Usages 3 2 3 Suppressing Screen Output 3 2 4 Setting the Name of the Output File CC oo non 3 2 5 Auto insertion of Source Specials 2222222 ll 3 2 5 1 What Are Source 5 3 2 5 2 How to Insert Source Specials 3 2 6 Quoted File Names 22 Hann 3 2 7 Specifying Additional Input lt 3 2 8 Specifying the Output Directory 3 2 9 Specifying the Directory for Auxiliary lt 3 2 10 Running Programs From Within
2. her n 10 2 All TEX Programs us RUN UR RSS a VOSA oe Sih F c ESL cage fe at thee fa PT Geena He 10 5 METAFONT amp u na 10 6 METAFONT sos ceos a Im ROV RAI 303 9 Sor b Daran 10 7 Ben ee Re qe d Index Part User Guide Chapter 1 Introduction 1 1 About this Manual This manual is about MiKTEX the purpose of this manual is not to give an introduction into the world of If you are not familiar with using TEX and Friends then please consider reading one of the tutorials available on the Internet lt http www tex ac uk cgi bin texfaq2html label tutorials gt 1 2 About pronounced mik tech is an up to date implementation of TEX and related programs for Windows all current variants TEX is a typesetting system invented by D E Knuth MiKTEX s main features include e easy to install e integrated package management missing packages can be installed automatically on the fly during run time network friendly MiKTEX can be run directly from a shared and read only network directory complete the MiKTEX distribution contains almost all packages that are freely redistributable e enhanced TEX compiler capabilities e enhanced previewer capa
3. 2 7 Revision 2 7 2856 Christian Schenk December 14 2007 Copyright 2007 Christian Schenk Legal Notice Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one Permission is granted to copy and distribute translations of this manual into another language under the above conditions for modified versions except that this permission notice may be stated in a translation approved by the Free Software Foundation About this Document This is version 2 7 2856 of the MiKTEX manual It corresponds to MiKTEX 2 7 as at October 27 2007 Contents User Guide Introduction 1 1 About this Manual sss EA RR o y S X HOS EOS eG 12 About MIKTEX sax dede HAAS a hu RR Re a a ee ee 1 3 How to Get MIKTEX 1 3 1 Downloading 1 3 2 MiK TEX on CD R DVD R 14 Give 15 The MiKTEX Project Page 1 1 1 6 The MiKTEX Mailing 1 7 Documentation as ss os 2 om oe
4. nest size n Set the maximum number of semantic levels simultaneously active no c style errors Don t change the way error messages are printed output directory dir Create output files in dir This implies include directory dir param size n Set the the maximum number of simultaneous macro parameters parse first line Check whether the first line of the main input file starts with amp and parse if it does This can be used to specify extra command line options pool size n Set the maximum number of characters in strings including all error messages and help texts and the names of all fonts and control sequences quiet Suppress all output except errors record package usages file Record all package usages and write them into file recorder Enable the file name recorder This leaves a trace of the files opened for input and output in a file with the extension fls save size n Set the the amount of space for saving values outside of current group src specials Embed source file information source specials in the DVI file stack size n Set the maximum number of simultaneous input sources string vacancies n Set the minimum number of characters that should be available for the user s control sequences and font names after the compiler s own error messages are stored Must be at least 25000 less than pool_size but doesn t need to be nearly that large tcx name Process the TCX table name
5. stack size n Set the maximum number of simultaneous input sources string vacancies n Set the minimum number of characters that should be available for the user s control sequences and font names after the compiler s own error messages are stored Must be at least 25000 less than pool size but doesn t need to be nearly that large tcx name Process the TCX table name tex texprogram Use tezprogram instead of tex when compiling text labels This flag overrides the environment variable TEX time statistics Show processing time statistics trace tracestreams Enable trace messages The tracestreams argument if speciefied is a comma separated list of trace stream names Chapter 9 Trace Streams undump name Use name as the name of the format to be used instead of the name by which the program was called or a line version Show version information and exit 52 CHAPTER 6 PROGRAMS Environment MFINPUTS Extra paths to locate METAFONT input and openin files MPINPUTS Extra paths to locate METAPOST input files See also AT amp T technical report CSTR 162 Run mthelp mpman mthelp Name mthelp MiKTEX help utility Synopsis mthelp option name Description mthelp is a utility to lookup TEX package documentation mthelp creates an HTML page which contains a short description of the package together with links to all documentation files An HTML viewer is started
6. 1 3 2 MiK TEX on CD R DVD R The CD R DVD R allows you to install MiKTEX on the hard disk or to run the programs directly from the DVD R If you wish to obtain a copy of the MIKTEX CD R DVD R visit the CD R DVD R info page http miktex org CD 1 4 Give Back If you enjoy MIKTEX and want to support the project then please become an esteemed MiK TEX user by giving back something It encourages me to continue and is the perfect way to say thank you Visit the Give Back page http www miktex org giveback aspx for more information 1 5 The Project Page The Project Pagef lt http www miktex org gt is the address to turn to for MiKTEX related news amp information lt http miktex org CD gt 3 c http www miktex org giveback aspx http www miktex org CHAPTER 1 INTRODUCTION 1 6 THE MIKTEX MAILING LIST 1 6 The MiKTgX Mailing List There is a discussion list for MiKTEX users You can join this list by visiting the MiKTeX Users Info Page lt http lists sourceforge net lists listinfo miktex users gt and filling out the form provided there To see the collection of prior postings to the mailing list browse the MiKTeX Users Archives lt http sourceforge net mailarchive forum php forum miktex users gt 1 7 Documentation Use the mthelp utility to quickly access general TEX related documentation For example run mthelp memoir to
7. This approach limits the portability of TEX documents as some implementations do not support it or use a different method for input internal reencoding It may also be problematic to determine the encoding to use for a TEX document of unknown provenance in the worst case failure to do so correctly may result in subtle errors in the typeset output While TCX files can be used with any format using them breaks the I TEX inputenc package This is why you should either use tcxfile or inputenc in ATEX input files but never both This is entirely independent of the MLTeX extension whereas a TCX file defines how an input keyboard character is mapped to TpX s internal code MLTeX defines substitutions for a non existing character glyph in a font with a accent construction made out of two separate character glyphs TCX files involve no new primitives it is not possible to specify that an input keyboard character maps to more than one character Specifying TCX files e You can specify a TCX file to be used for a particular TEX run by specifying the command line option translate file tcrfile or preferably specifying it explicitly in the first line of the main document 4 amp translate file tcxfile e TCX files are searched for along the TCXPath path e initex ignores TCX files MiK TEX comes with at least two TCX files ili ti tcx and il2 t1 tcx These support ISO Latin 1 and ISO Latin 2 respectively with Cork encoded fonts a k a th
8. 3 2 10 1 cc e ee ee amp ee ee a Reg 3 2 10 2 Piped Input and Output 3 2 11 TCX Files Character Translations 3 3 texify The MiKTEX Compiler Driver les 34 Printing ea a ee Re ee 3 4 1 Using a Viewer to Print DVI PDF Files 3 4 2 Using mtprint to Print DVI Files 2 2 e Maintenance 4 1 Refreshing the File Name Database es 4 2 Setting the Preferred Paper Format 2 4 3 Selecting Hyphenation Tables 1 1 1 1 4 4 Installing Updates s 4 5 Automatic Package Installation Cm nn nn oO Hoooovo CONTENTS 4 6 Integrating Local Additions 2 es 4 6 1 A Short Excursion The Directory Structure TDS 4 6 2 Walkthrough Registering a User Managed TEXMF Directory 5 Advanced Topics 5 1 Managing Font Map Files ooo domo O3 3e kae 40 RUE d 5 2 Working With the Package Manager 5 2 1 Installing Packages 1 11 5 2 2 Searching Packages 5 3 Managing Memory Dump Files Reference 6 Programs 7 Files 8 Environment variables 9 Trace Streams 10 Program Defaults 10 1 Al TEXMF Programs ser wee
9. Usesta 2 5 Command ala Tes 25 Iretall Figure 4 5 MiKTEX Options Roots 25 CHAPTER 4 MAINTENANCE 4 6 INTEGRATING LOCAL ADDITIONS Browse For Folder Select the root direcbory bo be added L My Documents My Computer 3 5 Floppy A s Local Disk x Documents and Settings Local Files Program Files 3 Local Files MiKTeX Options General Floots Formate Languages Packages The list of registered roct directanes The cedes in the bet debeimines the onder in which files ars searched Path C Documents and SettrngsscschenksApp 2 5 CDocumerts and oc 2 5 CADocumerts and Settings All LlsessVA 425 D Pragram Files Tas 25 C Lacal T eX Files remove Jp Down D escriplion U ser Con ig Userbala CommonD ata Install ce J Figure 4 7 MiKTEX Options Root Directory Added 26 CHAPTER 4 MAINTENANCE 4 6 INTEGRATING LOCAL ADDITIONS MiKTeX Options General Roots Formate Languages Packages The list of registered root directanes The order in the bet debeimines the order in which files searched Path C Documents and Settings wachenk App 425 CDocumerts and SelingiNcschenkM oc CDocument and Sengal Usesta 2 5 CommonD ala E Lacal Files C Program Flesh M T ex 2 5
10. 12 long file names quoting of 14 mailing list archive 8 Makelndex invoked by texify 17 memory dump files creating 42 defined 29 defining new 30 METAFONT modes 43 MFINPUTS 47 53 76 MiKTeX CD R 7 downloading 7 DVD R 7 features 6 getting 7 how to pronounce 6 registering 7 uninstalling 11 updating 20 MiKTeX CD R 7 MiKTeX DVD R 7 MiKTeX project how to support the 7 83 INDEX INDEX MiKTeX Project Page 7 MiKTeX update wizard see update wizard 20 MIKTEX_REPOSITORY 49 76 MIKTEX_TRACE 76 MLTeX 16 modes mf 44 MPINPUTS 53 76 mthelp 8 Outline fonts psfonts map 28 output file name changing the 13 package management 28 package set 62 packages automatic installation of 23 finding out usages 12 installing 29 searching for 29 updating 20 paper format setting 20 paper size changing 73 PDF distilling into 39 pdfLaTeX invoked by texify 17 PostScript converting TeX output into 35 PostScript Type 1 fonts psfonts map 23 private installation 9 62 project page 7 psfonts map 38 creating 28 43 quoted file names 14 registration 7 Remove MiKTeX Wizard 11 screen output suppressing 13 security 15 16 38 setup wizard setupwiz opt 62 unattended mode 62 setupwiz opt 62 shared installation 9 62 source specials defined 14 inserting 14 start menu 10 T1 encoding and ISO input 16 TCX character translation files 1
11. 56 59 64 69 file line error 45 51 55 58 64 69 file line error style 45 51 55 58 64 69 file type filetype 40 find updates 47 font max n 59 65 69 font mem size n 51 59 65 69 force 43 gray font font 41 half error n 45 51 56 59 65 69 halt on error 45 51 56 59 65 69 help 33 34 40 41 45 47 51 56 59 65 67 69 hhelp 33 34 42 45 47 51 56 import all 48 import package 48 include directory dir 14 33 34 42 45 51 56 59 65 70 initialize 45 51 56 59 65 70 install root 48 install some file 48 install package 48 interaction mode 45 51 56 60 65 70 job name name 13 45 51 56 60 65 70 job time file 45 51 56 60 65 70 label font font 42 landscape 54 language lang 67 lib table size n 45 51 list 48 list modes 43 logo font font 42 mag mag 34 82 main memory n 45 51 56 60 65 70 max in open n 56 60 65 70 max pages n 34 max print line n 46 51 57 60 65 70 max strings n 46 52 57 60 65 70 max wiggle n 46 min crossrefs n 33 mkidx option option 67 mklinks 43 mkmaps 43 move size n 46 must exist 40 nest size n 57 60 65 70 no c style errors 46 52 57 60 65 70 no file line error 46 52 57 60 65 70 no file line error style 46 52 57 60 65 70 no shell escape 56 59 64 69 odd onl
12. 58 61 66 68 71 viewer option option 68 max iterations n 67 slant font font 42 src 57 60 66 71 tex texprogram 52 title font font 42 aux auxiliary file 32 bbl 32 bbl bibliography file 32 bib bibliographic database 32 bst bibliography style file 32 dvi DVI file 35 writel8 run a program from within TeX 15 56 59 64 69 8 bit characters 16 accented character 16 ADOBE fonts 74 automatic package installation 12 auxiliary files removing 17 specifying the directory for 15 Basic MiKTeX 9 BIBINPUTS 33 76 bibliography creation 32 BibTeX invoked by texify 17 BSTINPUTS 33 76 CD R installing updates 21 obtaining 7 character translation files 16 Compl 9 Cork encoding and ISO input 16 cross references minimum number required 33 resolving 17 DVD R obtaining 7 running MiKTeX from the 7 DVI search 17 edit compile view edit cycle 14 error messages C style 13 C C style 45 51 55 58 64 69 line width 45 51 56 59 64 69 FAQ frequently asked questions 10 file name database defined 19 refreshing 19 file name datasbase refreshing 43 format files creating 42 gftodvi 35 give back 7 hyphenation tables selecting 20 installation size 9 international characters 16 Knuth Donald E 6 languages selecting 20 LaTeX invoked by texify 17 LaTeX2e reference 10 local additions intergrating 23 local guide
13. This option is only available on Windows systems show the manual page in an HTML Help window and exit when the window is closed include directory dir Prefix dir to the search path label font font Sets the label font Default is cmtt10 logo font font Sets the logo font Default is 1ogo8 overflow label offset real Specifies the distance from the right edge of the character bounding box at which the overflow equations if any are typeset The value is given in points The default is a little over two inches record package usages file Record all package usages and write them into file slant font font Sets the slant font There is no default title font font Sets the title font Default is cmr8 trace tracestreams Enable trace messages The tracestreams argument if speciefied is a comma separated list of trace stream names Chapter 9 Trace Streams version Show version information and exit Documentation The METAFONTbook ISBN 0 201 13444 6 initexmf Name initexmf MiKTEX configuration utility Synopsis initexmf option Description initexmf is used to configure MiKTEX Options dump Create all memory dump files 42 CHAPTER 6 PROGRAMS dump key Dump the specified memory dump file edit config file configfile Open the specified config file in an editor force Force mklinks to overwrite existing executables list modes List all known ME
14. as the very last character of the PostScript file This is useful when dvips is driving the printer directly instead of working through a spooler as is common on personal systems On systems shared by more than one person this is not recommended G Shift low chars to higher pos h name Prepend name as an additional header file or if name is suppress all header files Any definitions in the header file get added to the PostScript userdict i Make each section be a separate file a section is a part of the document processed independently most often created to avoid memory overflow The filenames are created replacing the suffix of the supplied output file name by a three digit sequence number This option is most often used in conjunction with the S option which sets the maximum section length in pages if i is specified and S is not each page is output as a separate file For instance some phototypesetters cannot print more than ten or so consecutive pages before running out of steam these options can be used to automatically split a book into ten page sections each to its own file I imageoptions Specify image options 1 2 3 Select PostScript level 1 2 or 3 5 Use if you have a color printer or g for conversion grayscale Color printing requires PostScript level 2 or higher f r 8 h Use f to get flate encoding requires PostScript level 3 r to get run length encoding requires PostScript level 2
15. breakpoints et al Relevant only after the memory dump file has been read extra mem top n Set the extra size in memory words for chars tokens et al Relevant only after the memory dump file has been read half error line n Set the width of first lines of contexts in terminal error messages halt on error Quit after the first error help Give help and exit hhelp This option is only available on Windows systems show the manual page in an HTML Help window and exit when the window is closed include directory dir Prefix dir to the search path initialize Become the N variant of the compiler interaction mode Set the interaction mode Must be one of batchmode nonstopmode scrollmode and errorstopmode The meaning of these modes is the same as the corresponding commands job name name Set the name of the job jobname This has an affect on the output file names job time file Set the time stamp of all output files equal to file s time stamp main memory n Change the total size in memory words of the main memory array Relevant only while creating memory dump files max in open n Set the maximum number of input files and error insertions that can be going on simultaneously 56 CHAPTER 6 PROGRAMS max print line n Set the width of longest text lines output should be at least 60 max strings n Set the maximum number of strings enable mltex Enable MLTeX extensions such as charsubdef
16. keyboard character code for src and the output font character code for dest 3 3 texify The MiKTEX Compiler Driver texify is a command line utility that simplifies the creation of DVI PDF documents texify automatically runs IATEX pdflATEX Makelndex and Bib TEX as many times as necessary to produce a DVI PDF file with sorted indices and all cross references resolved To run texify on an input file foo tex do this texify foo tex As shown in the example above the input file names to texify must include any extension tex 1tx There are several command line options you can use to control texify see texify 1 Here are some examples texify clean foo tex All auxiliary files will be removed i e only the output foo dvi file will be left in the current folder texify tex option src foo tex Passes the option src to the TEX compiler texify run viewer foo tex Opens the output file oo dvi unless there are compile erros texify tex option src viewer option 1 s 200 foo tex run viewer foo tex Compiles with source file information src and then initiates forward DVI search to open foo dvi at the source special location 200 foo tex The previewer option 1 re uses an existing previewer window See the Yap manual for a complete list of previewer options 17 CHAPTER 3 USING MIKTEX 3 4 PRINTING 3 4 Printing 3 4 1 Using a Viewer to Print DVI PDF Files TEX outpu
17. CHAPTER 4 MAINTENANCE 4 5 AUTOMATIC PACKAGE INSTALLATION 4 5 Automatic Package Installation MiK TEX has the ability to automatically install missing packages asks your permission before installing a package see Figure 4 3 The is missing Tti a part of the following package Mame memoir Tile Typeset fcon non fiction and mathematical backs The package will be installed from Always show this dialog before installing packages Figure 4 3 Automatic Package Installation Click Install to start the installation of the package Click Cancel to cancel the installation If you do not want to see this dialog in the future clear the mark from the check box Always show this dialog before installing packages Your decision will be remembered 4 6 Integrating Local Additions If you have files that you want to integrate into the MiKTEX setup you have several options Use the command line option include directory dir For example latex include directory C path to my style files thesis tex See Section 3 2 7 for more information Set environment variables For example set TEXINPUTS C path to my style files latex thesis tex See Chapter 8 Environment variables to learn more about environment variables Register a user managed TEXMF directory Register the root of the directory tree which contains your files The directory tree must conform to the
18. Install Figure 4 8 Options Root Directory Moved 27 Chapter 5 Advanced Topics 5 1 Managing Font Map Files Information about outline fonts is stored in a file by the name of psfonts map This file is created in the course of the setup update process It can be manually created by running initexmf mkmaps psfonts map depends on the file updmap cfg This configuration file contains declarative instructions see updmap cfg 5 which will be used to build psfonts map CAUTION The contents of psfonts map should never be edited directly Your modifications get lost when you install new packages For example follow these steps if you want to add an entry for the font map file xyz map 1 Run initexmf edit config file updmap 2 Insert the following line at the end of the file Map xyz map 3 Save the file and close the editor 4 Run initexmf mkmaps to rebuild the font map files 5 2 Working With the Package Manager You use MiKTEX Package Manager MPM to install and remove packages The package manager can be run in two modes batch and windowed MPM runs in batch mode if you specify command line options such as install and update see mpm 1 for a list of available command line options To start the package manager in windowed mode click Start Programs MiKTeX 2 7 Browse Packages You will see a window similar to this 28 CHAPTER 5 ADVANCED TOPICS 5 3 MANA
19. dvipsPreferOutline is set to false Mixed means that the fonts referenced in the file are available as bitmap and as outline 75 Chapter 8 Environment variables BIBINPUTS Extra paths to locate bib files BSTINPUTS Extra paths to locate bst files MFINPUTS Extra paths to locate METAFONT input and openin files MIKTEX_REPOSITORY Location of the package repository This can be either a fully qualified path name a local package repository or an URL a remote package repository MIKTEX_TRACE Comma separated list of trace stream names see Chapter 9 Trace Streams If this variable is set then MiKTEX programs will write trace messages into the DebugView window MPINPUTS Extra paths to locate METAPOST input files TEXINPUTS Extra paths to locate TEX input and openin files TFMFONTS Extra paths to locate TEX font metric files 76 Chapter 9 Trace Streams access file tests access stat config MiK TEX configuration settings core MiKTEX core library curl cURL library dib device independant bitmaps dvibitmap DVI bitmaps dvicolor DVI color dvifile DVI files dvigc DVI garbage collector dvihypertex DVI hypertex specials dvipage DVI page builder dvipkbitmap DVI PK raster operations dvipkchar DVI PK characters dvipkfont DVI PK fonts dvisearch DVI source specials dvitfm DVI font metrics dvivfchar DVI virtual font characters 77 CHAPTER 9 TRACE ST
20. english german ngerman loaded D texmf tex latex base article cls Document Class article 2001 04 21 v1 4e Standard LaTeX document class texmf tex latex base size10 clo No file foo aux D texmf tex latex base omscmr fd 1 2 3 foo aux Output written on foo dvi 3 pages 7256 bytes Transcript written on foo log gt Note the altered output file names foo aux foo dvi and foo log 13 CHAPTER 3 USING MIKTEX 3 2 SPECIALITIES 3 2 5 Auto insertion of Source Specials 3 2 5 1 What Are Source Specials Source specials are pieces of information embedded in a DVI file They make a connection between the source file location e g line 100 in foo tex and the DVI location e g page 2 in foo dvi Source specials can improve the edit compile view edit cycle 1 You edit the source file with a TEX editor 2 You compile the source file 3 You execute a special editor command to open the previewer Yap going directly to the page that corresponds to the cursor location in your editor window 4 You navigate through the viewed document 5 You double click somewhere inside the viewed document this causes Yap to bring the editor window back to the front moving the text cursor directly to the line that corresponds to the view location 3 2 5 2 How to Insert Source Specials The TEX compiler option src specials directs TEX to insert source specials into the DVI file You would say latex
21. input dir b 15 CHAPTER 3 USING MIKTEX 3 2 SPECIALITIES typesets the file names of the current directory Likewise it is possible to let TEX write something into the input stream of a command For example immediate openouti unix2dos sort gt sorted immediate write 1 b immediate write 1 a immediate write 1 c NimmediateNcloseouti input sorted typesets abc NOTE Piped input and output is disabled by default to avoid security problems You enable the feature by specifying enable pipes on the command line 3 2 11 TCX Files Character Translations This section is borrowed from the Web2C manual TCX character translation files help TEX support direct input of 8 bit international characters if fonts containing those characters are being used Specifically they map an input keyboard character code to the internal TEX character code a superset of ASCII Of the various proposals for handling more than one input encoding TCX files were chosen because they follow Knuth s original ideas for the use of the xchr and xord tables He ventured that these would be changed in the WEB source in order to adjust the actual version to a given environment It turned out however that recompiling the WEB sources is not as simple task as Knuth predicted therefore TCX files providing the possibility of changing of the conversion tables on on the fly has been implemented instead
22. map map mem mem mf mf mfpool pool mp mp mppool pool ocp ocp ofm ofm tfm otp otp ovf ovf ovp ovp perlscript pl PostScript header pro enc tcx tcx tex tex texpool pool TeX system documentation chm dvi html txt pdf ps tfm tfm truetype fonts ttf ttc typei fonts pfb pfa vf vf texmfscripts lua pl py rb Windows command script file bat cmd enc Ln im m m m m 40 CHAPTER 6 PROGRAMS opentype fonts otf gftodvi Name gftodvi make proof sheets from generic font files Synopsis gftodvi option gffile Description The gftodvi program converts a generic font GF file output by for example METAFONT to a device independent DVI file that can then be typeset using the same software that has already been written for The characters in the GF file will appear one per page with labels titles and annotations as specified in Appendix Hardcopy Proofs of The METAFONTbook gftodvi uses other fonts in addition to the main GF file A gray font is used to typeset the pixels that actually make up the character We wouldn t want all the pixels to be simply black since then labels key points and other information would be lost A title font is used for the information at the top of the page A label font is used for the labels on key points of the figure A slant font is used to typeset diagona
23. num copies but collated by replicating the data in the PostScript file Slower than the c option but easier on the hands and faster than resubmitting the same PostScript file multiple times num Set the debug flags showing what Dvips thinks it is doing See the Dvips manual for the possible values of num Use d 1 as the first option for maximum output num Set both the horizontal and vertical resolution to num given in dpi dots per inch This affects the choice of bitmap fonts that are loaded and also the positioning of letters in resident PostScript fonts Must be between 10 and 10000 This affects both the horizontal and vertical resolution If a high resolution something greater than 400 dpi say is selected the Z flag should probably also be used If you are using fonts made with METAFONT such as Computer Modern makepk needs to know about the value for num that you use or METAFONT will fail See the file modes mf for a list of resolutions and mode names for most devices 35 CHAPTER 6 PROGRAMS e num Maximum drift in pixels of each character from its true resolution independent position on the page The default value of this parameter is resolution dependent it is the number of entries in the list 100 200 300 400 500 600 800 1000 1200 1600 2000 2400 2800 3200 that are less than or equal to the resolution in dots per inch Allowing individual characters to drift from their co
24. of the files opened for input and output in a file with the extension fls 65 CHAPTER 6 PROGRAMS record package usages file Record all package usages and write them into file save size n Set the the amount of space for saving values outside of current group src specials Embed source file information source specials in the DVI file stack size n Set the maximum number of simultaneous input sources string vacancies n Set the minimum number of characters that should be available for the user s control sequences and font names after the compiler s own error messages are stored Must be at least 25000 less than pool size but doesn t need to be nearly that large tcx name Process the TCX table name time statistics Show processing time statistics trace tracestreams Enable trace messages The tracestreams argument if speciefied is a comma separated list of trace stream names Chapter 9 Trace Streams trie size n Set the amount of space for hyphenation patterns undump name Use name as the name of the format to be used instead of the name by which the program was called or a line version Show version information and exit Aliases initex Equivalent to tex ini virtex Equivalent to tex Environment TEXINPUTS Extra paths to locate TEX input and openin files TFMFONTS Extra paths to locate TEX font metric files See Also The TgXbook ISBN 0 201 13448 9 See
25. options accumulate print method method Selects a print method One of psbmp This method uses Dvips and Ghostscript to produce the print output ps This method uses Dvips to produce an intermediate PostScript file which will be sent to the printer This only works for PostScript printers print nothing Simulates printing printer printer Selects a printing device The default printer is used if this option is omitted omega Name omega extended unicode TEX Synopsis omega option file command Description is a 16 bit enhanced version of TEX Options alias app Pretend to be i e set program and memory dump name to app This may affect the search paths and other values used Using this option is equivalent to copying the executable file to app exe and invoking exe aux directory dir Set the directory dir to which auxiliary files are written Also look for input files in dir first before along the normal search path buf size n Set the the maximum number of characters simultaneously present in current lines of open files and in control sequences between csname and endcsname TEX uses the buffer to contain input lines but macro expansion works by writing material into the buffer and reparsing the line As a consequence certain constructs require the buffer to be very large even though most documents can be handled with a small value c style errors Change the way er
26. packages as follows 1 Select all wanted packages in the list view 2 Click on to install the packages For example you want to install the Con TEXt package 1 Locate and select the Con TEXt package in the list view e g type the key sequence C O N T 2 You can now click to install the package 5 2 2 Searching Packages Sometimes you don t know the name of a package but you know the name of a file that belongs to the wanted package In this case enter the file name information in the file name edit control Note that the file name information can include wildcard characters For example you need to download the class file weekly cls 1 Enter weekly cls in the file name edit control 2 Click the Filter button The list view will be reduced to contain only the calendar package Selecting calendar and pressing will install the package 5 3 Managing Memory Dump Files In typical use TEX METAFONT and METAPOST require a large number of macros to be predefined therefore they support memory dump files which can be read much more efficiently than ordinary source code 29 CHAPTER 5 ADVANCED TOPICS 5 3 MANAGING MEMORY DUMP FILES For example macros are stored in the file 1atex fmt This file is loaded by pdfTEX when you start latex MiK TEX Options can assist you in defining a new memory dump file Click Start Programs MiKTeX 2 7 Settings to open the MiKTEX Options window see Figu
27. pdftex cfg when a format file is being created by pdfTEX CAUTION Do not edit this file directly Run initexmf edit config file pdftex cfg to edit configuration settings for pdf TEX Instructions This section is borrowed from the pdf TEX manual A typical pdftex cfg file looks like this setting up output for A4 paper size and the standard TEX offset of 1 inch compress level 9 decimal digits 3 horigin 1 true in vorigin 1 true in image resolution 300 move chars 1 output format 1 page width 210 true mm page height 297 true mm pdf minorversion 4 pk resolution 600 The configuration file sets default values for these parameters and they all can be overridden in the TEX source file Dimensions can be specified as true which makes them immune for magnification when set 72 CHAPTER 7 FILES compress level This integer parameter specifies the level of text and in line graphics compression pdfTEX uses Zip compression A value of 0 means no compression 1 means fastest 9 means best 2 8 means something in between Just set this value to 9 unless there is a good reason to do otherwise 0 is great for testing macros that use pdfliteral decimal digits This integer specifies the preciseness of real numbers in PDF page descriptions It gives the maximal number of decimal digits after the decimal point of real numbers Valid values are in range 0 5 A higher value means more precise output but al
28. view documentation of the memoir package 5 lt http lists sourceforge net lists listinfo miktex users gt 6 lt http sourceforge net mailarchive forum php forumsmiktex users gt 8 Chapter 2 Installing MiK TEX 2 1 Installation Instructions 2 1 1 Prerequisites MiK TEX 2 7 requires one of the following Windows operating systems e Windows Vista e Windows Server 2003 e Windows XP e Windows 2000 Please note that MiKTEX 2 7 does not work on legacy Windows platforms Windows 9x Me NT 2 1 2 Choosing an installation size You can choose between two installation sizes Basic MiK TEX A basic MiKTEX installation which gets you started Complete MiK TEX A complete installation Choose Basic if you have to download over a slow Internet connection or if you want to conserve disk space MiKTEX can be configured to install missing components in the course of use 2 1 3 Shared vs private installation You have the option to create a shared MiKTEX installation Use this option if you are the administrator of your computer and if you want to install MiKTEX for all users This option is not available if you are logged into a limited user account 2 1 4 Installing a basic MIKTEX system Get the Basic MiKTEX Installer basic miktex 2 7 zzzz exe from the download page lt http sourceforge net project showfiles php group id 10783 amp package id 20003 and run it I lt http sourceforge n
29. 6 TeX job name changing the 13 texify 17 TEXINPUTS 61 66 71 76 TFMFONTS 61 66 71 76 unattended setup 62 63 uninstaller 11 update wizard running 20 updates installing 20 updmap cfg 74 dvipdfmDownloadBasel4 75 dvipsDownloadBase35 74 dvipsPreferOutline 74 instructions 74 LW35 74 ADOBE 74 ADOBEkb 74 URW 74 URWkb 74 Map 75 MixedMap 75 pdftexDownloadBasel4 74 URW fonts 74 virtual fonts resolving 34 84
30. 8 to get ASCII85 encoding instead ASCII Hex encoding requires PostScript level 2 or h to use ASCII Hex encoding Flate encoding run length encoding and one from ASCII85 or ASCII Hex encoding can be used combined 36 CHAPTER 6 PROGRAMS d Used to turn draft mode on Bitmap images are not printed only the place is marked a o t l m s To convert an alpha channel into an EPS level 3 masked bitmap use the a option By use of o you can specify the alpha channel expresses opacity default t specifies transparency Normally only pixels with 0 opacity are masked all others are drawn The alternative behaviour is to draw only pixels with full opacity and mask all others this can be reached by option 1 Option m advices the program to mix foreground and background color for a pixel depending on its alpha value You can specify a background color like 128 255 128 for light green The color specification must appar after the option Normally this background color is used only if there is no background color chunk in the file Option s gives this command line background color higher priority than the background color from chunk j Download only needed characters from Type 1 fonts This is the default Some debugging flags trace this operation You can also control partial downloading on a per font basis by editing updmap cfg See Section 5 1 k Print crop marks This option increases the paper size which should be specif
31. For example when called as mf the mf base is used which is identical to the plain base Other bases than plain are rarely used The commands given on the command line to the METAFONT program are passed to it as the first input line But it is often easier to type extended arguments as the first input line since shells tend to gobble up or misinterpret METAFONT s favorite symbols like semicolons unless you quote them As described in The METAFONTbook that first line should begin with a filename a controlsequence or a amp basename The normal usage is to say mf mode printengine input font to start processing font mf Or you can just say mf and give the other stuff on the next line Other control sequences such as batchmode for silent operation can also appear The name font will be the job name and is used in forming output file names If METAFONT doesn t get a file name in the first line the job name is mfput The default extension mf can be overridden by specifying an extension explicitly A log of error messages goes into the file font log The output files are font tfm and font numbergf where number depends on the resolution and magnification of the font The mode in this example is shown generically as printengine a symbolic term for which the name of an actual device or most commonly the name localfont must be substituted If the mode is not specified or is not valid METAFONT will default to proof mode which pro
32. GING MEMORY DUMP FILES S MiKTeX Package Manager 7 4 1667 Fie Edt Wew Task Repository A Keywords Filename Cabepary Packaged on instaladon Tite 2004 11 11 7 a paoster FormateiLaTexX LaTex con 2004 11 11 Provides fonts in sizes of 1206 up ba lFormatsiLaTexiLaTex con 2004 11 11 American Astronomical Society form abstract FormateiLaTex LaTex con 2004 11 11 Contral the typesetting of the abstr abstyles Lincabegonzed 2004 11 11 accFonts Uncabegarized 2004 11 11 Fort manipulation utilities mktLPank achemsc FormatsilatexiLates con 2004 11 11 LaTex and BibTex style For Americar FormateiLaTexiLaves con 2004 11 11 Association for Computing Machinen acmirans ILincategornzed 2004 11 11 arangi con 2004 11 11 Expand acronyms at least ance adfathesis FormatsiLaTexiLaTexX con 2004 11 11 adeheather FonteiFont Support 2004 11 11 Fart metrics Far Adobe nan skandar adrconv ILincategornzed 2094 11 11 Bibtex address database bo address adrlst FormatsiLaTeXiLaTek con 2004 11 11 Leing address lists in LaTex ae FontsiFont Support 2004 11 11 008 11 12 fonts For PDF Fles with TI en Langquage SuppertFrench 2004 11 11 Add several kind af guillemets ba th ayuplus iFormatsiLatexiLates con 2004 11 11 Styles for American Geophysical Unik 5 2 1 Installing Packages You install
33. PTER 10 PROGRAM DEFAULTS 10 5 METAFONT amp METAPOST 10 5 METAFONT amp METAPOST Size of stack for bisection algorithms should probably be left at this value bistack_size 1500 Maximum number of ligature kern steps must be at least 255 and at most 32510 lig_table_size 15000 Maximum number of knots between breakpoints of a path path_size 10000 10 6 METAFONT Number of autorounded points per cycle max_wiggle 1000 Space for storing moves in a single octant move_size 20000 10 7 METAPOST Number of words for TFM information for text fonts font_mem_size 10000 81 Index alias app 32 34 40 41 44 50 55 58 64 68 aux directory dir 15 44 50 55 58 64 68 batch 67 bistack size n 45 50 buf size n 45 50 55 58 64 69 c style errors 45 51 55 58 64 69 clean 67 disable installer 12 32 34 41 45 51 55 59 64 69 disable pipes 32 34 45 51 56 59 64 69 disable writel8 56 59 64 69 dont parse first line 45 51 56 59 64 69 dump 42 edit config file file 43 enable enctex 59 64 enable etex 59 69 enable installer 12 33 34 41 45 51 56 59 64 69 enable mitex 57 59 64 69 enable pipes 16 33 34 45 51 56 59 64 69 enable writel8 15 56 59 64 69 error line n 45 51 56 59 64 69 54 expand 67 extra mem bot n 56 59 64 69 extra mem top n 51
34. Pass option to the compiler verbose V Print information on what is being done version V Display version information and exit successfully viewer option option Pass option to the viewer Environment Variables The values of the BIBTEX LATEX or PDFLATEX MAKEINDEX MAKEINFO TEX or PDFTEX and TEXINDEX environment variables are used to run those commands if they are set Aliases tex2dvi Equivalent to texify xetex Name xetex Unicode based TEX engine Synopsis xetex option file Ncommand Description Run the XeTeX typesetter on file usually creating file pdf If the file argument has no extension tex will be appended to it Instead of a file name a set of XeTeX commands can be given the first of which must start with a backslash XeTeX has simple font installation it can use any installed fonts in the operating system without configuring TEX font metric As a result XeTeX can access font features such as special ligatures and variable font weights Options alias app Pretend to be app i e set program and memory dump name to app This may affect the search paths and other values used Using this option is equivalent to copying the executable file to app exe and invoking app exe aux directory dir Set the directory dir to which auxiliary files are written Also look for input files in dir first before along the normal search path 68 CHAPTER 6 PROGRAMS buf s
35. R 4 MAINTENANCE 4 2 SETTING THE PREFERRED PAPER FORMAT 4 2 Setting the Preferred Paper Format You can set the preferred paper format with the help of MiKTEX Options Click Start Programs MiKTeX 2 7 Settings to open the MiK TEX Options window see Figure 4 1 Select your preferred paper format from the drop down list and click OK 4 3 Selecting Hyphenation Tables You can control the loading of hyphenation tables with the help of MiKTEX Options Click Start Programs MiKTeX 2 7 Settings to open the MiK TEX Options window see Figure 4 1 Click on the Languages tab You will presented with the list of available languages and corresponding hyphenation tables Figure 4 2 Mark the languages whose hyphenation tables shall be loaded by TEX IATEX MiKTeX Options General Rooks Languages Language engish usengis dumylang s nahgph C basque CI bulgarian O 1 welzh czech slovak gemman v r genmar danish 01 spanish Formate Languages Packages Hyphenahon huphen bax ushphmak tex durmyhuph li aroha pen beu bahyph bes bghyphen bex eaplhuph lex czhpph tex skhyph tex dehyphil tes dehuphn tex dehy ph bes eshpphi ten anime kai Synonyms wangi espanol 4 4 You can use the MiKTEX update wizard to install the latest MiKTEX updates Figure 4 2 MiKTEX Options Languages Installing Updates To sta
36. REAMS dvivfont DVI virtual fonts env environment variables error error conditions extractor MiK TEX package archive file extractor files file operations filesearch file searching fndb file name database operations fontinfo font information retrieval mem TEX amp Friends memory allocation mmap memory mapped files mpm package manager mtprint MiK TEX print utility packages packages process execution of secondary processes tempfile temporary files time execution time values configuration values yap Yap 78 Chapter 10 Program Defaults 10 1 All TEXMF Programs TeX uses the buffer to contain input lines but macro expansion works by writing material into the buffer and reparsing the line As a consequence certain constructs require the buffer to be very large even though most documents can be handled with a small value buf size 200000 Width of context lines on terminal error messages error_line 79 Extra low memory for boxes glue breakpoints etc extra_mem_bot 0 Extra high memory for chars tokens etc extra_mem_top 0 Width of first lines of contexts in terminal error messages should be between 30 and error_line 15 half_error_line 50 Words of inimemory available main_memory 1500000 Width of longest text lines output should be at least 60 max_print_line 79 Maximum number of strings max_strings 100000 Ma
37. RW fonts with berry file names e g uhvbo8ac pfb URWkb is the default value ADOBE Adobe fonts with vendor file names e g hvnbo___ pfb ADOBEkb Adobe fonts with berry file names e g phvbo8an pfb dvipsDownloadBase35 value Specifies whether Dvips downloads the standard 35 LaserWriter fonts with the document If these fonts are not downloaded then they must be available in the PostScript printer interpreter Valid values are true and false default Whatever is specified here the user can override it by specifying dvips Pdownload35 resp dvips Pbuiltin35 to either download the LW35 fonts resp use the build in fonts pdftexDownloadBasei4 value Specifies whether pdf TEX downloads the base 14 PDF fonts Valid values are true default and false 74 CHAPTER 7 FILES Since some configurations PostScript PDF tools printers use bad default fonts it is safer to download the fonts The PDF files will get bigger though dvipdfmDownloadBasei4 value Specifies whether Dvipdfm downloads the base 14 PDF fonts Valid values are true default and false Since some configurations PostScript PDF tools printers use bad default fonts it is safer to download the fonts The PDF files will get bigger though Map filename Arranges that the contents of filename will be included in psfonts map MixedMap filename Arranges that the contents of filename will be included in psfonts map unless
38. TAFONT modes mklinks Create an executable for each known format mkmaps Build the font map files print only Print what would be done Nothing is changed quiet Suppress screen output report Write a MiKTEX configuration report update fndb Refresh the whole file name database update fndb dir Refresh the file name database for a specific TEXMF tree verbose Print information on what is being done version Print the version number and exit See also MiKTeX Project Page lt http www miktex org gt mf Name mf METAFONT a language for font and logo design Synopsis mf option command file Description METRFONT reads the program in the specified files and outputs font rasters in GF format and font metrics format The METRFONT language is described in The METAFONTbook l lt nttp www miktex org gt 43 CHAPTER 6 PROGRAMS Like TEX METAFONT is normally used with a large body of precompiled macros and font generation in particular requires the support of several macro files METAFONT looks at its command line to see what name it was called under Both inimf and virmf are linked to the mf executable When called as inimf or when the initialize option is given it can be used to precompile macros into a base file When called as virmf it will use the plain base When called under any other name METAFONT will use that name as the name of the base to use
39. TDS standard i e you must imitate the directory tree in the MiKTEX installation directory usually C NProgram Files MikTeX 2 7 23 CHAPTER 4 MAINTENANCE 4 6 INTEGRATING LOCAL ADDITIONS TIP This is the recommended method The rest of this section explains how you can register your own root directory 4 6 1 A Short Excursion The Directory Structure TDS Here is a brief summary of the TDS standard afm go in root fonts afm supplier font dvi ps or pdf go in root doc latex package enc go in root fonts enc syntaz bundle map go in root fonts map syntaz bundle mf go in root fonts source supplier font pfb go in root fonts typel supplier font Sty cls or fd go in root tex latex package tfm go in root fonts tfim supplier font ttf go in root fonts truetype supplier font vf go in root fonts vf supplier font Please run mthelp tds to learn more about the TDS 4 6 2 Walkthrough Registering a User Managed TEXMF Directory In this walkthrough we assume that your own additions are located in the directory tree rooted at C Local TeX Files This tree might look as follows In our example the input files are distributed over three directories C Local TeX Files bibtex bib misc Contains bib files C Local TeX Files bibtex bst misc Contains bst files C Local TeX Files tex latex misc Contains IATEX input files sty cls You use MiKTEX Options t
40. as output files and opening of any absolute filenames s Enclose the output in a global save restore pair This causes the file to not be truly conformant and is thus not recommended but is useful if you are driving a deficient printer directly and thus don t care too much about the portability of the output to other environments S num Set the maximum number of pages in each section This option is most commonly used with the i option see its description above for more information t papertype Set the paper type to papertype usually defined in one of the configuration files along with the appropriate PostScript code to select it You can also specify a papertype of landscape which rotates a document by 90 degrees To rotate a document whose paper type is not the default you can use the t option twice once for the paper type and once for landscape T hsize vsize Set the paper size to hsize vsize a comma separated pair of dimensions such as 1in 3cm It overrides any paper size special in the DVI file u name Examine name for PostScript font aliases Default is psfonts map This option allows you to specify different resident fonts that different printers may have If name starts with a character then the rest of the name after any leading spaces is used as an additional map file 38 CHAPTER 6 PROGRAMS Ux Disable a PostScript virtual memory saving optimization that stores the character metric inform
41. atic installation of missing packages Specifying this option overwrites the global config uration setting in MiKTEX Options see Section 4 5 disable pipes Disable input output from to child processes dont parse first line Disable checking whether the first line of the main input file starts with amp enable installer Enable automatic installation of missing packages Specifying this option overwrites the global config uration setting in MiKTEX Options see Section 4 5 enable pipes Enable input output from to child processes error line n Set the width of context lines on terminal error messages half error line n Set the width of first lines of contexts in terminal error messages halt on error Quit after the first error help Give help and exit hhelp This option is only available on Windows systems show the manual page in an HTML Help window and exit when the window is closed include directory dir Prefix dir to the search path initialize Become the NI variant of the compiler interaction mode Set the interaction mode Must be one of batchmode nonstopmode scrollmode and errorstopmode The meaning of these modes is the same as the corresponding commands job name name Set the name of the job jobname This has an affect on the output file names job time file Set the time stamp of all output files equal to file s time stamp lig table size n Set the maximum number of ligature
42. ation in the same string that is used to store the bitmap information This is only necessary when driving the Xerox 4045 PostScript interpreter which has a bug that puts garbage on the bottom of each character Not recommended unless you must drive this printer Download non resident PostScript fonts as bitmaps This requires use of makepk to generate the required bitmap fonts The bitmap must be put into psfonts map as the downloadable file for that font This is useful only for those fonts for which you do not have real outlines being downloaded to printers that have no resident fonts i e very rarely x num Set the x magnification ratio to num 1000 Overrides the magnification specified in the DVI file Must be between 10 and 100000 It is recommended that you use standard magstep values 1095 1200 1440 1728 2074 2488 2986 and so on to help reduce the total number of PK files generated num may be a real number not an integer for increased precision X num Set the horizontal resolution in dots per inch to num y num Set the y magnification ratio to num 1000 See x above Y num Set the vertical resolution in dots per inch to num z Pass html hyperdvi specials through to the output for eventual distillation into PDF This is not enabled by default to avoid including the header files unnecessarily and use of temporary files in creating the output Z Compress bitmap fonts in the output file thereby reducing the size of w
43. bilities forward inverse DVI search graphics color magnifying glass e open source source code is get at able for everyone The distribution consists of the following components TEX METAFONT METAFONTware Computer Modern Fonts the base TEX system pdfTgX XeTeX N TS various TEX derivatives METRPOST a METRFONT derivative for the creation of PostScript figures Dvipdfm converts TEX output into PDF documents macro packages almost all free TEX macro packages fonts almost all free fonts lenttp www tex ac uk cgi bin texfaq2html label tutorials gt CHAPTER 1 INTRODUCTION 1 3 HOW TO GET MIKTEX Yap a sophisticated viewer for TEX output TEXify a TEX compiler driver MiK TEX Options assists in configuring MiKTEX MiK TEX Update Wizard assists in keeping the MiKTEX system up to date lots of utilities tools for the creation of bibliographies amp indexes PostScript utilities and more 1 3 How to Get MiKTgX The MiK TEX distribution can be downloaded from the Internet And it is available on CD R DVD R 1 3 1 Downloading MiK TEX There MiKTEX setup program comes in two flavors e Basic MiKTeX Installer e MiKTeX Net Installer You use the Basic MiKTeX Installer to install a basic MIKTEX system The MiKTeX Net Installer can be used to download and install a complete MiKTEX system All this is explained later in this manual see Chapter 2 Installing MiKTeX
44. ction mode Must be one of batchmode nonstopmode scrollmode and errorstopmode The meaning of these modes is the same as the corresponding commands job name name Set the name of the job jobname This has an affect on the output file names job time file Set the time stamp of all output files equal to file s time stamp main memory n Change the total size in memory words of the main memory array Relevant only while creating memory dump files max in open n Set the maximum number of input files and error insertions that can be going on simultaneously max print line n Set the width of longest text lines output should be at least 60 max strings n Set the maximum number of strings nest size n Set the maximum number of semantic levels simultaneously active no c style errors Don t change the way error messages are printed output directory dir Create output files in dir This implies include directory dir param size n Set the the maximum number of simultaneous macro parameters parse first line Check whether the first line of the main input file starts with amp and parse if it does This can be used to specify extra command line options pool size n Set the maximum number of characters in strings including all error messages and help texts and the names of all fonts and control sequences quiet Suppress all output except errors recorder Enable the file name recorder This leaves a trace
45. d install from local repository Install MiKTEX from a directory to be specified with the 1ocal package repository option install root dir Install MIKTEX in the specified directory local package repository dir Download into Install from the specified directory no additional roots Do not integrate additional TEXMF root directories into the MiKTEX setup package set set Download Install the specified package set This must be one of basic complete private Install MIKTEX for the current user only program folder name Add shortcuts to the specified program folder remote package repository url Download from the specified the URL roots dirs Register additional TEXMF root directories dirs must be a semicolon separated list of fully qualified path names shared Install MIKTEX for everyone using this computer This option requires administrator privileges 62 CHAPTER 6 PROGRAMS unattended Run in unattended mode user config dir Set the location of the configuration directory for the current user user data dir Set the location of the data directory for the current user tex Name tex Synopsis tex option file Ncommand Description TEX formats the interspersed text and commands contained in the named files and outputs a typesetter independent file called DVI which is short for DeVice Independent capabilities and language are described in The T
46. duces large character images for use in font design and refinement Proof mode can be recognized by the suffix 2602gf after the job name Examples of proof mode output can be found in Computer Modern Typefaces Volume E of Computers and Typesetting The system of magsteps is identical to the system used by TEX with values generally in the range 0 5 1 0 2 0 3 0 4 0 and 5 0 Magnification can also be specified not as a magstep but as an arbitrary value such as 1 315 to create special character sizes Before font production can begin it is necessary to set up the appropriate base files The minimum set of components for font production for a given printengine is the plain mf macro file and the local mode def file The macros in plain mf can be studied in an appendix to The METAFONTbook they were developed by Donald E Knuth and this file should never be altered Each mode def specification helps adapt fonts to a particular printengine The local ones in use on this computer should be in modes mf The e response to METAFONT s error prompt causes the default editor to start up at the current line of the current file The configuration value Editor can be used to change the editor used It may contain a string with indicating where the filename goes and 1 indicating where the decimal line number if any goes A convenient file is null mf containing nothing When METAFONT can t find the file it thinks you want to input it keeps asking
47. e quiet Suppress all output except errors repository location Use the specified location as the package repository The location can be either a fully qualified path name a local package repository or an URL a remote package repository You can use the list repositories to retrieve a list of working package repository URLs set repository location This option is only available on Windows systems permanently register the location of the default package repository in the user area of the Windows Registry The location can be either a fully qualified path name a local package repository or an URL a remote package repository trace tracestreams Enable trace messages The tracestreams argument if speciefied is a comma separated list of trace stream names Chapter 9 Trace Streams uninstall package Uninstall the specified package update package Update the specified package if an updated version is available in the package repository Update all installed packages if package is omitted update db Synchronize the local package database with the package repository update some file Update packages listed line by line in the specified file verify Verify the integrity of all installed packages verify package Verify the integrity of the specified package 48 CHAPTER 6 PROGRAMS verbose Turn on verbose output mode version Show version information and exit Installation Destinati
48. e PDF version to 1 3 and allows only included PDFs with versions less than 1 3 A suitable default value is 4 pk_resolution One can use this entry to specify the resolution for bitmap fonts Nowadays most printers are capable to print at least 600 dots per inch so this is a reasonable default updmap cfg Name updmap cfg configuration Settings for outline fonts Description The configuration file updmap cfg contains declarative instructions which will be used to build font map files 73 CHAPTER 7 FILES CAUTION Do not edit this file directly Run initexmf edit config file updmap to edit configuration settings for outline fonts Instructions updmap cfg can contain the following instructions dvipsPrefer utline value LW35 Specifies whether Dvips prefers bitmap fonts or outline fonts if both are available Valid values are true default and false Independend of this setting outlines can be forced by putting p psfonts_ti map into a configuration file that Dvips reads Bitmaps for the fonts in question can be forced by putting p psfonts_pk map into a configuration file Such configuration files are provided which can be enabled via dvips Poutline resp dvips Ppk value Specifies which fonts for the Basic 35 LaserWriter Fonts will be used and how their file names are chosen Valid values URW URW fonts with vendor file names e g n0190641 pfb URWkb U
49. e T1 encoding TCX files for Czech Polish and Slovak are also provided 16 CHAPTER 3 USING MIKTEX 3 3 TEXIFY THE MIKTEX COMPILER DRIVER Syntax of TCX files 1 Line oriented Blank lines are ignored 2 Whitespace is ignored except as a separator 3 Comments start with and continue to the end of the line 4 Otherwise a line consists of one or two character codes src dest 5 Each character code may be specified in octal with a leading 0 hexadecimal with a leading Ox or decimal otherwise Values must be between 0 and 255 inclusive decimal 6 If the dest code is not specified it is taken to be the same as src 7 If the same src code is specified more than once it is the last definition that counts Finally here s what happens when TEX sees an input character with code src it 1 changes src to dest and 2 makes code the dest printable i e printed as is in diagnostics and the log file instead of in notation By default no characters are translated and character codes between 32 and 126 inclusive decimal are printable It is not possible to make these or any characters unprintable Specifying translations for the printable ASCII characters codes 32 127 will yield unpredictable results Additionally you shouldn t make the following characters printable I TAB J line feed M carriage return and delete since TEX uses them in various ways Thus the idea is to specify the input
50. e UK FAQ lt http www tex ac uk cgi bin texfaq2html label tutorials gt MiK TEX doesn t differ very much from any other system you might have used before Typesetting with MiK TEX involves these steps 1 Edit the source with your favourite text document editor 2 Compile the IATEX source into a DVI file i e say something like latex MyMastersThesis 3 Open the result by double clicking the DVI file e g MyMastersThesis dvi in Windows Explorer You usually use ATEX editor to carry out these steps The most prominent ones are listed here http wiw tex ac uk cgi bin texfaq2html label editors gt 3 2 Specialities This section describes features that were added to the MiKTEX implementation of TEX amp Friends 3 2 1 Automatic Package Installation All MiKTEX programs can be configured in such a way that missing packages are automatically installed see Section 4 5 It is possible to override the global configuration setting with these command line options disable installer Missing packages will not be installed enable installer Missing packages will be installed 3 2 2 Finding out Package Usages The command line option record package usages can be used to find out which packages are used in a job For example you would say latex record package usages packages txt test 12 CHAPTER 3 USING MIKTEX 3 2 SPECIALITIES to create the file packages txt which contains the nam
51. ems show the manual page in an HTML Help window and exit when the window is closed include directory dir Prefix dir to the search path min crossrefs n Defines the minimum number of crossrefs required for automatic inclusion of the crossref d entry on the citation list the default is two quiet Suppress all output except errors record package usages file Record all package usages and write them into file trace tracestreams Enable trace messages The tracestreams argument if speciefied is a comma separated list of trace stream names Chapter 9 Trace Streams version Show version information and exit Environment BIBINPUTS Extra paths to locate bib files BSTINPUTS Extra paths to locate bst files See Also BibTgXing Run mthelp btxdoc Designing Bib Styles Run mthelp btxhak BTEX A Document Preparation System ISBN 0 201 52983 1 dvicopy Name dvicopy produce modified copy of DVI file 33 CHAPTER 6 PROGRAMS Synopsis dvicopy option indvi outdvi Description dvicopy reads a DVI file expands any references to virtual fonts to base fonts and writes the resulting DVI file Thus you can use virtual fonts even if your DVI processor does not support them by passing the documents through dvicopy first Options alias app Pretend to be app i e set program and memory dump name to app This may affect the search paths and other values used Using this
52. es See also The pdfTgX user manual A4 version Run mthelp pdftex a setupwiz Name basic miktex setup setup wizard Synopsis basic miktex 2 7 222z exe options setup 2 7 z222 exe options 61 CHAPTER 6 PROGRAMS Description MiK TEX Setup Wizard is used to install MiKTEX There a two instances of the installer Basic MiKTeX Installer basic miktex 2 7 xxxx exe The Basic MiKTEX installer can be used to set up a basic MiKTEX system The packages are embedded in the installer i e the installer is quite large MiKTeX Net Installer setup 2 7 xxxx exe The net installer can be used to set up a complete MiKTEX system Packages will be installed from a local package repository Both installers read options from the file setupwiz opt if it exists It is also possible to specify options on the command line For example this command starts the Basic MiK TEX installer in unattended mode gt basic miktex 2 7 xxxx exe unattended gt Options allow unattended reboot Restart the system if necessary common config dir Set the location of the common configuration directory This option requires administrator privileges common data dir Set the location of the common data directory This option requires administrator privileges download only Download all required packages but do not otherwise install MiKTEX dry run Simulate No files shall be downloaded and or installe
53. es of the packages used by test tex If test tex looks like this documentclass scrartcl beginfdocument Hello world end document Then the resulting packages txt would contain these lines cm koma script ltxbase The package list can be handed over to the package manager see mpm 1 e g mpm update some packages txt would ensure that you have the latest versions installed 3 2 3 Suppressing Screen Output The option quiet suppresses all diagnostic messages No screen output is produced unless there are errors The quiet option implies c style errors and interaction batchmode i e errors will be shown in a C style form and do not stop the compilation process For example the input file foo tex documentclass article begin document What s This end documnt would cause to print one error message as in the following example gt latex quiet foo tex foo tex 3 Undefined control sequence gt 3 2 4 Setting the Name of the Output File You can change the name of all output files by using the option job name name This switch actually sets the name of the TEX job and has an effect of the output file names because these names are derived from the job name Look at the following example gt latex job name foo sample2e This is TeX Version 3 14159 MiKTeX 2 2 texmf tex latex base sample2e tex LaTeX2e lt 2001 06 01 gt Babel lt v3 7h gt and hyphenation patterns for
54. et project showfiles php group_id 10783 amp package_id 20003 gt CHAPTER 2 INSTALLING MIKTEX 2 2 ITEMS IN THE START MENU 2 1 5 Installing a complete MiKTEX system Get the MiKTeX Net Installer setup 2 7 zzcz exe from the download page lt http sourceforge net project showfiles php group_id 10783 amp package_id 25532 gt You will use the installer to down load the complete MiKTEX distribution Once you have downoaded the distribution you can install it 2 1 5 1 Task 1 Download the complete distribution Start the MiKTeX Net Installer and choose Download MiKTeX on the task page You will be prompted to choose an installation size choose Complete MiKTeX a download source and a destination directory TIP You should use a download source which is located in the proximity of you Depending on your Internet connection the download can take several hours to complete If something goes wrong you can resume the download operation by starting the MiKTeX Net Installer again 2 1 5 2 Task 2 Install MiKTEX Once the download operation is complete you are ready to install MiKTEX start Windows Explorer and browse to the directory which contains the complete MiKTEX distribution see previous section Lookout for a file named setup This is the MiKTEX setup application Start setup by double clicking its icon 2 2 Items in the Start Menu MiK TEX Setup Wizard installs the following menu items the Wind
55. figs to process the file figs mp The basename of figs becomes the jobname and is used in forming output file names If no file is named the jobname becomes mpout The default extension mp can be overridden by specifying an extension explicitly Options alias app Pretend to be app i e set program and memory dump name to app This may affect the search paths and other values used Using this option is equivalent to copying the executable file to app exe and invoking app exe aux directory dir Set the directory dir to which auxiliary files are written Also look for input files in dir first before along the normal search path bistack size n Set the size of the stack for bisection algorithms buf size n Set the the maximum number of characters simultaneously present in current lines of open files and in control sequences between csname and endcsname TEX uses the buffer to contain input lines but macro expansion works by writing material into the buffer and reparsing the line As a consequence certain constructs require the buffer to be very large even though most documents can be handled with a small value http www miktex org 50 CHAPTER 6 PROGRAMS c style errors Change the way error messages are printed The alternate style looks like error messages from many compilers and is easier to parse for some editors This option implies scrollmode disable installer Disable automatic installation
56. g in MiKTEX Options see Section 4 5 enable mltex Enable MLTeX extensions such as charsubdef enable pipes Enable input output from to child processes enable write18 Enable the write18 command construct It is disabled by default to avoid security problems When enabled the command which undergoes the usual TEX expansions is passed to the command inter preter The output of the command is not diverted anywhere so it will not appear in the log file The command execution either happens at output time or right away according to the absence or presence of the immediate prefix error line n Set the width of context lines on terminal error messages extra mem bot n Set the extra size in memory words for large data structures like boxes glue breakpoints et al Relevant only after the memory dump file has been read extra mem top n Set the extra size in memory words for chars tokens et al Relevant only after the memory dump file has been read 64 CHAPTER 6 PROGRAMS font max n Set the maximum internal font number font mem size n Set the size in TEX memory words of the font memory half error line n Set the width of first lines of contexts in terminal error messages halt on error Quit after the first error help Give help and exit include directory dir Prefix dir to the search path initialize Become the NI variant of the compiler interaction mode Set the intera
57. gXbook TEX is normally used with a large body of precompiled macros and there are several specific formatting systems such as IATEX which require the support of several macro files TEX looks at its command line to see what name it was called under Both initex and virtex are linked to the tex executable When called as initex or when the initialize option is given it can be used to precompile macros into a fmt file When called as virtex it will use the plain format When called under any other name TEX will use that name as the name of the format to use For example when called as tex the tex format is used which is identical to the plain format The commands defined by the plain format are documented in The TEXbook Other formats that are often available include latex and amstex The commands given on the command line to the TEX program are passed to it as the first input line But it is often easier to type extended arguments as the first input line since shells tend to gobble up or misinterpret TEX s favorite symbols like backslashes unless you quote them As described in The TEXbook that first line should begin with a file name a controlsequence or a amp formatname The normal usage is to say tex paper to start processing paper tex The name paper will be the job name and is used in forming output file names If TEX doesn t get a file name in the first line the job name is texput When looking for a file TEX looks f
58. hat gets downloaded Especially useful at high resolutions or when very large fonts are used May slow down printing especially on early 68000 based PostScript printers Generally recommend today and can be enabled in the configuration file See Also Dvips A DVI to PostScript Translator Run mthelp dvips findtexmf Name findtexmf find MiKTEX files Synopsis findtexmf option file Description findtexmf can be used to find MiKTEX related files When the file type option is not given the search path used when looking for a file is inferred from the name given by looking for a known extension If no known extension is found the search path for TEX source files is used 39 CHAPTER 6 PROGRAMS Options alias app Pretend to be app when finding files help Give help and exit file type filetype Use the specified file type see below must exist Install missing packages if necessary show path filetype Output search path for the specified file type see below start Start the associated program if the file was found the name of the game name Set the name of the program Relevant when searching for format files version Show version information and exit File Types afm afm base base bib bib bst bst dvi dvi enc exe COM EXE BAT CMD VBS VBE JS JSE WSF WSH PSC1 fmt fmt hbf hbf graphic figure eps epsi png ist ist
59. hat should not go through any proxy 49 CHAPTER 6 PROGRAMS See also MiKTeX Project Page lt http www miktex org gt mpost Name mpost METAPOST a system for drawing pictures Synopsis mpost option command file Description METAPOST installed as mpost reads a series of pictures specified in the METAPOST programming language and outputs corresponding PostScript code Like TEX and METRFONT METRPOST is normally used with a large body of precompiled macros This version of METAPOST looks at its command line to see what name it was called under Both inimpost and virmpost are aliases for the mpost executable When called as inimpost or when the initialize option is given it can be used to precompile macros into a mem file When called as virmpost it will use the plain mem When called under any other name METRPOST will use that name as the name of the mem to use For example when called as mpost the mpost mem is used which is identical to the plain mem Other mems than plain are rarely used The commands given on the command line to the METAPOST program are passed to it as the first input line But it is often easier to type extended arguments as the first input line since shells tend to gobble up or misinterpret METRPOST s favorite symbols like semicolons unless you quote them The first line should begin with a filename a controlsequence or a amp basename The normal usage is to say mpost
60. his ensures that all output files foo dvi foo log will be created in C texoutput 3 2 9 Specifying the Directory for Auxiliary Files The option aux directory dir causes to create auxiliary files in another directory For example gt mkdir C texoutput gt mkdir C tobedeleted gt latex output directory C texoutput aux directory C tobedeleted foo tex gt This ensures that 1 foo dvi will be created in C texoutput and 2 all other files oo 1og will be created in C tobedeleted 3 2 10 Running Programs From Within TEX 3 2 10 1 writel8 TEX handles output stream 18 in a special way the token list is interpreted as a command line If the Nwrite18 feature is enabled see below then writel8 toklist starts the command interpreter usually cmd exe to carry out the command specified by toklist For example write18 dir lists the files and sub directories of the current directory NOTE TEX ignores writel8 by default to avoid security problems You enable the feature by specifying enable write18 on the TEX command line 3 2 10 2 Piped Input and Output TEX s input output primitives can be used for unidirectional interprocess communication by prepending a pipe symbol to the file name If this feature is enabled then input command starts the command interpreter usually cmd exe to carry out the command The output of the command becomes the input of TEX For example
61. ib files specified by the bibliography command the entries specified by the cite and nocite commands in the ATEX or TEX source file It formats the information from those entries according to instructions in a bibliography style bst file specified by the bibliographystyle command and it outputs the results to the bb1 file The reference manual explains what a ATEX source file must contain to work with bibtex Appendix of the manual describes the format of the bib files The Bib T Xing document describes extensions and details of this format and it gives other useful hints for using bibtex Options alias app Pretend to be i e set program and memory dump name to app This may affect the search paths and other values used Using this option is equivalent to copying the executable file to app exe and invoking app exe disable installer Disable automatic installation of missing packages Specifying this option overwrites the global config uration setting in MiKTEX Options see Section 4 5 disable pipes Disable input output from to child processes 32 CHAPTER 6 PROGRAMS enable installer Enable automatic installation of missing packages Specifying this option overwrites the global config uration setting in MiKTEX Options see Section 4 5 enable pipes Enable input output from to child processes help Give help and exit hhelp This option is only available on Windows syst
62. ied either with a paper size special or with the T option by a half inch in each dimension It translates each page by a quarter inch and draws cross style crop marks It is mostly useful with typesetters that can set the page size automatically This works by downloading crop pro K Remove comments in included PostScript graphics font files and headers only necessary to get around bugs in spoolers or PostScript post processing programs Specifically the Page comments when left in often cause difficulties Use of this flag can cause other graphics to fail however since the PostScript header macros from some software packages read portion the input stream line by line searching for a particular comment 1 The last page printed will be the first one numbered num Default is the last page in the document If num is prefixed by an equals sign then it and the argument to the p option if specified is treated as a physical absolute page number rather than a value to compare with the TEX countO values stored in the DVI file Thus using 1 9 will end with the ninth page of the document no matter what the pages are actually numbered m Specify manual feed if supported by the output device M Turns off automatic font generation n num Print at most num pages Default is 100000 N Turns off generation of structured comments such as 96 6 Page this may be necessary on some systems that try to interpret PostScri
63. ig uration setting in MiKTEX Options see Section 4 5 enable mltex Enable MLTeX extensions such as charsubdef enable pipes Enable input output from to child processes enable write18 Enable the write18 command construct It is disabled by default to avoid security problems When enabled the command which undergoes the usual TEX expansions is passed to the command inter preter The output of the command is not diverted anywhere so it will not appear in the log file The command execution either happens at output time or right away according to the absence or presence of the immediate prefix error line n Set the width of context lines on terminal error messages extra mem bot n Set the extra size in memory words for large data structures like boxes glue breakpoints et al Relevant only after the memory dump file has been read extra mem top n Set the extra size in memory words for chars tokens et al Relevant only after the memory dump file has been read font max n Set the maximum internal font number font mem size n Set the size in TEX memory words of the font memory half error line n Set the width of first lines of contexts in terminal error messages halt on error Quit after the first error help Give help and exit include directory dir Prefix dir to the search path initialize Become the N variant of the compiler 59 CHAPTER 6 PROGRAMS interaction m
64. ime file Set the time stamp of all output files equal to file s time stamp main memory n Change the total size in memory words of the main memory array Relevant only while creating memory dump files max in open n Set the maximum number of input files and error insertions that can be going on simultaneously max print line n Set the width of longest text lines output should be at least 60 max strings n Set the maximum number of strings nest size n Set the maximum number of semantic levels simultaneously active no c style errors Don t change the way error messages are printed no pdf Generate XDV extended DVI output rather than PDF output directory dir Create output files in dir This implies include directory dir output driver cmd Use cmd as the XDV to PDF driver instead of xdvipdfmx papersize string Set PDF media size to string param size n Set the the maximum number of simultaneous macro parameters parse first line Check whether the first line of the main input file starts with amp and parse if it does This can be used to specify extra command line options pool size n Set the maximum number of characters in strings including all error messages and help texts and the names of all fonts and control sequences quiet Suppress all output except errors record package usages file Record all package usages and write them into file recorder Enable the file name recorder Th
65. is leaves a trace of the files opened for input and output in a file with the extension fls save size n Set the the amount of space for saving values outside of current group 70 CHAPTER 6 PROGRAMS src specials Embed source file information source specials in the DVI file stack size n Set the maximum number of simultaneous input sources string vacancies n Set the minimum number of characters that should be available for the user s control sequences and font names after the compiler s own error messages are stored Must be at least 25000 less than pool size but doesn t need to be nearly that large time statistics Show processing time statistics trace tracestreams Enable trace messages The tracestreams argument if speciefied is a comma separated list of trace stream names Chapter 9 Trace Streams trie size n Set the amount of space for hyphenation patterns undump name Use name as the name of the format to be used instead of the name by which the program was called or a line version Show version information and exit Environment TEXINPUTS Extra paths to locate TEX input and openin files TFMFONTS Extra paths to locate font metric files See also The XeTeX reference guide Run mthelp xetexref 71 Chapter 7 Files pdftex cfg Name pdftex cfg configuration Settings for pdfTEX Description pdfTEX configurations settings are read from the file
66. ize n Set the the maximum number of characters simultaneously present in current lines of open files and in control sequences between csname and endcsname TEX uses the buffer to contain input lines but macro expansion works by writing material into the buffer and reparsing the line As a consequence certain constructs require the buffer to be very large even though most documents can be handled with a small value c style errors Change the way error messages are printed The alternate style looks like error messages from many compilers and is easier to parse for some editors This option implies scrollmode disable installer Disable automatic installation of missing packages Specifying this option overwrites the global config uration setting in MiKTEX Options see Section 4 5 disable pipes Disable input output from to child processes disable write18 Disable the writel8 command construct dont parse first line Disable checking whether the first line of the main input file starts with amp enable etex Enable eTeX extensions enable installer Enable automatic installation of missing packages Specifying this option overwrites the global config uration setting in MiKTEX Options see Section 4 5 enable mltex Enable MLTeX extensions such as charsubdef enable pipes Enable input output from to child processes enable write18 Enable the write18 command construct It is disabled by default to a
67. job jobname This has an affect on the output file names job time file Set the time stamp of all output files equal to file s time stamp lig table size n Set the maximum number of ligature kern steps Must be at least 255 and at most 32510 main memory n Change the total size in memory words of the main memory array Relevant only while creating memory dump files max print line n Set the width of longest text lines output should be at least 60 51 CHAPTER 6 PROGRAMS max strings n Set the maximum number of strings no c style errors Don t change the way error messages are printed output directory dir Create output files in dir This implies include directory dir param size n Set the the maximum number of simultaneous macro parameters parse first line Check whether the first line of the main input file starts with amp and parse if it does This can be used to specify extra command line options path size n Set the the maximum number of knots between breakpoints of a path pool size n Set the maximum number of characters in strings including all error messages and help texts and the names of all fonts and control sequences quiet Suppress all output except errors record package usages file Record all package usages and write them into file recorder Enable the file name recorder This leaves a trace of the files opened for input and output in a file with the extension fls
68. kern steps Must be at least 255 and at most 32510 main memory n Change the total size in memory words of the main memory array Relevant only while creating memory dump files 45 CHAPTER 6 PROGRAMS max print line n Set the width of longest text lines output should be at least 60 max strings n Set the maximum number of strings max wiggle n Set the number of autorounded points per cycle move size n Set the the space for storing moves in a single octant no c style errors Don t change the way error messages are printed output directory dir Create output files in dir This implies include directory dir param size n Set the the maximum number of simultaneous macro parameters parse first line Check whether the first line of the main input file starts with amp and parse if it does This can be used to specify extra command line options path size n Set the the maximum number of knots between breakpoints of a path pool size n Set the maximum number of characters in strings including all error messages and help texts and the names of all fonts and control sequences quiet Suppress all output except errors record package usages file Record all package usages and write them into file recorder Enable the file name recorder This leaves a trace of the files opened for input and output in a file with the extension fls screen Enable screen output stack size n Set the maxi
69. l lines which otherwise have to be simulated using horizontal and vertical rules The default gray title and label fonts are gray cmr8 and cmtt10 respectively there is no default slant font To change the default fonts you can give special commands in your source file or you can change the fonts on the command line The GF file name on the command line must be complete The program prompts you for it if you don t give it Because the resolution is part of the extension it would not make sense to append a default extension as is done with other DVlI reading software The output file name defaults to the same root as the GF file with the dvi extension added For example the input file cmr10 2602gf would become cmr10 dvi Options alias app Pretend to be app i e set program and memory dump name to app This may affect the search paths and other values used Using this option is equivalent to copying the executable file to app exe and invoking app exe disable installer Disable automatic installation of missing packages Specifying this option overwrites the global config uration setting in MiKTEX Options see Section 4 5 enable installer Enable automatic installation of missing packages Specifying this option overwrites the global config uration setting in MiKTEX Options see Section 4 5 gray font font Sets the gray font Default is gray help Give help and exit 41 CHAPTER 6 PROGRAMS hhelp
70. lent to copying the executable file to app exe and invoking app exe aux directory dir Set the directory dir to which auxiliary files are written Also look for input files in dir first before along the normal search path buf size n Set the the maximum number of characters simultaneously present in current lines of open files and in control sequences between csname and endcsname TEX uses the buffer to contain input lines but macro expansion works by writing material into the buffer and reparsing the line As a consequence certain constructs require the buffer to be very large even though most documents can be handled with a small value c style errors Change the way error messages are printed The alternate style looks like error messages from many compilers and is easier to parse for some editors This option implies scrollmode disable installer Disable automatic installation of missing packages Specifying this option overwrites the global config uration setting in MiKTEX Options see Section 4 5 disable pipes Disable input output from to child processes disable write18 Disable the writel8 command construct dont parse first line Disable checking whether the first line of the main input file starts with amp enable enctex Enable encTeX extensions such as mubyte enable installer Enable automatic installation of missing packages Specifying this option overwrites the global config uration settin
71. mum number of simultaneous input sources string vacancies n Set the minimum number of characters that should be available for the user s control sequences and font names after the compiler s own error messages are stored Must be at least 25000 less than pool_size but doesn t need to be nearly that large tcx name Process the TCX table name time statistics Show processing time statistics trace tracestreams Enable trace messages The tracestreams argument if speciefied is a comma separated list of trace stream names Chapter 9 Trace Streams undump name Use name as the name of the format to be used instead of the name by which the program was called or a amp line 46 CHAPTER 6 PROGRAMS version Show version information and exit Environment MFINPUTS Extra paths to locate METAFONT input and openin files See also The METAFONTbook ISBN 0 201 13444 6 mpm Name mpm MiKTEX package manager Synopsis mpm option Description MPM MiKTEX Package Manager is used to install packages from a MiK TEX package repository MPM was originally intended to be a tool for MiKTEX users But the program can be helpful for users of other TEX systems too because many of the MiKTEX packages are system independent Windows specific The package manager can be run in two modes batch MPM is driven by command line options windowed MPM shows a package list view with standard GUI c
72. n32 mk kp Hp un igat delpubtex syshems wand mike ftp tp darte detes archiee systems vini da mikbest fp iip ritus gr mirror clan wand mik les Tm ftp Tip comp ed hk pub T CTAN s E mik her bm HET Z ftp cis unFloma W T aie ay EME z ftp Tip lab kdd pi T AP systems wen 3e bo your site Alternativer pou may wish bo Desesptian miror Dante mimar CTAR E imor memor rag Click Next gt to continue A list of updateable packages is displayed Choose the packages you wish to update 21 CHAPTER 4 MAINTENANCE 4 4 INSTALLING UPDATES MIKTeX Update Wizard 2 2 3 Update List Select the packages you vash to update The following updates are avalable Select Ihe packages pou wish to update Click Nest to stait the update process Old Hew e hyperel e Jie Click Next gt to start the update process MiK TEX Update Wizard now updates the selected packages MiKTeX Update Wizard 2 2 3 Update Selected packages are being updated mi viri 32 mites Am pasek ages cab unknown size S41610 bytes 80 06 KB Se wes wanda mik kbes tm packages kanien cab unknown azel When the update operation is complete click Next gt and then Finish 22
73. o register C Local TeX Files Click Start Programs MiKTeX 2 7 Settings to open the MiKTEX Options window see Figure 4 1 Click on the Roots tab The Roots page see Figure 4 5 shows the list of currently registered root directories Click Add In the following dialog box Figure 4 6 browse to C Local TeX Files and click OK The root directory will be appended to the list Figure 4 7 You can move C Local TeX Files before the installation directory if you want to prioritize your own files Click C Local TeX Files to select the list entry Then click Up to move it before the installation directory Figure 4 8 Click OK to close MiKTEX Options The file name database will be refreshed Your files in C Local TeX Files are now available to MiKTEX 24 CHAPTER 4 MAINTENANCE 4 6 INTEGRATING LOCAL ADDITIONS E TeX Files Ele Edt Favorites Took Address C Local TeX Fies 3 Desktop bbtex H amp M Computer Ji Floppy 5 4 Local Disk C Figure 4 4 Sample TEX Directory Structure MiKTeX Options General Roots Formate Language Packages The list of registered directanes The order in the bel debeimines Ihe onder in which files searched Down Path Description C Documents and SettngsscschenkVApp 25 UseiCon g CDocumerts and SelingesceschenkM oc S25 C Documents and
74. o which auxiliary files are written Also look for input files in dir first before along the normal search path buf size n Set the the maximum number of characters simultaneously present in current lines of open files and in control sequences between csname and endcsname TEX uses the buffer to contain input lines but macro expansion works by writing material into the buffer and reparsing the line As a consequence certain constructs require the buffer to be very large even though most documents can be handled with a small value c style errors Change the way error messages are printed The alternate style looks like error messages from many compilers and is easier to parse for some editors This option implies scrollmode 58 CHAPTER 6 PROGRAMS disable installer Disable automatic installation of missing packages Specifying this option overwrites the global config uration setting in MiKTEX Options see Section 4 5 disable pipes Disable input output from to child processes disable write18 Disable the writel8 command construct dont parse first line Disable checking whether the first line of the main input file starts with amp draftmode Switch on draft mode generates no output enable enctex Enable encTeX extensions such as mubyte enable etex Enable eTeX extensions enable installer Enable automatic installation of missing packages Specifying this option overwrites the global conf
75. ode Set the interaction mode Must be one of batchmode nonstopmode scrollmode and errorstopmode The meaning of these modes is the same as the corresponding commands job name name Set the name of the job jobname This has an affect on the output file names job time file Set the time stamp of all output files equal to file s time stamp main memory n Change the total size in memory words of the main memory array Relevant only while creating memory dump files max in open n Set the maximum number of input files and error insertions that can be going on simultaneously max print line n Set the width of longest text lines output should be at least 60 max strings n Set the maximum number of strings nest size n Set the maximum number of semantic levels simultaneously active no c style errors Don t change the way error messages are printed output directory dir Create output files in dir This implies include directory dir output format format Set the output format param size n Set the the maximum number of simultaneous macro parameters parse first line Check whether the first line of the main input file starts with amp and parse if it does This can be used to specify extra command line options pool size n Set the maximum number of characters in strings including all error messages and help texts and the names of all fonts and control sequences quiet Suppress all output except erro
76. of missing packages Specifying this option overwrites the global config uration setting in MiKTEX Options see Section 4 5 disable pipes Disable input output from to child processes dont parse first line Disable checking whether the first line of the main input file starts with amp enable installer Enable automatic installation of missing packages Specifying this option overwrites the global config uration setting in MiKTEX Options see Section 4 5 enable pipes Enable input output from to child processes error line n Set the width of context lines on terminal error messages extra mem top n Set the extra size in memory words for chars tokens et al Relevant only after the memory dump file has been read font mem size n Set the size in TEX memory words of the font memory half error line n Set the width of first lines of contexts in terminal error messages halt on error Quit after the first error help Give help and exit hhelp This option is only available on Windows systems show the manual page in an HTML Help window and exit when the window is closed include directory dir Prefix dir to the search path initialize Become the N variant of the compiler interaction mode Set the interaction mode Must be one of batchmode nonstopmode scrollmode and errorstopmode The meaning of these modes is the same as the corresponding commands job name name Set the name of the
77. on All files are installed in the TEXMF installation directory usually C Program Files MiKTeX 2 7 It may be necessary to specify the location of the installation directory if you are running MPM as a standalone program i e if MIKTEX is not the TEX system The install root option allows you to set the installation directory for one invocation of MPM Package Database All package information is retrieved from the package database which must have been properly installed by running MPM with the update db option Examples Print the list of known package repository URLs gt mpm list repositories Retrieve the package database files from the FTP server some server gt mpm repository ftp some server miktex packages verbose update db Print information about package aQposter gt mpm print package info a0poster Install package a0poster gt mpm verbose install a0poster Update all installed packages gt mpm verbose update Print the list of installed packages gt mpm list grep i Environment MIKTEX_REPOSITORY Location of the package repository This can be either a fully qualified path name a local package repository or an URL a remote package repository http_proxy The proxy server to be used for HTTP FTP_PROXY The proxy server to be used for FTP ALL_PROXY The proxy server to be used if no protocol specific proxy is set NO_PROXY Comma separated list of host names t
78. ontrols such as tool bar buttons and command menus MPM starts in windowed mode if you do not specify any command line options see Xrefld Options find updates Test the package repository for updates then print the list of updateable packages help Give help and exit hhelp This option is only available on Windows systems show the manual page in an HTML Help window and exit when the window is closed 47 CHAPTER 6 PROGRAMS import PACKAGE Import the specified package from another MiKTEX installation The root directory must be specified via repository DIR import all Import all packages from another MiKTEX installation The root directory must be specified via repository DIR install package Install the specified package install root directory Use the specified directory as the installation destination The directory must be the root of a TDS compliant directory tree install some file Install packages listed line by line in the specified file list List the contents of the package database for each package print the installation status the number of files the size and the name list repositories Download the list of known package repository URLs from the project server then print the list pick repository url Pick up a suitable URL from the package repository list and print it print package info package Print detailed information about the specified packag
79. option is equivalent to copying the executable file to app exe and invoking app exe disable installer Disable automatic installation of missing packages Specifying this option overwrites the global config uration setting in MiKTEX Options see Section 4 5 disable pipes Disable input output from to child processes enable installer Enable automatic installation of missing packages Specifying this option overwrites the global config uration setting in MiKTEX Options see Section 4 5 enable pipes Enable input output from to child processes help Give help and exit hhelp This option is only available on Windows systems show the manual page in an HTML Help window and exit when the window is closed include directory dir Prefix dir to the search path mag mag Override existing magnification with mag max pages n Process n pages default one million This option cannot be used together with select page start page spec Start at page spec for example 2 or 5 2 This option cannot be used together with select record package usages file Record all package usages and write them into file select sel Select pages to be copied The syntax for sel is start n where start is the starting page specification for example 2 or 5 2 and n optional is the maximum number of pages to be copied You can use up to 10 select options This option cannot be used together with max pages or page s
80. or the name with and without the default extension tex appended unless the name already contains that extension If paper is the job name a log of error messages with rather more detail than normally appears on the screen will appear in paper log and the output file will be in paper dvi will look in the first line of the file paper tex to see if it begins with the magic sequence amp If the first line begins with amp format translate file tcxname then TEX will use the named format and transation table tczname to process the source file Either the format name or the translate file specification may be omitted but not both The e response to 8 error prompt causes the default editor to start up at the current line of the current file The configuration value Editor can be used to change the editor used It may contain a string with f indicating where the file name goes and 1 indicating where the decimal line number if any goes A convenient file is null tex containing nothing When TEX can t find a file it thinks you want to input it keeps asking you for another file name responding null gets you out of the loop if you don t want to input anything You can also type your EOF character usually Control Z 63 CHAPTER 6 PROGRAMS Options alias app Pretend to be app i e set program and memory dump name to app This may affect the search paths and other values used Using this option is equiva
81. ows start menu MiKTeX 2 7 Help FAQ Answers to frequently asked questions MiKTeX 2 7 Help LaTeX2e Reference A LaTeX2e reference manual MiKTeX 2 7 Help Manual The MiKTEX manual MiKTeX 2 7 MiKTeX on the Web Known Issues An Internet shortcut to the MiKTEX issues page MiKTeX 2 7 MiKTeX on the Web MiKTeX Project Page An Internet shortcut to the MiKTEX project page MiKTeX 2 7 MiKTeX on the Web Registration An Internet shortcut to the MiKTEX registration page MiKTeX 2 7 MiKTeX on the Web Support An Internet shortcut to the MiKTEX support page MiKTeX 2 7 Browse packages A shortcut to the package manager MiKTeX 2 7 Previewer A shortcut to the MiKTEX previewer Yap lt http sourceforge net project showfiles php group_id 10783 amp package_id 25532 gt 10 CHAPTER 2 INSTALLING MIKTEX 2 3 REMOVING MIKTEX MiKTeX 2 7 Settings A shortcut to the MiKTEX Options MiKTeX 2 7 Update A shortcut to the MiKTEX update wizard 2 3 Removing MiK TEX MiK TEX can be removed from your computer in the following way 1 Open Control Panel 2 Double click Add or Remove Programs 3 Click MiKTeX 2 7 4 Click Change Remove 11 Chapter 3 Using MiK TEX 3 1 Getting Started If you have never used before then it is recommendable to work through one of the TEX IATEX tutorials A good starting point is this entry in th
82. pt comments in weird ways or on some PostScript printers Beware This also disables page movement etc in PostScript viewers such as GSview o name Send output to the file name If o is specified without name the default is file ps where the input DVI file was file dvi If o isn t given at all the configuration file default is used If name is output goes to standard output If the first character of name is or then the remainder will be used as an argument to popen thus specifying 1 as the output file will automatically queue the file for printing as usual dvips will print to the local printer device PRN when name is 1 and a program by that name cannot be found o turns off the automatic sending of control D See the f option for how to override this 37 CHAPTER 6 PROGRAMS 0 x offset y offset Move the origin by z offset y offset a comma separated pair of dimensions such as 1in 3cm The origin of the page is shifted from the default position of one inch down one inch to the right from the upper left corner of the paper by this amount This is usually best specified in the printer specific configuration file This is useful for a printer that consistently offsets output pages by a certain amount You can use the file testpage tex to determine the correct value for your printer Be sure to do several runs with the same 0 value some printers vary widely from run to run If your printer offsets eve
83. re 4 1 Click on the Formats tab You are presented with a list of known memory dump files To add an entry to this list click New In the Format Definition dialog box enter the following information Format name The name of the memory dump file without an extension Compiler The program which creates and loads the memory dump file Input file The name of the main input file Preloaded format Optional The name of another memory dump file which must be loaded before the actual memory dump file is being created Descriptioin A one line comment which describes the new memory dump file new executable file with the name of the memory dump will be installed in the MiKTEX bin directory This executable serves as a short cut for compiler amp name For example these two commands are equivalent latex sample2e pdftex amp latex sample2e 30 Part Il Reference 31 Chapter 6 Programs bibtex Name bibtex make a bibliography for La TEX Synopsis bibtex option Description bibtex reads the top level auxiliary aux file that was output during the running of latex or tex and creates a bibliography bb1 file that will be incorporated into the document on subsequent runs of ATEX or TEX The auzname on the command line must be given without the aux extension If you don t give the auzname the program prompts you for it bibtex looks up in bibliographic database b
84. ror messages are printed The alternate style looks like error messages from many compilers and is easier to parse for some editors This option implies scrollmode disable installer Disable automatic installation of missing packages Specifying this option overwrites the global config uration setting in MiKTEX Options see Section 4 5 55 CHAPTER 6 PROGRAMS disable pipes Disable input output from to child processes disable write18 Disable the writel8 command construct dont parse first line Disable checking whether the first line of the main input file starts with amp enable installer Enable automatic installation of missing packages Specifying this option overwrites the global config uration setting in MiKTEX Options see Section 4 5 enable pipes Enable input output from to child processes enable write18 Enable the write18 command construct It is disabled by default to avoid security problems When enabled the command which undergoes the usual TEX expansions is passed to the command inter preter The output of the command is not diverted anywhere so it will not appear in the log file The command execution either happens at output time or right away according to the absence or presence of the immediate prefix error line n Set the width of context lines on terminal error messages extra mem bot n Set the extra size in memory words for large data structures like boxes glue
85. rrectly rounded positions by a few pixels while regaining the true position at the beginning of each new word improves the spacing of letters in words Generate an EPSF file with a tight bounding box This only looks at marks made by characters and rules not by any included graphics In addition it gets the glyph metrics from the TFM file so characters that print outside their enclosing TFM box may confuse it In addition the bounding box might be a bit too loose if the character glyph has significant left or right side bearings Nonetheless this option works well enough for creating small EPSF files for equations or tables or the like Of course dvips output especially when using bitmap fonts is resolution dependent and thus does not make very good EPSF files especially if the images are to be scaled use these EPSF files with care For multiple page input files also specify i to get each page as a separate EPSF file otherwise all the pages are overlaid in the single output file Read the DVI file from standard input and write the PostScript to standard output The standard input must be seekable so it cannot be a pipe If your input must be a pipe write a shell script that copies the pipe output to a temporary file and then points dvips at this file It turns off the automatic sending of control D if it was turned on with the F option or in the configuration file use F after the f to send it anyway Write control D ASCII code 4
86. rs record package usages file Record all package usages and write them into file recorder Enable the file name recorder This leaves a trace of the files opened for input and output in a file with the extension fls save size n Set the the amount of space for saving values outside of current group src specials Embed source file information source specials inthe DVI file stack size n Set the maximum number of simultaneous input sources string vacancies n Set the minimum number of characters that should be available for the user s control sequences and font names after the compiler s own error messages are stored Must be at least 25000 less than pool size but doesn t need to be nearly that large 60 CHAPTER 6 PROGRAMS tcx name Process the TCX table name time statistics Show processing time statistics trace tracestreams Enable trace messages The tracestreams argument if speciefied is a comma separated list of trace stream names Chapter 9 Trace Streams trie size n Set the amount of space for hyphenation patterns undump name Use name as the name of the format to be used instead of the name by which the program was called ora line version Show version information and exit Files pdftex cfg The pdf EX configuration file Environment TEXINPUTS Extra paths to locate TEX input and openin files TFMFONTS Extra paths to locate TEX font metric fil
87. rt the wizard click Start Programs MiKTeX 2 7 Update The wizard asks you to choose an update source 20 CHAPTER 4 MAINTENANCE 4 4 INSTALLING UPDATES MIKTeX Update Wizard 2 4 1704 Download Type Spect the download type where do pou sant bo gel packages Irom Chasse this f you eant bo update packages fram Ihe Internet Local folder Choose this you want bo update packages fram a local package repository OMET CD Choose you want install updates from a CD Choose to install updates from a remote package repository Choose Local folder if you are mirroring a remote package repository on your computer Chosse MiKTeX CD if you have a new edition of the MiK TEX CD Click Next gt to continue If you have chosen to install packages from a remote package repository MiKTEX Update Wizard lists the available package repositories Choose the nearest repository MiKTeX Update Wizard 2 2 3 Remote Package Hepossory Specify the location of a remote package repository Packages will be downloaded hom the remote package selected below In ander to reduce network load it is recommended that pou use the remote package repository which located in the closest meteor obtain copy of the Mie Tes LO A see hip mikes ong valable package Courkiy Germany Germany WAL ftp itp uni bielefeld de pub tes systems wi
88. ry other page consistently instead of every page your best recourse is to use bop hook see the Dvips manual for more information p num The first page printed will be the first one numbered num Default is the first page in the document If num is prefixed by an equals sign then it and the argument to the 1 option if specified is treated as a physical absolute page number rather than a value to compare with the TEX countO values stored in the DVI file Thus using p 3 will start with the third page of the document no matter what the pages are actually numbered pp first last Print pages first through Last equivalent to p first 1 Last except that multiple pp options accumulate unlike p and 1 The separator can also be P printer Read the configuration file config printer which can set the output name most likely o lpr Pprinter resolution METAFONT mode and perhaps font paths and other printer specific defaults It works best to put sitewide defaults in the one master config ps file and only things that vary printer to printer in the config printer files config ps is read before config printer q Run quietly Don t chatter about pages converted etc to standard output report no warnings only errors to standard error r Output pages in reverse order By default page 1 is output first R Run securely This disables shell command execution in special via and config files via the E pipes
89. so results in a much larger file size and more time to display or print In most cases the optimal value is 2 This parameter does not influence the precision of numbers used in raw PDF code like that used in pdfliteral and annotation action specifications horigin amp vorigin These dimension parameters can be used to set the offset of the TEX output box from the top left corner of the paper image resolution When pdfTEX is not able to determine the natural dimensions of an image it assumes a resolution of type 72 dots per inch Use this variable to change this default value move chars Although PDF output is claimed to be portable especially when all font information is included in the file problems with printing and viewing have a persistent nature Moving the characters in range 0 31 sometimes helps a lot When set to 1 characters are only moved when a font has less than 128 glyphs when set to 2 higher slots are used too output format This integer parameter specifies whether the output format should be DVI or PDF A positive value means PDF output otherwise we get DVI output page_width amp page_height These two dimension parameters specify the output medium dimensions the paper screen or whatever the page is put on If they are not specified these values are calculated pdf_minorversion Sets the PDF version of the generated file and the latest allowed PDF version of included PDFs The value 3 tells pdfTEX to set th
90. src specials foo tex to create the DVI file oo dvi with embedded source specials 3 2 6 Quoted File Names The TEX compiler can handle quoted file names This makes it possible to specify long file names that contain spaces For example to compile the input file long file name tex you start TEX as follows latex long file name This produces the DVI file long file name dvi The log file is named long file name log You can to some extent use quoted file names inside the TEX document For example input extra long file name This would cause to read the file extra long file name tex Things get a little bit complicated if you want to use the IATEX primitive include You have to write something like the following include extra space long space file space name 3 2 7 Specifying Additional Input Directories The command line option include directory dir causes the program to include dir into the list of input directories For example latex include directory C My Styles foo tex This prepends C My Styles to the input search path i e C My Styles will be searched first when TEX tries to find an input file 14 CHAPTER 3 USING MIKTEX 3 2 SPECIALITIES 3 2 8 Specifying the Output Directory The option output directory dir causes TEX to create all output files in another directory For example gt mkdir C texoutput gt latex output directory C texoutput sample2e tex gt T
91. t files dvi pdf can be printed from within the viewer 3 4 2 Using mtprint to Print DVI Files DVI files can also be printed with the help of the command line utility mtprint MiKTEX Print Utility For example run mtprint paper to send the DVI file paper dvi to the default Windows printer See mtprint 1 for more information about mtprint 18 Chapter 4 Maintenance 4 1 Refreshing the File Name Database To speed up file search MiKTEX makes use of a list of known file names This list is called the file name database FNDB It is necessary that you refresh the file name database whenever you manually install TEX IATEX related files in a user managed directory You update the file name database with the help of MiKTEX Options Click Start Programs MiKTeX 2 7 Settings to open the MiK TEX Options window see Figure 4 1 MiKTeX Options General Roots Formate Languages Packages Maintenance Fielresh the dle name database whenever vou Fieiresh FNDB install or Flex Update all formal Hes when have installed Update new packages Paper Select your default paper format gt Package nstallalion rau can choose whelher meeng packages are to be installed andthely Install missing packages Ask ow Figure 4 1 MiKTEX Options General Settings Click Refresh FNDB to refresh the file name database 19 CHAPTE
92. tart trace tracestreams Enable trace messages The tracestreams argument if speciefied is a comma separated list of trace stream names Chapter 9 Trace Streams 34 CHAPTER 6 PROGRAMS version Show version information and exit dvips Name dvips convert a DVI file to PostScript Synopsis dvips option dvifile Description dvips takes a DVI file produced by or by some other processor such as gftodvi and converts it to PostScript The DVI file may be specified without the dvi extension Options Many of the parameterless options listed here can be turned off by suffixing the option with a zero 0 for instance to turn off page reversal use Such options are marked with a trailing Conserve memory by making three passes over the DVI file instead of two only loading those characters actually used Print only the odd pages This option uses TEX page numbers not physical page numbers num Generate num copies of each page but duplicating the page body rather than using the copies PostScript variable This can be useful in conjunction with a header file setting bop hook to do color separations or other neat tricks Print only the even pages This option uses TEX page numbers not physical page numbers num Generate num consecutive copies of every page i e the output is uncollated This merely sets the builtin PostScript variable copies num Generate
93. texify 1 for an alternative way to invoke TEX 66 CHAPTER 6 PROGRAMS texify Name texify MiKTEX compiler driver Synopsis texify option file Description texify runs Texinfo or ATEX input files through tex pdftex in turn until all cross references are resolved building all indices The directory containing each file is searched for included files The suffix of file is used to determine its language IATEX or Texinfo makeinfo is used to perform Texinfo macro expansion before running tex when needed Options Use input instead of input for preloaded Texinfo batch b No interaction clean c Remove all auxiliary files expand e Force macro expansion using makeinfo I dir Search dir for input files help h Display help and exit successfully language lang 1 lang Specify the language of input files either latex or texinfo max iterations n Limits the number of iterations to prevent endless processing The default for n is 5 mkidx option option Pass option to the index generator pdf p Use pdftex or pdflatex for processing quiet q silent s No screen output unless errors plies batch run viewer Run a viewer on the resulting DVI PDF file src Pass src specials to the compiler texinfo cmd t cmd Insert cmd after setfilename in copy of input file Multiple values accumulate 67 CHAPTER 6 PROGRAMS tex option option
94. time statistics Show processing time statistics trace tracestreams Enable trace messages The tracestreams argument if speciefied is a comma separated list of trace stream names Chapter 9 Trace Streams trie op size n Set the amount of space for opcodes in the hyphenation patterns trie size n Set the amount of space for hyphenation patterns 57 CHAPTER 6 PROGRAMS undump name Use name as the name of the format to be used instead of the name by which the program was called ora he line version Show version information and exit See also Draft documentation for the Q system Run mthelp omega manual pdftex Name pdftex DVI PDF output from Synopsis pdftex option file command Description Run the typesetter file usually creating file pdf If the file argument has no extension tex will be appended to it Instead of a file name a set of pdf TEX commands can be given the first of which must start with a backslash pdfTEX is a version of TEX that can create PDF files as well as DVI files In PDF mode pdfTEX can natively handle the PDF JPG and PNG graphics formats Options alias app Pretend to be app i e set program and memory dump name to app This may affect the search paths and other values used Using this option is equivalent to copying the executable file to app exe and invoking app exe aux directory dir Set the directory dir t
95. to view the page You can use the view to bypass the intermediate HTML file name should be the name of a package in the TEX distribution Options list only List documentation files but do not start a viewer print only Print the command that would be executed to view the documentation but do not start the command quiet Suppress all output except errors version Show version information and exit view Open the main documenation file in a viewer 53 CHAPTER 6 PROGRAMS Environment MIKTEX_VIEW_dvi DVI viewer MIKTEX_VIEW_pdf PDF viewer MIKTEX_VIEW_ps PostScript viewer MIKTEX VIEW html HTML viewer MIKTEX VIEW txt Text viewer The environment variables should be set with a as a placeholder for the name of the file For example gt MIKTEX VIEW pdf gv Files The intermediate HTML file package html is stored in the directory miktex mthelp relative to the data TEXMF root See also MiKTEX Project Page http www miktex org mtprint Name mtprint MiKTEX print utility Synopsis mtprint option file Description mtprint sends TEX output files to a printing device Options even only Prints only even TEX pages landscape Selects landscape output format odd only Prints only odd TEX pages 3 c http www miktex org 54 CHAPTER 6 PROGRAMS page range range Selects a TEX page range e g 20 21 Multiple page range
96. void security problems When enabled the command which undergoes the usual TEX expansions is passed to the command inter preter The output of the command is not diverted anywhere so it will not appear in the log file The command execution either happens at output time or right away according to the absence or presence of the immediate prefix error line n Set the width of context lines on terminal error messages extra mem bot n Set the extra size in memory words for large data structures like boxes glue breakpoints et al Relevant only after the memory dump file has been read extra mem top n Set the extra size in memory words for chars tokens et al Relevant only after the memory dump file has been read font max n Set the maximum internal font number font mem size n Set the size in TEX memory words of the font memory half error line n Set the width of first lines of contexts in terminal error messages halt on error Quit after the first error help Give help and exit 69 CHAPTER 6 PROGRAMS include directory dir Prefix dir to the search path initialize Become the NI variant of the compiler interaction mode Set the interaction mode Must be one of batchmode nonstopmode scrollmode and errorstopmode The meaning of these modes is the same as the corresponding commands job name name Set the name of the job jobname This has an affect on the output file names job t
97. ximum number of simultaneous macro parameters param_size 10000 Pool space free after format loaded pool_free 47500 Max number of characters in all strings including all error messages help texts font names control sequences These values apply to TeX and MP pool_size 1250000 Maximum number of simultaneous input sources 79 CHAPTER 10 PROGRAM DEFAULTS 10 2 ALL PROGRAMS stack_size 5000 Strings available after format loaded strings_free 100 Minimum pool space after TeX MP s own strings must be at least 25000 less than pool_size but doesn t need to be nearly that large string_vacancies 90000 10 2 All Programs Maximum number of input files and error insertions that can be going on simultaneously max_in_open 50 Maximum number of semantic levels simultaneously active nest_size 500 Space for saving values outside current group save_size 5000 Space for hyphenation patterns trie_size 300000 Total number of fonts font_max 2000 Words of font info for TeX total size of all TFM files approximately font_mem_size 1200000 prime number of hyphenation exceptions hyph_size 8191 10 3 ocp_buf_size 500000 ocp_listinfo_size 1000 ocp_list_list_size 1000 ocp_lstack_size 1000 ocp_stack_size 10000 trie_op_size 35111 10 4 pdf_mem_size 10000 obj_tab_size 1000 dest_names_size 131072 pdf_os_buf_size 1 80 CHA
98. y 54 output directory dir 15 46 52 57 60 65 70 overflow label offset real 42 page range range 55 page start page spec 34 param size n 46 52 57 60 65 70 parse first line 46 52 57 60 65 70 path size n 46 52 pdf 67 pool size n 46 52 57 60 65 70 print method method 55 print nothing 55 print only 43 print package info package 48 printer printer 55 quiet 13 43 67 record package usages file 12 33 34 42 46 52 57 60 66 70 recorder 46 52 57 60 65 70 report 43 run viewer 67 save size n 57 60 66 70 screen 46 select sel 34 set repository location 48 shell escape 56 59 64 69 show path filetype 40 5 67 src specials 14 57 60 66 71 stack size n 46 52 57 60 66 71 start 40 string vacancies n 46 52 57 60 66 71 tcx name 46 52 57 61 66 tex option option 68 texinfo cmd 67 the name of the game name 40 time statistics 46 52 57 61 66 71 trace tracestreams 33 34 42 46 48 52 57 61 66 71 translate file name 46 52 57 61 66 INDEX INDEX trie op size n 57 trie size n 57 61 66 71 undump name 46 52 58 61 66 71 uninstall package 48 update db 48 update fndb 43 update some file 48 update package 48 verbose 43 68 verify 48 verify package 48 version 33 35 40 42 43 47 49 52 53
99. you for another file name responding nu11 gets you out of the loop if you don t want to input anything Online Graphics Output You can see METAFONTS output without printing Chapter 23 of The METAFONTbook describes what you can do You enable screen ouput by giving screen on the command line Options alias app Pretend to be app i e set program and memory dump name to app This may affect the search paths and other values used Using this option is equivalent to copying the executable file to app exe and invoking app exe aux directory dir Set the directory dir to which auxiliary files are written Also look for input files in dir first before along the normal search path 44 CHAPTER 6 PROGRAMS bistack size n Set the size of the stack for bisection algorithms buf size n Set the the maximum number of characters simultaneously present in current lines of open files and in control sequences between csname and endcsname TEX uses the buffer to contain input lines but macro expansion works by writing material into the buffer and reparsing the line As a consequence certain constructs require the buffer to be very large even though most documents can be handled with a small value c style errors Change the way error messages are printed The alternate style looks like error messages from many compilers and is easier to parse for some editors This option implies scrollmode disable installer Disable autom

Download Pdf Manuals

image

Related Search

Related Contents

Installation and User Manual  User Manual - CNET Content Solutions  Week 5 - Sites at Lafayette  Quannon 150 Owner`s Manual  Consulter le numéro entier en format    fr pompe submersible nl onderwaterpomp gb  Service Manual  Graco 311876F User's Manual  Cisco Systems 7975 IP Phone User Manual  

Copyright © All rights reserved.
Failed to retrieve file