/usr/share/doc/xfig/html/printing.html is in xfig-doc 1:3.2.5.b-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Printing/Exporting</TITLE>
</HEAD>
<BODY>
<a href="contents.html"><img src="images/xfig-title.png"
alt="XFIG Users Manual" border=0></a>
<HR>
<h1>Printing and Exporting</h1>
<ul>
<li><a href="#print">Print</a>
<li><a href="#export">Export</a>
<li><a href="latex_and_xfig.html">LaTeX and Xfig</a>
<li><a href="#imagemap">Generating an HTML Image Map</a>
</ul>
<p>To export or print a <b>Fig</b> file,
<b>xfig</b> calls <b>fig2dev</b>, the post-processor which converts the <b>Fig</b>
file to the desired output language. For printing, this is PostScript.
For exporting, there are a dozen or so languages, including PostScript, EPS,
LaTeX, MetaFont, and bitmap formats such as GIF, JPEG, PPM and several others.
See the <a href="#language"><i>Language</i></a> description of the Exporting section.
<br>This means that you must have <b>fig2dev</b> installed on your system along
with <b>xfig</b>. <b>Fig2dev</b>, which is part of the <b>TransFig</b>
distribution is always available where you find <b>xfig</b>.
See <a href="installation.html">Getting and Installing Xfig</a> for details.
<p>
<hr>
<H2><font color="blue"><A NAME="print">Printing</A></font></H2>
The <i>Print...</i> entry in the
<a href="main_menus.html#file-menu"><I>File</I> menu</a>
(or accelerator <TT>Meta-P</TT>) provides the facility
to print figures to PostScript
printers. Use <A HREF="#export">File/Export</A> if you want to store the output to a file.
<br>
The accelerator <TT>Shift-Meta-P</TT> will print using the previously set
paramters (i.e. the print panel isn't popped up, but the figure is printed).
<BLOCKQUOTE><IMG SRC="images/print-panel.png" ALT="[Print Panel]" ></BLOCKQUOTE>
<DL>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Magnification</I>
<DD>
Specify the magnification when printing figure in percent of full size (%).
The default is 100% and may be set by the <TT>Fig.magnification</TT> resource.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Fit to Page</I>
<DD>
Clicking this button will set the <I>Magnification</I> automatically so that
figure size will just fill current <I>Paper Size</I> with at least 1/2
inch margin all around.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Orientation</I>
<DD>
Specify the orientation of the output as <I>Landscape</I> (horizontal)
or <I>Portrait</I> (vertical). The default orientation is same as the
orientation of the canvas which may be changed by
<A HREF="main_menus.html#port-land"><i>Portrait/Landscape</i></A>
in the <a href="main_menus.html#view-menu"><i>View</i> menu</a>.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Justification</I>
<DD>
Specify if the figure should be <I>Flush Left</I> or <I>Centered</I> on the
paper of size selected by <I>Paper Size</I>.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<A NAME="paper-size"><I>Paper Size</I></A>
<DD>
Specify the size of the paper.
The following paper sizes are available:
<DL>
<DT><img src="images/blueballdot.png" align=bottom alt="-">
Letter (8.5in x 11in)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
Legal (8.5in x 14in)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
Tabloid (17in x 11in)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
ANSI A (8.5in x 11in)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
ANSI B (11in x 17in)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
ANSI C (17in x 22in)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
ANSI D (22in x 34in)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
ANSI E (34in x 44in)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
ISO A9 (37mm x 52mm)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
ISO A8 (52mm x 74mm)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
ISO A7 (74mm x 105mm)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
ISO A6 (105mm x 148mm)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
ISO A5 (148mm x 210mm)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
ISO A4 (210mm x 297mm)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
ISO A3 (297mm x 420mm)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
ISO A2 (420mm x 594mm)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
ISO A1 (594mm x 840mm)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
ISO A0 (840mm x 1189mm)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
JIS B10 (32mm x 45mm)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
JIS B9 (45mm x 64mm)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
JIS B8 (64mm x 91mm)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
JIS B7 (91mm x 128mm)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
JIS B6 (128mm x 182mm)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
JIS B5 (182mm x 257mm)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
JIS B4 (257mm x 364mm)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
JIS B3 (364mm x 515mm)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
JIS B2 (515mm x 728mm)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
JIS B1 (728mm x 1030mm)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
JIS B0 (1030mm x 1456mm)
</DL>
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Pages</I>
<DD>
If <I>Multiple</I> is selected here, the figure will be split into multiple
pages if the size of the figure is larger than <I>Paper Size</I>. It allows
the user to output a figure larger than paper size by pasting
those papers together (to make it easier, <B>xfig</B> generates output
so that the parts of the figure will be overlap).
<P>If <I>Single</I> is selected here, this facility will not be used;
any part of the figure outside the paper boundary will be clipped.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<a name="background"><I>Background</I></a>
<DD>
This will set the background color of the whole figure
when printing. The default is white.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<a name="grid"><I>Grid</I></a>
<DD>
You may print a light-gray grid on the page by choosing a minor (thin) and/or
a major (thick) grid spacing from pulldown menus or entering the spacing
directly in the entry. The units of grid spacing are inches or mm, depending
on the units of the figure.
<br>
The grid options is only available for PostScript, Encapsulated PostScript,
PSLatex, PDF and all the bitmap export formats.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<a name="printer"><I>Printer</I></a>
<DD>
Specify the printer name output should be directed to. If this field is empty,
output will be directed to the default printer.
<br>
The default value is specified by the resource <TT>Fig*printer*string</TT>
or the environment variable <TT>$PRINTER</TT>.
<p>
If your system uses <b>/etc/printcap</b> to define printers, <b>xfig</b> will make
a pulldown menu of printers next to the entry.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Print Job Params</I>
<DD>
The string specified here will be passed as command-line options when executing
<TT>lpr</TT> (<TT>lp</TT> on System V system). If <TT>%f</TT> is included in the string,
(it may appear more than once) it will be replaced by the name of the figure.
<P>
The default is empty, but it may be specified by <TT>Fig*job_params*string</TT>
resource.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Figures in batch</I>
<DD>
This indicator shows how many figures have been put in the <I>batch file</I>
for printing. Figures may be printed into the <I>batch file</I> by <I>Print FIGURE
to Batch</I>, and those figures may be sent to the printer as one print job
by clicking on <I>Print BATCH to Printer</I>.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Dismiss</I>
<DD>
Clicking this button will close the Print panel. The accelerator <TT>Meta-C</TT>
will also perform this function.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Print all layers/Print only active</I>
<DD>
You may print the whole figure (all layers) or just the layers that are
active according to the layer manager.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Print FIGURE/BATCH to Printer</I>
<DD>
Clicking this button will spool the figures in the <I>batch file</I>
if any, or the current figure if none, to the printer.
The accelerator <TT>Meta-P</TT> will also perform this function.
<P>
The label of this button will be <I>Print BATCH to Printer</I> if there
are any figures in the batch file, or <I>Print FIGURE to Printer</I>
if there are none.
<P>
When printing to the printer, <B>xfig</B> will first convert the figure
to PostScript with <B><A HREF="installation.html#related-software">fig2dev</A></B>
program, and pass the result to <TT>lpr</TT> (<TT>lp</TT> on System V system).
When executing <TT>lpr</TT> (or <TT>lp</TT>), the printer name specified by
<I>PostScript Printer</I> field and options specified by <I>Print Job Params</I>
will be passed as command-line options.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Print FIGURE to Batch</I>
<DD>
Clicking this button will append the current figure to the <I>batch file</I>.
The accelerator <TT>Meta-B</TT> will also perform this function.
<P>
The figures stored in the <I>batch file</I> will be printed to the printer
when <I>Print BATCH to Printer</I> is clicked later. You can use this facility
when you want to send some figures to the printer at one time.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Clear Batch</I>
<DD>
Clicking this button will erase the accumulated figures in the <I>batch
file</I>. The accelerator <TT>Meta-X</TT> will also perform this function.
The figures are automatically deleted from the batch file when
<I>Print BATCH to Printer</I> is clicked.
</DL>
<hr>
<H2><font color="blue"><A NAME="export">Exporting</A></font></H2>
The <i>Export...</i> entry in the
<a href="main_menus.html#file-menu"><I>File</I> menu</a>
(or accelerator <TT>Meta-X</TT>) provides the facility
to output the figure in various format such as PostScript,
GIF, JPEG, HP-GL, etc. to a file.
This is useful when you want to read figures by other applications
(LaTeX or FrameMaker, for example).
See <a href="latex_and_xfig.html">LaTeX and Xfig</a> for hints about
using <b>xfig</b> with LaTeX.
<br>
The accelerator <TT>Shift-Meta-X</TT> will export using the previously set
paramters (i.e. the export panel isn't popped up, but the figure is exported).
<p>
Use <A HREF="printing.html#print">File/Print</A> if you want to print the
figure to a PostScript printer.
<BLOCKQUOTE><IMG SRC="images/export-panel.png" ALT="[Export Panel]" ></BLOCKQUOTE>
<DL>
<DT><img src="images/redball.png" align=bottom alt="-">
<a name="language"><I>Language</I></a>
<DD>
Specify the format (language) to be generated as output. The default is
<I>Encapsulated PostScript</I>, but may be changed with the resource
<TT>Fig.exportLanguage</TT>.
<P>The following formats are available:
<P>Vector formats:
<DL>
<DT><img src="images/blueballdot.png" align=bottom alt="-">
PostScript
<DT><img src="images/blueballdot.png" align=bottom alt="-">
Encapsulated PostScript (EPSF)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
EPS With ASCII (EPSI) preview
<DT><img src="images/blueballdot.png" align=bottom alt="-">
EPS With monochrome TIFF preview
<DT><img src="images/blueballdot.png" align=bottom alt="-">
EPS With color TIFF preview
<DT><img src="images/blueballdot.png" align=bottom alt="-">
<a name="pdf_export">PDF (Portable Document Format)</a>
<DT><img src="images/blueballdot.png" align=bottom alt="-">
Combined PostScript/LaTeX
<DT><img src="images/blueballdot.png" align=bottom alt="-">
Combined PDF/LaTeX
<DT><img src="images/blueballdot.png" align=bottom alt="-">
LaTeX picture environment
<DT><img src="images/blueballdot.png" align=bottom alt="-">
PicTeX macros
<DT><img src="images/blueballdot.png" align=bottom alt="-">
IBMGL (HP-GL)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
Textyl \special commands
<DT><img src="images/blueballdot.png" align=bottom alt="-">
TPIC
<DT><img src="images/blueballdot.png" align=bottom alt="-">
PIC
<DT><img src="images/blueballdot.png" align=bottom alt="-">
<a href="#imagemap">HTML Image map</a>
<DT><img src="images/blueballdot.png" align=bottom alt="-">
MF (MetaFont)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
MP (MetaPost)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
MMP (Multi-MetaPost)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
<a name="cgm_export">CGM</a>
(Computer Graphics Metafile - useful to import into Microsoft WORD, etc.)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
<a name="binarycgm_export">Binary CGM</a>
<DT><img src="images/blueballdot.png" align=bottom alt="-">
<a name="emf_export">EMF</a>
(Enhanced Metafile)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
SVG (Scalable Vector Graphics - beta driver)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
Tk (Tck/Tk toolkit canvas)
</DL>
<P>Bitmap formats:
<DL>
<DT><img src="images/blueballdot.png" align=bottom alt="-">
<A HREF="http://www.dcs.ed.ac.uk/%7Emxr/gfx/2d-hi.html">GIF</A>
Graphic Interchange Format
<DT><img src="images/blueballdot.png" align=bottom alt="-">
<A HREF="http://www.dcs.ed.ac.uk/%7Emxr/gfx/2d-hi.html">JPEG</A>
<DT><img src="images/blueballdot.png" align=bottom alt="-">
<A HREF="http://www.dcs.ed.ac.uk/%7Emxr/gfx/2d-hi.html">PCX</A>
Paintbrush format
<DT><img src="images/blueballdot.png" align=bottom alt="-">
<A HREF="http://www.boutell.com/boutell/png/">PNG</A>
Portable Network Graphics
<DT><img src="images/blueballdot.png" align=bottom alt="-">
<A HREF="http://www.dcs.ed.ac.uk/%7Emxr/gfx/2d-hi.html">PPM</A>
Portable Pixmap
<DT><img src="images/blueballdot.png" align=bottom alt="-">
<A HREF="http://www.dcs.ed.ac.uk/%7Emxr/gfx/2d-hi.html">SLD</A>
(AutoDesk slide format)
<DT><img src="images/blueballdot.png" align=bottom alt="-">
<A HREF="http://www.dcs.ed.ac.uk/%7Emxr/gfx/2d-hi.html">TIFF</A>
Tag Image File Format
<DT><img src="images/blueballdot.png" align=bottom alt="-">
<A HREF="http://www.dcs.ed.ac.uk/%7Emxr/gfx/2d-hi.html">XBM</A>
X11 Bitmap
<DT><img src="images/blueballdot.png" align=bottom alt="-">
<A HREF="http://www.dcs.ed.ac.uk/%7Emxr/gfx/2d-hi.html">XPM</A>
X11 Pixmap
</DL>
<P>
As a variation of the LaTeX format, <I>epic</I>, <I>eepic</I> and <I>eepicemu</I>
macros are also available. It is also possible to output the text part of the
figure in LaTeX and the graphics part in PostScript using <I>Combined PostScript/LaTeX</I>.
This is especially useful when complex numerical formulas are included in
the figure (see also <A HREF="attributes.html#text-flags">TEXT FLAGS</A>).
<P>Not all of the features in <B>xfig</B> are supported by all export languages.
For example, <a href="drawing.html#picture">imported pictures</a>
are not supported for IBMGL export.
The PostScript export language supports all features
of <B>xfig</B> and a fairly high quality output will be generated.
<P>The <b>fig2dev</b> program, part of the <b>TransFig</b> package available with <b>xfig</b>
does the actual conversion from Fig to the output language.
<P>To export the figure in a bitmap format such as GIF or JPEG, you must have the
<A HREF="installation.html#ghostscript">GhostScript</A> and
<A HREF="installation.html#netpbm">netpbm</A>
packages on your system.
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Magnification</I>
<DD>
Specify the magnification when exporting figure in percent of full size (%).
The default is 100% and may be set by the <TT>Fig.magnification</TT> resource.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Export all layers/Export only active</I>
<DD>
You may export the whole figure (all layers) or just the layers that are
active according to the layer manager.
<p>
<DT><img src="images/redball.png" align=bottom alt="-">
<a name="border_margin"><I>Border Margin</I></a>
<dd>
When exporting to PostScript, Encapsulated PostScript, HTML MAP, or any
of the bitmap formats (e.g. GIF, JPEG, etc.), you may add a margin
space around the figure. The size of the margin is in pixels or 1/80th inch.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<a name="background"><I>Background</I></a>
<DD>
This will set the background color of the whole figure
when printing. The default is white.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<a name="grid"><I>Grid</I></a>
<DD>
You may add a light-gray grid to the page by choosing a minor (thin) and/or
a major (thick) grid spacing from pulldown menus or entering the spacing
directly in the entry. The units of grid spacing are inches or mm, depending
on the units of the figure.
<br>
The grid option is only available for PostScript, Encapsulated PostScript,
PSLatex, PDF and all the bitmap export formats.
<P>The default is <I>None</I>.
<DT><img src="images/redball.png" align=bottom alt="-">
PostScript Options - These options will appear below the Grid options
when PostScript is selected as the export language.
<p>
<DT><img src="images/export-panel-postscript.png" align=bottom alt="-">
<DL>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Paper Size</I>
<DD>
Specify the size of the paper. See description in <A HREF="#paper-size">Print
Panel</A> about available paper sizes. This is effective only if <I>PostScript</I>
is selected at <a href="#language"><I>Language</I></a>.
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Fit to Page</I>
<DD>
Clicking this button will set the <I>Magnification</I> automatically so that the
figure size will just fill current <I>Paper Size</I> with at least 1/2
inch margin all around. This is effective only when <I>PostScript</I> is
selected as <a href="#language"><I>Language</I></a>.
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Orientation</I>
<DD>
Specify the orientation of the output as <I>Landscape</I> (horizontal)
or <I>Portrait</I> (vertical). The default orientation is same as the
orientation of the canvas which may be changed by
<A HREF="main_menus.html#port-land"><i>Portrait/Landscape</i></A>
in the <a href="main_menus.html#view-menu"><i>View</i> menu</a>.
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Justification</I>
<DD>
Specify if the figure should be <I>Flush Left</I> or <I>Centered</I> on the
paper of the size selected by <I>Paper Size</I>. This is effective only if
<I>PostScript</I> is selected at <a href="#language"><I>Language</I></a>.
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Pages</I>
<DD>
If <I>Multiple</I> is selected, the figure will be split into multiple
pages if the figure is larger than <I>Paper Size</I>. If <I>Single</I>
is selected, this facility will not used. This is effective only if
<I>PostScript</I> is selected at <a href="#language"><I>Language</I></a>.
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Offset</I>
<DD>
When exporting figure, the figure will be shifted to the right or down by the
amount specified here.
Use negative numbers to shift it left and/or up.
The unit of the amounts may be selected from
<I>Inches</I>, <I>Centimeters</I>, and <I>Fig Units</I>(1/1200 inch in version 3.x).
</DL>
<p>
<DT><img src="images/redball.png" align=bottom alt="-">
Bitmap Options - These options will appear below the Grid options
when any bitmap format is selected as the export language.
<p>
<DT><img src="images/export-panel-gif.png" align=bottom alt="-">
<DL>
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<a name="smooth"><i>Smoothing</i></a>
<dd>
This will smooth the image by calling <b>fig2dev</b>
with either the `<tt>-S 2</tt>' (<i>Some smoothing</i>) or <tt>-S 4</tt> (<i>More smoothing</i>)
option to tell GhostScript to render at
2x magnification which improves font rendering,
then passes through <tt>pnmscale</tt> to reduce to original size,
which also smooths the image by averaging colors of adjacent pixels.
<br>The default is <i>No smoothing</i>.
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Transparent Color</I>
<dd>
For GIF export, it is possible to specify one of the colors as "transparent".
When displaying the figure with GIF viewers that support Transparent GIF
(such as <A HREF="http://www.netscape.com/">Netscape Navigator</A>, for
example), the color will not appear but the background of the viewer will show
through in place of the color.
<BR>The default is <I>None</I>.
<DT><img src="images/export-panel-gif.png" align=bottom alt="-">
<DT><img src="images/redball.png" align=bottom alt="-">
<I>JPEG Image quality</I>
<dd>
If the export <a href="#language">language</a> is <B>JPEG</B>,
an entry to select the "quality factor" appears.
<BR>The default is <I>75</I>.
<DT><img src="images/export-panel-jpeg.png" align=bottom alt="-">
</DL>
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Default File</I>
<DD>
Output will be written to this file if <I>Output File</I> is empty.
<P>This file name is the figure name plus an extension that reflects the output
format at the default, and it will be changed to the specified file name if
export has been performed by specifying a file name in <I>Output File</I>.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Output File</I>
<DD>
Specify the file name the output should be written to. If this field is
empty, the file name in the <I>Default File</I> field will be used.
<P>The file name in the <I>Output File</I> field may be changed by selecting
a file name in the <I>Fig Files</I> list, or typing the file name from
keyboard directly. If <I>Return</I> is typed after file name is entered,
export to the file will be performed as if the <I>Export</I> button was clicked.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Alternatives</I>
<DD>
The list of files in the current directory (only files matching the pattern specified
by <I>Filename Mask</I>) are displayed, and users may select a file for output
from the list.
<P>Clicking a file name in this list with mouse button 1 will copy the file name
to the <I>Output File</I> field. Double-clicking a file name in this list
with mouse button 1 will cause exporting to the file as if <I>Export</I>
button was clicked. Note that exporting to the existing file will over-write
the old contents of the file.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Filename Mask</I>
<DD>
Only the files matching this pattern will be put in the <I>File
Alternatives</I> list. The pattern is similar to the one used
by the UNIX shell, and it is possible to use meta-characters like "<TT>*</TT>"
or "<TT>?</TT>".
<P>Typing <I>Return</I> in this field will cause rescan of the current directory
as if <I>Rescan</I> button was clicked.
This string will be changed according to the language
selected with the <a href="#language"><i>Language</i> menu</a>.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Current Dir</I>
<DD>
This shows the current directory, and files in the directory will be displayed
in the <I>Alternatives</I> list.
<P>The directory name in the <I>Current Dir</I> field may be changed
by clicking a directory name in <I>Directories</I> list, or by
typing the directory name from keyboard directly. If <I>Return</I> is typed
after directory name is entered, the directory will scanned as if <I>Rescan</I>
button was clicked and the contents of <I>Alternatives</I> list will be updated.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Directories</I>
<DD>
The list of directories in the current directory is displayed here, and clicking
any item in this list with mouse button 1 will cause a move to the directory.
Normally, <I>hidden directories</I> are not displayed here, but this may be
toggled by <I>Show Hidden</I> button.
<P>"<TT>..</TT>" indicates the parent directory. Moving to the parent directory
may also be performed by clicking mouse button 3 on the <I>Alternatives</I>
list or the <I>Directories</I> list.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Home</I>
<DD>
Clicking this button will move to the home directory of the user.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Show Hidden</I>
<DD>
This button controls if hidden directories (directories whose names start
with "<TT>.</TT>") should be displayed or not. Clicking this button will
toggle the state. Normally, hidden directories are not displayed.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Rescan</I>
<DD>
Clicking this button will scan files in the current directory
and update the <I>Alternatives</I> list. The accelerator <TT>Meta-R</TT>
will also perform this function.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Cancel</I>
<DD>
Clicking this button will close the Export panel. The accelerator <TT>Meta-C</TT>
will also perform this function.
<P>
<DT><img src="images/redball.png" align=bottom alt="-">
<I>Export</I>
<DD>
Clicking this button will export to the file specified by <I>Output
File</I> field if any, or the file in <I>Default File</I>.
The accelerator <TT>Meta-X</TT> will also perform this function.
<P>When trying to export to an existing file other than <I>Default File</I>,
popup panel will appear and the user will asked to confirm the export operation.
If the figure is exported to a file other than <I>Default File</I>,
then <I>Default File</I> will be set to the actual export file name.</DL>
<hr>
<h2><a name="imagemap">Generating an HTML Image Map</a></h2>
It is possible to generate image map (clickable map) of HTML 3.2
by selecting <i>HTML Image Map</i> as
<a href="#language"><i>Language</i></a>
on the <a href="#export">Export panel</a>.
<p>
To use this facility,
using <i>Comments</i> on the <a href="editing.html#edit-panel">Edit panel</a>,
comment like:
<p>
<blockquote>
<tt>HREF="<i>url</i>" ALT="<i>string</i>"</tt>
</blockquote>
<p>
must be set for objects you want to make it clickable.
Here, <tt><i>url</i></tt> is URL of the target of the link,
<tt><i>string</i></tt> is alternative string for browsers
which will not display images
(<tt>ALT</tt> attribute is required in HTML 3.2).
<tt><i>string</i></tt> will be used as label of alternative text links
<b>xfig</b> will generate with the image map, too.
<p>
TEXT objects can't be used for links.
CIRCLE, ELLIPSE, SPLINE and ARC will be approximated with polygons.
Open objects such as POLYLINE or OPEN SPLINE will be
treated as if it is closed.
ARC-BOX will treated as if is is a BOX.
<HR>
[ <a href="contents.html">Contents</a> |
<a href="introduction.html">Introduction</a> |
<a href="authors.html">Credits</a> ]
</BODY>
</HTML>
|