home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume19 / xfig / part26 < prev    next >
Encoding:
Text File  |  1993-05-27  |  67.8 KB  |  1,866 lines

  1. Newsgroups: comp.sources.x
  2. From: envbvs@epb9.lbl.gov (Brian V. Smith)
  3. Subject: v19i138:  xfig - Draw amd manipulate objects in an X-Window, Part26/27
  4. Message-ID: <1993May21.021816.7860@sparky.imd.sterling.com>
  5. X-Md4-Signature: 45129c8ace991f28af1710f0c74d0669
  6. Sender: chris@sparky.imd.sterling.com (Chris Olson)
  7. Organization: Sterling Software
  8. Date: Fri, 21 May 1993 02:18:16 GMT
  9. Approved: chris@sparky.imd.sterling.com
  10.  
  11. Submitted-by: envbvs@epb9.lbl.gov (Brian V. Smith)
  12. Posting-number: Volume 19, Issue 138
  13. Archive-name: xfig/part26
  14. Environment: X11
  15. Supersedes: xfig: Volume 16, Issue 6-30,39
  16.  
  17. #! /bin/sh
  18. # This is a shell archive.  Remove anything before this line, then unpack
  19. # it by saving it into a file and typing "sh file".  To overwrite existing
  20. # files, type "sh file -c".  You can also feed this as standard input via
  21. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  22. # will see the following message at the end:
  23. #        "End of archive 26 (of 27)."
  24. # Contents:  Doc/xfig.man
  25. # Wrapped by envbvs@epb9.lbl.gov.lbl.gov on Mon May  3 12:06:10 1993
  26. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  27. if test -f 'Doc/xfig.man' -a "${1}" != "-c" ; then 
  28.   echo shar: Will not clobber existing file \"'Doc/xfig.man'\"
  29. else
  30. echo shar: Extracting \"'Doc/xfig.man'\" \(65304 characters\)
  31. sed "s/^X//" >'Doc/xfig.man' <<'END_OF_FILE'
  32. X'\" t
  33. X.\" the previous line makes man call tbl
  34. X.if t .po .9i
  35. X.TH XFIG 1 "Release 2.1(.7) (Protocol 2.1)"
  36. X.SH NAME
  37. Xxfig \- Facility for Interactive Generation of figures under X11
  38. X.SH SYNOPSIS
  39. X.B xfig
  40. X[\fIoptions\fP]
  41. X[\fIfile\fP]
  42. X.SH DESCRIPTION
  43. X.I Xfig
  44. Xis a menu-driven tool that allows the user to draw and manipulate objects
  45. Xinteractively in an X window.
  46. X.B It runs under X version 11
  47. X.B release 4 or higher
  48. Xand requires a two- or three-button mouse.
  49. X.I file
  50. Xspecifies the name of a file to be edited. The description of objects in
  51. Xthe file will be read at the start of \fIxfig\fP.
  52. X.PP
  53. XWhen using a two-button mouse
  54. Xuse the <Meta> key and the right button at the same time to effect
  55. Xthe action of the middle button.
  56. X.PP
  57. XThe \fITransFig\fP package is used to print or export the output from \fIxfig\fP.
  58. X.PP
  59. XNote for previous \fIxfig\fP users:
  60. X.PP
  61. XThe \fIf2p\fP and \fIf2ps\fP translators have been phased out
  62. Xbecause the \fITransFig\fP package from Micah Beck is a more general
  63. Xpurpose translator for more graphics languages.
  64. XThe \fITransFig\fP package can be used as a back-end processor to \fIxfig\fP
  65. Xto produce various types of output:
  66. X.IP "LaTeX - "12
  67. X\fIfig2dev -L latex\fP translates \fIxfig\fP to \fILaTeX\fP
  68. Xpicture environment commands which can be
  69. Xprocessed along with other
  70. X.I LaTeX
  71. Xcommands.
  72. X.IP "Postscript -
  73. X\fIfig2dev -L ps\fP produces a \fIPostScript\fP output.
  74. X.IP "Pic -
  75. X\fIfig2dev -L pic\fP produces a pic output.
  76. X.IP "PiCTeX -
  77. X\fIfig2dev -L pictex\fP produces
  78. X.I PiCTeX
  79. Xoutput.
  80. XThis contains macros that can be used with the
  81. X.I PiCTeX
  82. Xenvironment under
  83. X.I TeX
  84. Xor
  85. X.I LaTeX.
  86. X.IP "Others -
  87. X\fIfig2dev\fP has options for these other languages:
  88. X\fIbox\fP,
  89. X\fIepic\fP,
  90. X\fIeepic\fP,
  91. Xand \fIeepicemu\fP.
  92. X.PP
  93. XThe \fITransFig\fP package is available via anonymous ftp from
  94. Xexport.lcs.mit.edu in /contrib/R5fixes/transfig-fixes/transfig.2.1.X.tar.Z, 
  95. Xwhere the X is the current patchlevel.
  96. X.LP
  97. XNote: \fITransFig\fP versions 2.1.4 and later support color
  98. Xoutput for \fIPostScript\fP.
  99. X.SH OPTIONS
  100. X.TP
  101. X.B \-L[andscape]
  102. XMake \fIxfig\fP come up in landscape mode (10" x 8").  This is the default.
  103. X.TP
  104. X.B \-P[ortrait]
  105. XMake \fIxfig\fP come up in portrait mode (8" x 9").
  106. X.TP
  107. X.B \-bg \fIcolor\fP
  108. XUse \fIcolor\fP as the background color for the canvas and buttons.
  109. X.TP
  110. X\fB-bol[d]\fP \fIfont\fP
  111. XCause the font used for displaying confirmation messages to be \fIfont\fP
  112. X(default = 8x13bold).
  113. X.TP
  114. X\fB-bu[tton]\fP \fIfont\fP
  115. XCause the font used for most buttons to be \fIfont\fP (default = 6x13).
  116. X.TP
  117. X.B \-de[bug]
  118. XTurn on debugging mode.  Prints various debugging messages like font names etc.
  119. X.TP
  120. X.B \-e[xportLanguage] \fIlanguage\fP
  121. XSpecifies the language to be used for when exporting a fig file.
  122. XChoices are:
  123. X
  124. X.TS
  125. Xl l.
  126. XName    Language
  127. X_
  128. Xbox    LaTeX box (figure boundary)
  129. Xlatex    LaTeX picture
  130. Xepic    LaTeX picture + epic macros
  131. Xeepic    LaTeX picture + eepic macros
  132. Xeepicemu    LaTeX picture + eepicemu macros
  133. Xpictex    PiCTeX macros
  134. Xeps    Encapuslated Postscript
  135. Xps    Postscript
  136. Xpstex    Combined PS/LaTeX (PS part)
  137. Xpstex_t    Combined PS/LaTeX (LaTeX part)
  138. Xtextyl    Textyl special commands
  139. Xtpic    TPIC
  140. Xpic    PIC
  141. Xxbm    X11 Bitmap
  142. X.TE
  143. X.TP
  144. X.B \-fg \fIcolor\fP
  145. XUse \fIcolor\fP as the foreground color and default color for objects.
  146. X.TP
  147. X.B \-fl[ushleft]
  148. XSet the print option to print the figure flush left.
  149. XThe default is to center the figure on the page.
  150. X.TP
  151. X\fB-geom[etry]\fP \fIWxH+X+Y\fP
  152. XSpecifies the geometry for Fig application.
  153. X.TP
  154. X\fB-iconG[eometry]\fP \fI+X+Y\fP
  155. XSpecifies the position for the icon.
  156. X.TP
  157. X.B \-inc[hes]
  158. XMake inches the unit of choice (default).
  159. X.TP
  160. X.B \-me[tric]
  161. XMake centimeters the unit of choice.
  162. X
  163. XAfter \fIxfig\fP is started you may change the units from metric to
  164. Ximperial or vice versa from a popup menu available by pressing mouse
  165. Xbutton 3 in the \fIunits\fP box where the two rulers meet.
  166. X.TP
  167. X.B \-internalBW \fIwidth\fP
  168. XUse lines of width \fIwidth\fP between all buttons and panels (default = 1).
  169. X.TP
  170. X.B \-inv[verse]
  171. XUse inverse video (white on black).
  172. X.TP
  173. X.B \-k[eyFile] \fIcompose-key-file\fP
  174. XUse \fIcompose-key-file\fP instead of \fICompKeyDB\fP for compose (meta) key
  175. Xdatabase.  If there are no "/"s in the name, the file must reside in the \fIxfig\fP
  176. Xlibrary directory, \fI$XFIGLIBDIR\fP, usually /usr/local/lib/X11/xfig.
  177. XIf there are any "/"s in the name it is taken as is (not relative
  178. Xto \fI$XFIGLIBDIR\fP).
  179. XIf there is a leading "~/" in the string then the ~ is expanded to the
  180. Xuser's home directory.
  181. X.TP
  182. X.B \-lat[exfonts]
  183. XStart \fIxfig\fP with \fILaTeX\fP font selection.  Normally, the \fIPostScript\fP
  184. Xfonts are available as the default.  This flag selects the \fILaTeX\fP
  185. Xfonts to start.
  186. X.TP
  187. X.B \-le[ft]
  188. XChange the position of the side panel window to the left of the canvas window.
  189. X.TP
  190. X.B \-mo[nochrome]
  191. XUse black and white only.
  192. X.TP
  193. X\fB-nor[mal]\fP \fIfont\fP
  194. XCause the font used for the message panel and ruler numbers to be \fIfont\fP.
  195. XThis font is also used on the canvas when the selected font is not available
  196. Xin an X11 font (default = fixed).
  197. X.TP
  198. X.B \-not[rack]
  199. XTurn off cursor (mouse) tracking arrows.
  200. X.TP
  201. X\fB-ph[eight]\fP \fIunits\fP
  202. XMake \fIxfig\fP come up \fIunits\fP high (where units are either cm or in).
  203. X.TP
  204. X\fB-pw[idth]\fP \fIunits\fP
  205. XMake \fIxfig\fP come up \fIunits\fP wide (where units are either cm or in).
  206. X.TP
  207. X.B \-ri[ght]
  208. XChange the position of the side panel window to the right of the canvas window
  209. X(default: left).
  210. X.TP
  211. X.B \-sc[alablefonts]
  212. XAllows use of the X11R5 scalable fonts.
  213. X.TP
  214. X.B \-nosc[alablefonts]
  215. XDisables use of the X11R5 scalable fonts.  You might want to use this for
  216. Xdebugging.
  217. X.TP
  218. X.B \-sh[owallbuttons]\fP
  219. XShow all the \fIxfig\fP indicator buttons instead of only those relevant
  220. Xto the current drawing mode.  Normally, the buttons \fIline width\fP,
  221. X\fIarea-fill\fP, \fIgrid mode\fP, \fItext size\fP, etc. are only visible when
  222. Xthey are relevant to the current drawing mode.
  223. XThe \fB-showallbuttons\fP option makes all
  224. Xof the indicator buttons visible at all times.  This takes up more screen
  225. Xreal estate, but allows the user to see all settable parameters.
  226. X.TP
  227. X.B \-sp[ecialtext]
  228. XStart \fIxfig\fP with the \fIspecial text\fP mode for text objects.
  229. X.TP
  230. X\fB-startf[ontsize]\fP \fIpointsize\fP
  231. XSet the default font size for text objects (default = 12pt).
  232. X.TP
  233. X\fB-startl[atexFont]\fP \fIfont\fP
  234. XSet the starting font name for \fILaTeX\fP fonts.
  235. X.TP
  236. X\fB-startp[sFont]\fP \fIfont\fP
  237. XSet the starting font name for \fIPostscript\fP fonts.
  238. X.TP
  239. X.B \-te[xtoutline]
  240. XSpecifies that xfig will draw a red (on color machines) outline
  241. Xof the "actual" bounding box of text objects.
  242. XThis is mostly useful for determining what rotated text will look like
  243. Xsince xfig doesn't rotate the text (other than 0, 90, 180, or
  244. X270 degrees) on the canvas.
  245. X.TP
  246. X.B \-tr[ack]
  247. XTurn on cursor (mouse) tracking arrows (default).
  248. X.TP
  249. X\fB-users[cale]\fP \fIscale\fP
  250. XSet the multiplier for displayed line lengths etc.  This factor is multiplied
  251. Xby the actual length, radius or diameter of the object currently
  252. Xbeing drawn on the canvas.  It is useful for making scale drawings, where
  253. Xe.g. 1 inch = 1 foot (userscale = 12.0) or 1cm = 1m (userscale = 100.0).
  254. X.TP
  255. X\fB-useru[nit]\fP \fIunits\fP
  256. XThe \fIunits\fP string is printed with the length information when drawing objects.
  257. XFor example if the \fIuserscale\fP = 1.0 and the \fIuserunit\fP = \fIft\fP 
  258. Xthen a line which is 3 inches long on the canvas would be displayed as 
  259. X"length = 3 ft" when it is being drawn.
  260. X
  261. XAfter \fIxfig\fP is started you may change the \fIuserscale\fP
  262. Xand the \fIuserunit\fP from a popup menu available by pressing mouse
  263. Xbutton 3 in the \fIunits\fP box where the two rulers meet.
  264. X
  265. X
  266. X.SH "GRAPHICAL OBJECTS"
  267. XThe objects in \fIxfig\fP are divided into \fBprimitive objects\fP and
  268. X\fBcompound objects\fP. The primitive objects are: \fIARC\fP, \fICIRCLE\fP,
  269. X\fICLOSED SPLINE\fP, \fIELLIPSE\fP, \fIPOLYLINE\fP, \fIPOLYGON\fP,
  270. X\fIENCAPSULATED POSTSCRIPT\fP, \fIBOX\fP, \fIARC-BOX\fP, \fISPLINE\fP,
  271. Xand \fITEXT\fP.
  272. X.PP
  273. XA primitive object can be moved, rotated, flipped vertically or horizontally,
  274. Xscaled, copied, aligned within a compound object or erased.
  275. XThe TEXT primitive may not be flipped. It may be rotated but only the markers
  276. Xshow the rotation (on-screen) for angles other than 0, 90, 180 and 270 degrees.
  277. XText IS rotated on \fIPostScript\fP output.
  278. XThe attributes of any primitive object can be edited using a popup
  279. Xpanel (discussed below), so you can, for instance, set the position
  280. Xof an object manually.
  281. X.PP
  282. XA compound object is composed of primitive objects. The primitive objects
  283. Xthat constitute a compound can not be individually modified, but they can
  284. Xbe manipulated as an entity; a compound can be moved, rotated, flipped
  285. Xvertically or horizontally, scaled, copied or erased.  A compound that
  286. Xcontains any boxes or arc-boxes may only be rotated by 90 degrees.
  287. X.PP
  288. XObjects may overlap other objects according to their "depth".  Objects with
  289. Xlarger depth number are obscured by objects with smaller depth.
  290. X.PP
  291. X\fIRegular\fP polygons may be created using a special drawing mode, but a
  292. Xgeneral \fIPOLYGON\fP is created as a result, which may then be modified, i.e.
  293. Xthe individual vertices may be moved if desired.
  294. X.SH "DISPLAY WINDOWS"
  295. XTen regions comprise the display area of \fIxfig\fP: the
  296. Xcommand region, top ruler, side ruler, drawing mode region,
  297. Xediting mode region, filename region, message region,
  298. Xmouse function indicator region and canvas region,
  299. Xand indicator region with buttons to set and show current line thickness,
  300. Xline style, color, area-fill gray color and several other settings.
  301. X(The mouse function indicator region was inspired by the UPS
  302. Xdebugger from the University of Kent.)
  303. XThe drawing and editing mode regions may be placed (together) to the left or
  304. Xright of the the canvas window (default: left).
  305. X.SH "COMMAND PANEL FUNCTIONS"
  306. X.TP
  307. X.I Quit
  308. XExit from \fIxfig\fP, discarding the figure. If the figure has been modified and
  309. Xnot saved, the user will be asked to
  310. Xconfirm the action, by clicking mouse button 1 on a confirm/cancel popup menu.
  311. X.TP
  312. X.I Delete ALL
  313. XDelete all objects from the canvas window (may be undone).
  314. X.TP
  315. X.I Undo
  316. XUndo the last object creation, deletion or modification.
  317. X.TP
  318. X.I Redraw
  319. XRedraw the canvas.
  320. X.TP
  321. X.I Paste
  322. XPaste the object previously copied into the cut/paste file into the current
  323. Xfigure (at its original position).
  324. X.TP
  325. X.I File
  326. XPressing mouse button 3 on this button invokes \fISave\fP function without
  327. Xpopping up the file panel.
  328. X.br
  329. XMouse button 1 or \fI<Meta>f\fP pops up a panel which contains several
  330. Xfile-related functions:
  331. X.PP
  332. X.po +.5i
  333. X.nr LL 6i
  334. X.TP
  335. X.I Current Filename
  336. XThis is read-only AsciiTextWidget which contains the filename that will be used
  337. Xto write output to a file \fIif there is no name specified in\fP the
  338. X\fIFilename\fP panel.
  339. X.TP
  340. X.I Filename
  341. XThis is an editable AsciiTextWidget which contains the filename selected
  342. Xeither by clicking on a filename from the \fIAlternatives\fP list or
  343. Xby typing a name in directly.
  344. XPressing return in the Filename window will \fILoad\fP the file and copy
  345. Xthe name to the \fICurrent Filename\fP widget.
  346. X.TP
  347. X.I (File) Alternatives
  348. XPressing mouse button 1 on a filename in the file alternatives
  349. Xwindow will select that file by copying the filename into \fIFilename\fP window.
  350. XPressing return in this window will \fILoad\fP the file specified in the
  351. X\fIFilename\fP window (if any) or the \fICurrent Filename\fP widget.
  352. X.TP
  353. X.I Filename Mask
  354. XA wildcard mask may be typed into this editable AsciiTextWidget to restrict
  355. Xthe search of filenames to a subset ala the \fIls\fP command.
  356. XPressing return in this window will automatically
  357. Xrescan the current directory.
  358. XThis string may be set by setting the X toolkit resource
  359. X\fB*file_panel*mask*string\fP.
  360. X.TP
  361. X.I Current Directory
  362. XThis is an editable AsciiTextWidget which shows the current directory.
  363. XIt may be modified by the user to manually set a directory name.  When
  364. Xreturn is pressed in this window the directory specified is scanned for
  365. Xfiles matching the \fIFilenamemask\fP, if any.
  366. X
  367. XThe ~ (tilde) character may be used to specify a user's home directory, ala
  368. Xunix shell tilde expansion.
  369. X.TP
  370. X.I (Directory) Alternatives
  371. XPressing mouse button 1 on a directory name in the directory
  372. Xalternatives list will do a "change directory" to that directory.
  373. X
  374. XPressing mouse button 3 in either the file or
  375. X\fIDirectory Alternatives\fP window will do a "change directory" to the
  376. Xparent directory.
  377. X.TP
  378. X.I Home
  379. XPressing this button will change the directory to the \f3$HOME\f1 directory
  380. Xof the user.
  381. X.TP
  382. X.I Rescan
  383. XPressing this button or \fI<Meta>r\fP will rescan the
  384. Xcurrent directory.
  385. X.TP
  386. X.I Cancel
  387. XPressing this button or \fI<Meta>c\fP will pop down the \fIFile\fP panel
  388. Xwithout making any changes to the directory or file name.
  389. X.TP
  390. X.I Save
  391. XPressing this button or \fI<Meta>s\fP will save the current contents of the
  392. Xcanvas in the file specified in the
  393. X\fIFilename\fP window \fIif any\fP, or the name specified in the
  394. X\fICurrent Filename\fP if the former is empty.
  395. XIf the file already exists a confirmation popup menu will appear
  396. Xasking the user to confirm or cancel the save.
  397. XIf there is a filename in the \fIFilename\fP window it is copied to the
  398. X\fICurrent Filename\fP window.
  399. X
  400. XThe current Export directory is updated to the current File directory when
  401. XSave is pressed.
  402. X.TP
  403. X.I Load
  404. XPressing this button or \fI<Meta>l\fP will clear the canvas of any
  405. Xcurrent figure and read the figure from the filename specified
  406. Xin the \fIFilename\fP menu item \fIif any\fP, or the name
  407. Xspecified in the \fICurrent Filename\fP if the former is empty.
  408. XIf there is a figure currently on the canvas and any modifications
  409. Xhave been made to it and not saved, a popup query
  410. Xwindow will first appear asking if the user wishes to discard the current
  411. Xfigure or cancel the \fILoad\fP operation.
  412. X
  413. XThe current Export directory is updated to the current File directory when
  414. XLoad is pressed.
  415. X
  416. XA popup message window will appear and diagnostic messages will be written
  417. Xif \fIxfig\fP changes any "illegal" object values to legal values.  For example,
  418. Xolder versions of \fIxfig\fP were lax about initializing unused parts such as
  419. X\fIdepth\fP, and would produce very large, random values.
  420. X\fIXfig\fP now will "clean up" bad values and inform you when it does so.
  421. XAlso, if you read in an older file format, \fIxfig\fP will inform you that
  422. Xit is converting it to the current format for that version of \fIxfig\fP.
  423. X.br
  424. XThis window can be popped down by clicking the mouse button on the
  425. X\fIDismiss\fP button.
  426. X.TP
  427. X.I Merge Read
  428. XPressing this button or \fI<Meta>r\fP will read the figure from the filename
  429. Xspecified in the \fIFilename\fP window \fIif any\fP, or the name
  430. Xspecified in the \fICurrent Filename\fP if the former is empty,
  431. Xand merge it with the figure already shown on the canvas.
  432. X
  433. XSee \fILoad\fP above for a description of the popup message window.
  434. X.PP
  435. X.po -.5i
  436. X.nr LL 6.5i
  437. X.TP
  438. X.I Export
  439. XWill let you export the figure to an output file in one of several formats.
  440. XPressing mouse button 3 on this button invokes \fIExport\fP function without
  441. Xpopping up the export panel.
  442. X.br
  443. XMouse button 1 or \fI<Meta>e\fP pops up a directory browser widget and
  444. Xa menu with several export-related functions:
  445. X.PP
  446. X.po +.5i
  447. X.nr LL 6i
  448. X.TP
  449. X.I Magnification
  450. XThis is an editable AsciiTextWidget which contains the magnification to use
  451. Xwhen translating figure to the output language.  The default is 100%.
  452. X.TP
  453. X.I Orientation
  454. XThis button will toggle the output orientation between Landscape (horizontal)
  455. Xand Portrait (vertical).  The default orientation is the same as the mode
  456. Xthat \fIxfig\fP was started with.
  457. X.TP
  458. X.I Justification
  459. XThis window will only be sensitive when the language selected is "ps" (\fIPostScript\fP).
  460. XYou may choose that the figure is \fIflush left\fP or \fIcentered\fP in the
  461. Xoutput file.
  462. X.TP
  463. X.I Language
  464. XThe translation language to use for \fIxfig\fP output when output is
  465. Xdirected to a file.  The default is \fIPostScript\fP.
  466. XThe figure may be saved as an X11 bitmap by choosing \fIXbitmap\fP as the
  467. Xoutput language.
  468. XThe bitmap is created from the figure, the size of which is determined
  469. Xby the enclosing rectangle of all the figure plus a small border.
  470. X.TP
  471. X.I Default Output Filename
  472. XThis is read-only AsciiTextWidget which contains the filename that will be used
  473. Xto write output to a file \fIif there is no name specified in\fP Output File.
  474. XThe default is the figure name plus an extension that reflects the output
  475. Xlanguage used, e.g. myfigure.ps if PostScript is the current language used.
  476. XIf the file already exists a confirmation popup menu will appear
  477. Xasking the user to confirm or cancel the save.
  478. X.TP
  479. X.I Output Filename
  480. XThis is an editable AsciiTextWidget which contains the filename to use
  481. Xto write output to a file.
  482. XPressing return in this window will \fIExport\fP the file and copy
  483. Xthe name to the \fIDefault Output Filename\fP widget.
  484. XIf the file already exists a confirmation popup menu will appear
  485. Xasking the user to confirm or cancel the save.
  486. X.TP
  487. X.I (File) Alternatives
  488. XPressing mouse button 1 on a filename in the file alternatives
  489. Xwindow will select that file by copying the filename into \fIFilename\fP window.
  490. XPressing return in this window will \fIExport\fP the file and copy
  491. Xthe name to the \fIDefault Output Filename\fP widget.
  492. X.TP
  493. X.I Filename Mask
  494. XA wildcard mask may be typed into this editable AsciiTextWidget to restrict
  495. Xthe search of filenames to a subset ala the \fIls\fP command.
  496. XPressing return in this window will automatically
  497. Xrescan the current directory.
  498. XThis string may be set by setting the X toolkit resource
  499. X\fB*export_panel*mask*string\fP.
  500. X.TP
  501. X.I Current Directory
  502. XThis is an editable AsciiTextWidget which shows the current directory.
  503. XIt may be modified by the user to manually set a directory name.  When
  504. Xreturn is pressed in this window the directory specified is scanned for
  505. Xfiles matching the \fIFilenamemask\fP, if any.
  506. X
  507. XIt is automatically updated
  508. Xto follow the current File directory when a File Load or Save is done.
  509. X
  510. XThe ~ (tilde) character may be used to specify a user's home directory, ala
  511. Xunix shell tilde expansion.
  512. X.TP
  513. X.I (Directory) Alternatives
  514. XPressing mouse button 1 on a directory name in the directory
  515. Xalternatives list will do a "change directory" to that directory.
  516. X
  517. XPressing mouse button 3 in either the file or
  518. X\fIDirectory Alternatives\fP window will do a "change directory" to the
  519. Xparent directory.
  520. X.TP
  521. X.I Home
  522. XPressing this button will change the directory to the \f3$HOME\f1 directory
  523. Xof the user.
  524. X.TP
  525. X.I Rescan
  526. XPressing this button or \fI<Meta>r\fP will rescan the current directory.
  527. X.TP
  528. X.I Cancel
  529. XPressing this button or \fI<Meta>c\fP will pop down the \fIExport\fP menu
  530. Xwithout doing any print operation.
  531. X.TP
  532. X.I Export
  533. XPressing this button or \fI<Meta>e\fP will write (export) the figure
  534. Xto the file using the selected language.
  535. XIf the file already exists, a confirmation window will popup to ask the
  536. Xuser to confirm the write or cancel.
  537. XPressing return in the Output Filename window will also Export the file.
  538. X.PP
  539. X.po -.5i
  540. X.nr LL 6.5i
  541. X.TP
  542. X.I Print
  543. XPressing mouse button 3 on this button invokes \fIPrint to Printer\fP function
  544. Xwithout popping up the print panel.  Pressing the \fIShift\fP key and
  545. Xmouse button 3 invokes the \fIPrint to Batch\fP function.
  546. XPressing mouse button 1 or \fI<Meta>p\fP pops up a menu with several
  547. Xprint-related functions:
  548. X.PP
  549. X.po +.5i
  550. X.nr LL 6i
  551. X.TP
  552. X.I Magnification
  553. XThis is an AsciiTextWidget which contains the magnification to use
  554. Xwhen translating figure to the output language.
  555. X.TP
  556. X.I Orientation
  557. XThis button will toggle the output orientation between Landscape (horizontal)
  558. Xand Portrait (vertical).  The default orientation is the same as the mode
  559. Xthat \fIxfig\fP was started with.
  560. X.TP
  561. X.I Justification
  562. XThis button will bring up a sub-menu from which you may choose
  563. X\fIcenter\fP or \fIflush left\fP to justify the figure on the page.  The
  564. Xdefault is \fIflush left\fP.
  565. X.TP
  566. X.I Printer
  567. XThis is an AsciiTextWidget which contains the printer to
  568. Xuse if output is directed to a printer.  The name of the printer may
  569. Xbe set setting the X toolkit resource \fB*printer*string\fP.
  570. XIf no resource is set, the environment variable \fBPRINTER\fP is used.
  571. X.TP
  572. X.I Print Job Params
  573. XThis is an AsciiTextWidget which into which you may put any extra
  574. Xcommand-line parameters that your lpr or lp program needs for printing.
  575. X.TP
  576. X.I Figures in batch
  577. XThis indicator shows how many figures have been put in the batch file
  578. Xfor printing
  579. X.TP
  580. X.I Dismiss
  581. XPressing this button or \fI<Meta>c\fP will pop down the \fIPrint\fP menu.
  582. X.TP
  583. X.TP
  584. X.I Print FIGURE/BATCH to Printer
  585. XPressing this button or \fI<Meta>p\fP will send the current figure
  586. X(or the batch file if it is has any figures in it) to the printer,
  587. Xby passing it through \fIfig2dev\fP to convert it to PostScript
  588. Xthen to the unix \fIlpr\fP (on BSD equivalent Unixes)
  589. Xor \fIlp\fP (on SYSV systems) program.  If the batch file is printed by this
  590. Xbutton then it is removed after printing.
  591. XThe message in the button changes to reflect whether the batch file
  592. Xwill be printed (when there are any figures in the batch file)
  593. Xor the current figure.
  594. X
  595. XNote that the figure that is printed is what you see on the canvas,
  596. Xnot necessarily the figure file.  I.e., if you haven't saved the figure
  597. Xsince the last changes, the figure from the canvas is printed.
  598. X\fIXfig\fP writes the figure to a temporary file to do this.
  599. XThe name of the file is \fIXFIGTMPDIR\fB/xfig-print\fR\fIPID\fP, where
  600. X\fIXFIGTMPDIR\fP is the value of the environment variable by that name and
  601. X\fIPID\fP is the process ID of \fIxfig\fP.  If the environment variable
  602. X\fIXFIGTMPDIR\fP is empty or not set, the \fB/tmp\fR directory is used.
  603. X.I Print FIGURE to Batch
  604. XPressing this button or \fI<Meta>b\fP will append the figure (in PostScript form)
  605. Xto a batch file.
  606. XThe \fIPrint to Printer\fP button will send the batch file to the printer.
  607. X.TP
  608. X.I Clear Batch
  609. XPressing this button or \fI<Meta>x\fP will erase the accumulated figures from
  610. Xthe batch file.
  611. X.PP
  612. X.po -.5i
  613. X.nr LL 6.5i
  614. X
  615. X.SH "INDICATOR PANEL COMMAND DESCRIPTIONS"
  616. X.PP
  617. XThe indicator panel contains buttons to set certain drawing parameters
  618. Xsuch as line thickness, canvas grid, rotation angle etc.
  619. XAll of the buttons use the same mouse buttons for setting values.
  620. XPressing mouse button 1 on the indicator will pop up a panel
  621. Xin which either a value may be typed (e.g. for a line thickness) or the
  622. Xmouse may be clicked on one of several buttons (e.g. for grid style or
  623. Xfont name).  For those that expect a value, pressing return in the value
  624. Xpart of the window will set the new value and pop down the menu.
  625. X.PP
  626. XPressing mouse button 2 on an indicator will decrement the value
  627. X(e.g. for line thickness)
  628. Xor cycle through the options in one direction (e.g. font names), while pressing
  629. Xmouse button 3 will increment the value or cycle through the options
  630. Xin the other direction.
  631. X.TP
  632. X.I ZOOM SCALE
  633. XThe canvas zoom scale may be set/increased/decreased with this button.
  634. XThe zoom scale is displayed within the zoom button. Ruler,
  635. Xgrid and linewidth are scaled, too.
  636. XPressing mouse button 2 will decrease the zoom factor by 1.0 unless it
  637. Xis less than 1.0 already in which case it will reduce to the nearest 0.25.
  638. XPressing mouse button 3 will increase the zoom factor by 1.0 unless it
  639. Xis less than 1.0 in which case it will increase it to the nearest 0.25.
  640. XPressing the control key and mouse button 3 together will
  641. Xset the zoom scale to 1.
  642. X.sp
  643. XThe figure may also be zoomed by defining a zoom rectangle by pressing
  644. Xthe control key and mouse button 1 together.  This will define one corner
  645. Xof the zoom rectangle.  Move the mouse and click mouse button 1 again to
  646. Xdefine the opposite corner of the zoom rectangle.
  647. X.TP
  648. X.I GRID MODE
  649. XWith this button the user may select no grid,
  650. X1/4 inch (5mm in metric mode) grid or 1/2 inch (10mm) grid.
  651. X.TP
  652. X.I POINT POSITION
  653. XThis button controls the coarseness of object placement on the canvas.
  654. XThe options are exact (on pixel) placement, 1/16 inch (2mm in metric mode), 1/4
  655. Xinch (5mm) or 1/2 inch (10mm).  This allows the user to easily place objects
  656. Xin horizontal or vertical alignment.
  657. X
  658. XThis also restricts which objects may be "picked up" by the mouse when editing.
  659. XIf a corner of an object is not positioned on the canvas on a multiple
  660. Xof the point positioning resolution you may not be able to pick it.  If this
  661. Xhappens, a black square will temporarily appear above the mouse cursor.
  662. XThis square will also appear anytime the user tries to pick a nonexistent
  663. Xobject.
  664. X.TP
  665. X.I ROTATION ANGLE
  666. XThe rotation angle for rotating objects may be set/increased/decreased
  667. Xwith this button.
  668. XNote that not all objects may be rotated, and certain objects
  669. Xmay only be rotated by certain angles.
  670. XPressing mouse button 2 will decrease the angle in steps of 15 degrees,
  671. Xwhile mouse button 3 will increase the angle the same amount.
  672. XTo select other angles, press mouse button 1 and
  673. Xenter the angle in the popup menu.
  674. X.TP
  675. X.I DEPTH
  676. XThe depth at which new objects will be created may be set/increased/decreased
  677. Xwith this button.
  678. X.TP
  679. X.I NUMBER OF POLYGON SIDES
  680. XThe number of sides used in creating a \fIREGULAR POLYGON\fP is set with
  681. Xthis button.
  682. X.TP
  683. X.I SMART-LINKS MODE
  684. XThis button controls the smart-links mode.  When turned on, lines which
  685. Xlink box-like objects together (henceforth called \fIlinks\fP) are treated
  686. Xspecially when one of the box-like objects is moved.
  687. XWhen set to \fIMOVE\fP mode, the end point of the link which touches
  688. X(or is very near) the perimeter of the box is moved with the
  689. Xbox so that the box and the end point remain linked.
  690. XWhen set to \fISLIDE\fP mode, the end segment of the link slides so
  691. Xthat the box remains linked and the angle of the end segment is maintained.
  692. XThis is useful for keeping the last segment of a link horizontal or vertical.
  693. X
  694. X(At the moment, this mode only works for the \fIMOVE\fP and \fICOPY\fP
  695. Xfunctions and only works for \fIPOLYLINE\fP links and box-like objects.
  696. XAnother limitation at the moment is that if both ends of a link touch
  697. Xthe box being operated on, only one end of the link will be adjusted.)
  698. X.TP
  699. X.I VERTICAL ALIGN
  700. XThis sets the vertical alignment mode for the \fIALIGN\fP button in the
  701. Xediting mode panel.  The choices are no vertical alignment, align to top edge,
  702. Xmiddle or bottom edge of compound.
  703. XThe \fIHORIZONTAL ALIGN\fP and \fIVERTICAL ALIGN\fP indicator settings are
  704. Xused together to align objects inside a compound or in canvas.
  705. X.TP
  706. X.I HORIZONTAL ALIGN
  707. XThis sets the horizontal alignment mode for the \fIALIGN\fP button in the
  708. Xediting mode panel.  The choices are no horizontal alignment, align to left edge,
  709. Xmiddle or right edge of compound.
  710. XThe \fIHORIZONTAL ALIGN\fP and \fIVERTICAL ALIGN\fP indicator settings are
  711. Xused together to align objects inside a compound or in canvas.
  712. X.TP
  713. X.I ANGLE GEOMETRY
  714. XThe following settings are available to restrict the drawing angle of line
  715. Xsegments in \fIPOLYLINES\fP, \fIPOLYGONS\fP and \fISPLINES\fP.
  716. X.po +.5i
  717. X.nr LL 6i
  718. X.TP
  719. X.I UNRESTRICTED
  720. XAllow lines to be drawn with any slope.  This is the default setting.
  721. X.TP
  722. X.I LATEX LINE
  723. XAllow lines to be drawn only at slopes which can be handled by \fILaTeX\fP picture
  724. Xenvironment lines: slope = x/y, where x,y are integers in the range [-6,6].
  725. X.TP
  726. X.I LATEX VECTOR
  727. XAllow lines to be drawn only at slopes which can be handled by \fILaTeX\fP picture
  728. Xenvironment vectors: slope = x/y, where x,y are integers in the range [-4,4].
  729. X.TP
  730. X.I MANHATTAN-MOUNTAIN
  731. XAllow lines to be drawn in the horizontal, vertical or diagonal direction only.
  732. X.TP
  733. X.I MANHATTAN
  734. XEnforce drawing of lines in the horizontal and vertical direction only.
  735. XThe name \fIManhattan\fP comes from the horizontal/vertical look of the Manhattan
  736. X(New York City) skyline.
  737. X.TP
  738. X.I MOUNTAIN
  739. XEnforce drawing of only diagonal lines.
  740. XThe name comes from the pointed shape of mountains.
  741. X.PP
  742. X.po -.5i
  743. X.nr LL 6.5i
  744. X.TP
  745. X.I FILL STYLE
  746. XThis button allows the user to select the area fill darkness (grey scale)
  747. Xfor all objects except \fITEXT\fP and \fIENCAPSULATED POSTSCRIPT\fP,
  748. Xor to turn off area fill altogether.
  749. X.TP
  750. X.I COLOR
  751. XThe user may select one of eight predefined colors to draw with, or select
  752. Xthat the \fIdefault\fP (-fg) color is to be used.  The eight colors are black,
  753. Xblue, green, cyan, red, magenta, yellow and white.  Note that \fITransFig\fP
  754. Xversions 2.1.4 and later support color output for \fIPostScript\fP.
  755. XOn monochrome screens the objects are created with the selected color,
  756. Xbut black is used to draw the objects on the canvas.
  757. X.TP
  758. X.I LINE WIDTH
  759. XThe width of lines may be selected with this button.  Zero width lines may be
  760. Xdrawn for the purpose of having filled areas without outlines.
  761. X.TP
  762. X.I LINE STYLE
  763. XThe choices for line style are solid, dashed and dotted.  Once created,
  764. Xa dashed or dotted line may be edited to change the length of dashes
  765. Xor the spacing of dots respectively.
  766. XThe dash length and dot gap can be changed from the default
  767. Xusing the popup menu.
  768. X.TP
  769. X.I BOX CURVE
  770. XThe radius of the corners on \fIARC-BOX\fP objects may be set with this
  771. Xbutton.
  772. X.TP
  773. X.I ARROW MODE
  774. XThis button selects the auto-arrow mode for drawing lines.  The options are
  775. Xno arrow heads, backward-pointing arrow head, forward-pointing
  776. Xarrow head or both.  If one or both arrow head modes are turned on, then
  777. Xarrow heads are automatically drawn when drawing
  778. X\fIPOLYLINE\fP, \fISPLINE\fP or \fIARC\fP objects.
  779. X.TP
  780. X.I TEXT JUSTIFICATION
  781. XThe adjustment of text may be set to \fIleft\fP, \fIcenter\fP or
  782. X\fIright justification\fP.
  783. X.TP
  784. X.I TEXT SIZE
  785. XThe text size may be set/increased/decreased with this button.  The default
  786. Xis 12 points.
  787. X.TP
  788. X.I TEXT STEP
  789. XThe interline spacing of text may be set/increased/decreased with this button.
  790. XThe number displayed gives the multiple of the font height
  791. Xthat will be placed between lines on hitting \fI<return>\fP.  The default
  792. Xis a factor of 1.2 times the current font size.
  793. X.TP
  794. X.I TEXT FONT
  795. XThis button allows a selection of 35 fonts available for most Apple
  796. X\fIPostScript\fP printers.
  797. XThere are two buttons at the top of the menu.  The \fIcancel\fP button pops
  798. Xdown the menu without changing the current font.  The \fIuse latex fonts\fP
  799. Xwill switch the menu to the \fILaTeX\fP font choices.
  800. XWhen the \fILaTeX\fP font menu is up, besides a \fIcancel\fP button
  801. Xthere is a button to switch back to the \fIPostScript\fP fonts.
  802. X
  803. XThe name of the font is printed in the font itself so that one may see
  804. Xwhat that font looks like.
  805. XIf a corresponding X11 font exists, new text is created
  806. Xon the canvas using that font.
  807. X\fIxfig\fP uses the size of X11 font closest to that selected
  808. Xby the font size button.
  809. XIf the X11 font doesn't exist, \fIxfig\fP uses the font
  810. Xselected by the "-normal" option.
  811. XTo abort selection of a font, click mouse button 1 on \fIcancel\fP.
  812. X.TP
  813. X.I TEXT FLAGS
  814. XThis button displays the current setting of the text flags.  You may use
  815. Xmouse buttons 2 and 3 to step back and forth through the three flag settings:
  816. X\fIHidden\fP, \fIRigid\fP and \fISpecial\fP.  To change any of the flags
  817. Xyou must use mouse button 1 to popup a menu from which you may change any
  818. Xor all of the flags.
  819. X
  820. XThe \fIHidden\fP and \fISpecial\fP attributes of text objects are
  821. Xused with figures that will be incorporated into LaTeX.  Please see
  822. Xthe documentation for LaTeX for further information.  The default for the
  823. X\fIHidden\fP flag is \fIoff\fP.
  824. XThe default for the \fISpecial\fP flag is \fIoff\fP unless xfig is started
  825. Xwith the command-line parameter \fI-specialtext\fP (resource specialtext).
  826. X
  827. XThe \fIRigid\fP attribute forces text to remain the same size even if
  828. Xinside a compound object that is scaled up or down.  The default is \fIoff\fP.
  829. X
  830. X.SH "DRAWING AND EDITING MODE PANELS"
  831. XIcons in the drawing and editing mode panel windows represent
  832. Xobject manipulation functions,
  833. Xmodes and other drawing or modification aids.
  834. XManipulation functions are selected by positioning the cursor over the icon
  835. Xrepresenting the desired drawing/editing function and
  836. Xclicking mouse button 1.  The selected icon is highlighted, and
  837. Xa message describing its function appears in the message window.
  838. XThe hilighting remains on until another function is selected.
  839. X.SH "DRAWING MODE PANEL COMMAND DESCRIPTIONS"
  840. X.PP
  841. XThe drawing mode panel contains buttons used to create the various \fIxfig\fP
  842. Xobjects.
  843. XOnce the drawing mode is selected, the object is created by moving
  844. Xthe mouse to the point on the canvas where the object is to be placed
  845. Xand pressing and releasing mouse button 1.
  846. XAfter that the mouse is moved to the second point and
  847. Xmouse button 1 is again pressed for the next point.
  848. XFor those objects which may have more than two points (e.g. a line),
  849. Xmouse button 1 may be pressed for each successive point, and
  850. Xmouse button 2 must be pressed to finish the object.
  851. XTo create a single point
  852. Xusing the \fIPOLYLINE\fP button, press and release mouse button 2.
  853. XFor the \fIARC\fP object, which requires exactly three
  854. Xpoints mouse button 1 is used for all three points.
  855. X.PP
  856. XAt any time mouse button 3 may be pressed to cancel the
  857. Xcreation of the object.
  858. X.TP
  859. X.I ARC
  860. XCreate an arc.  Specify three points using mouse button 1.  The first and
  861. Xlast points will form the endpoints of the arc and the second specifies
  862. Xany point on the arc.
  863. X.TP
  864. X.I BOX
  865. XCreate rectangular boxes.
  866. XStart by clicking mouse button 1 on any corner of the desired box and
  867. Xfinish with the same mouse button on the diagonally opposite corner of
  868. Xthe box.
  869. X.TP
  870. X.I ARC-BOX
  871. XCreate rectangular boxes with rounded corners.
  872. XStart and finish with mouse button 1 in the same way as \fIBOX\fP.
  873. XThe radius of the corners is selected by the \fIBOX CURVE\fP button.
  874. X.TP
  875. X.I CIRCLE
  876. XCreate circles by specifying their radii or diameters.
  877. XClick mouse button 1 on the center of the circle and drag the mouse
  878. Xuntil the desired radius or diameter is attained.  Click
  879. Xmouse button 1 again to finish the circle.
  880. X.TP
  881. X.I ELLIPSE
  882. XCreate ellipses using the same procedure as for the drawing of circles.
  883. X.TP
  884. X.I ENCAPSULATED POSTSCRIPT OBJECT (EPS)
  885. XClick mouse button 1 on any corner
  886. Xfor the \fIEPS\fP object and finish by clicking mouse button 1
  887. Xagain on the diagonally opposite corner.  The \fIEDIT\fP
  888. Xpopup panel will appear and the file name of the \fIEPS\fP object
  889. Xmay be entered.  After pressing \fIDONE\fP or \fIAPPLY\fP
  890. X(see the description of the EDIT panel for the difference between
  891. Xthe \fIDONE\fP and \fIAPPLY\fP buttons) the bitmap
  892. Xpart of the \fIEPS\fP object will appear in the box just created.  If no
  893. X\fIEPS\fP file is available yet or no name is entered or there is no
  894. X\fIpreview bitmap\fP in the \fIEPS\fP file, pressing \fIDONE\fP
  895. Xwill pop down the edit panel and the word
  896. X\fI<empty>\fP or the \fIEPS\fP file name will remain in the \fIEPS\fP box.
  897. XLater, when the name of the \fIEPS\fP file is known or the file is available,
  898. Xyou may re-read the \fIEPS\fP file using the popup edit panel and the bitmap
  899. Xpart of the \fIEPS\fP file will replace the name in the box.
  900. X.sp
  901. XIf you want the original size of the \fIEPS\fP object, press the
  902. X"Use orig size" button and the eps bitmap will enlarge or shrink to
  903. Xthe size specified in the preview bitmap of the \fIEPS\fP file.
  904. XIf you want the \fIEPS\fP object to be approximately the size of
  905. Xthe rectangle specified with the mouse but want the aspect ratio
  906. Xto be same as the original, press either "Shrink to orig" or
  907. X"Enlarge to orig" buttons.  You must press the APPLY button to
  908. Xsee these effects.
  909. X.sp
  910. XIf the \fIEPS\fP file has no preview bitmap, but has a \fI%%BoundingBox\fP
  911. Xcomment and xfig has been compiled \fIxfig\fP with the \fI-DGSBIT\fP flag and
  912. Xyou have \fIgs\fP (ghostscript) version 2.4 or newer then xfig will 
  913. Xcall \fIgs\fP to produce a preview bitmap on the screen.
  914. XGhostscript is available from \fIprep.ai.mit.edu\fR.
  915. X.TP
  916. X.I INTERPOLATED SPLINE
  917. XCreate (cubic spline) spline objects.
  918. XEnter control vectors in the same way as for creation of a
  919. X\fIPOLYLINE\fP object.
  920. XAt least three points (two control vectors) must be entered.
  921. XThe spline will pass through the entered points.
  922. X.TP
  923. X.I POLYLINE
  924. XCreate polylines (line segments connecting a sequence of points).
  925. XEnter points by clicking mouse button 1 at the desired positions on the
  926. Xcanvas window.  Click mouse button 2 to finish.
  927. X.TP
  928. X.I POLYGON
  929. XSame as \fIPOLYLINE\fP
  930. Xexcept that a line segment is drawn connecting the first and last
  931. Xpoints entered.
  932. X.TP
  933. X.I REGULAR POLYGON
  934. XThe number of sides is first selected with the \fINUM SIDES\fP
  935. Xbutton in the indicator panel.  Then mouse button 1 is clicked on
  936. Xthe center and the mouse dragged to the desired size.  The object
  937. Xmay be rotated as it is being created by moving the mouse up or down
  938. Xrelative to the starting point.  Click mouse button 1 to finish.
  939. X.TP
  940. X.I CLOSED INTERPOLATED SPLINE
  941. XCreate closed or periodic splines.  The function is similar
  942. Xto \fIPOLYGON\fP except that a closed interpolated spline is drawn.
  943. XThe spline will pass through the points (knots).
  944. X.TP
  945. X.I CLOSED SPLINE
  946. XCreate closed or periodic spline objects.
  947. XThe function is similar to \fIPOLYGON\fP
  948. Xexcept that a closed spline will be drawn instead of polygon.
  949. XThe entered points are just control points; i.e. the spline will
  950. Xnot pass any of these points.
  951. X.TP
  952. X.I SPLINE
  953. XCreate (quadratic spline) spline objects.
  954. XEnter control vectors in the same way as for creation of a
  955. X\fIPOLYLINE\fP object.
  956. XAt least three points (two control vectors) must be entered.
  957. XThe spline will only pass through the two end points.
  958. X.TP
  959. X.I TEXT
  960. XCreate text strings. Click mouse button 1 at the desired position on
  961. Xthe canvas window, then enter text from the keyboard.  Text may be pasted
  962. Xfrom the PRIMARY cut buffer (xterm cut/paste buffer) by pressing the
  963. X\fIF18\fP function key (the \fIPaste\fP key on Sun keyboards)
  964. Xor any key/button defined in the translation
  965. Xtable for the canvas.  See the default \fIFig.ad\fP file for example.
  966. XText is drawn using the current font, font size and justification settings.
  967. XA DEL or ^H (backspace) will delete a character, while a ^X will
  968. Xerase the entire line.
  969. XFinish by clicking mouse button 2 or typing the \fI<return>\fP key.
  970. XIf \fI<return>\fP is used, the text pointer automatically moves to the next "line",
  971. Xa distance of the font height times the value in the TEXT STEP button,
  972. Xand text input mode is re-entered.  To finish text fully, click
  973. Xmouse button 2 or choose any panel button that changes
  974. Xmodes (e.g. box, save, etc).
  975. XTo edit text, click on an existing text string with mouse button 1.
  976. XInsertion of characters will take place at that point.  Or, use the popup
  977. X\fIEDIT\fP mode to modify the text.
  978. X.sp
  979. XEight-bit characters may be entered using the meta (compose) key.
  980. XFor example, to create an "a umlaut", hold down the meta key while pressing
  981. Xthe letter "a", then press " (quote).  To create a "c cedilla", use <meta>c
  982. Xfollowed by comma.
  983. XThe following is a list of all special characters available using the meta key:
  984. X
  985. X.nf
  986. X.ta .5i
  987. XKeys    Character Name
  988. X
  989. X!!    upside-down exclamation point
  990. X??    upside-down question mark
  991. XC/    cent sign
  992. XL\-    British pound
  993. XOX    currency
  994. XY\-    yen
  995. X__    broken vertical bar
  996. XSO    section
  997. X""    dieresis
  998. XCO    copyright
  999. XRO    registered trademark
  1000. X_a    ordfeminine
  1001. X_o    ordmasculine
  1002. X<<    guillemotleft
  1003. X>>    guillemotright
  1004. X\-|    notsign
  1005. X\-\-    hyphen
  1006. X+\-    plusminus
  1007. X^\-    macron
  1008. X^*    degree
  1009. X^.    periodcentered
  1010. X^1    onesuperior
  1011. X^2    twosuperior
  1012. X^3    threesuperior
  1013. X14    onequarter
  1014. X12    onehalf
  1015. X34    threequarters
  1016. X\e\e    acute
  1017. X**    multiply
  1018. X\-:    division
  1019. X/u    mu
  1020. XP!    paragraph
  1021. XA`    A accent grave
  1022. XA'    A accent acute
  1023. XA^    A accent circumflex
  1024. XA~    A accent tilde
  1025. XA"    A dieresis
  1026. XA*    A ring
  1027. XAE    AE
  1028. Xa`    a accent grave
  1029. Xa'    a accent acute
  1030. Xa^    a accent circumflex
  1031. Xa~    a accent tilde
  1032. Xa"    a dieresis
  1033. Xa*    a ring
  1034. Xae    ae
  1035. XC,    C cedilla
  1036. Xc,    c cedilla
  1037. XD\-    Eth
  1038. Xd\-    eth
  1039. XE`    E accent grave
  1040. XE'    E accent acute
  1041. XE^    E accent circumflex
  1042. XE"    E dieresis
  1043. Xe`    e accent grave
  1044. Xe'    e accent acute
  1045. Xe^    e accent circumflex
  1046. Xe"    e dieresis
  1047. XI`    I accent grave
  1048. XI'    I accent acute
  1049. XI^    I accent circumflex
  1050. XI"    I accent dieresis
  1051. Xi`    i accent grave
  1052. Xi'    i accent acute
  1053. Xi^    i accent circumflex
  1054. Xi"    i dieresis
  1055. XN~    N tilde
  1056. Xn~    n tilde
  1057. XO`    O accent grave
  1058. XO'    O accent acute
  1059. XO^    O accent circumflex
  1060. XO~    O accent tilde
  1061. XO"    O dieresis
  1062. XO/    O slash
  1063. Xo`    o accent grave
  1064. Xo/    o accent acute
  1065. Xo^    o accent circumflex
  1066. Xo~    o accent tilde
  1067. Xo"    o dieresis
  1068. Xo/    o slash
  1069. XP|    Thorn
  1070. Xp|    thorn
  1071. Xss    German ss (s-zed)
  1072. XU`    U accent grave
  1073. XU'    U accent acute
  1074. XU^    U accent circumflex
  1075. XU"    U dieresis
  1076. Xu`    u accent grave
  1077. Xu'    u accent acute
  1078. Xu^    u accent circumflex
  1079. Xu"    u dieresis
  1080. XY'    Y accent acute
  1081. Xy'    y accent acute
  1082. Xy"    y dieresis
  1083. X.fi
  1084. X
  1085. X.SH "EDITING MODE PANEL COMMAND DESCRIPTIONS"
  1086. XWhen a button in the editing mode panel is pressed, any
  1087. Xobjects that may be affected by that editing operation will show their
  1088. Xcorner markers.  Only those objects may be affected by the particular
  1089. Xedit mode.  In cases where two edit modes exist for one button, it
  1090. Xmay be that the corner markers will appear for objects that may be
  1091. Xaffected by one button but not the other.
  1092. X
  1093. X.SH "SELECTING OBJECTS"
  1094. XWhen multiple objects have points in common, e.g. two boxes that
  1095. Xtouch at one corner, only one object can be selected by clicking on
  1096. Xthat point. To select other objects, hold down the shift key while
  1097. Xpressing mouse button 1: the markers of one object will be
  1098. Xtemporarily highlighted.  By repeatedly clicking mouse button 1 while
  1099. Xholding down the shift key, it is possible to cycle through all candidates for
  1100. Xselection at that point. To perform the selected action, e.g.
  1101. Xdeleting one box, click on the point without holding down the
  1102. Xshift key.  The operation will be performed on the highlighted object.
  1103. X
  1104. X\fBNote:\fP
  1105. XIf the mouse is not clicked near enough to an object marker or for whatever
  1106. Xreason \fIxfig\fP cannot "find" the object the user is trying to select,
  1107. Xa black square will temporarily appear above the mouse cursor.
  1108. X.TP
  1109. X.I GLUE COMPOUND
  1110. XCompound objects are created by first tagging the objects to be compounded
  1111. Xand then pressing mouse button 3 to group the tagged
  1112. Xobjects into a compound object.  Single objects are tagged by clicking
  1113. Xon them with mouse button 1.  A number of objects can be tagged at
  1114. Xonce by using mouse button 2 to define the upper-left and
  1115. Xlower-right corners of a region enclosing the objects.
  1116. XTagged objects are shown with highlighted markers.
  1117. XTagged objects which are selected (see the SELECTING OBJECTS section above)
  1118. Xwill be temporarily unhighlighted.
  1119. XThere is currently no special command to tag or untag all of the objects
  1120. Xwithin a figure.  You can untag all of the objects by changing from
  1121. XGLUE mode to some other mode (apart from BREAK) and back again.
  1122. X.TP
  1123. X.I BREAK COMPOUND
  1124. XBreak a compound object to allow manipulation of its component parts.
  1125. XClick mouse button 1 on one of the corner markers of the compound
  1126. Xobject or along one of the imaginary lines defining the compound box.
  1127. XClicking with mouse button 2 will achieve the same effect
  1128. Xbut will also tag the component parts (although you will not see the
  1129. Xtags until you change to the GLUE mode).  You can use this feature
  1130. Xto easily alter the objects within a compound.
  1131. X.TP
  1132. X.I SCALE OBJECT
  1133. XAny object may be scaled.  If mouse button 1 is pressed on a
  1134. X\fIBOX\fP or \fIARC-BOX\fP object, then that object will be scaled
  1135. Xproportionally to its aspect ratio.  If mouse button 2 is pressed
  1136. Xon any object, that object will be scaled up or down about its center.
  1137. XText may only be scaled if inside a compound object and then only if
  1138. Xits \fIRIGID\fP flag is set to \fINORMAL\fP (using the popup edit panel).
  1139. XSee the \fITransFig\fP manual for description of text options.
  1140. X.TP
  1141. X.I ALIGN
  1142. XAlign objects.  Click mouse button 1 to align objects inside a compound object
  1143. Xor mouse button 2 to align all objects on canvas according to the
  1144. Xsetting in the \fIVERTICAL ALIGN\fP and \fIHORIZONTAL ALIGN\fP indicators.
  1145. XThe choices are the cumulative effect of vertically aligning the objects
  1146. Xto the \fITOP\fP, \fIMIDDL\fPE or \fIBOTTO\fPM edge and horizontally aligning
  1147. Xto the \fILEF\fPT, \fIMIDDL\fPE or \fIRIGH\fPT edge of the compound.
  1148. X.TP
  1149. X.I MOVE POINT
  1150. XModify the position of a point of any object except \fITEXT\fP and
  1151. X\fICOMPOUND\fP objects.
  1152. XFor unrestrained movement, click mouse button 1 over the desired
  1153. Xpoint, reposition the point, and click the \fIleft\fP button again.
  1154. XFor horizontally or vertically constrained move, click mouse button 2
  1155. Xon the desired point and move either horizontally or vertically.
  1156. XNotice that once you choose the direction (horizontal or vertical), movement
  1157. Xis constrained in that direction.  If, after moving the mouse initially, it
  1158. Xis moved in the other direction a greater distance than the current position
  1159. Xof the mouse relative to the starting point, then that will be the new
  1160. Xconstraint direction.  In otherwords if you first move the mouse
  1161. X\fIhorizontally\fP one inch (say) then move it \fIvertically\fP
  1162. X1.3 inches, the direction will switch to \fIvertical\fP until any
  1163. X\fIhorizontal\fP motion exceeds 1.3 inches.
  1164. XWhen the object is positioned where desired, click mouse button 1 to
  1165. Xplace it if that button was used to start the move (unconstrained),
  1166. Xor mouse button 2 (constrained) if that button was used.
  1167. X.TP
  1168. X.I MOVE
  1169. XMove object.  Click mouse button 1 (unconstrained move) or mouse button 2
  1170. X(constrained move) on any corner marker of the object to be moved.
  1171. XThe horizontal/vertical constrained movement (mouse button 2) works
  1172. Xexactly as described for \fIMOVE POINT\fP.
  1173. X.TP
  1174. X.I ADD POINTS
  1175. XAdd points to \fIPOLYLINE\fP, \fIPOLYGON\fP, \fISPLINE\fP,
  1176. Xor \fICLOSED SPLINE\fP objects (points of a \fIBOX\fP can not be added
  1177. Xor deleted).  Note that a \fIREGULAR POLYGON\fP is really an ordinary
  1178. X\fIPOLYGON\fP, so adding points to this object is allowed and does NOT keep
  1179. Xthe polygon regular.
  1180. X.TP
  1181. X.I COPY / CUT TO CUT BUFFER
  1182. XCopy object to canvas or cut buffer.  Click mouse button 1 (unconstrained
  1183. Xcopy) or mouse button 2 (constrained copy) on any corner marker of
  1184. Xthe object to be copied (for \fICIRCLE\fP and \fIELLIPSE\fP
  1185. Xobjects, mouse may also be clicked on their circumferences).
  1186. XThe object will be duplicated and then moved exactly as in \fIMOVE\fP.
  1187. XIf mouse button 3 is clicked on an object, that object is copied
  1188. Xto the cut buffer for pasting into this or another figure.
  1189. XThe file used for the cut buffer is called \f3.xfig\f1
  1190. Xin the user's \f3$HOME\f1 directory.  This allows a user to run two or more
  1191. Xxfig processes and cut/paste objects between them.
  1192. XIf there is no \f3$HOME\f1, a file is created in a temporary directory
  1193. Xcalled \f3xfig\f2PID\f1 where \f2PID\f1 is the xfig process ID.
  1194. XThe temporary directory used is specified in the environment variable
  1195. X\fIXFIGTMPDIR/\fR.  If that variable is empty or not set then \fI/tmp\fP is used.
  1196. X.TP
  1197. X.I DELETE POINTS
  1198. XDelete points from \fIPOLYLINE\fP, \fIPOLYGON\fP, \fISPLINE\fP,
  1199. Xor \fICLOSED SPLINE\fP.  Objects (points of a \fIBOX\fP or \fIARC-BOX\fP
  1200. Xcan not be added or deleted).
  1201. XNote that a \fIREGULAR POLYGON\fP is really an ordinary
  1202. X\fIPOLYGON\fP, so deleting points from this object is allowed and does NOT
  1203. Xkeep the polygon regular.
  1204. X.TP
  1205. X.I DELETE
  1206. XClick mouse button 1 on an object to delete the object.
  1207. XDelete a \fIregion\fP of the canvas by clicking mouse button 2
  1208. Xand dragging the mouse to define an area of objects to delete.
  1209. XClicking mouse button 3 on an object will copy the object
  1210. Xto the cut buffer (see \fICOPY/CUT TO CUT BUFFER\fP above).
  1211. X.TP
  1212. X.I EDIT OBJECT
  1213. XEdit settings for an existing object.
  1214. XClick mouse button 1 on the object and a pop-up menu will appear
  1215. Xshowing existing settings for the object.  Some of the menu entries
  1216. Xmay be changed by typing new values in the appropriate windows. These
  1217. Xare editable Ascii\%TextWidgets and allow cut and paste.
  1218. XOthers pop up a sub-menu of multiple choices when pressed and held.
  1219. XYet others are buttons which toggle a setting on or off (e.g. arrow
  1220. Xheads on lines).
  1221. X
  1222. XPress the "done" button to apply the changes to the object and finish.
  1223. XPress the "apply" button to apply the changes but keep the menu up for
  1224. Xfurther changes.  Press the "cancel" button to cancel the changes and
  1225. Xpop down the menu.
  1226. X
  1227. XThe following table shows which settings are used for the different objects.
  1228. X
  1229. X.if n .RS -.1i
  1230. X.nf
  1231. X.TS
  1232. Xl c 1 c 1 c 1 c 1 c 1 c 1 c 1 c 1 c.
  1233. XObject    Angle    Area    Line    Line    Box    \(ddDepth    Color    Radius    Text Font/
  1234. X        Fill    Width    Style    Curve                Just./Size
  1235. X_
  1236. XArc        X    X    X        X    X
  1237. X_
  1238. XArc-Box        X    X    X    X    X    X
  1239. X_
  1240. XCircle    X    X    X    X        X    X    X
  1241. X_
  1242. XEllipse    X    X    X    X        X    X    X
  1243. X_
  1244. XEPS                        X    X
  1245. X_
  1246. XBox,Polygon,        X    X    X        X    X
  1247. XLine,Spline
  1248. X_
  1249. XText    \(dgX                    X    X        X
  1250. X_
  1251. X.TE
  1252. X.fi
  1253. X.if n .RE
  1254. X
  1255. X\(dg The angle may be set, but the object will only be rotated on
  1256. X\fIPostScript\fP output for angles other than 0, 90, 180 and 270 degrees.
  1257. X
  1258. X\(dd The depth defines how overlapping objects are displayed. Objects with
  1259. Xa greater depth value are obstructed by objects with smaller depth value.
  1260. XThe maximum depth allowed is 1000.
  1261. X
  1262. X.TP
  1263. X.I UPDATE
  1264. XBy pressing mouse button 1 on an object, the current settings for
  1265. Xthe indicator buttons (line width, line style, area fill etc.) which
  1266. Xhave been selected for update are copied into that object.
  1267. XWhen \fIxfig\fP is started, all indicator buttons which are components of objects
  1268. Xare selected for update.  To unselect an indicator, click on the update button
  1269. Xand click mouse button 1 on the small button in the upper-right
  1270. Xcorner of the indicator.  When that indicator is selected the foreground color
  1271. X(default black) shows.  When it is unselected the background color (default white)
  1272. Xshows.
  1273. X.sp
  1274. XIf mouse button 2 is clicked on an object, the settings in the object
  1275. Xthat are selected by the indicator buttons are copied into those indicator button
  1276. Xsettings.  Thus, one may copy selected attributes of one object to another.
  1277. X.TP
  1278. X.I FLIP VERTICALLY
  1279. XFlip the object up/down (mouse button 1) or copy the object and flip it
  1280. X(mouse button 2). Point to part of the object, click
  1281. Xthe appropriate button.  That object will be flipped vertically
  1282. Xabout that point.
  1283. X.TP
  1284. X.I FLIP HORIZONTALLY
  1285. XFlip the object left/right (mouse button 1) or copy the object and flip it
  1286. X(mouse button 2). Point to part of the object, click
  1287. Xthe appropriate button.  That object will be flipped horizontally
  1288. Xabout that point.
  1289. X.TP
  1290. X.I ROTATE CLOCKWISE
  1291. XRotate the object (mouse button 1) or copy and rotate it
  1292. X(mouse button 2) -N degrees (clockwise), where N is the amount
  1293. Xset in the rotation indicator button.  The object is rotated about
  1294. Xthe chosen point.
  1295. XNot all objects can be rotated, and not all can be rotated at arbitrary
  1296. Xangles.  For example, \fIBOX\fP, \fIARC-BOX\fP and \fIEPS\fP objects may
  1297. Xonly be rotated by 90 degrees.
  1298. XText objects may be rotated, although for angles other than 0, 90, 180
  1299. Xand 270 degrees only the markers are rotated on the screen
  1300. Xbecause of the limitations of the X11 Window System.
  1301. XText IS rotated correctly on \fIPostScript\fP output, however.
  1302. X.TP
  1303. X.I ROTATE COUNTER-CLOCKWISE
  1304. XRotate the object (mouse button 1) or copy (mouse button 2)
  1305. X+N degrees (counter-clockwise), where N is the amount set in the rotation
  1306. Xindicator button.  The object is rotated about the chosen
  1307. Xpoint.
  1308. X.TP
  1309. X.I SPLINE <-> POLYLINE
  1310. XTurn \fIPOLYGON\fP into a \fICLOSED INTERPOLATED SPLINE\fP object, or
  1311. Xturn \fIPOLYLINE\fP into a \fIINTERPOLATED SPLINE\fP object.
  1312. X.TP
  1313. X.I ADD/DELETE ARROWS
  1314. XAdd or delete arrow heads of \fIARC\fP, \fIPOLYLINE\fP or \fISPLINE\fP
  1315. Xobjects.  Add an arrow head by clicking mouse button 1 on the
  1316. Xendpoint of the object.  Delete an arrow head by clicking
  1317. Xmouse button 2 on the endpoint or arrow head.  The length and thickness
  1318. Xof the arrowheads may be modified using the popup edit panel.
  1319. X.SH "PANNING"
  1320. XThe figure may be panned by clicking mouse button 1, 2 or 3
  1321. Xin the rulers.  Clicking mouse button 1 in the top ruler
  1322. Xwill pan the image to left the by 1/2 inch (1cm in metric mode),
  1323. Xadjusted for zoom factor. Clicking mouse button 3 in the top ruler
  1324. Xwill pan the image right by the same amount.
  1325. XBy pressing and \fIholding\fP mouse button 2 the user may drag
  1326. Xthe ruler by the amount desired, thus panning the image by that amount.
  1327. X.PP
  1328. XThe figure is panned up and down in the same way by clicking the mouse
  1329. Xin the ruler on the right of the canvas.  Also, the figure can be returned
  1330. Xto its origin by clicking mouse button 1 in the units
  1331. X(e.g. \fIcm\fP or \fIin\fP) box.
  1332. X.PP
  1333. XThe arrow keys may also be used to pan the image and the home key to
  1334. Xreturn the figure to the origin.  Also, pressing the Control Key and
  1335. Xmouse button 2 will pan the figure to the origin.
  1336. X
  1337. X.SH X DEFAULTS
  1338. XThe overall widget name(Class) is xfig(Fig).  These
  1339. Xresources correspond to the command line arguments:
  1340. X.nf
  1341. X.sp
  1342. X.TS
  1343. XL 1 L 1 L 1 L 1 L.
  1344. XName    Class    Type    Default    Command-line
  1345. X                equivalent
  1346. X_
  1347. Xjustify    Justify     boolean    false    -left (false) and
  1348. X                   -right (true)
  1349. Xlandscape    Orientation     boolean    true    -Landscape and
  1350. X                   -Portrait
  1351. Xpwidth    Width    float    10(8)    -pwidth
  1352. Xpheight    Height    float    8(9.5)    -pheight
  1353. XtrackCursor    Track    boolean    on    -track and -notrack
  1354. Xinches    Inches    boolean    true    -inches, -imperial,
  1355. X                   -centimeters and
  1356. X                   -metric
  1357. XreverseVideo    ReverseVideo    boolean    off    -inverse
  1358. Xdebug    Debug    boolean    off    -debug
  1359. Xlatexfonts    Latexfonts    boolean    off    -latexfonts
  1360. XnormalFont    NormalFont    string    fixed    -normal
  1361. XboldFont    ButtonFont    string    8x13bold    -bold
  1362. Xstartfontsize    StartFontSize    float    12    -startfontsize
  1363. XstartpsFont    StartpsFont    string    Times-Roman    -startpsFont
  1364. XstartlatexFont    StartlatexFont    string    Default    -startlatexFont
  1365. Xshowallbuttons    ShowAllButtons    boolean    false    -showallbuttons
  1366. Xinternalborderwidth    InternalBorderWidth    integer    1    -internalBW
  1367. Xscalablefonts    ScalableFonts    boolean    false    -scalablefonts
  1368. Xspecialtext    SpecialText    boolean    false    -specialtext
  1369. Xmonochrome    Monochrome    boolean    false    -monochrome
  1370. XkeyFile    KeyFile    string    CompKeyDB    -keyFile
  1371. XexportLanguage    ExportLanguage    string    eps    -exportLanguage
  1372. Xflushleft    FlushLeft    boolean    false    -flushleft
  1373. Xtextoutline    TextOutline    boolean    false    -textoutline
  1374. Xuserscale    UserScale    float    1.0    -userscale
  1375. Xuserunit    UserUnit    string    in(cm)    -userunit
  1376. Xcolor0    Color0    pixel    black
  1377. Xcolor1    Color1    pixel    blue
  1378. Xcolor2    Color2    pixel    green
  1379. Xcolor3    Color3    pixel    cyan
  1380. Xcolor4    Color4    pixel    red
  1381. Xcolor5    Color5    pixel    magenta
  1382. Xcolor6    Color6    pixel    yellow
  1383. Xcolor7    Color7    pixel    white
  1384. X_
  1385. X.TE
  1386. XThe following are the default keyboard accelerators as distributed
  1387. Xin the Fig.ad app-defaults file:
  1388. X.TS
  1389. Xl l.
  1390. XKeys (Context)    Function
  1391. X(Main xfig panels)
  1392. X<Meta>q    Quit xfig
  1393. X<Meta>d    Delete all objects from canvas
  1394. X<Meta>u    Undo
  1395. X<Meta>r    Redraw
  1396. X<Meta>t    pasTe xfig cutbuffer onto canvas
  1397. X<Meta>f    popup File menu
  1398. X<Meta>e    popup Export menu
  1399. X<Meta>p    popup Print menu
  1400. X<Meta>l    (re)Load figure from current file
  1401. X<Meta>s    Save figure to current file
  1402. X
  1403. X(Popup file panel)
  1404. X<Meta>r    Rescan current directory
  1405. X<Meta>c    Cancel
  1406. X<Meta>l    Load figure
  1407. X<Meta>s    Save figure
  1408. X<Meta>m    Merge read into current figure
  1409. X
  1410. X(Popup export panel)
  1411. X<Meta>r    Rescan current dirctory
  1412. X<Meta>c    Cancel
  1413. X<Meta>e    Export figure
  1414. X
  1415. X(Popup print panel)
  1416. X<Meta>c    Cancel
  1417. X<Meta>b    print to Batch file
  1418. X<Meta>p    Print to printer
  1419. X<Meta>x    clear batch file
  1420. X.TE
  1421. X.fi
  1422. X.SH WIDGET TREE
  1423. XBelow is the widget structure of \fIxfig\fP.
  1424. XThe widget class name is given first, followed by the widget instance name.
  1425. X.nf
  1426. X.ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i
  1427. X
  1428. XFig  xfig
  1429. X    Form  form
  1430. X        Form  commands
  1431. X            Command  quit
  1432. X            Command  delete_all
  1433. X            Command  undo
  1434. X            Command  redraw
  1435. X            Command  paste
  1436. X            Command  file
  1437. X            Command  export
  1438. X            Command  print
  1439. X        Form msg_form
  1440. X            Label  file_name
  1441. X            Text  message
  1442. X        Box  mode_panel
  1443. X            Label  label
  1444. X            Command  button (one for each of the 16 drawing mode buttons)
  1445. X            Label  label
  1446. X            Command  button (one for each of the 18 editing mode buttons)
  1447. X        Label  topruler
  1448. X        Label  canvas
  1449. X        Label  unitbox
  1450. X        Label  sideruler
  1451. X        Viewport ind_viewport
  1452. X            Core  clip
  1453. X            Scrollbar  horizontal
  1454. X            Box  ind_panel
  1455. X                Form  button_form (one for each of the 22 indicator buttons)
  1456. X                    Command  button
  1457. X                    Toggle  update (only those indicators that affect creation
  1458. X                            of objects have update toggles)
  1459. X
  1460. X        TransientShell  xfig_ps_font_menu
  1461. X            Box  menu
  1462. X                Form  buttons
  1463. X                    Command  cancel
  1464. X                    Command  use_latex_fonts
  1465. X                Command  pane (one for each of the 35 Postscript font panes)
  1466. X
  1467. X        TransientShell  xfig_latex_font_menu
  1468. X            Box  menu
  1469. X                Form  buttons
  1470. X                    Command  cancel
  1471. X                    Command  use_postscript_fonts
  1472. X                Command  pane (one for each of the 6 LaTeX font panes)
  1473. X
  1474. X    TransientShell  xfig_file_menu
  1475. X        Form  file_panel
  1476. X            Label  file_status
  1477. X            Label  num_objects
  1478. X            Label  cur_file_label
  1479. X            Text  cur_file_name
  1480. X            Label  file_label
  1481. X            Text  file_name
  1482. X            Label file_alt_label
  1483. X            Viewport  vport
  1484. X                Core  clip
  1485. X                Scrollbar  vertical
  1486. X                List  file_list_panel
  1487. X            Label  mask_label
  1488. X            Text  mask
  1489. X            Label  dir_label
  1490. X            Text  dir_name
  1491. X            Label  dir_alt_label
  1492. X            Command home
  1493. X            Viewport  dirvport
  1494. X                Core  clip
  1495. X                Scrollbar  vertical
  1496. X                List  dir_list_panel
  1497. X            Command  rescan
  1498. X            Command  cancel
  1499. X            Command  save
  1500. X            Command  load
  1501. X            Command  merge
  1502. X
  1503. X    TransientShell  xfig_export_menu
  1504. X        Form  export_panel
  1505. X            Label  mag_label
  1506. X            Text  magnification
  1507. X            Label  orient_label
  1508. X            MenuButton  orientation
  1509. X                SimpleMenu  menu
  1510. X                    SmeBSB  Portrait
  1511. X                    SmeBSB  Landscape
  1512. X            Label  just_label
  1513. X            MenuButton  justify
  1514. X                SimpleMenu  menu
  1515. X                    SmeBSB  Flush left
  1516. X                    SmeBSB  Centered
  1517. X            Label  lang_label
  1518. X            MenuButton  language
  1519. X                SimpleMenu  menu
  1520. X                    SmeBSB  LaTeX box (figure boundary)
  1521. X                    SmeBSB  LaTeX picture
  1522. X                    SmeBSB  LaTeX picture + epic macros
  1523. X                    SmeBSB  LaTeX picture + eepic macros
  1524. X                    SmeBSB  LaTeX picture + eepicemu macros
  1525. X                    SmeBSB  PiCTeX macros
  1526. X                    SmeBSB  Encapsulated Postscript
  1527. X                    SmeBSB  Postscript
  1528. X                    SmeBSB  Combined PS/LaTeX (PS part)
  1529. X                    SmeBSB  Combined PS/LaTeX (LaTeX part)
  1530. X                    SmeBSB  Textyl \especial commands
  1531. X                    SmeBSB  TPIC
  1532. X                    SmeBSB  PIC
  1533. X                    SmeBSB  X11 Bitmap
  1534. X            Label  export_mode_label
  1535. X            MenuButton  export_mode
  1536. X                SimpleMenu  menu
  1537. X                    SmeBSB  Overwrite
  1538. X                    SmeBSB  Append
  1539. X            Label  def_file_label
  1540. X            Label  def_file_name
  1541. X            Label  out_file_name
  1542. X            Text  file
  1543. X            Label  file_alt_label
  1544. X            Viewport  vport
  1545. X                Core  clip
  1546. X                Scrollbar  vertical
  1547. X                List  file_list_panel
  1548. X            Label  mask_label
  1549. X            Text  mask
  1550. X            Label  dir_label
  1551. X            Text  dir_name
  1552. X            Label  dir_alt_label
  1553. X            Command home
  1554. X            Viewport  dirvport
  1555. X                Core  clip
  1556. X                Scrollbar  vertical
  1557. X                List  dir_list_panel
  1558. X            Command  rescan
  1559. X            Command  cancel
  1560. X            Command  export
  1561. X
  1562. X    TransientShell  xfig_print_menu
  1563. X        Form  print_panel
  1564. X            Label  printer_image
  1565. X            Label  mag_label
  1566. X            Text  magnification
  1567. X            Label  orient_label
  1568. X            MenuButton  landscape
  1569. X                SimpleMenu  menu
  1570. X                    SmeBSB  portrait
  1571. X                    SmeBSB  landscape
  1572. X            Label  just_label
  1573. X            MenuButton  justify
  1574. X                SimpleMenu  menu
  1575. X                    SmeBSB  flush left
  1576. X                    SmeBSB  centered
  1577. X            Label  print_label
  1578. X            Text  printer
  1579. X            Label  num_batch_lab
  1580. X            Label  num_batch_val
  1581. X            Command  dismiss
  1582. X            Command  print_batch
  1583. X            Command  clear_batch
  1584. X            Command  print
  1585. X
  1586. X    TransientShell  xfig_file_msg
  1587. X        Form  file_msg_panel
  1588. X            Text  file_msg_win
  1589. X            Command  dismiss
  1590. X
  1591. X    TransientShell  query_popup
  1592. X        Form  query_form
  1593. X            Label  message
  1594. X            Command  yes
  1595. X            Command  no
  1596. X            Command  cancel
  1597. X
  1598. X    TransientShell  xfig_set_unit_panel
  1599. X        Form  form
  1600. X            Label        Unit/Scale settings
  1601. X            Label  Ruler Units  =
  1602. X            MenuButton  Imperial (in)
  1603. X                SimpleMenu  menu
  1604. X                    SmeBSB  Metric (cm)
  1605. X                    SmeBSB  Imperial (in)
  1606. X            Label  Figure units =
  1607. X            MenuButton  Ruler units
  1608. X                SimpleMenu  menu
  1609. X                    SmeBSB  Ruler units
  1610. X                    SmeBSB  User defined
  1611. X            Label  user_units
  1612. X            Text        Unit/Scale settings
  1613. X            Label  Figure scale =
  1614. X            MenuButton  User defined
  1615. X                SimpleMenu  menu
  1616. X                    SmeBSB  Unity
  1617. X                    SmeBSB  User defined
  1618. X            Label  scale_factor
  1619. X            Text  1.0
  1620. X            Command  cancel
  1621. X            Command  set
  1622. X
  1623. X    NOTE:  The following is a \fItypical\fP popup edit panel (for \fIARC-BOX\fP)
  1624. X           The panel will be different for other objects.
  1625. X
  1626. X    TransientShell  xfig_edit_panel
  1627. X        Form  form
  1628. X            Label  POLYLINE:ArcBox
  1629. X            Label  image
  1630. X            Command  done
  1631. X            Command  apply
  1632. X            Command  cancel
  1633. X            Label
  1634. X            Label  Width =
  1635. X            Text  Width =
  1636. X            Label  Color =
  1637. X            Text  Color =
  1638. X            Label  Depth =
  1639. X            Text  Depth =
  1640. X            Label  Area fill =
  1641. X            MenuButton  No fill
  1642. X                SimpleMenu  menu
  1643. X                    SmeBSB  No fill
  1644. X                    SmeBSB  Filled
  1645. X            Label  Fill density % =
  1646. X            Text  Fill density % =
  1647. X            Label  Line style =
  1648. X            MenuButton  Solid Line
  1649. X                SimpleMenu  menu
  1650. X                    SmeBSB  Solid Line
  1651. X                    SmeBSB  Dashed Line
  1652. X                    SmeBSB  Dotted Line
  1653. X            Label  Dash length/Dot gap =
  1654. X            Text  Dash length/Dot gap =
  1655. X            Label  Top Left:
  1656. X            Label  Top Left:
  1657. X            Text  Top Left:
  1658. X            Label  Top Left:
  1659. X            Text  Top Left:
  1660. X            Label  Bottom Right:
  1661. X            Label  Bottom Right:
  1662. X            Text  Bottom Right:
  1663. X            Label  Bottom Right:
  1664. X            Text  Bottom Right:
  1665. X            Label  Radius =
  1666. X            Text  Radius =
  1667. X.fi
  1668. X.SH BUGS and RESTRICTIONS
  1669. XPlease send bug reports, fixes, new features etc. to:
  1670. X.br
  1671. Xbvsmith@lbl.gov
  1672. X(Brian V. Smith)
  1673. X.PP
  1674. XNot all operations employ smart redrawing of objects which are altered
  1675. Xas a by product of the operation.  You may need to use \fIRedraw\fP
  1676. Xin these cases.
  1677. X.PP
  1678. XMust compile \fIxfig\fP with \fB-DOPENWIN\fP in order to make \fIxfig\fP handle
  1679. XOpenWindows scalable fonts correctly.
  1680. X.PP
  1681. XSome servers do not allow bitmaps/pixmaps taller than the screen height
  1682. Xor wider than the screen width.  That is why there is a limit on the width
  1683. Xof the top ruler and height of the side ruler.  If you need wider/taller
  1684. Xrulers AND your server allows bigger pixmaps, you may define MAX_TOPRULER_WD
  1685. Xand/or MAX_SIDERULER_HT in your Imakefile in the DEFINES line.  For example,
  1686. Xto have a maximum top ruler width of 1160 pixels, add
  1687. X-DMAX_TOPRULER_WD=1160 to your DEFINES line in the Imakefile.
  1688. X.PP
  1689. XThere is a bug in OpenWindows 2.0 which relates to pixmaps in widgets.
  1690. XYou must compile \fIxfig\fP with the \fB-DOPENWIN_BUG\fP option for this problem.
  1691. X.PP
  1692. XIf the image is panned or the \fIxfig\fP window iconified and de-iconified
  1693. Xduring the middle of an operation (e.g. while drawing a line), the picture
  1694. Xwill be distorted.  This can be corrected using \fIRedraw\fP after the
  1695. Xoperation is complete.
  1696. X.PP
  1697. XRotated text will be displayed horizontally or vertically (i.e. angles
  1698. Xof 0, 90, 180 and 270 degrees) on the screen.
  1699. XThey will be rotated correctly when printed on \fIPostScript\fP output.
  1700. X.PP
  1701. XCorners of object scaled with point positioning in one of the grid
  1702. Xmodes will not always fall on the grid line, but to the closest pixel.
  1703. X.SH "SEE ALSO"
  1704. XBrian W. Kernighan
  1705. X.I "PIC - A Graphics Language for Typesetting User Manual"
  1706. X.br
  1707. Xfig2dev(1) (\fITransFig\fP package)
  1708. X.SH ACKNOWLEDGEMENT
  1709. XMany thanks goes to Professor Donald E. Fussell who inspired the
  1710. Xcreation of this tool.
  1711. X.SH COPYRIGHT
  1712. XOriginal Copyright (c) 1985 by Supoj Sutanthavibul
  1713. X.PP
  1714. XPermission to use, copy, modify, distribute, and sell this software and its
  1715. Xdocumentation for any purpose is hereby granted without fee, provided that
  1716. Xthe above copyright notice appear in all copies and that both that
  1717. Xcopyright notice and this permission notice appear in supporting
  1718. Xdocumentation. No representations are made about suitability of this
  1719. Xsoftware for any purpose.  It is provided "as is" without express or
  1720. Ximplied warranty.
  1721. X.PP
  1722. X\fIPostScript\fP is a trademark of Adobe Systems Incorporated.
  1723. X.SH FILES
  1724. X.TP
  1725. XCompKeyDB - Data base of compose (meta) key sequences for 8-bit characters.
  1726. XMust be installed in \fB$(XFIGLIBDIR)\fP with 'make install', or may be
  1727. Xspecified with command line option -keyFile or X toolkit resource keyFile.
  1728. XSee the \fIImakefile\fP.
  1729. X.TP
  1730. XDoc/FORMAT2.1 - Description of Fig file format.
  1731. X.TP
  1732. XCHANGES - Description of bug fixes/new features.
  1733. X.SH AUTHORS
  1734. XMany people have contributed to \fIxfig\fP.  Here is a list of the people who
  1735. Xhave contributed the most (in chronological order):
  1736. X.sp
  1737. XOriginal author:
  1738. X.br
  1739. XSupoj Sutanthavibul, University of Texas at Austin
  1740. X.sp
  1741. XThe \fILaTeX\fP line drawing modes were contributed by:
  1742. X.br
  1743. XFrank Schmuck, Cornell University
  1744. X.sp
  1745. XOriginal X11 port by:
  1746. X.br
  1747. XKen Yap, Rochester
  1748. X.sp
  1749. XVariable window sizes, cleanup of X11 port, right hand side panel:
  1750. X.br
  1751. XDana Chee, Bellcore
  1752. X.sp
  1753. XCleanup of color port to X11 by:
  1754. X.br
  1755. XJohn T. Kohl, MIT
  1756. X.sp
  1757. X\fBVersion 2.0:\fP
  1758. X.br
  1759. XArea fill, multiple line thicknesses, multiple fonts and font sizes,
  1760. Xbottom panel, line style/thickness modification of objects by:
  1761. X.br
  1762. XBrian V. Smith, Lawrence Berkeley Laboratory
  1763. X.br
  1764. X(standard disclaimer applies)
  1765. X.br
  1766. X(bvsmith@lbl.gov)
  1767. X.sp
  1768. XPopup change-object menu by:
  1769. X.br
  1770. XJon Tombs
  1771. X.br
  1772. XFrank Schmuck
  1773. X.sp
  1774. XZooming and panning functions, shift key select mechanism by:
  1775. X.br
  1776. XDieter Pellkofer
  1777. X.br
  1778. XHenning Spruth
  1779. X.sp
  1780. XDepth feature by:
  1781. X.br
  1782. XMike Lutz
  1783. X.sp
  1784. X\fBVersion 2.1:\fP
  1785. X.br
  1786. XIndicator panel, file menu popup, print menu popup,
  1787. Xpanning with rulers, mouse function window, regular polygon,
  1788. Xrubberbanding of circles/ellipses, filled splines on canvas,
  1789. Xdashed/dotted splines on canvas, update button,
  1790. Xarbitrary angle rotation of objects, alignment in compound,
  1791. Xobject scaling, constrained copy/move, corner markers for compound,
  1792. Xcontext sensitive corner markers, smarter redraw, undo for compound
  1793. Xand point move for boxes, cancel object creation, point positioning
  1794. Xto three resolutions, \fITransFig\fP scalable text, hidden text,
  1795. Xspecial text, save of figure on crash by:
  1796. X.sp
  1797. XPaul King (king@cs.uq.oz.au)
  1798. X.br
  1799. Xwith help from:
  1800. X.br
  1801. XBrian V. Smith (bvsmith@lbl.gov)
  1802. Xand Micah Beck (beck@cs.cornell.edu)
  1803. X.sp
  1804. XEncapsulated \fIPostScript\fP importing by:
  1805. X.br
  1806. XBrian Boyter
  1807. X.sp
  1808. XColor implementation and pan/zoom with ctrl key/mouse by:
  1809. X.br
  1810. XHenning Spruth
  1811. X.sp
  1812. XInternational characters by:
  1813. X.br
  1814. XHerve Soulard
  1815. X.sp
  1816. XDirectory Browser based on XDir by:
  1817. X.br
  1818. XWin Treese, Digital Equipment Corporation
  1819. X.sp
  1820. XRotated ellipses by:
  1821. X.br
  1822. XJames Tough, Dept. of Computer Science, Heriot-Watt University, Scotland
  1823. X.sp
  1824. X(Vertically) Rotated text by:
  1825. X.br
  1826. XAlan Richardson, Space Science Centre, School of MAPS,
  1827. XUniversity of Sussex
  1828. X.sp
  1829. XPopup scale menu and dynamic switching between inches and cm by:
  1830. X.br
  1831. XPaul King (king@cs.uq.oz.au)
  1832. X.sp
  1833. XMany bug fixes/cleanups etc. by a host of faithful users
  1834. X.br
  1835. XSee the CHANGES file for all the credits
  1836. END_OF_FILE
  1837. if test 65304 -ne `wc -c <'Doc/xfig.man'`; then
  1838.     echo shar: \"'Doc/xfig.man'\" unpacked with wrong size!
  1839. fi
  1840. # end of 'Doc/xfig.man'
  1841. fi
  1842. echo shar: End of archive 26 \(of 27\).
  1843. cp /dev/null ark26isdone
  1844. MISSING=""
  1845. for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 ; do
  1846.     if test ! -f ark${I}isdone ; then
  1847.     MISSING="${MISSING} ${I}"
  1848.     fi
  1849. done
  1850. if test "${MISSING}" = "" ; then
  1851.     echo You have unpacked all 27 archives.
  1852.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  1853. else
  1854.     echo You still need to unpack the following archives:
  1855.     echo "        " ${MISSING}
  1856. fi
  1857. ##  End of shell archive.
  1858. exit 0
  1859.  
  1860. exit 0 # Just in case...
  1861. -- 
  1862.   // chris@IMD.Sterling.COM       | Send comp.sources.x submissions to:
  1863. \X/  Amiga - The only way to fly! |    sources-x@imd.sterling.com
  1864.  "It's intuitively obvious to the |
  1865.   most casual observer..."        | GCS d+/-- p+ c++ l+ m+ s++/+ g+ w+ t+ r+ x+
  1866.