Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
t1mapper(1)
Edit
PageHistory
Diff
Info
LikePages
t1mapper !!!t1mapper NAME SYNOPSIS DESCRIPTION OPTIONS EXAMPLES FILES SEE ALSO AUTHOR ---- !!NAME t1mapper - A tool to help xdvi use all your t1 fonts !!SYNOPSIS __t1mapper__ [[''OPTIONS''] ''TeX-fontdir Type1-font-file-spec'' __t1mapper__ [[''OPTIONS''] -gs ''GS-fontmap GS-fontdir TeX-fontdir'' !!DESCRIPTION The __t1mapper__ comes with __xdvik.__ It was made to make it simple to make all sorts of Postscript __xdvi.__ The first invocation is to hi-jack fonts from your Ghostscript installation, which will supply __xdvi__ with all the standard T1 fonts it needs. The second is for hi-jacking any other T1 fonts you may have floating around on your systems. __t1mapper__ relies on a installed and working __texk__ system to be present. In particular it uses __kpsewhich__ to locate the __fontname__ package .map files which maps between Postscript __teTeX__ is one such __texk__ system. When invoked without the __-gs__ option t1mapper will examine each of the fonts specified. It will attempt to determine the Postscript name of the font by looking inside the font file, and if that name has a TeX equivalent it will copy, link or symlink your the file into the TeX font directory you named first on the command line. The name in the TeX font directory will be according to the TeX/KB-fontname scheme, so that the font names used in __.dvi__ files matches the names found in the TeX font directories. When invoked with the __-gs__ option __t1mapper__ will read the named GS Fontmap file to determine which GS font files correspond to which standard Postscript fonts (GS' version of Times-Roman is not called ''Times-Roman'', it's actually called ''NimbusRomNo9L-Regu''), and then proceed to copy or link the files in the named GS font directory into the named TeX font directory. !!OPTIONS All options except __-gs__ have to do with how the font files are copied or linked into the TeX font directories: __-cp__ Copy the files from the ''GS-fontdir'' or matching the ''Type1-font-file-spec'' into the ''TeX-fontdir''. This is the default and will always work. __-ln__ Hard link the files. This requires the fonts to reside on the same disk, but it will save space, and the files will not disappear from the ''TeX-fontdir'' if they are removed from the source directory. __-lns__ Symlink the files. This saves space, but if the original files are removed the symlinks will be broken. __-lnlns__ Attempt hard-link first, if it fails make symlink. __-lncp__ Attempt hard-link first, if that fails, copy the font. !!EXAMPLES If your Ghostscript is installed in __/usr/local/share/ghostscript__ and your TeX lives in __/usr/local/teTeX__ then this command might make your GS fonts available to xdvi: t1mapper -lns -gs \ /usr/local/share/ghostscript/5.50/Fontmap \ /usr/local/share/ghostscript/fonts \ /usr/local/teTeX/share/texmf/fonts/type1/gs The first argument here is the full path to the GS Fontmap. The second is the GS font directory, note the lack of wildcards here (as opposed to the next example). The third argument is the TeX font directory. If it does not exist it will be made. Texk and teTeX uses quite finely structured font directories, and the above reflects this. If have a Solaris machine with Display Postscript fonts then this command might make them available to xdvi: t1mapper -lns \ /usr/local/teTeX/share/texmf/fonts/type1/gs \ /usr/openwin/lib/X11/fonts/Type1/*.pfa Here the first argument is the TeX font directory and thereafter comes a wildcard that specifies which fonts to examine for copying/linking into the TeX font directory. !!FILES __fontname__ Postscript to TeX name mapping files from __http://tug.org/fontname/,__ these are included in teTeX. __Ghostscript__ fonts from __http://sourceforge.net/projects/ghostscript/__ or __http://www.gnu.org/software/ghostscript/ghostscript.html__ !!SEE ALSO kpsewhich(1), xdvi(1), ln(1), __README.t1fonts__ in the source distribution !!AUTHOR Nicolai Langfeldt for the xdvik project at sourceforge, please see __http://sourceforge.net/projects/xdvi/__ ----
One page links to
t1mapper(1)
:
Man1t
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.