/usr/share/doc/mlpost/html/Mlpost.Metapost.html is in libmlpost-ocaml-doc 0.8.1-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Mlpost.Legend.html">
<link rel="next" href="Mlpost.Generate.html">
<link rel="Up" href="Mlpost.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class attributes" rel=Appendix href="index_attributes.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of classes" rel=Appendix href="index_classes.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Mlpost" rel="Chapter" href="Mlpost.html">
<link title="Mlpost_dot" rel="Chapter" href="Mlpost_dot.html">
<link title="Mlpost_lablgtk" rel="Chapter" href="Mlpost_lablgtk.html"><title>Mlpost.Metapost</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Mlpost.Legend.html" title="Mlpost.Legend">Previous</a>
<a class="up" href="Mlpost.html" title="Mlpost">Up</a>
<a class="post" href="Mlpost.Generate.html" title="Mlpost.Generate">Next</a>
</div>
<h1>Module <a href="type_Mlpost.Metapost.html">Mlpost.Metapost</a></h1>
<pre><span class="keyword">module</span> Metapost: <code class="code">sig</code> <a href="Mlpost.Metapost.html">..</a> <code class="code">end</code></pre><div class="info module top">
Functions to generate Metapost files<br>
</div>
<hr width="100%">
<pre><span id="VALset_filename_prefix"><span class="keyword">val</span> set_filename_prefix</span> : <code class="type">string -> unit</code></pre><div class="info ">
Add to the filename given to the emit function this prefix.
This function is here just for convenience<br>
</div>
<pre><span id="VALgenerate_mp"><span class="keyword">val</span> generate_mp</span> : <code class="type">string -><br> ?prelude:string -> ?eps:bool -> (int * <a href="Mlpost.Command.html#TYPEt">Command.t</a>) list -> unit</code></pre>
<pre><span id="VALgenerate"><span class="keyword">val</span> generate</span> : <code class="type">string -><br> ?prelude:string -><br> ?pdf:bool -><br> ?eps:bool -><br> ?verbose:bool -> ?clean:bool -> (int * <a href="Mlpost.Command.html#TYPEt">Command.t</a>) list -> unit</code></pre>
<pre><span id="VALemit"><span class="keyword">val</span> emit</span> : <code class="type">string -> <a href="Mlpost.Command.html#TYPEt">Command.t</a> -> unit</code></pre>
<pre><span id="VALdump"><span class="keyword">val</span> dump</span> : <code class="type">?prelude:string -><br> ?pdf:bool -> ?eps:bool -> ?verbose:bool -> ?clean:bool -> string -> unit</code></pre><div class="info ">
<code class="code">dump ?prelude ?pdf f</code> builds a Metapost file <code class="code">f.mp</code> for all figures,
then runs Metapost on it, and renames figure files according to the
names specified to <code class="code">emit</code>. The file suffix is <code class="code">.mps</code> if <code class="code">pdf</code> is
set, and <code class="code">.1</code> otherwise.<br>
</div>
<pre><span id="VALdump_mp"><span class="keyword">val</span> dump_mp</span> : <code class="type">?prelude:string -> string -> unit</code></pre>
<pre><span id="VALdump_png"><span class="keyword">val</span> dump_png</span> : <code class="type">?prelude:string -> ?verbose:bool -> ?clean:bool -> string -> unit</code></pre>
<pre><span id="VALread_prelude_from_tex_file"><span class="keyword">val</span> read_prelude_from_tex_file</span> : <code class="type">string -> string</code></pre><div class="info ">
read the prelude from a tex file, until the end of file or the text
"\begin{document}" if it is outside a comment<br>
</div>
<pre><span id="VALdump_tex"><span class="keyword">val</span> dump_tex</span> : <code class="type">?prelude:string -> string -> unit</code></pre><div class="info ">
<code class="code">dump_tex ?prelude f</code> builds a LaTeX file <code class="code">f.tex</code> for all the figures,
using LaTeX prelude <code class="code">prelude</code> if given.<br>
</div>
<pre><span id="VALslideshow"><span class="keyword">val</span> slideshow</span> : <code class="type"><a href="Mlpost.Command.html#TYPEt">Command.t</a> list -> int -> (int * <a href="Mlpost.Command.html#TYPEt">Command.t</a>) list</code></pre><div class="info ">
takes a list of figures and returns a list of figures of exactly the
same size (the size of the biggest figure). Shared objects are
hopefully placed at the same absolute location across figures. The
resulting figures are numbered with consecutive increasing integers,
starting with the given value.<br>
</div>
<pre><span id="VALemit_slideshow"><span class="keyword">val</span> emit_slideshow</span> : <code class="type">string -> <a href="Mlpost.Command.html#TYPEt">Command.t</a> list -> unit</code></pre><div class="info ">
emit the list of figures as a slideshow, using the <code class="code">slideshow</code>
function.<br>
</div>
<pre><span id="VALdumpable"><span class="keyword">val</span> dumpable</span> : <code class="type">unit -> unit</code></pre>
<pre><span id="VALdepend"><span class="keyword">val</span> depend</span> : <code class="type">string -> unit</code></pre></body></html>
|