[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(mgp-users 00271) Non-working first attempt



  Will one of you more experienced users of mgp please tell me what's wrong
with this test file?

--------------------------------
%include "default.mgp"

%page

%center, size 7, font "standard", fore "white", vgap 20
Real World Skills:

%fore "yellow", size 5
What is Not Taught in College

%page

Three Categories

      Communication
      Attitude
      Professional Development
----------------------------------

  I call this test.mgp. When I try running it, I get a black screen with
grey/while line toward the top but no text visible

  It must be something simple, but I can't see what it is. Let's see, what
else can I tell you?

  In /usr/X11R6/lib/X11/mgp/default.mgp, I took out the references to vfont
and tfont.

  In /usr/X11R6/lib/X11/XF86Config, I have the following font paths:

# Multiple FontPath entries are allowed (they are concatenated together)

    FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath    "/usr/X11R6/lib/X11/fonts/atmfonts/"
    FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
and these are the contents of the Type1 subdirectory:

[rshepard@salmo Type1]$ ls
UTBI____.pfa  UTRG____.pfa  c0583bt_.pfb  c0633bt_.pfb  cour.pfa    couri.pfa
UTB_____.pfa  c0419bt_.pfb  c0611bt_.pfb  c0648bt_.pfb  courb.pfa   fonts.dir
UTI_____.pfa  c0582bt_.pfb  c0632bt_.pfb  c0649bt_.pfb  courbi.pfa  fonts.scale

  What else do I need to provide to figure out what's wrong?

  Oh, here's the error message I see when I quit running test.mgp:

[rshepard@salmo rshepard]$ mgp ~/data/slide-presentations/test.mgp
/home/rshepard/data/slide-presentations/test.mgp:3: no text allowed
in preamble; ignored

  Where is the preamble? And what text (on line 3, I presume) is the
offender?

TIA!

Rich

Dr. Richard B. Shepard, President

                       Applied Ecosystem Services, Inc. (TM)
              Making environmentally-responsible mining happen. (SM)         
                       --------------------------------
            2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com