GithubHelp home page GithubHelp logo

ant's Introduction

                ANT
         “ant is not TeX.”

       http://ant.berlios.de

         Achim Blumensath


In order to compile ant you need:

 o OCaml version 3.10,
 o OMake version 0.9.8.1,
 o kpathsea version 3.2,
 o FreeType version 2,
 o CamlImages version 2.2,
 o mlgmp version 0.13 (optional).

(1) You might want to edit the file “OMakefile” to set some paths. In
particular, the variables KPATHSEA_LDFLAGS and KPATHSEA_CFLAGS probably
need adjustment.

(2) You can choose between three number libraries:

 o Float: (default) All computations use floating point numbers. This is
          the fastest option but it might result in rounding errors.
 o Gmp:   uses the mlgmp library. This gives exact results but it
          slower.
 o Num:   Is similar to Gmp but does not depend on an external library.
          This is the slowest option.

You can specify the number library by setting the NUM_LIB variable in
the file “OMakefile”. Alternatively you can pass the corresponding
option directly to omake, like:

  $ omake NUM_LIB=Gmp

(3) You can specify which version of the compiler to use by setting the
following variables:

 o NATIVE_ENABLED: If set to “true” (default) ant is compiled to native code.
 o BYTE_ENABLED: If set to “true” ant is compiled to byte code.
 o NATIVE_CAMLP4: If set to “true” (default) a native version of the preprocessor
   camlp4 is created. This speeds up the compilation process.

(4) Finally, to compile ant type

  $ omake

You might get errors about a stack overflow. In this case you can increase
your stack size either by

  $ ulimit -s 16384              (if you use the native compilers)

or by

  $ make OCAMLRUNPARAM="l=16M"   (if you use the bytecode version).

(5) Further documentation can be found in the file “manual.pdf”. The
directory “Examples” contains some example ant sources including the
source of the manual. Note that some of these examples use fonts not normally
installed in a TeX system. To compile these documents you have to replace the
corresponding \include{...} command by \include{fonts.ant} (which loads
Computer Modern).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.