%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"
Type SPC key!!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%page
%bgrad 0 0 16 0 0 "red" "black"

How to Use 

	forward page-> press mouse1 button 
	backward page-> press mouse3 button 
	quit -> press q key 

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

Command Line Option 

%prefix "    -h:"
display usage.
%prefix "    -g:"
geometry. Set the size of window, and placement.
%prefix "    -o:"
Do not override window manager.
%prefix "    -b:"
bgcolor. Set background color to bgcolor. (default: black)
%prefix ""
     

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

Place text whereever you like!

%fore "red", size 6
%center
center


%left
left

%right
right
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%PAGE

Use any font size as you like!


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

Fonts are selectable


%size 4, fore "red", center

%xfont "times-medium-r", tfont "times.ttf"
This is times-medium-r

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

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

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

Control can be mixed


%fore "green", font "standard", size 4
This is a 
%cont, fore "orange", font "thick", size 6
Test 
%cont, fore "red", font "typewriter", size 5
message

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%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

Visualize inline images!

%CENTER
%IMAGE "cloud.jpg"
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%PAGE

Special effects!


%fore "red", size 6, center
%shrink
a test message

%lcutin
another test message

%rcutin
yet another test message
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%PAGE

Pause

	Type SPC key (twice) to proceed.

%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

Embed Subprocess

	You can embed X applications in MagicPoint!

	An example
%center
%xsystem "xclock -geometry %30x30+25+60 -update 1 -bg black -fg blue -hands green"
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%PAGE
%PCACHE 1 1 0 30

Forward page cache (1)

	The next slide is cached inwardly by using
		'%pcache' directive
		-F option


	Next slide will appear quicker than before!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%PAGE
%PCACHE 1 1 1 50

Forward page cache (2)

	You can specify 'special effect' for the forward page cache.
		tap space bar to see the 'special effect'. 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%PAGE
%PCACHE 0 

Have a nice day!

	Visit
		
%cont, font "typewriter"
http://www.mew.org/mgp/
%font "standard"
	for upcoming information.
