# SECTION 1: PRE-DEFINED CONFIGURATIONS [*] # GENERAL OPTIONS # Stroke using half of the specified linewidth. # The "Fig Format 3.2" specificaton in the XFig user manual # suggests to "lighten" the look when exporting Fig files # to other formats. # # yes|no # lighten look = no # Use of a web-optimized color palette, normally not necessary. # # yes|no # web palette = no # Use the coordinates setting from the Fig file. # The Fig format 3.2 specification explains in one place # that (0,0) may be either the upper or lower left corner. # In another place there is a statement that (0,0) is # always the upper left corner, so we ignore the information # in the file. # # yes|no # use cs setting = no # Addtitional comments in output, "yes" or "no" # # yes|no # verbose output = yes # As we calculate the drawing extents ourselves # we do not need to know the paper size. # Unknown paper sizes may be used. # # yes|no # accept unknown paper size = yes # If we have texts near the drawing border we should # have a background rectangle in the Fig file to calculate # the graphics dimensions correctly. # This rectangle is only used for the bounding box # calculation but not exported. # # yes|no # remove background rectangle = yes # Digits after decimal dot in position specifications # calculated by simple transformation. # # 1...5 # position digits = 2 # Additional digits after decimal dot if trigonometric # functions were in the transformation. # # 0...4 # additional trigonometric digits = 3 # Digits after decimal dot in color specifications. # # 1...5 # color digits = 3 # SPLINE APPROXIMATION # Number of Bezier spline segments per X-spline segment # # 2 ... minimal memory # 8 ... better quality # >8 ... no significant quality improvement # spline segments = 8 # ARC INTERPOLATION # Some drivers (i.e. PDF) do not have primitives to draw # arcs/circles. We must approximate arcs and circles by a # sequence of Bezier spline segments. # The number here tells how many Bezier spline segments # to use for a 90-degree arc. # # 2... # arc bezier steps = 4 # ARROWHEADS # Line join style for arrowheads # # mitered|rounded|beveled # arrowhead linejoin = mitered # Min./max. number of iteration steps to shorten splines for arrowheads # The Newton iteration scheme is used to shorten splines if arrowheads # are attached. Here we specify the minimal and maximal number of # iteration steps # min iteration steps = 16 max iteration steps = 2048 # LINE DASH AND OBJECT FILLING AND STROKING # Remove linewidth 0 borders on filled/patterned objects. # # yes|no # remove zero borders = yes # Draw fill patterns. # # contiguous|yes|no # fill patterns = contiguous # Distance between pattern lines. # 4 is the pattern line distance used by XFig. # pattern repeat = 4 # How long should we draw the stroke for dots # in dash patterns? # # linewidth|0 # dashpattern dot length = linewidth # EMBEDDED IMAGES # If the width/height ratios differ between image # file and box, keep the origional ratio by adding # space if necessay. If this option is set to "no" # the entire box is used, but there may be distorsions # in the image by different scale factors for x and y. # # yes|no # keep bitmap aspect ratio = yes # For included images do not draw a box. # "yes" for this option means "no box", # "no" means "draw box" # # yes|no # remove bitmap border = yes # Fill the box area before adding the image. # # yes|no # fill bitmap background = yes # The Fig 3.2 format specification describes a "flipped" # field for embedded images but does not specify the # flipping direction. # XFig flips diagonal, jFig horizontal # # diagonal|horizontal # flip direction = diagonal # TEXT TYPESETTING # Tex command. # # latex|tex # tex command = latex # Factor to scale fonts # We should decrease font size a little bit. # # 0.0...1.0 # font scale factor = 0.92 # How to handle Normal text . # # handling:none|tex,font:fig|tex|similar,size:fig|tex,mbox # normal text = handling:none,font:fig,size:fig # How to handle special text. # # font:fig|tex|similar,size:fig|tex,mbox # special text = handling:tex,font:tex,size:tex,mbox # Use one of the prepared font setups or your own stripped # down preamble file. # # pdf|ams|newcent|pdf12|ams12|newcent12 # latex font setup = pdf # # file name # # preamble file = /home/jim/my_favorite_preamble # Should we issue warnings for special text for each text or only # one time? # # yes|no # repeat error messages = no # Suppress all warnings if special text can not be handled by a # driver. If -- for example -- you use the EPS/TeX driver # combination you do not need the warnings that the EPS driver # can not handle special text. # # yes|no # skip all texts = no # Enable or disable LaTeX write18. Should be disabled for # security reasons. # "ignore" means to use the default setting of your LaTeX distribution. # # yes|no|ignore # enable write18 = no # METAPOST-SPECIFIC # The majority of drivers can not use MetaPost arrowheads, # only mp and mmp can use them. # MetaPost arrowheads create curved arrowheads on curved # line ends (splines, arcs). # # yes|no # use metapost arrowheads = yes # Enable or disable font embedding by the mpost/mp program. # MetaPost should not attempt to embed fonts itself, this # should be left up to dvips or pdflatex. # # yes|no # embed fonts = no # PS/EPS-SPECIFIC # The PostScript language level # # 3|2|1 # ps level = 2 # DSC comments (document structuring comments) wanted? # # yes|no|3|2|1 # dsc comments = yes # Showpage operator needed at end of PostScript? # Use the showpage operator when creating standalone images. # When creating EPS files for embedding in documents, do # not use this operator. # The operator must not be used when producing *.eps files, # use it for *.ps files only. # # yes|no # ps showpage = no # Setpagedevice operator wanted? # The setpagedevice operator can be used to restrict the media # size to the size of the graphics contents. # This is useful to prepare PostScript files which are converted # to other file formats using Ghostscript. # This operator should only be used when producing *.ps files, # not for *.eps files. # # yes|no # ps setpagedevice = no # Using a separated dictionary for bitmap-image related # data allows garbage collection after processing the # EPS file. Do not use this option if your Fig file # contains embedded PS/EPS images. # # yes|no # bitmap image dictionary = yes # After removing the bitmap image directory from the # directory stack we can force a gargabe collection. # Only possible for if a bitmap image dictionary # was used. # # yes|no # force garbage collection = yes # PS run-length compression is only tested on a small couple # of images but seems to work. We leave a chance to disable # it if it causes problems. # # yes|no # ps run-length encoding = yes # Separated data sources for colored bitmap images # included in EPS output allow to decrease PS level 2 # file sizes using run-length compression also on # colored areas. # Unfortunately this requires 3 strings of w * h # bytes (w=image width in pixels, h=image height) # in the PostScript interpreter (GhostScript or your # printer). # If a combined data source is used only a string # of 3*w bytes is required. # Example: image file is 210 pixels wide, 62 high. # Memory need for separated data sources: 39060 bytes # Memory need for combined data source: 630 bytes # Conclusion: Use this option for well-equiped printers # only. # # yes|no # separated rgb channels = yes # PDF-SPECIFIC # We can save the graphics instructions for the entire image # and for fill patterns either as plain text or # flate-compressed/ASCII85-encoded. # By default we use compression. # # yes|no # plain text streams = no # Do we want to enter full screen mode when opening the PDF file? # # yes|no # full screen = no # In PDF output fill patterns can be build using multiple # pattern cells. # Using one large pattern cell improves rendering quality on # screen but increases file size significantly. # # yes|no # tiled patterns = no # Enable or disable setting the interpolation flag for # included images. Interpolation improves the quality of # included bitmap images, especially if large scale factors # are applied. # # yes|no # interpolate images = yes # TEX-SPECIFIC # Produce a TeX source which can be processed by pdflatex # or a source which can be included into a document. # The default is to produce files for inclusion into a # document. # # yes|no # full tex file = no # SVG-SPECIFIC # SVG version to produce. We suggest to use 1.0 as the # Web browser plugins support this version. # # 1.0|1.1|1.2 # svg version = 1.0 # Do we need to enforce the use of multiple style # attributes? # # yes|no # prepare for modifications = no # Enable or disable the use of CSS for styles. Only used # if no ECMA-Script is used and # prepare for modifications = no. # # yes|no # use css = yes # How to specify the viewport. # # points|pixels|inches # wh specification = pixels # Produce standalone SVG document or embedded fragment # # yes|no # embedded svg fragment = no # Where to find the SVG versions of the Ghostscript fonts? # # URL of directory containing SVG port of the Ghostscript # fonts. # # Do not set this option here, set it in the [svg] section # instead. It is listed here for completeness # # On UNIX/Linux: # gs svg-font directory = file:///opt/urwfonts/svg # # On Windows: # gs svg-font directory = file:///c:/programs/urwfonts/svg # Which ECMA-Script (JavaScript) files should be added to # the SVG file, multiple files can be used. # # file name # # js library = myfunctions.js # PRE-DEFINED CONFIGURATIONS [mp] normal text = handling:tex,font:similar,size:fig,mbox use metapost arrowheads = yes [mmp] normal text = handling:tex,font:fig,size:fig,mbox use metapost arrowheads = yes [mp.ams] latex font setup = ams [mp.pdf] latex font setup = pdf [mp.newcent] latex font setup = newcent [mp.ams12] latex font setup = ams12 [mp.pdf12] latex font setup = pdf12 [mp.newcent12] latex font setup = newcent12 [mmp.ams] latex font setup = ams [mmp.pdf] latex font setup = pdf [mmp.newcent] latex font setup = newcent [mmp.ams12] latex font setup = ams12 [mmp.pdf12] latex font setup = pdf12 [mmp.newcent12] latex font setup = newcent12 [ps] ps setpagedevice = yes ps showpage = yes normal text = handling:none,font:fig,size:fig [ps.tex] ps setpagedevice = yes ps showpage = yes normal text = handling:tex,font:similar,size:fig,mbox [eps] normal text = handling:none,font:fig,size:fig [eps.tex] normal text = handling:tex,font:similar,size:fig,mbox [svg] verbose outputt = no font scale factor = 0.8 normal text = handling:none,font:fig,size:fig [svg.gs] gs svg-font directory = file:///opt/urwfonts/svg font scale factor = 0.92 [svg.gs-web] gs svg-font directory = ./urwfonts-svg font scale factor = 0.92 [svg.web] font scale factor = 0.92 font configuration file = webfont.cfg wh specification = pixels [svg.windows] font scale factor = 0.92 font configuration file = combfont.cfg wh specification = pixels [svg.embedded] embedded svg fragment = yes [svg.embedded.gs] embedded svg fragment = yes gs svg-font directory = file:///opt/urwfonts/svg font scale factor = 0.92 [pdf] tiled patterns = no [pdf.tex] normal text = handling:tex,font:similar,size:fig,mbox skip all texts = yes [tex] normal text = handling:tex,font:similar,size:fig,mbox special text = font:similar,size:fig,mbox [tex.ams] latex font setup = ams [tex.ams12] latex font setup = ams12 [tex.pdf] latex font setup = pdf [tex.pdf12] latex font setup = pdf12 [tex.newcent] latex font setup = newcent [tex.newcent12] latex font setup = newcent12 [tex.full] full tex file = yes [tex.full-ams] latex font setup = ams full tex file = yes [tex.full-ams12] latex font setup = ams12 full tex file = yes [tex.full-pdf] latex font setup = pdf full tex file = yes [tex.full-pdf12] latex font setup = pdf12 full tex file = yes [tex.full-newcent] latex font setup = newcent full tex file = yes [tex.full-newcent12] latex font setup = newcent12 full tex file = yes # SECTION 2: SITE-SPECIFIC CONFIGURATIONS # System and network administrators may add computer-specific # and site specific configurations here. # SECTION 3: USER-SPECIFIC CONFIGURATIONS # A user might place a copy of this file as $HOME/.defaults/fig2vect.cfg # and add personal configurations here.