Changeset 20
- Timestamp:
- 09/04/08 19:12:01 (4 months ago)
- Files:
-
- trunk/pgiac/pgiac (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/pgiac/pgiac
r19 r20 34 34 35 35 36 my $VERSION = "0.1. 8"; # Mardi 26 août200836 my $VERSION = "0.1.9"; # Jeudi 4 septembre 2008 37 37 38 38 my $OUT = ""; # Contenu en sortie. … … 41 41 my $NBCMD = 0; # Nombre de commandes successives traitées. 42 42 43 my $FFIG = " pdf"; # Format des figures.44 $opt_f and ($opt_f eq "pdf" or $opt_f eq "eps") and $FFIG = $opt_f;43 my $FFIG = ""; # Extension des figures par défaut (aucune). 44 $opt_f and ($opt_f eq "pdf" or $opt_f eq "eps") and $FFIG = ".$opt_f"; 45 45 46 46 … … 65 65 my $GSBBOX = "gs -q -sDEVICE=bbox -sPAPERSIZE=a4 -dNOPAUSE -dNOSAFER"; 66 66 67 #@f:entete 67 68 open(INGIAC,$ARGV[0]) or die "Impossible d'ouvrir $ARGV[0]... : $!"; 68 69 my $PRE = (fileparse($ARGV[0],qw{\..*}))[0]; … … 187 188 } 188 189 190 #@f:pipe 189 191 190 192 # === GetOutGiac ======================================================= … … 246 248 my $t = shift; 247 249 return << "eop"; 248 \\InscriptionFigureGiac{$t .$FFIG}250 \\InscriptionFigureGiac{$t$FFIG} 249 251 eop 250 252 } … … 320 322 } 321 323 # === Fin de GetOutGiacMetaPost ======================================== 324 #@f:getout 322 325 ### Conversion du fichier $f.eps au format PDF. 323 326 sub epstopdf { … … 335 338 unlink "pgiac-$f.ps" if -f "pgiac-$f.ps"; 336 339 } 340 341 #@f:figure 342 337 343 # === Lire des paramÚtres ============================================== 338 344 sub LireParametres { … … 350 356 } 351 357 } 358 359 #@f:parametres
