Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Source file mlpost_desc_options.ml
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293(**************************************************************************)(* *)(* Copyright (C) Johannes Kanig, Stephane Lescuyer *)(* Jean-Christophe Filliatre, Romain Bardou and Francois Bobot *)(* *)(* This software is free software; you can redistribute it and/or *)(* modify it under the terms of the GNU Library General Public *)(* License version 2.1, with the special exception on linking *)(* described in file LICENSE. *)(* *)(* This software is distributed in the hope that it will be useful, *)(* but WITHOUT ANY WARRANTY; without even the implied warranty of *)(* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *)(* *)(**************************************************************************)openFormatopenArgletpdf=reftrueletlatex_file=refNoneletset_latex_filef=ifnot(Sys.file_existsf)then(eprintf"mlpost: %s: no such file@."f;exit1);latex_file:=Somefletxpdf=reffalseletinteractive=reffalseleteps=reffalseletverbose=reffalseletcairo=reffalselett1disasm=refNoneletdepend=reffalseletdumpable=reffalseletdont_clean=reffalseletmp=reffalseletmps=reffalseletpgf=reffalseletpng=reffalseletsvg=reffalseletfilename_prefix=ref""letrequired_files:stringlistref=ref[]letpush_requireds=required_files:=s::!required_files(* notuple please or change Tool.wrap_options *)letspec=[("-pdf",Setpdf," Generate .mps files (default)");("-mp",Setmp," Generate .mp files");("-png",Setpng," Generate .png files");("-ps",Clearpdf," Generate .1 files");("-mps",Setmps," Use the experimental Mps output");("-pgf",Setpgf," Use the experimental Pgf output");("-svg",Setsvg," Generate .svg files (only with cairo)");("-latex",Stringset_latex_file,"<main.tex> Scan the LaTeX prelude");("-eps",Seteps," Generate encapsulated postscript files");("-xpdf",Setxpdf," wysiwyg mode using xpdf remote server");("-i",Setinteractive," wysiwyg mode using file _mlpost.pdf");("-required",Stringpush_required," Specify files required by latex");("-v",Setverbose," be a bit more verbose");("-depend",Setdepend," output dependency lines in a format suitable for the make(1) utility");("-dumpable",Setdumpable," output one name of dumpable file by line");("-dont-clean",Setdont_clean," Don't remove intermediate files");("-cairo",Setcairo," Use the cairo backend instead of metapost");("-prefix",String((:=)filename_prefix),"Add to all the filename this prefix");("-t1disasm",String(funs->t1disasm:=Somes)," Set the program used to decrypt PostScript Type 1 font, only with \
cairo (default built-in one)");]