home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / x / volume21 / xfig / patch02l < prev    next >
Encoding:
Text File  |  1993-10-21  |  31.4 KB  |  1,062 lines

  1. Newsgroups: comp.sources.x
  2. From: envbvs@epb12.lbl.gov (Brian V. Smith)
  3. Subject: v21i032:  xfig - Draw amd manipulate objects in an X-Window, Patch02l/16
  4. Message-ID: <1993Oct21.185925.7405@sparky.sterling.com>
  5. X-Md4-Signature: 267c54aeccc6d503e0a509d26b706609
  6. Sender: chris@sparky.sterling.com (Chris Olson)
  7. Organization: Sterling Software
  8. Date: Thu, 21 Oct 1993 18:59:25 GMT
  9. Approved: chris@sterling.com
  10.  
  11. Submitted-by: envbvs@epb12.lbl.gov (Brian V. Smith)
  12. Posting-number: Volume 21, Issue 32
  13. Archive-name: xfig/patch02l
  14. Environment: patch, X11, xfig
  15. Patch-To: xfig: Volume 19, Issue 113-139
  16.  
  17. #! /bin/sh
  18. # This is a shell archive.  Remove anything before this line, then feed it
  19. # into a shell via "sh file" or similar.  To overwrite existing files,
  20. # type "sh file -c".
  21. # Contents:  xfig.12
  22. # Wrapped by chris@sparky on Thu Oct 21 13:40:07 1993
  23. PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin:/usr/lbin ; export PATH
  24. echo If this archive is complete, you will see the following message:
  25. echo '          "shar: End of archive 12 (of 16)."'
  26. if test -f 'xfig.12' -a "${1}" != "-c" ; then 
  27.   echo shar: Will not clobber existing file \"'xfig.12'\"
  28. else
  29.   echo shar: Extracting \"'xfig.12'\" \(28939 characters\)
  30.   sed "s/^X//" >'xfig.12' <<'END_OF_FILE'
  31. X+     canvas_rightbut_proc = cancel_zoom;
  32. X      elastic_box(my_fix_x, my_fix_y, my_cur_x, my_cur_y);
  33. X      set_temp_cursor(null_cursor);
  34. X      set_action_on();
  35. X***************
  36. X*** 133,138 ****
  37. X--- 133,154 ----
  38. X  
  39. X      show_zoom(&ind_switches[ZOOM_SWITCH_INDEX]);
  40. X      }
  41. X+     /* restore state */
  42. X+     canvas_kbd_proc = save_kbd_proc;
  43. X+     canvas_locmove_proc = save_locmove_proc;
  44. X+     canvas_leftbut_proc = save_leftbut_proc;
  45. X+     canvas_middlebut_proc = save_middlebut_proc;
  46. X+     canvas_rightbut_proc = save_rightbut_proc;
  47. X+     canvas_kbd_proc = save_kbd_proc;
  48. X+     set_cursor(save_cur_cursor);
  49. X+     action_on = save_action_on;
  50. X+     zoom_in_progress = False;
  51. X+ }
  52. X+ 
  53. X+ static
  54. X+ cancel_zoom()
  55. X+ {
  56. X+     elastic_box(my_fix_x, my_fix_y, my_cur_x, my_cur_y);
  57. X      /* restore state */
  58. X      canvas_kbd_proc = save_kbd_proc;
  59. X      canvas_locmove_proc = save_locmove_proc;
  60. Xdiff -rc xfig.2.1.7a/w_zoom.h xfig.2.1.8/w_zoom.h
  61. X*** xfig.2.1.7a/w_zoom.h    Wed Dec  9 17:37:33 1992
  62. X--- xfig.2.1.8/w_zoom.h    Wed May  5 10:05:43 1993
  63. X***************
  64. X*** 28,35 ****
  65. X            a1,a2)
  66. X  #define zXDrawLine(d,w,gc,x1,y1,x2,y2)\
  67. X      XDrawLine(d,w,gc,ZOOMX(x1),ZOOMY(y1),ZOOMX(x2),ZOOMY(y2))
  68. X! #define zXRotDrawString(d,w,font,gc,x,y,s,l)\
  69. X!     XRotDrawString(d,w,font,gc,ZOOMX(x),ZOOMY(y),s,l)
  70. X  #define zXFillRectangle(d,w,gc,x1,y1,x2,y2)\
  71. X      XFillRectangle(d,w,gc,ZOOMX(x1),ZOOMY(y1),\
  72. X          round(zoomscale*(x2)),round(zoomscale*(y2)))
  73. X--- 28,35 ----
  74. X            a1,a2)
  75. X  #define zXDrawLine(d,w,gc,x1,y1,x2,y2)\
  76. X      XDrawLine(d,w,gc,ZOOMX(x1),ZOOMY(y1),ZOOMX(x2),ZOOMY(y2))
  77. X! #define zXRotDrawString(d,font,ang,w,gc,x,y,s)\
  78. X!     XRotDrawString(d,font,ang,w,gc,ZOOMX(x),ZOOMY(y),s)
  79. X  #define zXFillRectangle(d,w,gc,x1,y1,x2,y2)\
  80. X      XFillRectangle(d,w,gc,ZOOMX(x1),ZOOMY(y1),\
  81. X          round(zoomscale*(x2)),round(zoomscale*(y2)))
  82. Xdiff -rc xfig.2.1.7a/Doc/FORMAT2.1 xfig.2.1.8/Doc/FORMAT2.1
  83. X*** xfig.2.1.7a/Doc/FORMAT2.1    Thu Oct 22 14:18:08 1992
  84. X--- xfig.2.1.8/Doc/FORMAT2.1    Thu Sep 30 15:03:00 1993
  85. X***************
  86. X*** 80,86 ****
  87. X      int    line_style        (enumeration type)
  88. X      int    line_thickness        (pixels)
  89. X      int    color            (enumeration type)
  90. X!     int    depth            (no units)
  91. X      int    pen            (not used)
  92. X      int    area_fill        (enumeration type)
  93. X      float    style_val        (pixels)
  94. X--- 80,86 ----
  95. X      int    line_style        (enumeration type)
  96. X      int    line_thickness        (pixels)
  97. X      int    color            (enumeration type)
  98. X!     int    depth            (enumeration type)
  99. X      int    pen            (not used)
  100. X      int    area_fill        (enumeration type)
  101. X      float    style_val        (pixels)
  102. X***************
  103. X*** 148,154 ****
  104. X      int    line_style        (enumeration type)
  105. X      int    thickness        (pixels)
  106. X      int    color            (enumeration type)
  107. X!     int    depth            (no units)
  108. X      int    pen            (not used)
  109. X      int    area_fill        (enumeration type)
  110. X      float    style_val        (pixels)
  111. X--- 148,154 ----
  112. X      int    line_style        (enumeration type)
  113. X      int    thickness        (pixels)
  114. X      int    color            (enumeration type)
  115. X!     int    depth            (enumeration type)
  116. X      int    pen            (not used)
  117. X      int    area_fill        (enumeration type)
  118. X      float    style_val        (pixels)
  119. X***************
  120. X*** 173,179 ****
  121. X      int    line_style        (enumeration type)
  122. X      int    thickness        (pixels)
  123. X      int    color            (enumeration type)
  124. X!     int    depth            (no units)
  125. X      int    pen            (not used)
  126. X      int    area_fill        (enumeration type)
  127. X      float    style_val        (pixels)
  128. X--- 173,179 ----
  129. X      int    line_style        (enumeration type)
  130. X      int    thickness        (pixels)
  131. X      int    color            (enumeration type)
  132. X!     int    depth            (enumeration type)
  133. X      int    pen            (not used)
  134. X      int    area_fill        (enumeration type)
  135. X      float    style_val        (pixels)
  136. X***************
  137. X*** 216,222 ****
  138. X      int    line_style        (See the end of this section)
  139. X      int    thickness        (pixels)
  140. X      int    color            (enumeration type)
  141. X!     int    depth            (no units)
  142. X      int    pen            (not used)
  143. X      int    area_fill        (enumeration type)
  144. X      float    style_val        (pixels)
  145. X--- 216,222 ----
  146. X      int    line_style        (See the end of this section)
  147. X      int    thickness        (pixels)
  148. X      int    color            (enumeration type)
  149. X!     int    depth            (enumeration type)
  150. X      int    pen            (not used)
  151. X      int    area_fill        (enumeration type)
  152. X      float    style_val        (pixels)
  153. X***************
  154. X*** 229,235 ****
  155. X  
  156. X      Points line : same as POLYLINE object
  157. X  
  158. X!     Control points line (absent if sub_type is 1 or 2) :
  159. X      Control points of interpolated spline.  There are two control
  160. X      points for each knots.  A section i, of the spline is drawn
  161. X      using Bezier cubic with the following four points:
  162. X--- 229,235 ----
  163. X  
  164. X      Points line : same as POLYLINE object
  165. X  
  166. X!     Control points line (absent if sub_type is 0 or 1) :
  167. X      Control points of interpolated spline.  There are two control
  168. X      points for each knots.  A section i, of the spline is drawn
  169. X      using Bezier cubic with the following four points:
  170. X***************
  171. X*** 258,267 ****
  172. X                       1 : Center justified
  173. X                       2 : Right justified)
  174. X      int    font             (enumeration type)
  175. X!     int    font_size         (points)
  176. X      int    pen            (not used)
  177. X      int    color            (enumeration type)
  178. X!     int    depth            (no units)
  179. X      float    angle            (radians, the angle of the text)
  180. X      int    font_flags        (bit vector)
  181. X      int    height            (pixels)
  182. X--- 258,267 ----
  183. X                       1 : Center justified
  184. X                       2 : Right justified)
  185. X      int    font             (enumeration type)
  186. X!     int    font_size         (font size in points)
  187. X      int    pen            (not used)
  188. X      int    color            (enumeration type)
  189. X!     int    depth            (enumeration type)
  190. X      float    angle            (radians, the angle of the text)
  191. X      int    font_flags        (bit vector)
  192. X      int    height            (pixels)
  193. X***************
  194. X*** 273,279 ****
  195. X                       center.  Otherwise it is the lower
  196. X                       right corner of the string.)
  197. X      char    string[]        (ascii characters; starts after a blank
  198. X!                     character following the last number and
  199. X!                     ends before the character '\1'.  This
  200. X!                     character is not part of the string.
  201. X!                     Note that the string may contain '\n'.)
  202. X--- 273,338 ----
  203. X                       center.  Otherwise it is the lower
  204. X                       right corner of the string.)
  205. X      char    string[]        (ascii characters; starts after a blank
  206. X!                      character following the last number and
  207. X!                      ends before the character '\1' (control-A).
  208. X!                      This character is not part of the string.
  209. X!                      Note that the string may contain '\n'.)
  210. X! 
  211. X!     The font_flags field is defined as follows:
  212. X! 
  213. X!      Bit    Description
  214. X! 
  215. X!       0    Rigid text (text doesn't scale when scaling compound objects)
  216. X!       1    Special text (for LaTeX)
  217. X!       2    PostScript font (otherwise LaTeX font is used)
  218. X!       3    Hidden text
  219. X! 
  220. X!     The font field is defined as follows:
  221. X! 
  222. X!     For font_flags bit 3 = 0 (LaTeX fonts):
  223. X! 
  224. X!     -1    Default font
  225. X!      0    Roman
  226. X!      1    Bold
  227. X!      2    Italic
  228. X!      3    Modern
  229. X!      4    Typewriter
  230. X! 
  231. X!     For font_flags bit 3 = 1 (PostScript fonts):
  232. X! 
  233. X!     -1    Default font
  234. X!      0    Times Roman
  235. X!      1    Times Italic
  236. X!      2    Times Bold
  237. X!      3    Times Bold Italic
  238. X!      4    AvantGarde Book
  239. X!      5    AvantGarde Book Oblique
  240. X!      6    AvantGarde Demi
  241. X!      7    AvantGarde Demi Oblique
  242. X!      8    Bookman Light
  243. X!      9    Bookman Light Italic
  244. X!     10    Bookman Demi
  245. X!     11    Bookman Demi Italic
  246. X!     12    Courier
  247. X!     13    Courier Oblique
  248. X!     14    Courier Bold
  249. X!     15    Courier Bold Oblique
  250. X!     16    Helvetica
  251. X!     17    Helvetica Oblique
  252. X!     18    Helvetica Bold
  253. X!     19    Helvetica Bold Oblique
  254. X!     20    Helvetica Narrow
  255. X!     21    Helvetica Narrow Oblique
  256. X!     22    Helvetica Narrow Bold
  257. X!     23    Helvetica Narrow Bold Oblique
  258. X!     24    New Century Schoolbook Roman
  259. X!     25    New Century Schoolbook Italic
  260. X!     26    New Century Schoolbook Bold
  261. X!     27    New Century Schoolbook Bold Italic
  262. X!     28    Palatino Roman
  263. X!     29    Palatino Italic
  264. X!     30    Palatino Bold
  265. X!     31    Palatino Bold Italic
  266. X!     32    Symbol
  267. X!     33    Zapf Chancery Medium Italic
  268. X!     34    Zapf Dingbats
  269. Xdiff -rc xfig.2.1.7a/Doc/TODO xfig.2.1.8/Doc/TODO
  270. X*** xfig.2.1.7a/Doc/TODO    Tue Mar 30 11:59:50 1993
  271. X--- xfig.2.1.8/Doc/TODO    Fri Aug 27 13:09:57 1993
  272. X***************
  273. X*** 1,5 ****
  274. X--- 1,6 ----
  275. X  This file contains some possible things to do in future versions of xfig.
  276. X  
  277. X+ make xfig understand and use different file resolutions (e.g. 1200dpi)
  278. X  allow rotated boxes (not just polygons)
  279. X  reduce number of grid lines (if necessary) when zooming < 1.0
  280. X  fix grid rounding problems at 0.75 zoom factor
  281. X***************
  282. X*** 127,132 ****
  283. X--- 128,134 ----
  284. X  allow fractional text sizes (float)
  285. X  possibly make extension to Fig protocol to handle several line 
  286. X      cap/join styles (e.g. round, butt, miter)
  287. X+ write 8-bit characters as (e.g.) \341\321
  288. X  
  289. X  --------------------------------------------------------------------
  290. X  What really needs to be done is a major rework of the list structures used
  291. Xdiff -rc xfig.2.1.7a/Doc/xfig.man xfig.2.1.8/Doc/xfig.man
  292. X*** xfig.2.1.7a/Doc/xfig.man    Fri Apr 30 10:33:22 1993
  293. X--- xfig.2.1.8/Doc/xfig.man    Tue Aug 31 11:33:57 1993
  294. X***************
  295. X*** 1,49 ****
  296. X! '\" t
  297. X! .\" the previous line makes man call tbl
  298. X  .if t .po .9i
  299. X! .TH XFIG 1 "Release 2.1(.7) (Protocol 2.1)"
  300. X  .SH NAME
  301. X! xfig \- Facility for Interactive Generation of figures under X11
  302. X  .SH SYNOPSIS
  303. X  .B xfig
  304. X! [\fIoptions\fP]
  305. X! [\fIfile\fP]
  306. X  .SH DESCRIPTION
  307. X  .I Xfig
  308. X! is a menu-driven tool that allows the user to draw and manipulate objects
  309. X! interactively in an X window.
  310. X  .B It runs under X version 11
  311. X  .B release 4 or higher
  312. X  and requires a two- or three-button mouse.
  313. X  .I file
  314. X! specifies the name of a file to be edited. The description of objects in
  315. X! the file will be read at the start of \fIxfig\fP.
  316. X  .PP
  317. X! When using a two-button mouse
  318. X! use the <Meta> key and the right button at the same time to effect
  319. X  the action of the middle button.
  320. X  .PP
  321. X! The \fITransFig\fP package is used to print or export the output from \fIxfig\fP.
  322. X  .PP
  323. X! Note for previous \fIxfig\fP users:
  324. X  .PP
  325. X! The \fIf2p\fP and \fIf2ps\fP translators have been phased out
  326. X! because the \fITransFig\fP package from Micah Beck is a more general
  327. X  purpose translator for more graphics languages.
  328. X! The \fITransFig\fP package can be used as a back-end processor to \fIxfig\fP
  329. X  to produce various types of output:
  330. X! .IP "LaTeX - "12
  331. X! \fIfig2dev -L latex\fP translates \fIxfig\fP to \fILaTeX\fP
  332. X! picture environment commands which can be
  333. X! processed along with other
  334. X  .I LaTeX
  335. X  commands.
  336. X! .IP "Postscript -
  337. X! \fIfig2dev -L ps\fP produces a \fIPostScript\fP output.
  338. X! .IP "Pic -
  339. X! \fIfig2dev -L pic\fP produces a pic output.
  340. X! .IP "PiCTeX -
  341. X! \fIfig2dev -L pictex\fP produces
  342. X  .I PiCTeX
  343. X  output.
  344. X  This contains macros that can be used with the
  345. X--- 1,156 ----
  346. X! .\"-------
  347. X! .\" Man page portability notes
  348. X! .\"
  349. X! .\" These are some notes on conventions to maintain for greatest
  350. X! .\" portability of this man page to various other versions of
  351. X! .\" nroff.
  352. X! .\"
  353. X! .\" When you want a \ to appear in the output, use \e in the man page.
  354. X! .\"
  355. X! .\" Evidently not all versions of nroff allow the omission of the
  356. X! .\" terminal " on a macro argument.  Thus what could be written
  357. X! .\"
  358. X! .\" .B "bold stuff
  359. X! .\"
  360. X! .\" in true nroffs must be written
  361. X! .\"
  362. X! .\" .B "bold stuff"
  363. X! .\"
  364. X! .\" instead.
  365. X! .\"
  366. X! .\" Use symbolic font names (e.g. R, I, B) instead of the standard
  367. X! .\" font positions 1, 2, 3.  Ideally, do not use \f at all to change
  368. X! .\" fonts (there are none in this man page at this writing).  Use the
  369. X! .\" -man macros instead, that's what they are there for and they are
  370. X! .\" more readable to boot.
  371. X! .\"
  372. X! .\" Note that sentences should end at the end of a line.  nroff and
  373. X! .\" troff will supply the correct intersentence spacing, but only if
  374. X! .\" the sentences end at the end of a line.  Explicit spaces, if given,
  375. X! .\" are apparently honored and the normal intersentence spacing is
  376. X! .\" supressed.
  377. X! .\"
  378. X! .\" DaviD W. Sanderson
  379. X! .\"-------
  380. X! .\"-------
  381. X! .\" xfig.1 conventions:
  382. X! .\"
  383. X! .\"    bold:    file names
  384. X! .\"        command-line switches
  385. X! .\"
  386. X! .\"    italic:    variables (including environment variables)
  387. X! .\"        program names
  388. X! .\"        machine names
  389. X! .\"
  390. X! .\"-------
  391. X  .if t .po .9i
  392. X! .nh
  393. X! .\"-------
  394. X! .\" Dd    distance to space vertically before a "display"
  395. X! .\" These are what n/troff use for interparagraph distance
  396. X! .\"-------
  397. X! .if t .nr Dd .4v
  398. X! .if n .nr Dd 1v
  399. X! .\"-------
  400. X! .\" Sp    space down by the interparagraph distance
  401. X! .\"-------
  402. X! .de Sp
  403. X! .sp \\n(Ddu
  404. X! ..
  405. X! .\"-------
  406. X! .\" At - argument tag
  407. X! .\" Begin an argument tag for an argument description paragraph.
  408. X! .\"-------
  409. X! .de At
  410. X! .PP
  411. X! ..
  412. X! .\"-------
  413. X! .\" Ap - argument description paragraph
  414. X! .\" It's an indented paragraph starting immediately after the
  415. X! .\" preceeding text (with no intervening blank line).
  416. X! .\" The reason for having this is so that we can construct the
  417. X! .\" ``tag'' for the paragraph (which describes a command argument)
  418. X! .\" using more than one line of -man macros.  The regular .TP
  419. X! .\" macro only allows the tag to occupy one line in the source file,
  420. X! .\" which can often force explicit font changes using troff mechanisms
  421. X! .\" which make the source harder to read.
  422. X! .\"-------
  423. X! .de Ap
  424. X! .PD 0
  425. X! .IP
  426. X! .PD
  427. X! ..
  428. X! .\"-------
  429. X! .TH XFIG 1 "Release 2.1(.8) (Protocol 2.1)"
  430. X  .SH NAME
  431. X! xfig \(em Facility for Interactive Generation of figures under X11
  432. X  .SH SYNOPSIS
  433. X  .B xfig
  434. X! .RI [ options ]
  435. X! .RI [ file ]
  436. X  .SH DESCRIPTION
  437. X  .I Xfig
  438. X! is a menu-driven tool that allows the user to draw and manipulate
  439. X! objects interactively in an X window.
  440. X  .B It runs under X version 11
  441. X  .B release 4 or higher
  442. X  and requires a two- or three-button mouse.
  443. X  .I file
  444. X! specifies the name of a file to be edited.
  445. X! The description of objects in the file will be read at the start of
  446. X! .IR xfig .
  447. X  .PP
  448. X! When using a two-button mouse use the
  449. X! .I <Meta>
  450. X! key and the right button at the same time to effect
  451. X  the action of the middle button.
  452. X  .PP
  453. X! The
  454. X! .I TransFig
  455. X! package is used to print or export the output from
  456. X! .IR xfig .
  457. X  .PP
  458. X! Note for previous
  459. X! .I xfig
  460. X! users:
  461. X  .PP
  462. X! The
  463. X! .I f2p
  464. X! and
  465. X! .I f2ps
  466. X! translators have been phased out
  467. X! because the
  468. X! .I TransFig
  469. X! package from Micah Beck is a more general
  470. X  purpose translator for more graphics languages.
  471. X! The
  472. X! .I TransFig
  473. X! package can be used as a back-end processor to
  474. X! .I xfig
  475. X  to produce various types of output:
  476. X! .nr n \w'PostScript\0\0\0\0'+1n-1/1n
  477. X! .IP LaTeX \nn
  478. X! .I "fig2dev \-L latex"
  479. X! translates
  480. X! .I xfig
  481. X! to
  482. X  .I LaTeX
  483. X+ picture environment commands which can be processed along with other
  484. X+ .I LaTeX
  485. X  commands.
  486. X! .IP PostScript
  487. X! .I "fig2dev \-L ps"
  488. X! produces a
  489. X! .I PostScript
  490. X! output.
  491. X! .IP Pic
  492. X! .I "fig2dev \-L pic"
  493. X! produces a
  494. X! .I pic
  495. X! output.
  496. X! .IP PiCTeX
  497. X! .I "fig2dev \-L pictex"
  498. X! produces
  499. X  .I PiCTeX
  500. X  output.
  501. X  This contains macros that can be used with the
  502. X***************
  503. X*** 52,268 ****
  504. X  .I TeX
  505. X  or
  506. X  .I LaTeX.
  507. X! .IP "Others -
  508. X! \fIfig2dev\fP has options for these other languages:
  509. X! \fIbox\fP,
  510. X! \fIepic\fP,
  511. X! \fIeepic\fP,
  512. X! and \fIeepicemu\fP.
  513. X  .PP
  514. X! The \fITransFig\fP package is available via anonymous ftp from
  515. X! export.lcs.mit.edu in /contrib/R5fixes/transfig-fixes/transfig.2.1.X.tar.Z, 
  516. X! where the X is the current patchlevel.
  517. X  .LP
  518. X! Note: \fITransFig\fP versions 2.1.4 and later support color
  519. X! output for \fIPostScript\fP.
  520. X  .SH OPTIONS
  521. X! .TP
  522. X! .B \-L[andscape]
  523. X! Make \fIxfig\fP come up in landscape mode (10" x 8").  This is the default.
  524. X! .TP
  525. X! .B \-P[ortrait]
  526. X! Make \fIxfig\fP come up in portrait mode (8" x 9").
  527. X! .TP
  528. X! .B \-bg \fIcolor\fP
  529. X! Use \fIcolor\fP as the background color for the canvas and buttons.
  530. X! .TP
  531. X! \fB-bol[d]\fP \fIfont\fP
  532. X! Cause the font used for displaying confirmation messages to be \fIfont\fP
  533. X  (default = 8x13bold).
  534. X! .TP
  535. X! \fB-bu[tton]\fP \fIfont\fP
  536. X! Cause the font used for most buttons to be \fIfont\fP (default = 6x13).
  537. X! .TP
  538. X! .B \-de[bug]
  539. X! Turn on debugging mode.  Prints various debugging messages like font names etc.
  540. X! .TP
  541. X! .B \-e[xportLanguage] \fIlanguage\fP
  542. X  Specifies the language to be used for when exporting a fig file.
  543. X  Choices are:
  544. X! 
  545. X! .TS
  546. X! l l.
  547. X  Name    Language
  548. X! _
  549. X! box    LaTeX box (figure boundary)
  550. X! latex    LaTeX picture
  551. X! epic    LaTeX picture + epic macros
  552. X! eepic    LaTeX picture + eepic macros
  553. X  eepicemu    LaTeX picture + eepicemu macros
  554. X! pictex    PiCTeX macros
  555. X! eps    Encapuslated Postscript
  556. X! ps    Postscript
  557. X! pstex    Combined PS/LaTeX (PS part)
  558. X! pstex_t    Combined PS/LaTeX (LaTeX part)
  559. X! textyl    Textyl special commands
  560. X! tpic    TPIC
  561. X! pic    PIC
  562. X! xbm    X11 Bitmap
  563. X! .TE
  564. X! .TP
  565. X! .B \-fg \fIcolor\fP
  566. X! Use \fIcolor\fP as the foreground color and default color for objects.
  567. X! .TP
  568. X! .B \-fl[ushleft]
  569. X  Set the print option to print the figure flush left.
  570. X  The default is to center the figure on the page.
  571. X! .TP
  572. X! \fB-geom[etry]\fP \fIWxH+X+Y\fP
  573. X  Specifies the geometry for Fig application.
  574. X! .TP
  575. X! \fB-iconG[eometry]\fP \fI+X+Y\fP
  576. X  Specifies the position for the icon.
  577. X! .TP
  578. X! .B \-inc[hes]
  579. X  Make inches the unit of choice (default).
  580. X! .TP
  581. X! .B \-me[tric]
  582. X  Make centimeters the unit of choice.
  583. X! 
  584. X! After \fIxfig\fP is started you may change the units from metric to
  585. X  imperial or vice versa from a popup menu available by pressing mouse
  586. X! button 3 in the \fIunits\fP box where the two rulers meet.
  587. X! .TP
  588. X! .B \-internalBW \fIwidth\fP
  589. X! Use lines of width \fIwidth\fP between all buttons and panels (default = 1).
  590. X! .TP
  591. X! .B \-inv[verse]
  592. X  Use inverse video (white on black).
  593. X! .TP
  594. X! .B \-k[eyFile] \fIcompose-key-file\fP
  595. X! Use \fIcompose-key-file\fP instead of \fICompKeyDB\fP for compose (meta) key
  596. X! database.  If there are no "/"s in the name, the file must reside in the \fIxfig\fP
  597. X! library directory, \fI$XFIGLIBDIR\fP, usually /usr/local/lib/X11/xfig.
  598. X! If there are any "/"s in the name it is taken as is (not relative
  599. X! to \fI$XFIGLIBDIR\fP).
  600. X! If there is a leading "~/" in the string then the ~ is expanded to the
  601. X! user's home directory.
  602. X! .TP
  603. X! .B \-lat[exfonts]
  604. X! Start \fIxfig\fP with \fILaTeX\fP font selection.  Normally, the \fIPostScript\fP
  605. X! fonts are available as the default.  This flag selects the \fILaTeX\fP
  606. X  fonts to start.
  607. X! .TP
  608. X! .B \-le[ft]
  609. X  Change the position of the side panel window to the left of the canvas window.
  610. X! .TP
  611. X! .B \-mo[nochrome]
  612. X  Use black and white only.
  613. X! .TP
  614. X! \fB-nor[mal]\fP \fIfont\fP
  615. X! Cause the font used for the message panel and ruler numbers to be \fIfont\fP.
  616. X! This font is also used on the canvas when the selected font is not available
  617. X! in an X11 font (default = fixed).
  618. X! .TP
  619. X! .B \-not[rack]
  620. X  Turn off cursor (mouse) tracking arrows.
  621. X! .TP
  622. X! \fB-ph[eight]\fP \fIunits\fP
  623. X! Make \fIxfig\fP come up \fIunits\fP high (where units are either cm or in).
  624. X! .TP
  625. X! \fB-pw[idth]\fP \fIunits\fP
  626. X! Make \fIxfig\fP come up \fIunits\fP wide (where units are either cm or in).
  627. X! .TP
  628. X! .B \-ri[ght]
  629. X  Change the position of the side panel window to the right of the canvas window
  630. X  (default: left).
  631. X! .TP
  632. X! .B \-sc[alablefonts]
  633. X! Allows use of the X11R5 scalable fonts.
  634. X! .TP
  635. X! .B \-nosc[alablefonts]
  636. X! Disables use of the X11R5 scalable fonts.  You might want to use this for
  637. X! debugging.
  638. X! .TP
  639. X! .B \-sh[owallbuttons]\fP
  640. X! Show all the \fIxfig\fP indicator buttons instead of only those relevant
  641. X! to the current drawing mode.  Normally, the buttons \fIline width\fP,
  642. X! \fIarea-fill\fP, \fIgrid mode\fP, \fItext size\fP, etc. are only visible when
  643. X  they are relevant to the current drawing mode.
  644. X! The \fB-showallbuttons\fP option makes all
  645. X! of the indicator buttons visible at all times.  This takes up more screen
  646. X! real estate, but allows the user to see all settable parameters.
  647. X! .TP
  648. X! .B \-sp[ecialtext]
  649. X! Start \fIxfig\fP with the \fIspecial text\fP mode for text objects.
  650. X! .TP
  651. X! \fB-startf[ontsize]\fP \fIpointsize\fP
  652. X  Set the default font size for text objects (default = 12pt).
  653. X! .TP
  654. X! \fB-startl[atexFont]\fP \fIfont\fP
  655. X! Set the starting font name for \fILaTeX\fP fonts.
  656. X! .TP
  657. X! \fB-startp[sFont]\fP \fIfont\fP
  658. X! Set the starting font name for \fIPostscript\fP fonts.
  659. X! .TP
  660. X! .B \-te[xtoutline]
  661. X! Specifies that xfig will draw a red (on color machines) outline
  662. X! of the "actual" bounding box of text objects.
  663. X! This is mostly useful for determining what rotated text will look like
  664. X! since xfig doesn't rotate the text (other than 0, 90, 180, or
  665. X! 270 degrees) on the canvas.
  666. X! .TP
  667. X! .B \-tr[ack]
  668. X  Turn on cursor (mouse) tracking arrows (default).
  669. X! .TP
  670. X! \fB-users[cale]\fP \fIscale\fP
  671. X! Set the multiplier for displayed line lengths etc.  This factor is multiplied
  672. X! by the actual length, radius or diameter of the object currently
  673. X! being drawn on the canvas.  It is useful for making scale drawings, where
  674. X  e.g. 1 inch = 1 foot (userscale = 12.0) or 1cm = 1m (userscale = 100.0).
  675. X! .TP
  676. X! \fB-useru[nit]\fP \fIunits\fP
  677. X! The \fIunits\fP string is printed with the length information when drawing objects.
  678. X! For example if the \fIuserscale\fP = 1.0 and the \fIuserunit\fP = \fIft\fP 
  679. X! then a line which is 3 inches long on the canvas would be displayed as 
  680. X! "length = 3 ft" when it is being drawn.
  681. X! 
  682. X! After \fIxfig\fP is started you may change the \fIuserscale\fP
  683. X! and the \fIuserunit\fP from a popup menu available by pressing mouse
  684. X! button 3 in the \fIunits\fP box where the two rulers meet.
  685. X! 
  686. X! 
  687. X  .SH "GRAPHICAL OBJECTS"
  688. X! The objects in \fIxfig\fP are divided into \fBprimitive objects\fP and
  689. X! \fBcompound objects\fP. The primitive objects are: \fIARC\fP, \fICIRCLE\fP,
  690. X! \fICLOSED SPLINE\fP, \fIELLIPSE\fP, \fIPOLYLINE\fP, \fIPOLYGON\fP,
  691. X! \fIENCAPSULATED POSTSCRIPT\fP, \fIBOX\fP, \fIARC-BOX\fP, \fISPLINE\fP,
  692. X! and \fITEXT\fP.
  693. X  .PP
  694. X  A primitive object can be moved, rotated, flipped vertically or horizontally,
  695. X  scaled, copied, aligned within a compound object or erased.
  696. X! The TEXT primitive may not be flipped. It may be rotated but only the markers
  697. X! show the rotation (on-screen) for angles other than 0, 90, 180 and 270 degrees.
  698. X! Text IS rotated on \fIPostScript\fP output.
  699. X  The attributes of any primitive object can be edited using a popup
  700. X  panel (discussed below), so you can, for instance, set the position
  701. X  of an object manually.
  702. X  .PP
  703. X! A compound object is composed of primitive objects. The primitive objects
  704. X! that constitute a compound can not be individually modified, but they can
  705. X! be manipulated as an entity; a compound can be moved, rotated, flipped
  706. X! vertically or horizontally, scaled, copied or erased.  A compound that
  707. X! contains any boxes or arc-boxes may only be rotated by 90 degrees.
  708. X  .PP
  709. X! Objects may overlap other objects according to their "depth".  Objects with
  710. X! larger depth number are obscured by objects with smaller depth.
  711. X  .PP
  712. X! \fIRegular\fP polygons may be created using a special drawing mode, but a
  713. X! general \fIPOLYGON\fP is created as a result, which may then be modified, i.e.
  714. X  the individual vertices may be moved if desired.
  715. X  .SH "DISPLAY WINDOWS"
  716. X! Ten regions comprise the display area of \fIxfig\fP: the
  717. X! command region, top ruler, side ruler, drawing mode region,
  718. X  editing mode region, filename region, message region,
  719. X  mouse function indicator region and canvas region,
  720. X  and indicator region with buttons to set and show current line thickness,
  721. X--- 159,611 ----
  722. X  .I TeX
  723. X  or
  724. X  .I LaTeX.
  725. X! .IP Others
  726. X! .I fig2dev
  727. X! has options for these other languages:
  728. X! .IR box ,
  729. X! .IR epic ,
  730. X! .IR eepic ,
  731. X! and
  732. X! .IR eepicemu .
  733. X  .PP
  734. X! The
  735. X! .I TransFig
  736. X! package is available via anonymous ftp from
  737. X! .I export.lcs.mit.edu
  738. X! in
  739. X! .BI /contrib/R5fixes/transfig\-fixes/transfig.2.1. X\c
  740. X! .BR .tar.Z ,
  741. X! where the
  742. X! .I X
  743. X! is the current patchlevel.
  744. X  .LP
  745. X! Note:
  746. X! .I TransFig
  747. X! versions 2.1.4 and later support color output for
  748. X! .IR PostScript .
  749. X  .SH OPTIONS
  750. X! .\"-------
  751. X! .At
  752. X! .BR \-L [ andscape ]
  753. X! .Ap
  754. X! Make
  755. X! .I xfig
  756. X! come up in landscape mode (10" x 8").
  757. X! This is the default.
  758. X! .\"-------
  759. X! .At
  760. X! .BR \-P [ ortrait ]
  761. X! .Ap
  762. X! Make
  763. X! .I xfig
  764. X! come up in portrait mode (8" x 9").
  765. X! .\"-------
  766. X! .At
  767. X! .BI \-bg " color"
  768. X! .Ap
  769. X! Use
  770. X! .I color
  771. X! as the background color for the canvas and buttons.
  772. X! .\"-------
  773. X! .At
  774. X! .BR \-bol [ d ]
  775. X! .I font
  776. X! .Ap
  777. X! Cause the font used for displaying confirmation messages to be
  778. X! .I font
  779. X  (default = 8x13bold).
  780. X! .\"-------
  781. X! .At
  782. X! .BR \-butt [ on ]
  783. X! .I font
  784. X! .Ap
  785. X! Cause the font used for most buttons to be
  786. X! .I font
  787. X! (default = 6x13).
  788. X! .\"-------
  789. X! .At
  790. X! .BR \-but_ [ per_row ]
  791. X! .I number
  792. X! .Ap
  793. X! Specify the number of buttons wide the mode panel should be.
  794. X! This is useful in conjunction with the
  795. X! .B \-pheight
  796. X! parameter to reduce the canvas height for small screens.
  797. X! .\"-------
  798. X! .At
  799. X! .BR \-de [ bug ]
  800. X! .Ap
  801. X! Turn on debugging mode.
  802. X! Prints various debugging messages like font names etc.
  803. X! .\"-------
  804. X! .At
  805. X! .BR \-e [ xportLanguage ]
  806. X! .I language
  807. X! .Ap
  808. X  Specifies the language to be used for when exporting a fig file.
  809. X  Choices are:
  810. X! .Sp
  811. X! .\"--------------------------------------------------------------------
  812. X! .\" Table Begin
  813. X! .\"--------------------------------------------------------------------
  814. X! .ne 17
  815. X! .nf
  816. X! .nr t0 \w'eepicemu\0\0\0\0'u
  817. X! .ta \n(t0u
  818. X! .\" set n to length of longest line
  819. X! .di xx
  820. X! eepicemu    LaTeX picture + eepicemu macros
  821. X! .nr n \n(.nu
  822. X! .di
  823. X! .rm xx
  824. X! .\" HEADER
  825. X  Name    Language
  826. X! .if n \l'\nnu\&-'
  827. X! .if t \l'\nnu'
  828. X! .\" DATA
  829. X! box\&\&\&    LaTeX box (figure boundary)
  830. X! latex\&\&    LaTeX picture
  831. X! epic\&\&    LaTeX picture + epic macros
  832. X! eepic\&\&    LaTeX picture + eepic macros
  833. X  eepicemu    LaTeX picture + eepicemu macros
  834. X! pictex\&    PiCTeX macros
  835. X! ibmgl\&\&    IBMGL (or HPGL)
  836. X! eps\&\&\&    Encapuslated PostScript
  837. X! ps\&\&\&    PostScript
  838. X! pstex\&\&    Combined PS/LaTeX (PS part)
  839. X! pstex_t\&    Combined PS/LaTeX (LaTeX part)
  840. X! textyl\&    Textyl special commands
  841. X! tpic\&\&    TPIC
  842. X! pic\&\&\&    PIC
  843. X! xbm\&\&\&    X11 Bitmap
  844. X! .if n \l'\nnu\&-'
  845. X! .if t \l'\nnu'
  846. X! .DT
  847. X! .fi
  848. X! .\"--------------------------------------------------------------------
  849. X! .\" Table End
  850. X! .\"--------------------------------------------------------------------
  851. X! .\"-------
  852. X! .At
  853. X! .BI \-fg " color"
  854. X! .Ap
  855. X! Use
  856. X! .I color
  857. X! as the foreground color and default color for objects.
  858. X! .\"-------
  859. X! .At
  860. X! .BR \-fl [ ushleft ]
  861. X! .Ap
  862. X  Set the print option to print the figure flush left.
  863. X  The default is to center the figure on the page.
  864. X! .\"-------
  865. X! .At
  866. X! .BR \-geom [ etry ]
  867. X! .IR W x H\c
  868. X! .RI + X + Y
  869. X! .Ap
  870. X  Specifies the geometry for Fig application.
  871. X! .\"-------
  872. X! .At
  873. X! .BR \-iconG [ eometry ]
  874. X! .RI + X + Y
  875. X! .Ap
  876. X  Specifies the position for the icon.
  877. X! .\"-------
  878. X! .At
  879. X! .BR \-inc [ hes ]
  880. X! .Ap
  881. X  Make inches the unit of choice (default).
  882. X! .\"-------
  883. X! .At
  884. X! .BR \-me [ tric ]
  885. X! .Ap
  886. X  Make centimeters the unit of choice.
  887. X! .IP \&
  888. X! After
  889. X! .I xfig
  890. X! is started you may change the units from metric to
  891. X  imperial or vice versa from a popup menu available by pressing mouse
  892. X! button 3 in the
  893. X! .I units
  894. X! box where the two rulers meet.
  895. X! .\"-------
  896. X! .At
  897. X! .BI \-internalBW " width"
  898. X! .Ap
  899. X! Use lines of width
  900. X! .I width
  901. X! between all buttons and panels (default = 1).
  902. X! .\"-------
  903. X! .At
  904. X! .BR \-inv [ erse ]
  905. X! .Ap
  906. X  Use inverse video (white on black).
  907. X! .\"-------
  908. X! .At
  909. X! .BR \-k [ eyFile ]
  910. X! .I compose-key-file
  911. X! .Ap
  912. X! Use
  913. X! .I compose-key-file
  914. X! instead of
  915. X! .I CompKeyDB
  916. X! for compose (meta) key database.
  917. X! If there are no
  918. X! .RB `` / ''s
  919. X! in the name, the file must reside in the
  920. X! .I xfig
  921. X! library directory,
  922. X! .IR $XFIGLIBDIR ,
  923. X! usually
  924. X! .BR /usr/local/lib/X11/xfig .
  925. X! If there are any
  926. X! .RB `` / ''s
  927. X! in the name it is taken as is (not relative to
  928. X! .IR $XFIGLIBDIR ).
  929. X! If there is a leading
  930. X! .RB `` ~/ ''
  931. X! in the string then the
  932. X! .RB `` ~ ''
  933. X! is expanded to the user's home directory.
  934. X! .\"-------
  935. X! .At
  936. X! .BR \-lat [ exfonts ]
  937. X! .Ap
  938. X! Start
  939. X! .I xfig
  940. X! with
  941. X! .I LaTeX
  942. X! font selection.
  943. X! Normally, the
  944. X! .I PostScript
  945. X! fonts are available as the default.
  946. X! This flag selects the
  947. X! .I LaTeX
  948. X  fonts to start.
  949. X! .\"-------
  950. X! .At
  951. X! .BR \-le [ ft ]
  952. X! .Ap
  953. X  Change the position of the side panel window to the left of the canvas window.
  954. X! .\"-------
  955. X! .At
  956. X! .BR \-mo [ nochrome ]
  957. X! .Ap
  958. X  Use black and white only.
  959. X! .\"-------
  960. X! .At
  961. X! .BR \-nor [ mal ]
  962. X! .I font
  963. X! .Ap
  964. X! Cause the font used for the message panel and ruler numbers to be
  965. X! .IR font .
  966. X! This font is also used on the canvas when the selected font is not
  967. X! available in an X11 font (default = fixed).
  968. X! .\"-------
  969. X! .At
  970. X! .BR \-not [ rack ]
  971. X! .Ap
  972. X  Turn off cursor (mouse) tracking arrows.
  973. X! .\"-------
  974. X! .At
  975. X! .BR \-ph [ eight ]
  976. X! .I units
  977. X! .Ap
  978. X! Make
  979. X! .I xfig
  980. X! come up
  981. X! .I units
  982. X! high (where units are either cm or in).
  983. X! .\"-------
  984. X! .At
  985. X! .BR \-pw [ idth ]
  986. X! .I units
  987. X! .Ap
  988. X! Make
  989. X! .I xfig
  990. X! come up
  991. X! .I units
  992. X! wide (where units are either cm or in).
  993. X! .\"-------
  994. X! .At
  995. X! .BR \-ri [ ght ]
  996. X! .Ap
  997. X  Change the position of the side panel window to the right of the canvas window
  998. X  (default: left).
  999. X! .\"-------
  1000. X! .At
  1001. X! .BR \-sc [ alablefonts ]
  1002. X! .Ap
  1003. X! Allows use of the X11R5 or OpenWindows scalable fonts (this is the default).
  1004. X! If the scalable fonts aren't available
  1005. X! .I xfig 
  1006. X! will automatically switch to non-scaling fonts.
  1007. X! .\"-------
  1008. X! .At
  1009. X! .BR \-nosc [ alablefonts ]
  1010. X! .Ap
  1011. X! Disables use of the X11R5 or OpenWindows scalable fonts.
  1012. X! You might want to use this for debugging.
  1013. X! .\"-------
  1014. X! .At
  1015. X! .BR \-sh [ owallbuttons ]
  1016. X! .Ap
  1017. X! Show all the
  1018. X! .I xfig
  1019. X! indicator buttons instead of only those relevant
  1020. X! to the current drawing mode.
  1021. X! Normally, the buttons
  1022. X! .IR "line width" ,
  1023. X! .IR area-fill ,
  1024. X! .IR "grid mode" ,
  1025. X! .IR "text size" ,
  1026. X! etc. are only visible when
  1027. X  they are relevant to the current drawing mode.
  1028. X! The
  1029. X! .B \-showallbuttons
  1030. X! option makes all
  1031. END_OF_FILE
  1032.   if test 28939 -ne `wc -c <'xfig.12'`; then
  1033.     echo shar: \"'xfig.12'\" unpacked with wrong size!
  1034.   fi
  1035.   # end of 'xfig.12'
  1036. fi
  1037. echo shar: End of archive 12 \(of 16\).
  1038. cp /dev/null ark12isdone
  1039. MISSING=""
  1040. for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ; do
  1041.     if test ! -f ark${I}isdone ; then
  1042.     MISSING="${MISSING} ${I}"
  1043.     fi
  1044. done
  1045. if test "${MISSING}" = "" ; then
  1046.     echo You have unpacked all 16 archives.
  1047.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  1048.     echo Creating merged patch file xfig.p2
  1049.     cat xfig.[01][0-9] > xfig.p2
  1050.     rm -f xfig.[01][0-9]
  1051. else
  1052.     echo You still must unpack the following archives:
  1053.     echo "        " ${MISSING}
  1054. fi
  1055. exit 0
  1056. exit 0 # Just in case...
  1057. -- 
  1058.   // chris@Sterling.COM           | Send comp.sources.x submissions to:
  1059. \X/  Amiga - The only way to fly! |    sources-x@sterling.com
  1060.  "It's intuitively obvious to the |
  1061.   most casual observer..."        | GCS d+/-- p+ c++ l+ m+ s++/+ g+ w+ t+ r+ x+
  1062.