Cabri Java Project
How to Publish Cabri figures on the Web

Follow these steps :

  1. construct your figures with Cabri-géomètre II (not Cabri 1...) with MacOS or Windows version (use DOS figures at your own risks..)
    In this pre-release 1.0 beta 3 version you can't use any of these items in your work :
    • Angle        angle mark
    • AngVal       angle measure
    • Area         area
    • Col?         colinearity
    • Con          conic
    • Dil          dilatation
    • Eq/Co        equation & coordinates
    • Equi?        equidistance
    • Formula      calculate formula
    • Grid         grid
    • IsOn?        member of
    • Lgth         length
    • Locus        locus
    • Num          number
    • Par?         parallelism
    • Perp?        perpendicularity
    • PolReg       regular polygon
    • Preg         radius point of regular pol
    • Rot          rotation
    • Slo          slope
    • Table        table
    • Text         text
    • Transf       measurement transfer
    We hope reducing drastically this very long list in future pre-release (one new relesase each month).
    Come back often on these pages for good news and new version...
  2. for local testing on your computer, get the latest version of CabriJava.jar file and put it in a folder of your choice. CabriJava .jar file contains all the java-code of CabriJava applet in a compressed form (java archive). The same file will be transfered on your Web server to publish your final work. You can refer to this file as an unique archive for all your site with a CODEBASE parameter like this (in our official site) CODEBASE="/cabrijava". If your connection speedto our server is high, you can avoid this step by referencing our latest version directly by CODEBASE="http://www.cabri.net/cabrijava", but this is not the good way (in case of network problem between your Web server and Cabri server, nothing will work..).
  3. with a text editor or a HTML editor add some tags like these in your HTML file
    <APPLET CODE="CabriJava.class" archive="CabriJava.jar" WIDTH=600 HEIGHT=400 ALIGN=bottom >
    <PARAM NAME=file VALUE="figures/3D/Escher">
    <PARAM NAME=lang VALUE="en">
    <PARAM NAME=border VALUE=3>
    <PARAM NAME=background VALUE="images/1998.jpg">
    </APPLET>
    Only red tags are required. APPLET tag is described in the Java Tutorial from SUN at this page.
    CabriJava parameters allowed at this time are in a condensed form :

    Parameter Name

    Kind of Value

    Description

    file

    URL

    Cabri II figure description

    lang

    string

    'en', 'fr' or 'es': language of cursors

    background

    URL

    GIF or JPEG image displayed as background

    bgcolor

    int

    color of uniform background as #RRGGBB (default white)

    border

    int

    width of border (default 1)

    bordercolor

    int

    color of border as #RRGGBB (default black)

  4. test your work locally or from your Web server with good tools :

Many comments or bug reports are appreciated : don't hesitate to send to us your remarks or wishes.


Cabri Java Project - version 1.0 beta 3 - 12/07/98