| MGP(1) | General Commands Manual | MGP(1) |
mgp — MagicPoint
-- an X11 based presentation tool
mgp |
[-dhlnoqvBCGORSV] [-b
bgcolor] [-c
vfcap] [-f
vfont] [-g
geometry] [-p
page] [-t
timeslot] [-w
wdir] [-x
engine] [-D
htmldir] [-E
htmlimage] [-F
mode,effect,value] [-Q
quality] [-T
timestampfile] [-X
gsdevice] file |
mgp is an X11 based presentation tool. It
is designed to make simple presentations easy while to make complicated
presentations possible. Its presentation file (whose suffix is typically
.mgp) is just text so that you can create
presentation files quickly with your favorite editor (such as Emacs).
The .mgp file consists of text and control
commands (such as pagebreak, centering, and/or inline image). Control
commands are specified on the beginning of lines started with one
% sign. You can include numerous kinds of image
format files onto the presentation file.
mgp uses Japanese/English fonts in various
sizes. mgp uses X11 scalable fonts provided by X11
servers. mgp can also utilize the Japanese outline
font library, "VFlib", if configured to do so at compilation
time.
The following options are available:
-b
bgcolor-c
vfcap-d
[interval]-f
vfont-g
geometry-g implies -o.
mgp will not override the window manager if you
specify the geometry.-h-l-l, you can disable the
use of outline fonts.-nmgp accepts any key inputs from invoked terminal
as KEY OPERATION described below. -n disables this
feature. (This option may be removed in the future release)-omgp
overrides window manager and occupies the whole display)-p
page-q-t
timeslot--title
name-v-w
wdir-x
engineVFlib or
FreeType.-B-C-D
htmldirnetpbm and
Independent Jpeg Group jpeg package).-E
htmlimage-F
mode,effect,value-G-O-Q
quality-Rmgp will usually reload the presentation file if
it gets updated, based on the file modification time taken by
stat(2). -R disables this
auto-reloading feature.-S-U-T
timestampfilemgp will modify the
content of timestampfile every time it updates the
presentation window. This option is useful for external process to
understand when mgp modifies the window.-V-X
gsdevicemgp sometimes invokes
ghostscript(1) to render postscript images.
-X enables you to specify the device to be used by
ghostscript(1). If you specify
gsdevice with a trailing '+',
pnmscale(1) and pnmdepth(1) will be
invoked for anti-aliasing. The default gsdevice is
"pnmraw+".The keyboard/mouse commands are:
-G for details.mgp. "q" key
also has the same effect.During the presentation, you can see the page list at the bottom of the window when you press a Control Key. Choosing a page with the mouse and clicking it with the leftmost mouse button, you can go to corresponding page directly. Releasing the Control Key, the page list disappears and you can continue with the current page. This function is useful during the Q-and-A period after your presentation completes.
mgp will look at a file named
~/.mgprc in your home directory. The path to this
file can be overridden with the environment variable MGPRC. The content of
the file must be a limited set of magicpoint directives, one directive per
line, without % sign. Lines start with
#, or empty lines, will be silently ignored. See
SYNTAX for eligible directives.
mgp imports various image draw functions
from xloadimage(1). This means that the location of image
files can be specified by ~/.xloadimagerc file. If
you specify the presentation file with its directory, that directory is
searched first and then the path specified in the
~/.xloadimagerc is searched.
The presentation file can include directives to call the external
process, just like shell process. Therefore, the presentation file should be
treated just like shell script or perl script. This is STRONGLY recommended
to review the content of the presentation file before invoking
mgp, if you got the file from others. By adding the
-S option to the command line argument, directives
that call external processes will be skipped.
Yoshifumi Nishida <nishida@csl.sony.co.jp>
Jun-ichiro Hagino <itojun@itojun.org>, Akira Kato <kato@wide.ad.jp>, Atsushi Onoe <onoe@sm.sony.co.jp>, Kazu Yamamoto <Kazu@Mew.org>, Youjiro Uo <yuo@nui.org>, and Masaki Minami <Masaki@Minami.org> extensively contributed improvements, bug fixes, and documents. Special thanks to Chaki Kusakari <chaki@sfc.wide.ad.jp>.
mgp was created shortly after the autumn
camp of WIDE Project in 1997, which was originally called
tp (TinyPoint).
| November 1997 | Debian |