/usr/share/gnome/help/glabels/C/glabels.xml is in glabels-data 2.2.8-3build1.
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 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 | <?xml version="1.0"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY legal SYSTEM "legal.xml">
<!ENTITY appversion "2.2.6">
<!ENTITY manrevision "2.2.6">
<!ENTITY date "December 2007">
<!ENTITY app "<application>gLabels</application>">
<!-- Information about the entities
The legal.xml file contains legal information, there is no need to edit the file.
Use the appversion entity to specify the version of the application.
Use the manrevision entity to specify the revision number of this manual.
Use the date entity to specify the release date of this manual.
Use the app entity to specify the name of the application. -->
]>
<!--
(Do not remove this comment block.)
Maintained by the GNOME Documentation Project
http://developer.gnome.org/projects/gdp
Template version: 2.0 beta
Template last modified Apr 11, 2002
-->
<!-- =============Document Header ============================= -->
<article id="index" lang="en">
<!-- please do not change the id; for translations, change lang to -->
<!-- appropriate code -->
<articleinfo>
<title>&app; Manual V&manrevision;</title>
<abstract role="description">
<para>
User manual for the &app; label and business card creation program
</para>
</abstract>
<copyright>
<year>2003-2009</year>
<holder>Jim Evins</holder>
</copyright>
<publisher>
<publishername> Jim Evins </publishername>
</publisher>
&legal;
<!-- This file contains link to license for the documentation (GNU FDL), and
other legal stuff such as "NO WARRANTY" statement. Please do not change
any of this. -->
<authorgroup>
<author role="maintainer">
<firstname>Jim</firstname>
<surname>Evins</surname>
</author>
<!-- This is appropriate place for other contributors: translators,
maintainers, etc. Commented out by default.
<othercredit role="translator">
<firstname>Latin</firstname>
<surname>Translator 1</surname>
<affiliation>
<orgname>Latin Translation Team</orgname>
<address> <email>translator@gnome.org</email> </address>
</affiliation>
<contrib>Latin translation</contrib>
</othercredit>
-->
</authorgroup>
<!-- According to GNU FDL, revision history is mandatory if you are -->
<!-- modifying/reusing someone else's document. If not, you can omit it. -->
<!-- Remember to remove the &manrevision; entity from the revision entries other
-->
<!-- than the current revision. -->
<!-- The revision numbering system for GNOME manuals is as follows: -->
<!-- * the revision number consists of two components -->
<!-- * the first component of the revision number reflects the release version of the GNOME desktop. -->
<!-- * the second component of the revision number is a decimal unit that is incremented with each revision of the manual. -->
<!-- For example, if the GNOME desktop release is V2.x, the first version of the manual that -->
<!-- is written in that desktop timeframe is V2.0, the second version of the manual is V2.1, etc. -->
<!-- When the desktop release version changes to V3.x, the revision number of the manual changes -->
<!-- to V3.0, and so on. -->
<revhistory>
<revision>
<revnumber>gLabels Manual V2.2.6</revnumber>
<date>October 2009</date>
<revdescription>
<para role="author">Mario Blättermann
<email>mariobl@gnome.org</email>
</para>
<para role="publisher">Jim Evins</para>
</revdescription>
</revision>
<revision>
<revnumber>gLabels Manual V2.2</revnumber>
<date>December 2007</date>
<revdescription>
<para role="author">Jim Evins
<email>evins@snaught.com</email>
</para>
<para role="publisher">Jim Evins</para>
</revdescription>
</revision>
</revhistory>
<releaseinfo>This manual describes version &appversion; of &app;.
</releaseinfo>
<legalnotice>
<title>Feedback</title>
<para>To report a bug or make a suggestion regarding the &app; application or
this manual, follow the directions in the <ulink url="http://glabels.sourceforge.net/contact/"
type="http">&app; Contact Page</ulink>.
</para>
<!-- Translators may also add here feedback address for translations -->
</legalnotice>
</articleinfo>
<indexterm zone="index">
<primary>gLabels</primary>
</indexterm>
<indexterm zone="index">
<primary>glabels</primary>
</indexterm>
<!-- ============= Document Body ============================= -->
<!-- ============= Introduction ============================== -->
<!-- Use the Introduction section to give a brief overview of what
the application is and what it does. -->
<sect1 id="glabels-introduction">
<title>Introduction</title>
<para>The &app; application is a lightweight program for creating labels
and business cards for the <systemitem>GNOME desktop</systemitem>
environment. It is designed to work with various laser/ink-jet
peel-off label and business card sheets that you'll find at most
office supply stores.</para>
</sect1>
<!-- =========== Getting Started ============================== -->
<!-- Use the Getting Started section to describe the steps required
to start the application and to describe the user interface components
of the application. If there is other information that it is important
for readers to know before they start using the application, you should
also include this information here.
If the information about how to get started is very short, you can
include it in the Introduction and omit this section. -->
<sect1 id="glabels-getting-started">
<title>Getting Started</title>
<sect2 id="glabels-start">
<title>To Start &app;</title>
<para>You can start &app; in the following ways:
</para>
<variablelist>
<varlistentry>
<term><guimenu>Applications</guimenu> menu</term>
<listitem>
<para>Choose
<menuchoice>
<guisubmenu>Office</guisubmenu>
<guimenuitem>gLabels</guimenuitem>
</menuchoice>. </para>
</listitem>
</varlistentry>
<varlistentry>
<term>Command line</term>
<listitem>
<para>Type <command>glabels</command>,
then press <keycap>Return</keycap>:</para>
</listitem>
</varlistentry>
</variablelist>
</sect2>
<sect2 id="glabels-when-start">
<title>When You Start &app;</title>
<para>When you start &app;, the following window is displayed.</para>
<!-- ==== Figure ==== -->
<figure id="mainwindow-fig">
<title>&app; Start Up Window</title>
<screenshot>
<mediaobject>
<imageobject><imagedata
fileref="figures/main-window-empty.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->
<!-- Include any descriptions of the GUI immediately after the screenshot of the main UI, -->
<!-- for example, the items on the menubar and on the toolbar. This section is optional. -->
<para>The &app; window contains the following elements:
</para>
<variablelist>
<varlistentry>
<term>Menubar. </term>
<listitem>
<para>The menus on the menubar contain all of the commands you
need to create and edit labels and business cards in
&app;.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Main toolbar. </term>
<listitem>
<para>The main toolbar contains a subset of common File and Edit
commands that you can access from the menubar.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Drawing toolbar.</term>
<listitem>
<para>The drawing toolbar contains a subset of commands for
editing the current &app; document.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Display area.</term>
<listitem>
<para>The display area is the main drawing interface to
&app;.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Object sidebar.</term>
<listitem>
<para>The object sidebar provides an interface for viewing and
editing all properties of an individual object. </para>
</listitem>
</varlistentry>
<varlistentry>
<term>Properties toolbar. </term>
<listitem>
<para>The properties toolbar contains a set of tools to
manipulate the properties of selected objects and set default
properties for new objects.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Statusbar. </term>
<listitem>
<para>The statusbar displays information about current
&app; activity and contextual
information about the menu items. </para>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>
<!-- ================ Usage ================================ -->
<!-- Use this section to describe how to use the application to perform the tasks for
which the application is designed. -->
<sect1 id="glabels-usage">
<title>Usage</title>
<!-- ============= To create a new file ============================= -->
<sect2 id="glabels-open-new">
<title>To Create a New Label or Card</title>
<para>To create a new label or business card, choose
<menuchoice> <guimenu>File</guimenu> <guimenuitem>New</guimenuitem>
</menuchoice>
to display the <guilabel>New Label or Card</guilabel> dialog. Select
the media type and orientation for the new document,
then click <guibutton>OK</guibutton>. A new document is
displayed in the display area of the &app;
window. </para>
<para>If your particular media type is missing from this dialog,
see <xref linkend="glabels-create-template"/></para>
</sect2>
<!-- ============= To Open a File ============================= -->
<sect2 id="glabels-open-file">
<title>To Open a File</title>
<para>To open a file, choose
<menuchoice> <guimenu>File</guimenu> <guimenuitem>Open</guimenuitem>
</menuchoice> to display the <guilabel>Open File</guilabel> dialog.
Select the file that you want to open, then click
<guibutton>OK</guibutton>. The file is displayed in the display area
of the &app; window. </para>
<para>You can also open multiple files in
&app;. The application creates a separate
application window for each open file.</para>
<para>The application records the paths and filenames of the
most recent files that you have edited and displays the files as menu
items on the <menuchoice>
<guimenu>File</guimenu><guisubmenu>Recent Files</guisubmenu>
</menuchoice> menu.</para>
</sect2>
<!-- ============= To Open Multiple Files from the Command Line ========= -->
<sect2 id="glabels-run-from-cmd-line">
<title>To Open Multiple Files from a Command Line</title>
<para>You can run &app; from a command line
and open a single file or multiple files. To open multiple files from
a command line, type the following command, then press
<keycap>Return</keycap>:</para>
<para><command>glabels
<replaceable>file1.glabels file2.glabels file3.glabels</replaceable>
</command></para>
<para>When the application starts, the files that you specify are
displayed in separate &app; windows.</para>
</sect2>
<!-- ============= To Save a File ========= -->
<sect2 id="glabels-save-file">
<title>To Save a File</title>
<para>You can save files in the following ways:</para>
<itemizedlist>
<listitem>
<para>To save changes to an existing file, choose
<menuchoice> <guimenu>File</guimenu>
<guimenuitem>Save</guimenuitem> </menuchoice>. </para>
</listitem>
<listitem>
<para>To save a new file or to save an existing file under a new
filename, choose <menuchoice> <guimenu>File</guimenu>
<guimenuitem>Save As</guimenuitem> </menuchoice>. Enter a name
for the file in the <guilabel>Save As</guilabel> dialog box,
then click <guibutton>OK</guibutton>.</para>
</listitem>
</itemizedlist>
</sect2>
<!-- ============= To Change Label Properties ========= -->
<sect2 id="glabels-label-properties">
<title>To Change Label Properties</title>
<para>To change the media type and/or orientation of a label, choose
<menuchoice> <guimenu>File</guimenu>
<guimenuitem>Properties</guimenuitem> </menuchoice> to display the
<guilabel>Label properties</guilabel> dialog. Select the
new media type and orientation for the document, then click
<guibutton>OK</guibutton>.</para>
</sect2>
<!-- ============= To create a custom template ======================= -->
<sect2 id="glabels-create-template">
<title>To Create a Custom Template</title>
<para>To create a new custom template, choose
<menuchoice> <guimenu>File</guimenu>
<guimenuitem>Template Designer ...</guimenuitem> </menuchoice>
to display the <guilabel>Template Designer</guilabel> dialog.
This dialog will assist you in creating a custom template for
most types of label or card stationery that you may encounter.</para>
<para>If you prefer, you can create your templates manually.
For this option see <xref linkend="glabels-manual-create-template"/>
</para>
</sect2>
<!-- ============= To Close a File ========= -->
<sect2 id="glabels-close-file">
<title>To Close a File</title>
<para>To close the current document, choose
<menuchoice> <guimenu>File</guimenu>
<guimenuitem>Close</guimenuitem> </menuchoice> to close the application
window. If the current document is modified, a confirmation dialog
will be presented, allowing you to save the document or cancel
the command. If the window being closed is the only open window,
&app; will exit.</para>
</sect2>
<!-- ============= To Quit ========= -->
<sect2 id="glabels-quit">
<title>To Quit &app;</title>
<para>To quit &app;, choose
<menuchoice> <guimenu>File</guimenu>
<guimenuitem>Quit</guimenuitem> </menuchoice>. This is equivalent
to closing all open windows. See
<xref linkend="glabels-close-file"/>.</para>
</sect2>
<!-- ============= To Print Labels and Cards ========= -->
<sect2 id="glabels-print-file">
<title>To Print Labels or Cards</title>
<para>To print labels or cards, choose
<menuchoice> <guimenu>File</guimenu> <guimenuitem>Print</guimenuitem>
</menuchoice> to display the <guilabel>Print</guilabel> dialog.
Once print options have been selected, click <guilabel>Print</guilabel>
to print the labels or cards. To simply preview the results,
click <guilabel>Print Preview</guilabel> instead.</para>
<para>The <guilabel>Print</guilabel> dialog allows you to specify the
following print options:</para>
<sect3 id="print-dialog-job">
<title>The Labels Tab of the Print Dialog</title>
<variablelist>
<varlistentry>
<term><guilabel>Print control (Simple)</guilabel></term>
<listitem>
<para>For simple labels or cards (no document merge), the <guilabel>labels</guilabel>
tabbed section contains the following copy controls.</para>
<!-- ==== Figure ==== -->
<figure id="print-copies-fig">
<title>Print Copy Controls</title>
<screenshot>
<mediaobject>
<imageobject><imagedata
fileref="figures/print-copies.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->
<para>The number of copies of the label can be selected by
choosing the number of full sheets to print, or a specific
subset of labels on a single sheet.</para>
<para>The mini-preview can also be used to graphically select
the subset of labels by clicking the first label on the
mini-preview and dragging to the last label.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Print control (Merge)</guilabel></term>
<listitem>
<para>For labels or cards using the document merge (also known
as "mail merge") capability, the <guilabel>labels</guilabel> tabbed section contains
the following merge controls instead of copy controls.</para>
<!-- ==== Figure ==== -->
<figure id="print-merge-fig">
<title>Print Document Merge Controls</title>
<screenshot>
<mediaobject>
<imageobject><imagedata
fileref="figures/print-merge.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->
<para>The total number of labels or cards printed is the
product of the number of records in the merge source and
the number of copies selected. If multiple copies are
selected, these can be either collated (copies of the
same record grouped together) or un-collated (one copy
each record is printed before next copy).</para>
<para>Printing can begin on any label on the first sheet.
This can be selected with the <guilabel>Start on
label</guilabel> spinbutton.</para>
<para>The mini-preview can also be used to graphically select
this first label, by clicking on the desired label in the
mini-preview.</para>
</listitem>
</varlistentry>
<varlistentry> <term><guilabel>Options</guilabel> </term>
<listitem>
<para>The following options can also be selected.</para>
<itemizedlist>
<listitem>
<para><guilabel>print outlines</guilabel></para>
<para>Print outlines of labels. This option is useful for
dry-runs, to test printer alignment.</para>
</listitem>
<listitem>
<para><guilabel>print in reverse</guilabel></para>
<para>Prints the labels as mirror images. This option is
useful for printing on clear labels that will be viewed
from the reverse side (e.g. in a car window).</para>
</listitem>
<listitem>
<para><guilabel>print crop marks</guilabel></para>
<para>Prints crop marks along the edge of the sheet.
This option is useful for printing on blank stock, to
be cut after printing. This option does not work well
with all templates.</para>
</listitem>
</itemizedlist>
</listitem>
</varlistentry>
</variablelist>
</sect3>
</sect2>
<!-- ============= To Create New Objects ========= -->
<sect2 id="glabels-new-objects">
<title>To Create New Objects</title>
<para>Objects are created by choosing the appropriate selection under
the <menuchoice> <guimenu>Objects</guimenu>
<guimenuitem>Create Object</guimenuitem> </menuchoice> submenu or
the <guilabel>Drawing Toolbar</guilabel>. This will place the
display area into object creation mode as indicated by its cursor.
To return to the default object selection mode without creating
an object, choose <menuchoice> <guimenu>Objects</guimenu>
<guimenuitem>Select Mode</guimenuitem> </menuchoice>. This will
return the display area's cursor to the default selection arrow.</para>
<para>The following describes the object creation mode for each object
type:</para>
<variablelist>
<varlistentry>
<term>Text</term>
<listitem>
<para>Click the desired location of the upper left corner of the
text object. New text objects are initialized with the
string "Text." To change this text, or other properties, see
<xref linkend="glabels-object-properties"/>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Box</term>
<listitem>
<para>Click the desired location of the upper left corner of the
box object and drag to the desired location of the lower right
corner. If you simply click in a single location, a square
box will be created. To change properties of the box object, see
<xref linkend="glabels-object-properties"/>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Line</term>
<listitem>
<para>Click the desired location of one end of the
line object and drag to the desired location of the other end.
If you simply click in a single location, a diagonal line
will be created. To change properties of the line object, see
<xref linkend="glabels-object-properties"/>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Ellipse</term>
<listitem>
<para>Click the desired location of the upper left corner of the
ellipse object and drag to the desired location of the lower
right corner. If you simply click in a single location, a circle
will be created. To change properties of the ellipse object, see
<xref linkend="glabels-object-properties"/>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Image</term>
<listitem>
<para>Click the desired location of the upper left corner of the
image object and drag to the desired location of the lower
right corner. If you simply click in a single location, a square
will be created. New image objects are initialized with a
simple checkerboard image. To change this image, or other
properties of the image object, see
<xref linkend="glabels-object-properties"/>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Barcode</term>
<listitem>
<para>Click the desired location of the upper left corner of the
barcode object. New barcode objects are initialized to a
POSTNET barcode with representative data. To change data
and properties of the barcode object, see
<xref linkend="glabels-object-properties"/>.</para>
</listitem>
</varlistentry>
</variablelist>
</sect2>
<!-- ============= To Select Objects ========= -->
<sect2 id="glabels-select-objects">
<title>To Select Objects</title>
<para>A prerequisite for performing operations on objects is the
selection of individual objects or groups of objects. The
display area must be in the object selection mode to create new
selections, as indicated by an arrow cursor. The object
selection mode is selected by the
<menuchoice> <guimenu>Objects</guimenu>
<guimenuitem>Select Mode</guimenuitem> </menuchoice> menu item,
or the corresponding command on the <guilabel>Drawing
Toolbar</guilabel>.</para>
<variablelist>
<varlistentry>
<term>Selecting a single object</term>
<listitem>
<para>A single object can be selected simply by clicking
on the desired object in the display area.
Once selected the object will be highlighted with a set of
resizing handles.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Aggregate object selections</term>
<listitem>
<para>Multiple objects can be selected by first selecting the first
object as above and then by holding the <keycap>Ctrl</keycap>
key while selecting additional objects.
Individual objects can be added to an existing selection
at any time by holding the <keycap>Ctrl</keycap> key while
selecting the desired objects. All objects can also be
selected by using the <menuchoice> <guimenu>Edit</guimenu>
<guimenuitem>Select All</guimenuitem> </menuchoice>
menu item. All objects in an aggregate object selection will be
highlighted.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Area selections</term>
<listitem>
<para>Multiple objects can also be selected by clicking an empty
area and dragging to form a rectangular area. When released,
all objects contained in the area will form an aggregate
selection. An area selection can be used to add to an existing
selection by holding the <keycap>Ctrl</keycap> key while
performing the selection.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Unselecting objects</term>
<listitem>
<para>Individual objects can be removed from an existing
selection by holding the <keycap>Ctrl</keycap> key while
clicking on a previously selected object. An entire selection
can be dismissed by using the <menuchoice>
<guimenu>Edit</guimenu> <guimenuitem>Un-select All</guimenuitem>
</menuchoice> menu item
or by simply clicking any empty space in the display area.
Once an object is unselected its highlight is removed.</para>
</listitem>
</varlistentry>
</variablelist>
</sect2>
<!-- ============= Clipboard Commands ========= -->
<sect2 id="glabels-clipboard">
<title>Clipboard Commands</title>
<para>Object selections can be manipulated using the standard clipboard
operations <guimenuitem>Cut</guimenuitem>,
<guimenuitem>Copy</guimenuitem>, <guimenuitem>Paste</guimenuitem>,
and <guimenuitem>Delete</guimenuitem>.</para>
<variablelist>
<varlistentry>
<term>
<menuchoice>
<shortcut>
<keycombo><keycap>Ctrl</keycap><keycap>X</keycap></keycombo>
</shortcut>
<guimenuitem>Cut</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>Moves selected objects to the clipboard. The objects are
then available for pasting back into the current document or
another document.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<menuchoice>
<shortcut>
<keycombo><keycap>Ctrl</keycap><keycap>C</keycap></keycombo>
</shortcut>
<guimenuitem>Copy</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>Copies selected objects to the clipboard without deleting
them. The objects are then available for pasting back into
the current document or another document.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<menuchoice>
<shortcut>
<keycombo><keycap>Ctrl</keycap><keycap>V</keycap></keycombo>
</shortcut>
<guimenuitem>Paste</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>Pastes objects from the clipboard into the current document.
&app; can only paste objects from
another &app; document.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<menuchoice>
<shortcut>
<keycap>Delete</keycap>
</shortcut>
<guimenuitem>Delete</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>Deletes selected objects without placing them on the
clipboard.</para>
</listitem>
</varlistentry>
</variablelist>
</sect2>
<!-- ============= To Edit object Properties ========= -->
<sect2 id="glabels-object-properties">
<title>To Edit Object Properties</title>
<para>Most object properties can be modified through the object
editor sidebar, illustrated below. To use the object editor,
a single object must first be selected. See
<xref linkend="glabels-select-objects" />.</para>
<!-- ==== Figure ==== -->
<figure id="object-editor-sidebar-fig">
<title>Object Editor Sidebar</title>
<screenshot>
<mediaobject>
<imageobject><imagedata
fileref="figures/object-editor-sidebar.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->
<para>The object editor will contain a subset of the following
tabbed sections, depending on object type:</para>
<sect3 id="object-editor-text">
<title>Text Tabbed Section (Text objects)</title>
<para>This section contains a small editor for changing the content
of a text object. It also contains a dropdown menu of available
document merge keys, that can be inserted into text.</para>
</sect3>
<sect3 id="object-editor-image">
<title>Image Tabbed Section (Image objecs)</title>
<para>This section contains a file entry with preview to select
image files. The browse button can be used to easily locate
image files. Alternatively, a document merge key can be used
instead to provide a filename at print time.</para>
</sect3>
<sect3 id="object-editor-data">
<title>Data Tabbed Section (Barcode objecs)</title>
<para>This section contains a text entry to enter literal barcode
data. Alternatively, a document merge key can be used to
provide this data at print time.</para>
</sect3>
<sect3 id="object-editor-style">
<title>Style Tabbed Section (Text objects)</title>
<para>This section contains controls to select text properties,
including font family, font size, font weight, color, and
text justification.</para>
</sect3>
<sect3 id="object-editor-barcode">
<title>Style Tabbed Section (Barcode objecs)</title>
<para>This section contains controls to select barcode properties,
including barcode style, color, whether to print text, and whether
to include a checksum digit.</para>
</sect3>
<sect3 id="object-editor-line">
<title>Line Tabbed Section</title>
<para>This section contains controls to select properties of lines
and outlines. These properties include line width and color.</para>
</sect3>
<sect3 id="object-editor-fill">
<title>Fill Tabbed Section</title>
<para>This section contains controls to select fill properties of box
and ellipse objects. Currently the only fill property is fill
color.</para>
</sect3>
<sect3 id="object-editor-size">
<title>Size Tabbed Section (All except line objects)</title>
<para>This section contains controls to select the width and height
of an object. A checkbox is provided, so that the current aspect
ratio can be locked while manipulating the width and height controls.
Image objects also provide a button to reset the size to the
image's natural size (Assumes 72DPI).</para>
</sect3>
<sect3 id="object-editor-size-line">
<title>Size Tabbed Section (Line objects)</title>
<para>This section contains controls to select the length and angle
of a line object.</para>
</sect3>
<sect3 id="object-editor-position">
<title>Position Tabbed Section</title>
<para>This section contains controls to change the position of an
object.</para>
</sect3>
<sect3 id="object-editor-shadow">
<title>Shadow Tabbed Section (All except image and barcode objects)</title>
<para>This section contains controls to add a shadow to an object.</para>
</sect3>
</sect2>
<!-- ============= Other Manipulations of Objects ========= -->
<sect2 id="glabels-object-manipulation">
<title>Other Manipulations of Objects</title>
<para>Objects can also be manipulated in the following ways.</para>
<sect3 id="other-moving-resizing">
<title>Moving and Resizing Objects</title>
<para>Objects can be moved by simply clicking on a selected
object and dragging the object to its new location. If the object
is part of an aggregate selection, all objects in the selection
will move with the object being dragged, maintaining their relative
positions to one another. If no object is selected, clicking on
an object will create a new selection containing that object.
See <xref linkend="glabels-select-objects" />.</para>
<para>A selected object can be resized by clicking one of its resize
handle and dragging it to obtain the new size.</para>
</sect3>
<sect3 id="other-stacking-order">
<title>Changing Stacking Order</title>
<para>Stacking order refers to relative position in the z-axis of
objects. That is when objects overlap, which object will appear
on top of the other. By default, newer objects will appear above
older objects. To change this order, select one or more objects
and choose <menuchoice> <guimenu>Objects</guimenu>
<guimenuitem>Order</guimenuitem>
<guimenuitem>Bring to Front</guimenuitem> </menuchoice>
to raise the selection to the top of the stacking
order, or choose <menuchoice> <guimenu>Objects</guimenu>
<guimenuitem>Order</guimenuitem>
<guimenuitem>Send to Back</guimenuitem> </menuchoice>
to lower the selection to the bottom of the
stacking order. These menuitems are also available by right-clicking
the display area when there is a non-empty selection.</para>
</sect3>
<sect3 id="other-rotating-flipping">
<title>Rotating and Flipping Objects</title>
<para>Objects can be rotated 90 degrees in either direction, or flipped
horizontally or vertically, by choosing the appropriate menuitem
in the <menuchoice> <guimenu>Objects</guimenu>
<guimenuitem>Rotate/Flip</guimenuitem> </menuchoice> sub-menu. These
menuitems are also available by right-clicking
the display area when there is a non-empty selection.</para>
</sect3>
<sect3 id="other-alignment">
<title>Aligning Objects</title>
<para>Objects can be aligned horizontally or vertically, relative to
one another, or relative to the center line of the label, by
choosing the appropriate menuitem from the <menuchoice>
<guimenu>Objects</guimenu>
<guimenuitem>Align Horizontal</guimenuitem>
</menuchoice> or <menuchoice> <guimenu>Objects</guimenu>
<guimenuitem>Align Horizontal</guimenuitem> </menuchoice> sub-menus.
These menuitems are also available by right-clicking
the display area when there is a non-empty selection.</para>
</sect3>
<sect3 id="other-property-bar">
<title>Using the Property Bar</title>
<para>The property bar can be used to change some common properties
of objects en-masse. These properties include font family, font
size, font weight, text alignment, text color, fill color, line
or outline color, and line width. The property bar also controls
the defaults for these properties for any newly created objects.
</para>
</sect3>
</sect2>
<!-- ============= Document Merge Features ========= -->
<sect2 id="glabels-merge">
<title>Performing a Document Merge</title>
<para>Document Merge (sometimes called "Mail Merge") is a powerful
feature that allows a unique label or card to be printed for each
record in an external data source.</para>
<para>The first step to performing a document merge is to prepare
a source document that contains your merge data. This data could
be mailing addresses or any other data that you wish to create
unique labels or cards for. Currently back-ends only exist for
text files and the evolution data server -- others are planned. The currently
supported text-file format is very simple: each line is a record;
fields are delimited by commas (CSV), tabs, or colons; and newlines
can be embedded into fields by using the "\n" entity. This file
could be created using any text editor or could be created by
another program or script. A common way of creating CSV files is
to export them from a spreadsheet program.</para>
<para>A label must then be configured to "point at" this data file.
To configure the merge properties of a document, choose
<menuchoice> <guimenu>Objects</guimenu>
<guimenuitem>Merge Properties</guimenuitem> </menuchoice> menu item
to display the <guilabel>merge properties</guilabel> dialog. This
dialog is used to select the exact data file format and file
name (location) of the merge data.</para>
<para>Finally, once the label has been configured for a data file,
field keys can be inserted into text objects and used as source
or data for barcode objects and image filenames for image objects.
See <xref linkend="glabels-object-properties" /> for more information
on using merge data for these object types.</para>
<para>Now that your label is configured, &app; will print a unique
label for each record in your source document -- substituting fields
from each record for field keys in the all text, barcode, and
image objects.</para>
<para>See <xref linkend="glabels-merge-tutorial" /> for a detailed
tutorial on the document merge feature.</para>
</sect2>
</sect1>
<!-- ============= Customization ============================= -->
<!-- Use this section to describe how to customize the application. -->
<sect1 id="glabels-prefs">
<title>Settings</title>
<para>To configure &app;, choose
<menuchoice>
<guimenu>Settings</guimenu>
<guimenuitem>Preferences</guimenuitem>
</menuchoice>. The
<guilabel>Preferences</guilabel> dialog contains the following tabbed
sections:</para>
<itemizedlist>
<listitem>
<para>
<xref linkend="glabels-prefs-locale"/></para>
</listitem>
<listitem>
<para>
<xref linkend="glabels-prefs-object-defaults"/></para>
</listitem>
</itemizedlist>
<!-- =============== Customization Subsection ================ -->
<!-- Use a new section to describe different tabbed sections on the Settings or Preferences
dialog. -->
<sect2 id="glabels-prefs-locale">
<title>Locale</title>
<variablelist>
<varlistentry>
<term>
<guilabel>Units</guilabel> </term>
<listitem>
<para>Use this radio button group to specify your preferred units.
Select one of the following options:</para>
<itemizedlist>
<listitem>
<para>
<guilabel>Points</guilabel> </para>
<para>Use points (1 point = 1/72 in = 0.352778 mm).</para>
</listitem>
<listitem>
<para>
<guilabel>Inches</guilabel> </para>
<para>Use inches.</para>
</listitem>
<listitem>
<para>
<guilabel>Millimeters</guilabel> </para>
<para>Use millimeters.</para>
</listitem>
</itemizedlist>
<para>Default:
<guilabel>Inches</guilabel>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<guilabel>Default page size</guilabel> </term>
<listitem>
<para>Use this radio button group to specify your preferred page size.
This will make it quicker for you to locate media types when creating a new
label or card.</para>
<itemizedlist>
<listitem>
<para>
<guilabel>US Letter</guilabel> </para>
<para>Most of your media will be of the US Letter page size (8.5 x 11 inches).</para>
</listitem>
<listitem>
<para>
<guilabel>ISO A4</guilabel> </para>
<para>Most of your media will be of the ISO A4 page size (210 x 297 mm).</para>
</listitem>
</itemizedlist>
<para>Default:
<guilabel>US Letter</guilabel>.</para>
</listitem>
</varlistentry>
</variablelist>
</sect2>
<!-- ============= Customization Subsection ===================== -->
<!-- Another tabbed section on the Preferences dialog. -->
<sect2 id="glabels-prefs-object-defaults">
<title>Object defaults</title>
<variablelist>
<varlistentry>
<term>
<guilabel>Text</guilabel> </term>
<listitem>
<para>Use these controls to set the default properties of new text objects.
These properties are</para>
<itemizedlist>
<listitem>
<para>
<guilabel>Font</guilabel> </para>
<para>These controls are used to select font family and font size, and
whether the font should bold or in italics.</para>
</listitem>
<listitem>
<para>
<guilabel>Color</guilabel> </para>
<para>This control selects the default text color.</para>
</listitem>
<listitem>
<para>
<guilabel>Alignment</guilabel> </para>
<para>These controls are used to select the default text alignment (left, center or right).</para>
</listitem>
</itemizedlist>
</listitem>
</varlistentry>
<varlistentry>
<term>
<guilabel>Line</guilabel> </term>
<listitem>
<para>Use these controls to set the default properties of lines and outlines of
new objects. These properties are</para>
<itemizedlist>
<listitem>
<para>
<guilabel>Width</guilabel> </para>
<para>This control selects the default line width.</para>
</listitem>
<listitem>
<para>
<guilabel>Color</guilabel> </para>
<para>This control selects the default line color.</para>
</listitem>
</itemizedlist>
</listitem>
</varlistentry>
<varlistentry>
<term>
<guilabel>Fill</guilabel> </term>
<listitem>
<para>Use these controls to set the default fill properties of
new objects. These properties are</para>
<itemizedlist>
<listitem>
<para>
<guilabel>Color</guilabel> </para>
<para>This control selects the default fill color.</para>
</listitem>
</itemizedlist>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>
<!-- ============= Document Merge Tutorial ================================== -->
<sect1 id="glabels-merge-tutorial">
<title>Document Merge Tutorial</title>
<para>Document Merge (sometimes called "Mail Merge") is a powerful
feature that allows a unique label or card to be printed for each
record in an external data source. It is however, the most mis-understood
feature of &app;. The following examples
will step through a couple of common tasks using the document merge
feature.</para>
<sect2 id="merge-ex1">
<title>Example 1: Name Tags Using a CSV File</title>
<para>In this example we are organizing an orientation party for the new
crew members of our ship. We have a list of freshman crew members that we
created in <application>gnumeric</application> and exported as the following
CSV file. We could have created this file by using a text editor, but heck it
is the 23rd century.</para>
<programlisting>
Name,Department,SN
"Jim Kirk",Management,"SC937-0176 CEC"
"Mr. Spock",Sciences,S179-276SP
"Leonard McCoy",Medicine,unknown
"Montgomery Scott",Engineering,SE-197-54T
</programlisting>
<para>In &app; we have created a new &app;
document using the Avery 5395 "Name Badge Labels" template. Next we use the
<menuchoice> <guimenu>Objects</guimenu>
<guimenuitem>Merge Properties</guimenuitem> </menuchoice> menu item to display
the <guilabel>merge properties</guilabel> dialog. We use this dialog to
select the source type (in our case CSV) and the merge source (filename) as
shown.</para>
<!-- ==== Figure ==== -->
<figure id="merge-ex1-1-fig">
<title>Merge properties dialog</title>
<screenshot>
<mediaobject>
<imageobject><imagedata
fileref="figures/merge-ex1-1.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->
<para>Before applying the merge source, we uncheck the first record since it is only
column headers from our original <application>gnumeric</application> spreadsheet
and would simply waste our first label. We could also unselect any other records
that we didn't want to print a label for.</para>
<para>We can also view each record in more detail by clicking on the appropriate
expander (the little triangles) as shown. Once we are satisfied with the
selections in this dialog we click <guibutton>OK</guibutton> to accept the
changes.</para>
<para>Now we start adding objects to our &app; document as shown.</para>
<!-- ==== Figure ==== -->
<figure id="merge-ex1-2-fig">
<title>Adding objects</title>
<screenshot>
<mediaobject>
<imageobject><imagedata
fileref="figures/merge-ex1-2.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->
<para>In this example we have added three text objects and a barcode object. The
first text object contains only simple literal text ("Hello, my name is"). The
second text object contains a single merge field ("${1}") corresponding to the
first field of a record (first column of a line) which contains the new crew
member's full name. The third text field contains both literal text
("Department: ") followed by a single merge field ("${2}") corresponding to
the second field or the crew member's department. The barcode object is
configured to use field (or key) "3" which contains our crew member's
starfleet serial number.</para>
<para>Now we can print our name tags by selecting the
<menuchoice> <guimenu>File</guimenu>
<guimenuitem>Print</guimenuitem> </menuchoice> menu item. This will display
print dialog as shown below.</para>
<!-- ==== Figure ==== -->
<figure id="merge-ex1-3-fig">
<title>Printing name tags</title>
<screenshot>
<mediaobject>
<imageobject><imagedata
fileref="figures/merge-ex1-3.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->
<para>Just to make sure our labels are going to look okay, we select the
<guilabel>Print outlines</guilabel> option and click
<guibutton>Print Preview</guibutton>. This will display a print preview dialog
as shown below.</para>
<!-- ==== Figure ==== -->
<figure id="merge-ex1-4-fig">
<title>Name tags preview</title>
<screenshot>
<mediaobject>
<imageobject><imagedata
fileref="figures/merge-ex1-4.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->
<para>Everything looks good, so we can now load up our printer with
the appropriate label stock, print our name tags and start beaming our guests
aboard.</para>
</sect2>
<sect2 id="merge-ex2">
<title>Example 2: Address Labels Using a CSV File</title>
<para>In this example we are going to throw a party and need to print mailing
address labels for our invitations. We have a list of our closest friends
that we created in <application>gnumeric</application> and exported as the
following CSV file. It should be noted that not everyone has a middle initial or
a two line address.</para>
<programlisting>
LAST,FIRST,MI,ADDR1,ADDR2,CITY,STATE,ZIP
,,,,,,,
Critter,Ess,S,"123 Faux St.",,Alexandria,VA,22310
Doe,John,,"Apt 1X","451 Mystery St.",Trenton,NJ,08601
Summers,Joyce,,"1630 Revello Dr",,Sunnydale,CA,95037
McGarret,Steve,O,"404 Piikoi Street",,Honolulu,HI,96813
Kramer,Cosmo,,"Apt 5B","129 W. 81 St.","New York",NY,10024-7207
</programlisting>
<para>In &app; we have created a new &app;
document using the Avery 5512 "Address Labels" template. Next we use the
<menuchoice> <guimenu>Objects</guimenu>
<guimenuitem>Merge Properties</guimenuitem> </menuchoice> menu item to display
the <guilabel>merge properties</guilabel> dialog. We use this dialog to
select the source type (in our case CSV) and the merge source (filename) as
shown.</para>
<!-- ==== Figure ==== -->
<figure id="merge-ex2-1-fig">
<title>Merge properties dialog</title>
<screenshot>
<mediaobject>
<imageobject><imagedata
fileref="figures/merge-ex2-1.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->
<para>Before applying the merge source, we uncheck the first record since it is only
column headers from our original <application>gnumeric</application> spreadsheet
and would simply waste our first label. We also unselect the second record
which is empty (an artifact of our original spreadsheet). We could also unselect
any other records that we didn't want to print a label for.</para>
<para>We can also view each record in more detail by clicking on the appropriate
expander (the little triangles) as shown. Once we are satisfied with the
selections in this dialog we click <guibutton>OK</guibutton> to accept the
changes.</para>
<para>Now we start adding objects to our &app; document as shown.</para>
<!-- ==== Figure ==== -->
<figure id="merge-ex2-2-fig">
<title>Adding objects</title>
<screenshot>
<mediaobject>
<imageobject><imagedata
fileref="figures/merge-ex2-2.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->
<para>In this example we have a single text object. This text object contains
all of our merge fields organized on multiple lines as a mailing address.
Notice that fields ${4} and ${5} (corresponding to ADDR1 and ADDR2) are each
located with no other text on their own lines. When
&app; encounters a field as the only text on
a line, it will not expand the line if the field is empty.</para>
<para>Now we can print our address labels by selecting the
<menuchoice> <guimenu>File</guimenu>
<guimenuitem>Print</guimenuitem> </menuchoice> menu item. This will display
print dialog as shown below.</para>
<!-- ==== Figure ==== -->
<figure id="merge-ex2-3-fig">
<title>Printing address labels</title>
<screenshot>
<mediaobject>
<imageobject><imagedata
fileref="figures/merge-ex2-3.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->
<para>Just to make sure our labels are going to look okay, we select the
<guilabel>Print outlines</guilabel> option and click
<guibutton>Print Preview</guibutton>. This will display a print preview dialog
as shown below.</para>
<!-- ==== Figure ==== -->
<figure id="merge-ex2-4-fig">
<title>Address labels preview</title>
<screenshot>
<mediaobject>
<imageobject><imagedata
fileref="figures/merge-ex2-4.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->
<para>Everything looks good, so we can now load up our printer with
the appropriate label stock, print our address labels and start mailing
our party invitations.</para>
</sect2>
<sect2 id="merge-ex3">
<title>Example 3: Address Labels Using the <application>Evolution</application> Addressbook</title>
<para>Our last party was a great success, and now we need to print mailing
address labels for the invitations to a new one. To simplify this, we can use
the <application>Evolution</application> addressbook, because the address
data of all our friends is stored there.</para>
<note>
<para>Depending on how your copy of &app; was packaged, this option could be unavailable.
Support for the <application>Evolution</application> addressbook will only be available
if the <application>evolution-data-server</application> and its development files
were present when &app; was built. Please keep this in mind if you build &app;
directly from source.</para>
<para>If the &app; package from your distribution lacks this support,
you may wish to contact the package maintainer or file a bug against the package
to request it.</para>
</note>
<para>In <application>glabels</application> we have created a new &app;
document using the Avery 5512 "Address Labels" template. Next we use the
<menuchoice> <guimenu>Objects</guimenu>
<guimenuitem>Merge Properties</guimenuitem></menuchoice> menu item to display
the <guilabel>Merge properties</guilabel> dialog. We use this dialog to
select the source type (in our case <guilabel>Data from default Evolution
addressbook</guilabel>) as shown.</para>
<!-- ==== Figure ==== -->
<figure id="merge-ex3-1-fig">
<title>Merge properties dialog</title>
<screenshot>
<mediaobject>
<imageobject><imagedata
fileref="figures/merge-ex3-1.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->
<para>Once we have chosen <guilabel>Data from default Evolution addressbook
</guilabel> as our merge source, we will get a full list of its content. Initially,
all entries are checked. Assuming we were planning a really big party, we could
leave this selection untouched (but let's keep our budget in mind). We will now select or
unselect certain entries by clicking on the appropriate checkboxes, or we could use
the <guibutton>Select all</guibutton> and <guibutton>Unselect all
</guibutton> buttons to activate or deactivate all entries in the address book.</para>
<para>We can also view each entry in more detail by clicking on the appropriate
expander (the little triangles) as shown. Once we are satisfied with the
selections in this dialog, we will click the <guibutton>OK</guibutton> button to
accept the changes.</para>
<para>Now we start adding objects to our glabels document as shown.</para>
<!-- ==== Figure ==== -->
<figure id="merge-ex3-2-fig">
<title>Adding objects</title>
<screenshot>
<mediaobject>
<imageobject><imagedata
fileref="figures/merge-ex3-2.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->
<para>In this example we have a single text object again. This text object contains
all of our merge fields organized on multiple lines as a mailing address.</para>
<para>Now we can print our address labels by selecting the
<menuchoice> <guimenu>File</guimenu>
<guimenuitem>Print</guimenuitem> </menuchoice> menu item. This will display
the print dialog as shown below.</para>
<!-- ==== Figure ==== -->
<figure id="merge-ex3-3-fig">
<title>Printing address labels</title>
<screenshot>
<mediaobject>
<imageobject><imagedata
fileref="figures/merge-ex2-3.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->
<para>Just to make sure our labels are going to look okay, we select the
<guilabel>Print outlines</guilabel> option and click
<guibutton>Print Preview</guibutton>. This will display a print preview dialog
as shown below.</para>
<!-- ==== Figure ==== -->
<figure id="merge-ex3-4-fig">
<title>Address labels preview</title>
<screenshot>
<mediaobject>
<imageobject><imagedata
fileref="figures/merge-ex2-4.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->
<para>Everything looks good, so we can now load up our printer with
the appropriate label stock, print our address labels and start mailing
our party invitations.</para>
</sect2>
</sect1>
<!-- ============= Creating templates ================================== -->
<sect1 id="glabels-manual-create-template">
<title>Manually Creating New Templates</title>
<para>Predefined templates are defined by XML files located in
<filename>${prefix}/share/glabels/</filename>,
where <filename>${prefix}</filename> is usually something like
<filename>/usr/local</filename> or <filename>/usr</filename> depending
on the configuration option <filename>prefix</filename>. &app; will
use all files of the form <filename>*-templates.xml</filename>
or <filename>*.template</filename>, that it finds in
<filename>${prefix}/share/glabels/</filename> and
<filename>${HOME}/.glabels/</filename>.
Additional templates can be added by creating additional
<filename>*.template</filename> files in either of these directories.
</para>
<para>The format for these files is defined in the DTD:
<ulink url="http://glabels.sourceforge.net/doc/glabels-2.0.dtd.txt"
type="http">glabels-2.2.dtd</ulink>. (This DTD also describes other
XML formats used by &app;.)</para>
<sect2 id="template-assumptions">
<title>Assumptions/caveats</title>
<itemizedlist>
<listitem>
<para>A sheet contains only one size of label or card (if a sheet
contains more than one size of item, it can be split into
multiple templates for multiple pass printing)</para>
</listitem>
<listitem>
<para>Distances can be expressed in units of <emphasis>pt</emphasis>,
<emphasis>in</emphasis>, <emphasis>mm</emphasis>,
<emphasis>cm</emphasis>, or <emphasis>pc</emphasis>. For example:
"<literal>1.0in</literal>" or "<literal>2.54cm</literal>". If no
units are specified, computer points (<emphasis>pt</emphasis>) will
be assumed (1 <emphasis>pt</emphasis> =
1/72 <emphasis>in</emphasis> = 0.352778 <emphasis>mm</emphasis>).
</para>
</listitem>
</itemizedlist>
</sect2>
<sect2 id="template-file">
<title>Template Files</title>
<programlisting>
<?xml version="1.0"?>
<Glabels-templates>
<replaceable>...templates...</replaceable>
</Glabels-templates>
</programlisting>
</sect2>
<sect2 id="template-example">
<title>Example Template</title>
<programlisting>
<Template brand="Avery" part="8160" size="US-Letter" description="Mailing Labels">
<Label-rectangle id="0" width="189pt" height="72pt" round="5pt">
<Markup-margin size="5pt"/>
<Layout nx="3" ny="10" x0="11.25pt" y0="36pt" dx="200pt" dy="72pt"/>
</Label-rectangle>
<Alias brand="Avery" part="5160"/>
<Alias brand="Avery" part="6233"/>
</Template>
</programlisting>
</sect2>
<sect2 id="template-template-node">
<title>Template Node</title>
<para>A <emphasis>Template</emphasis> node describes a single stationary
product. It must contain one instance of any type of Label node
(<emphasis>Label-rectangle</emphasis>,
<emphasis>Label-round</emphasis>, or <emphasis>Label-cd</emphasis>).
This node can be followed by zero or more
<emphasis>Alias</emphasis> nodes.</para>
<informaltable frame="topbot">
<tgroup cols="2">
<colspec colname="col1"/>
<colspec colname="col2"/>
<thead>
<row valign="top">
<entry colname="col1" colsep="0" valign="top">
<para>Property</para>
</entry>
<entry colname="col2" valign="top">
<para>Description</para>
</entry>
</row>
</thead>
<tbody>
<row valign="top">
<entry><para>brand</para></entry>
<entry>
<para>Brand or manufacturer of stationary product.
E.g. "Avery"</para>
</entry>
</row>
<row valign="top">
<entry><para>part</para></entry>
<entry>
<para>Part number or name of stationary product.
E.g. "8160"</para>
</entry>
</row>
<row valign="top">
<entry><para>size</para></entry>
<entry>
<para>Size of sheet. E.g., "US-Letter," "A4", ...</para>
</entry>
</row>
<row valign="top">
<entry><para>description</para></entry>
<entry>
<para>Description of stationary product. E.g,
"Mailing Labels."</para>
</entry>
</row>
<row valign="top">
<entry><para>_description</para></entry>
<entry>
<para>Translatable description of stationary product.
E.g, "Mailing Labels." (Only useful for predefined
templates)</para>
</entry>
</row>
<row valign="top">
<entry><para>width</para></entry>
<entry>
<para>Page width. Only valid if size="Other"</para>
</entry>
</row>
<row valign="top">
<entry><para>height</para></entry>
<entry>
<para>Page height. Only valid if size="Other"</para>
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</sect2>
<sect2 id="template-label-rectangle-node">
<title>Label-rectangle Node</title>
<para>A <emphasis>Label-rectangle</emphasis> node describes the
dimensions of a single label or business card that is rectangular
in shape (may have rounded edges).</para>
<informaltable frame="topbot">
<tgroup cols="2">
<colspec colname="col1"/>
<colspec colname="col2"/>
<thead>
<row valign="top">
<entry colname="col1" colsep="0" valign="top">
<para>Property</para>
</entry>
<entry colname="col2" valign="top">
<para>Description</para>
</entry>
</row>
</thead>
<tbody>
<row valign="top">
<entry><para>id</para></entry>
<entry>
<para>Reserved for future use. Should always be 0.</para>
</entry>
</row>
<row valign="top">
<entry><para>width</para></entry>
<entry><para>Width of label/card</para></entry>
</row>
<row valign="top">
<entry><para>height</para></entry>
<entry><para>Height of label/card</para></entry>
</row>
<row valign="top">
<entry><para>round</para></entry>
<entry>
<para>Radius of corners. For items with square edges
(business cards), the radius should be 0.</para>
</entry>
</row>
<row valign="top">
<entry><para>x_waste</para></entry>
<entry>
<para>Amount of horizontal waste (over-print) to allow. This is useful
for minimizing alignment problems when using non-white
backgrounds (e.g. images).</para>
</entry>
</row>
<row valign="top">
<entry><para>y_waste</para></entry>
<entry>
<para>Amount of vertical waste (over-print) to allow. This is useful
for minimizing alignment problems when using non-white
backgrounds (e.g. images).</para>
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<!-- ==== Figure ==== -->
<figure id="template-label-fig">
<title>Label-rectangle Parameters</title>
<screenshot>
<mediaobject>
<imageobject><imagedata
fileref="figures/glabels-template-label.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->
</sect2>
<sect2 id="template-label-round-node">
<title>Label-round Node</title>
<para>A <emphasis>Label-round</emphasis> node describes the dimensions
of a simple round label (not a CD).</para>
<informaltable frame="topbot">
<tgroup cols="2">
<colspec colname="col1"/>
<colspec colname="col2"/>
<thead>
<row valign="top">
<entry colname="col1" colsep="0" valign="top">
<para>Property</para>
</entry>
<entry colname="col2" valign="top">
<para>Description</para>
</entry>
</row>
</thead>
<tbody>
<row valign="top">
<entry><para>id</para></entry>
<entry>
<para>Reserved for future use. Should always be 0.</para>
</entry>
</row>
<row valign="top">
<entry><para>radius</para></entry>
<entry><para>Radius (1/2 diameter) of label</para></entry>
</row>
<row valign="top">
<entry><para>waste</para></entry>
<entry>
<para>Amount of waste (over-print) to allow. This is useful
for minimizing alignment problems when using non-white
backgrounds (e.g. images).</para>
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</sect2>
<sect2 id="template-label-cd-node">
<title>Label-cd Node</title>
<para>A <emphasis>Label-cd</emphasis> node describes the dimensions
of a CD, DVD, or business card CD.</para>
<informaltable frame="topbot">
<tgroup cols="2">
<colspec colname="col1"/>
<colspec colname="col2"/>
<thead>
<row valign="top">
<entry colname="col1" colsep="0" valign="top">
<para>Property</para>
</entry>
<entry colname="col2" valign="top">
<para>Description</para>
</entry>
</row>
</thead>
<tbody>
<row valign="top">
<entry><para>id</para></entry>
<entry>
<para>Reserved for future use. Should always be 0.</para>
</entry>
</row>
<row valign="top">
<entry><para>radius</para></entry>
<entry><para>Outer radius of label</para></entry>
</row>
<row valign="top">
<entry><para>hole</para></entry>
<entry><para>Radius of concentric hole</para></entry>
</row>
<row valign="top">
<entry><para>width</para></entry>
<entry>
<para>If present, the label is clipped to the given width.
(Useful for "business card CDs").</para>
</entry>
</row>
<row valign="top">
<entry><para>height</para></entry>
<entry>
<para>If present, the label is clipped to the given height.
(Useful for "business card CDs").</para>
</entry>
</row>
<row valign="top">
<entry><para>waste</para></entry>
<entry>
<para>Amount of waste (over-print) to allow. This is useful
for minimizing alignment problems when using non-white
backgrounds (e.g. images).</para>
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<!-- ==== Figure ==== -->
<figure id="template-label-cd-fig">
<title>CD Label Parameters</title>
<screenshot>
<mediaobject>
<imageobject><imagedata
fileref="figures/glabels-template-cd.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->
</sect2>
<sect2 id="template-markup-margin-node">
<title>Markup-margin Node</title>
<para>A <emphasis>Markup-margin</emphasis> describes a margin along
all edges of a label.</para>
<informaltable frame="topbot">
<tgroup cols="2">
<colspec colname="col1"/>
<colspec colname="col2"/>
<thead>
<row valign="top">
<entry colname="col1" colsep="0" valign="top">
<para>Property</para>
</entry>
<entry colname="col2" valign="top">
<para>Description</para>
</entry>
</row>
</thead>
<tbody>
<row valign="top">
<entry><para>size</para></entry>
<entry>
<para>Size of the margin. I.e. the distance of the margin
line from the edge of the card/label.</para>
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</sect2>
<sect2 id="template-markup-line-node">
<title>Markup-line Node</title>
<para>A <emphasis>Markup-line</emphasis> describes a markup line.</para>
<informaltable frame="topbot">
<tgroup cols="2">
<colspec colname="col1"/>
<colspec colname="col2"/>
<thead>
<row valign="top">
<entry colname="col1" colsep="0" valign="top">
<para>Property</para>
</entry>
<entry colname="col2" valign="top">
<para>Description</para>
</entry>
</row>
</thead>
<tbody>
<row valign="top">
<entry><para>x1</para></entry>
<entry>
<para>x coordinate of 1st endpoint of the line segment.</para>
</entry>
</row>
<row valign="top">
<entry><para>y1</para></entry>
<entry>
<para>y coordinate of 1st endpoint of the line segment.</para>
</entry>
</row>
<row valign="top">
<entry><para>x2</para></entry>
<entry>
<para>x coordinate of 2nd endpoint of the line segment.</para>
</entry>
</row>
<row valign="top">
<entry><para>y2</para></entry>
<entry>
<para>y coordinate of 2nd endpoint of the line segment.</para>
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</sect2>
<sect2 id="template-markup-circle-node">
<title>Markup-circle Node</title>
<para>A <emphasis>Markup-circle</emphasis> describes a markup circle.
</para>
<informaltable frame="topbot">
<tgroup cols="2">
<colspec colname="col1"/>
<colspec colname="col2"/>
<thead>
<row valign="top">
<entry colname="col1" colsep="0" valign="top">
<para>Property</para>
</entry>
<entry colname="col2" valign="top">
<para>Description</para>
</entry>
</row>
</thead>
<tbody>
<row valign="top">
<entry><para>x0</para></entry>
<entry>
<para>x coordinate of circle origin (center).</para>
</entry>
</row>
<row valign="top">
<entry><para>y0</para></entry>
<entry>
<para>y coordinate of circle origin (center).</para>
</entry>
</row>
<row valign="top">
<entry><para>radius</para></entry>
<entry><para>Radius of circle.</para></entry>
</row>
</tbody>
</tgroup>
</informaltable>
</sect2>
<sect2 id="template-markup-rect-node">
<title>Markup-rect Node</title>
<para>A <emphasis>Markup-rect</emphasis> describes a markup rectangle.
</para>
<informaltable frame="topbot">
<tgroup cols="2">
<colspec colname="col1"/>
<colspec colname="col2"/>
<thead>
<row valign="top">
<entry colname="col1" colsep="0" valign="top">
<para>Property</para>
</entry>
<entry colname="col2" valign="top">
<para>Description</para>
</entry>
</row>
</thead>
<tbody>
<row valign="top">
<entry><para>x1</para></entry>
<entry>
<para>x coordinate of upper left corner of rectangle.</para>
</entry>
</row>
<row valign="top">
<entry><para>y1</para></entry>
<entry>
<para>y coordinate of upper left corner of rectangle.</para>
</entry>
</row>
<row valign="top">
<entry><para>w</para></entry>
<entry>
<para>Width of rectangle.</para>
</entry>
</row>
<row valign="top">
<entry><para>h</para></entry>
<entry>
<para>Height of rectangle.</para>
</entry>
</row>
<row valign="top">
<entry><para>r</para></entry>
<entry><para>Radius of rounded corners of rectangle.</para></entry>
</row>
</tbody>
</tgroup>
</informaltable>
</sect2>
<sect2 id="template-layout-node">
<title>Layout Node</title>
<para>A label node may contain multiple <emphasis>Layout</emphasis>
children. If labels are arranged in a simple grid pattern, only
one layout is needed. However, if labels are arranged in multiple
grids, such as a running bond pattern, multiple
<emphasis>layout</emphasis> tags can be used. Note: a single label
can always be treated as a grid of one.</para>
<informaltable frame="topbot">
<tgroup cols="2">
<colspec colname="col1"/>
<colspec colname="col2"/>
<thead>
<row valign="top">
<entry colname="col1" colsep="0" valign="top">
<para>Property</para>
</entry>
<entry colname="col2" valign="top">
<para>Description</para>
</entry>
</row>
</thead>
<tbody>
<row valign="top">
<entry><para>nx</para></entry>
<entry>
<para>Number of labels/cards across in the grid
(horizontal)</para>
</entry>
</row>
<row valign="top">
<entry><para>ny</para></entry>
<entry>
<para>Number of labels/cards up and down in the grid
(vertical)</para>
</entry>
</row>
<row valign="top">
<entry><para>x0</para></entry>
<entry>
<para>Distance from left edge of sheet to the left edge of
the left column of cards/labels in the layout.</para>
</entry>
</row>
<row valign="top">
<entry><para>y0</para></entry>
<entry>
<para>Distance from the top edge of sheet to the top edge of
the top row of labels/cards in the layout.</para>
</entry>
</row>
<row valign="top">
<entry><para>dx</para></entry>
<entry><para>Horizontal pitch of grid.</para></entry>
</row>
<row valign="top">
<entry><para>dy</para></entry>
<entry><para>Vertical pitch of grid.</para></entry>
</row>
</tbody>
</tgroup>
</informaltable>
<!-- ==== Figure ==== -->
<figure id="template-layout-fig">
<title>Layout Parameters</title>
<screenshot>
<mediaobject>
<imageobject><imagedata
fileref="figures/glabels-template-layout.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->
</sect2>
<sect2 id="template-alias-node">
<title>Alias Node</title>
<para>An <emphasis>Alias</emphasis> node provides the name of a
product with the same size and layout characteristics as the
parent template.</para>
<informaltable frame="topbot">
<tgroup cols="2">
<colspec colname="col1"/>
<colspec colname="col2"/>
<thead>
<row valign="top">
<entry colname="col1" colsep="0" valign="top">
<para>Property</para>
</entry>
<entry colname="col2" valign="top">
<para>Description</para>
</entry>
</row>
</thead>
<tbody>
<row valign="top">
<entry><para>brand</para></entry>
<entry>
<para>The brand or manufacturer of the equivalent product.</para>
</entry>
</row>
<row valign="top">
<entry><para>part</para></entry>
<entry>
<para>The part number or name of the equivalent product.</para>
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</sect2>
</sect1>
<!-- ============= Bugs ================================== -->
<!-- This section is optional and is commented out by default.
You can use it to describe known bugs and limitations of the
program if there are any - please be frank and list all
problems you know of.
<sect1 id="mayapp-bugs">
<title>Known Bugs and Limitations</title>
<para> </para>
</sect1>
-->
<!-- ============= About ================================== -->
<!-- This section contains info about the program (not docs), such as
author's name(s), web page, license, feedback address. This
section is optional: primary place for this info is "About.." box of
the program. However, if you do wish to include this info in the
manual, this is the place to put it. Alternatively, you can put this information in the title page.-->
<sect1 id="glabels-about">
<title>About &app;</title>
<para> &app; was written by Jim Evins
(<email>evins@snaught.com</email>). To find more information about
&app;, please visit the
<ulink url="http://glabels.sourceforge.net" type="http">gLabels Web
page</ulink>. </para>
<para>
To report a bug or make a suggestion regarding this application or
this manual, follow the directions at the
<ulink url="http://glabels.sourceforge.net/contact/" type="http">&app; Contact Page</ulink>.
</para>
<para> This program is distributed under the terms of the GNU
General Public license as published by the Free Software
Foundation; either version 2 of the License, or (at your option)
any later version. A copy of this license can be found at this
<ulink url="ghelp:gpl" type="help">link</ulink>, or in the file
COPYING included with the source code of this program. </para>
</sect1>
</article>
|