Path: utzoo!attcan!uunet!mailrus!cs.utexas.edu!usc!elroy.jpl.nasa.gov!jarthur!sif.claremont.edu From: dhosek@sif.claremont.edu (Hosek, Donald A.) Newsgroups: comp.text.tex Subject: Re: Amateur MF user needs help, please Message-ID: <7440@jarthur.Claremont.EDU> Date: 7 Jun 90 21:40:34 GMT Sender: news@jarthur.Claremont.EDU Reply-To: dhosek@sif.claremont.edu Organization: Harvey Mudd College Lines: 47 In article <1100.266e70b4@dayton.saic.com>, fac2@dayton.saic.com (Earle Ake) writes... > I am trying to build up our logo using MetaFONT with little >success. The logo has areas bounded by curved and straight lines. I >am trying to use the draw and flex commands of MetaFONT with no success. >What am I doing wrong? Could someone steer me in the right direction? >I keep getting the error: >! A tertiary expression can't begin with `..'. > > 0 > > .. >path piece[]; [omitted code] >piece0 = > draw z1---z2---z3---z4 > & flex(z4,(161,11.5),z5) > & draw z5---z6---z7---z8---z1 > & .. cycle; Let's see... first, you don't want those draws in there. draw is a command that operates on a path, not something that can be part of a path (take a really close look at the code on page 124 of the MFbook. That plus dumping the .. on the last line (each segment joined with "&" should be a complete path in itself) should take care of most of the problem. The end result should look like piece0 = z1--z2--z3--z4 & flex(z4,(161,11.5),z5) & z5--z6--z7--z8--z1 & cycle; -dh --- Don Hosek "Other people get into occupations by dhosek@ymir.claremont.edu accident or design; but writers are born. dhosek@ymir.bitnet We have to write. I have to write. I uunet!jarthur!ymir could work at selling motels, or slopping hogs, for fifty years, but if someone asked This space for rent. Call me my occupation, I'd say writer, even if now for the best rates. I'd never sold a word. Writers _write_. Other people _talk_." -W.P. Kinsella