home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume21 / xfig / patch02l / xfig.12
Encoding:
Text File  |  1993-10-21  |  28.3 KB  |  1,001 lines

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