%include "default.mgp"
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%page
%nodefault
%fore "red", size 7, font "standard", back "darkblue"



%center, fore "yellow", font "thick"
MagicPoint
%font "standard"


%size 4, fore "red"
Keio University
Yoshifumi Nishida
%size 3
nishida@sfc.wide.ad.jp

%size 4, fore "yellow"
Appuyer sur la barre d'espace!!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%page
%bgrad 0 0 16 0 0 "red" "black"

Comment l'utiliser

	Page suivante -> appuyer sur le premier bouton de la souris
	Page précedente -> appuyer sur le troisieme bouton de la souris
	Quitter -> Appuer sur q
%center
%lcutin
test message
%center
%rcutin
test message

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%page
%bgrad 0 0 16 0 0 "red" "black"

Les options de la ligne de commande.

%prefix "    -h:"
affiche l'aide .
%prefix "    -g:"
geometry. Positionne la taille et l'emplacement de la fenetre.
%prefix "    -o:"
Do not override window manager.
%prefix "    -b:"
bgcolor. Positionne la couleur de fond. (defaut: noir)
%prefix ""
     

           
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%page

Placez le texte ou vous voulez!

%fore "red", size 6
%center
centre


%left
gauche

%right
droite
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%PAGE

Utilisez la fonte que vous voulez!

%CENTER
%SIZE 10,FORE "orange"
Bonjour monde
%SIZE 7,FORE "gray"
Bonjour monde
%SIZE 5,FORE "blue"
Bonjour monde
%SIZE 4,FORE "yellow"
Bonjour monde
%SIZE 3,FORE "green"
Bonjour monde
%SIZE 2,FORE "red"
Bonjour monde
%SIZE 1,FORE "pink"
Bonjour monde
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%page

Choisissez la fonte de votre choix


%size 4, fore "red", center

%xfont "times-medium-r", tfont "times.ttf"
Voici  times-medium-r

%xfont "times-medium-i", tfont "timesi.ttf"
Voici  times-medium-i

%xfont "times-bold-r", tfont "timesbd.ttf"
Voici times-bold-r

%xfont "times-bold-i", tfont "timesbi.ttf"
Voici  times-bold-i
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%page

On peut mélanger les fontes

Control can be mixed

%fore "green", font "standard", size 4
Ceci est un
%cont, fore "orange", font "thick", size 6
Message
%cont, fore "red", font "typewriter", size 5
de test.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%page

Automatic folding of long line!

	Hello, this is MagicPoint. I can properly handle the folding opeation of very long line, of course english word-wise.  The source code of this line is made up by a single line.
		This is the next line. Even if the indentation changes, I can handle this!  Yey!
	You can also connect the line using backslash.  \
Yes, UNIX tradition.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%PAGE
%bgrad 0 0 16 0 0 "red" "black"

Mettez une image

%CENTER
%IMAGE "cloud.gif"
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%PAGE

Effets spécial!


%fore "red", size 6, center
%shrink
Message de test

%lcutin
Message de test

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%PAGE

Pause

	Appuyez sur la barre d'espace pour la suite

%center, fore "red"
Happy hacking!
%pause, fore "blue"
Happy hacking!
%pause, fore "green"
Happy hacking!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%PAGE

Grab command output into foils

	ls -l /kernel /bsd

%size 3, prefix "     "
%filter "ls -l /kernel /bsd"
%endfilter

	echo "this is test" | rev

%filter "rev"
this is test
%endfilter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%PAGE

Subprocess (multimedia!)

%system "xeyes -geometry %50x20+25+60"

	Invoke xanim/mpegplay for multimedia presentation! :-)

	No duplicated subprocess for one declaration.
	Geometry can be presentation-screen relative.
	xeyes will vanish if you switch the page.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%PAGE

Bonne journée. 

	Allez voir
		
%cont, font "typewriter"
http://www.mew.org/mgp/
%font "standard"
	pour de nouvelles aventures.
