From e795b5c0881cf4db0ba94078e32e3da9d44a688a Mon Sep 17 00:00:00 2001 From: Maxime Chupin Date: Thu, 11 Aug 2011 20:53:25 +0100 Subject: [PATCH] =?utf8?q?D=C3=A9but=20du=20tri=20du=20groupe=2011=20(voir?= =?utf8?q?=20README=20pour=20plus=20de=20d=C3=A9tails)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- README | 18 ++++++++++++++++++ metapost.php | 30 ++++++++++++++++++++++++------ 2 files changed, 42 insertions(+), 6 deletions(-) diff --git a/README b/README index e69de29..df3a71b 100644 --- a/README +++ b/README @@ -0,0 +1,18 @@ +==== TODO + +* Tri par ordre alphabétique des groupe de keywords (recommandation +pour entrer dans la version officielle de geshi) +* un metapost-syr.php avec + - mp-solid + - mp-gdd + - geometriesyr + + +==== JOURNAL + +** 11 Août 2011 + - Début du tri du groupe 11 en prenant pour référence les pages 76 + à 87 du manuel. Arrêt aux « predifined constants ». Attention + cependant, la séparation de Jean-Michel est plus fine que celle du + manuel pour les constructeurs et d'autres choses encore. Restons + vigilant lors du traitement de ces pages ! \ No newline at end of file diff --git a/metapost.php b/metapost.php index e70343f..1cec616 100644 --- a/metapost.php +++ b/metapost.php @@ -49,7 +49,7 @@ $language_data = array ( 2 => array( # file construction 'beginfig','begingroup','def','end','enddef','endfig','endgroup','hide','image','input','let','makepen','makepath','primary','primarydef','save','secondarydef','tertiarydef','vardef' ), - 3 => array( # prgrammation structure + 3 => array( # programmation structure 'else','elseif','endfor','exitif','exitunless','fi','for','forever','forsuffix','if','step','until','upto' ), 4 => array( # operations @@ -74,7 +74,16 @@ $language_data = array ( 'dashed','withcolor','withpen','pickup','drawoptions','str','cutafter','cutbefore','direction','directiontime','intersectionpoint','intersectiontimes','arctime','dir','curl','tension','point','precontrol','postcontrol' ), 11 => array(# div - 'nullpicture','currentpicture','pencircle','pensquare','evenly','withdots','labeloffset','fullcircle','halfcircle','unitsquare','ahlength','black','white','red','green','blue','identity','up','down','right','origin','infont','defaultfont','extra_endfig','extra_beginfig','jobname','charcode','prologues' + 'nullpicture','pencircle','pensquare','evenly','withdots','labeloffset','fullcircle','halfcircle','unitsquare','ahlength','black','white','red','green','blue','identity','up','down','right','origin','infont' + ), + 12 => array(# Internal variables with numeric values + 'ahangle','ahlength','bboxmargin','charcode','day','defaultcolormodel','defaultpen','defaultscale','dotlabeldiam','hour','labeloffset','linecap','linejoin','minute','miterlimit','month','mpprocset','pausing','prologues','restoreclipcolor','showstopping','time','tracingcapsules','tracingchoices','tracingcommands','tracingequations','tracinglostchars','tracingmacros','tracingonline','tracingoutput','tracingrestores','tracingspecs','tracingstats','tracingtitles','troffmode','truecorners','warningcheck','year' + ), + 13 => array(# Internal string variables + 'jobname','outputformat','outputtemplate' + ), + 14 => array(# other predefined variables + 'background','currentpen','currentpicture','cuttings','defaultfont','extra_beginfig','extra_endfig' ) ), 'SYMBOLS' => array( @@ -92,7 +101,10 @@ $language_data = array ( 8 => true, 9 => true, 10 => true, - 11 => true + 11 => true, + 12 => true, + 13 => true, + 14 => true ), 'STYLES' => array( 'KEYWORDS' => array( @@ -106,7 +118,10 @@ $language_data = array ( 8 => 'color: #3B5;', # transformations 9 => 'color: #35A;', # draw instructions 10 => 'color: #472;', # style - 11 => 'color: #000;' # div + 11 => 'color: #000;', # div + 12 => 'color: #000;', # Internal variables with numeric values + 13 => 'color: #000;', # Internal string variables + 14 => 'color: #000;', # other predefined variables ), 'COMMENTS' => array( 1 => 'color: #777;', @@ -147,8 +162,11 @@ $language_data = array ( 7 => '', 8 => '', 9 => '', - 10 => '', - 11 => '' + 10 => '', + 11 => '', + 12 => '', + 13 => '', + 14 => '' ), 'OOLANG' => false, 'OBJECT_SPLITTERS' => array( -- 2.20.1