********************************************************************************
* Trombi - Copyright 2007-2008 Louis Paternault
* 
* This file is part of Trombi.
* 
* Trombi is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* 
* Trombi 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.  See the
* GNU General Public License for more details.
* 
* You should have received a copy of the GNU General Public License
* along with Trombi.  If not, see <http://www.gnu.org/licenses/>.
********************************************************************************

*******
**
** Cette grammaire dcrit la forme que doit avoir la chaine representant la
** taille d'une image.
**
** Pour faire simple, c'est, au choix :
**   * horizontalXvertical : avec "horizontal" et "vertical" sont des longueur : nombre et unite
**   * auto
**
*******

** Les unites de mesures acceptees par LaTeX sont :
**    in cm mm pt sp bp pc dd cc
**    source : lignes 208-218  du fichier "texk/xdvik/gui/mag.c", issu des sources de tetex version 3.0

Axiome -> Auto
Axiome -> Horizontal Croix VerticalOptionnel
Axiome -> Croix Vertical

Auto -> "auto"

Croix -> "X"

VerticalOptionnel -> epsilon
VerticalOptionnel -> Vertical

Horizontal -> Nombre Unite
Vertical -> Nombre Unite

Unite -> Lettre Lettre
** Il faut que le mot forme par "Lettre Lettre" soit l'une des unites de
** mesure suivante :
**  in cm mm pt sp bp pc dd cc

Lettre -> toutes les lettres minuscules

Nombre -> Entier SuiteNombre
Nombre -> Point Entier

SuiteNombre -> epsilon
SuiteNombre -> Point Entier

Entier -> Chiffre EntierSuite
EntierSuite -> epsilon
EntierSuite -> Chiffre EntierSuite

Point -> "."

Chiffre -> 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0
