]> git.sur5r.net Git - glabels/blob - help/es/glabels.xml
Imported Upstream version 2.2.8
[glabels] / help / es / glabels.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
3 <!ENTITY legal SYSTEM "legal.xml">
4 <!ENTITY appversion "2.2.6">
5 <!ENTITY manrevision "2.2.6">
6 <!ENTITY date "December 2007">
7 <!ENTITY app "<application>gLabels</application>">
8 <!-- Information about the entities
9        The legal.xml file contains legal information, there is no need to edit the file. 
10        Use the appversion entity to specify the version of the application.
11        Use the manrevision entity to specify the revision number of this manual.
12        Use the date entity to specify the release date of this manual.
13        Use the app entity to specify the name of the application. -->]>
14 <!-- 
15       (Do not remove this comment block.)
16   Maintained by the GNOME Documentation Project
17   http://developer.gnome.org/projects/gdp
18   Template version: 2.0 beta
19   Template last modified Apr 11, 2002
20 -->
21 <!-- =============Document Header ============================= -->
22 <article id="index" lang="es">
23 <!-- please do not change the id; for translations, change lang to -->
24 <!-- appropriate code -->
25   <articleinfo> 
26     <title>Manual de <application>gLabels</application> V2.2.6</title>       
27         <abstract role="description">
28         <para>Manual de usuario para el programa de creación de etiquetas y tarjetas de visita <application>gLabels</application></para>
29     </abstract>
30     <copyright> 
31       <year>2003-2009</year> 
32       <holder>Jim Evins</holder> 
33     </copyright><copyright><year>2010</year><holder>Jorge González (jorgegonz@svn.gnome.org)</holder></copyright>
34         <publisher> 
35                 <publishername>Jim Evins</publishername> 
36         </publisher> 
37
38      <legalnotice id="legalnotice">
39         <para>Se otorga permiso para copiar, distribuir y/o modificar este documento bajo los términos de la Licencia de Documentación Libre de GNU, Versión 1.1 o cualquier otra versión posterior publicada por la Free Software Foundation; sin Secciones Invariantes ni Textos de Cubierta Delantera ni Textos de Cubierta Trasera. Puede encontrar una copia de la licencia GFDL en este <ulink type="help" url="ghelp:fdl">enlace</ulink> o en el archivo COPYING-DOCS distribuido con este manual.</para>
40          <para>Este manual es parte de una colección de manuales de GNOME distribuido bajo la GFDL. Si quiere distribuir este manual por separado de la colección, puede hacerlo añadiendo una copia de la licencia al manual, tal como se describe en la sección 6 de la licencia.</para>
41
42         <para>Muchos de los nombres utilizados por las empresas para distinguir sus productos y servicios se consideran marcas comerciales. Cuando estos nombres aparezcan en la documentación de GNOME, y siempre que se haya informado a los miembros del Proyecto de documentación de GNOME de dichas marcas comerciales, los nombres aparecerán en mayúsculas o con las iniciales en mayúsculas.</para>
43
44         <para>ESTE DOCUMENTO Y LAS VERSIONES MODIFICADAS DEL MISMO SE PROPORCIONAN SEGÚN LAS CONDICIONES ESTABLECIDAS EN LA LICENCIA DE DOCUMENTACIÓN LIBRE DE GNU (GFDL) Y TENIENDO EN CUENTA QUE: <orderedlist>
45                 <listitem>
46                   <para>EL DOCUMENTO SE OFRECE «TAL CUAL», SIN GARANTÍA DE NINGÚN TIPO, EXPRESA O IMPLÍCITA, INCLUYENDO, PERO SIN LIMITARSE A ELLA, LA GARANTÍA DE QUE EL DOCUMENTO O LA VERSIÓN MODIFICADA DEL MISMO ESTÉ LIBRE DE DEFECTOS, GARANTÍA DE COMERCIALIZACIÓN, APTITUD PARA UN USO EN PARTICULAR O INCUMPLIMIENTO. TODOS LOS RIESGOS RELATIVOS A LA CALIDAD, EXACTITUD O RENDIMIENTO DEL DOCUMENTO O LA VERSIÓN MODIFICADA DEL MISMO SON ASUMIDOS POR VD. EN CASO DE QUE EL DOCUMENTO O LA VERSIÓN MODIFICADA SEAN DEFECTUOSOS, VD. (NO EL ESCRITOR ORIGINAL NI EL AUTOR NI NINGUNO DE LOS COLABORADORES) ASUMIRÁ EL COSTE DE CUALQUIER MANTENIMIENTO, REPARACIÓN O CORRECCIÓN QUE SEAN NECESARIOS. ESTA RENUNCIA DE GARANTÍA CONSTITUYE UNA PARTE ESENCIAL DE ESTA LICENCIA NO SE AUTORIZA EL USO DE NINGÚN DOCUMENTO NI VERSIÓN MODIFICADA DEL MISMO, SALVO EN LAS CONDICIONES ESPECIFICADAS EN ESTA RENUNCIA; Y </para>
47                 </listitem>
48                 <listitem>
49                   <para>EN NINGUNA CIRCUNSTANCIA NI SEGÚN NINGÚN ARGUMENTO LEGAL, SEA POR MOTIVOS CULPOSOS (INCLUIDA LA NEGLIGENCIA), CONTRACTUALES O DE OTRO TIPO, NI EL AUTOR, NI EL REDACTOR INICIAL, NI CUALQUIER COLABORADOR, NI CUALQUIER DISTRIBUIDOR DEL DOCUMENTO O VERSIÓN MODIFICADA DEL MISMO, NI CUALQUIER PROVEEDOR DE CUALQUIERA DE DICHAS PARTES, SERÁN RESPONSABLES, ANTE NINGÚN TERCERO, DE NINGÚN DAÑO O PERJUICIO DIRECTO, INDIRECTO, ESPECIAL, INCIDENTAL O CONSIGUIENTE DE NINGÚN TIPO, INCLUIDOS, SIN LIMITACIÓN, LOS DAÑOS POR PÉRDIDA DE FONDO DE COMERCIO, INTERRUPCIÓN DEL TRABAJO, FALLO O MAL FUNCIONAMIENTO INFORMÁTICO, NI CUALQUIER OTRO DAÑO O PÉRDIDA DERIVADOS DEL USO DEL DOCUMENTO Y LAS VERSIONES MODIFICADAS DEL MISMO, O RELACIONADO CON ELLO, INCLUSO SI SE HABÍA COMUNICADO A AQUELLA PARTE LA POSIBILIDAD DE TALES DAÑOS.</para>
50                 </listitem>
51           </orderedlist></para>
52   </legalnotice>
53
54
55    <!-- This file  contains link to license for the documentation (GNU FDL), and 
56         other legal stuff such as "NO WARRANTY" statement. Please do not change 
57         any of this. -->
58
59     <authorgroup> 
60       <author role="maintainer"> 
61                 <firstname>Jim</firstname> 
62                 <surname>Evins</surname> 
63       </author> 
64       
65 <!-- This is appropriate place for other contributors: translators,
66      maintainers,  etc. Commented out by default.
67      
68       <othercredit role="translator">
69                 <firstname>Latin</firstname> 
70                 <surname>Translator 1</surname> 
71                 <affiliation> 
72                         <orgname>Latin Translation Team</orgname> 
73                         <address> <email>translator@gnome.org</email> </address> 
74                 </affiliation>
75                 <contrib>Latin translation</contrib>
76       </othercredit>
77 -->
78     </authorgroup>
79
80
81 <!-- According to GNU FDL, revision history is mandatory if you are -->
82 <!-- modifying/reusing someone else's document.  If not, you can omit it. -->
83 <!-- Remember to remove the &manrevision; entity from the revision entries other
84 -->
85 <!-- than the current revision. -->
86 <!-- The revision numbering system for GNOME manuals is as follows: -->
87 <!-- * the revision number consists of two components -->
88 <!-- * the first component of the revision number reflects the release version of the GNOME desktop. -->
89 <!-- * the second component of the revision number is a decimal unit that is incremented with each revision of the manual. -->
90 <!-- For example, if the GNOME desktop release is V2.x, the first version of the manual that -->
91 <!-- is written in that desktop timeframe is V2.0, the second version of the manual is V2.1, etc. -->
92 <!-- When the desktop release version changes to V3.x, the revision number of the manual changes -->
93 <!-- to V3.0, and so on. -->  
94     <revhistory>
95       <revision> 
96                 <revnumber>Manual de gLabels V2.2.6</revnumber> 
97                 <date>Octubre de 2009</date> 
98                 <revdescription> 
99                         <para role="author">Mario Blättermann <email>mariobl@gnome.org</email></para>
100                         <para role="publisher">Jim Evins</para>
101                 </revdescription> 
102       </revision> 
103       <revision> 
104                 <revnumber>Manual de gLabels V2.2</revnumber> 
105                 <date>Diciembre de 2007</date> 
106                 <revdescription> 
107                         <para role="author">Jim Evins <email>evins@snaught.com</email></para>
108                         <para role="publisher">Jim Evins</para>
109                 </revdescription> 
110       </revision> 
111     </revhistory> 
112
113     <releaseinfo>Este manual describe la versión 2.2.6 de <application>gLabels</application>.</releaseinfo> 
114     <legalnotice> 
115       <title>Comentarios</title> 
116       <para>To report a bug or make a suggestion regarding the <application>gLabels</application> application or
117       this manual, follow the directions in the <ulink url="http://glabels.sourceforge.net/contact/" type="http"><application>gLabels</application> Contact Page</ulink>. 
118       </para>
119 <!-- Translators may also add here feedback address for translations -->
120     </legalnotice> 
121   </articleinfo> 
122
123   <indexterm zone="index"> 
124     <primary>gLabels</primary> 
125   </indexterm> 
126   <indexterm zone="index"> 
127     <primary>glabels</primary> 
128   </indexterm>
129
130
131
132
133 <!-- ============= Document Body ============================= -->
134 <!-- ============= Introduction ============================== -->
135 <!-- Use the Introduction section to give a brief overview of what
136      the application is and what it does. -->
137   <sect1 id="glabels-introduction"> 
138     <title>Introducción</title> 
139
140     <para>The <application>gLabels</application> application is a lightweight program for creating labels
141       and business cards for the <systemitem>GNOME desktop</systemitem>
142       environment.  It is designed to work with various laser/ink-jet
143       peel-off label and business card sheets that you'll find at most
144       office supply stores.</para>
145
146   </sect1>
147
148
149
150
151 <!-- =========== Getting Started ============================== -->
152 <!-- Use the Getting Started section to describe the steps required
153      to start the application and to describe the user interface components
154      of the application. If there is other information that it is important
155      for readers to know before they start using the application, you should
156      also include this information here. 
157      If the information about how to get started is very short, you can 
158      include it in the Introduction and omit this section. -->
159
160   <sect1 id="glabels-getting-started"> 
161     <title>Inicio</title> 
162
163     <sect2 id="glabels-start">
164     <title>Para iniciar <application>gLabels</application></title>
165     <para>You can start <application>gLabels</application> in the following ways:
166     </para> 
167     <variablelist>
168         <varlistentry>
169                 <term>Menú <guimenu>Aplicaciones</guimenu></term>
170                 <listitem>
171                 <para>Choose 
172                 <menuchoice>
173                 <guisubmenu>Office</guisubmenu>
174                 <guimenuitem>gLabels</guimenuitem>
175                 </menuchoice>. </para>
176                 </listitem>
177         </varlistentry>
178         <varlistentry>
179                 <term>Línea de comandos</term>
180                 <listitem>
181                 <para>Type <command>glabels</command>,
182                 then press <keycap>Return</keycap>:</para>
183                 </listitem>
184         </varlistentry>
185     </variablelist>
186     </sect2>
187
188     <sect2 id="glabels-when-start">
189     <title>When You Start <application>gLabels</application></title>
190     <para>When you start <application>gLabels</application>, the following window is displayed.</para>
191
192     <!-- ==== Figure ==== -->
193       <figure id="mainwindow-fig"> 
194         <title>Ventana de inicio de <application>gLabels</application></title> 
195         <screenshot> 
196           <mediaobject> 
197             <imageobject><imagedata fileref="figures/main-window-empty.png" format="PNG"/> 
198             </imageobject>
199           </mediaobject> 
200         </screenshot> 
201       </figure>
202     <!-- ==== End of Figure ==== -->
203
204     <!-- Include any descriptions of the GUI immediately after the screenshot of the main UI, -->
205     <!-- for example, the items on the menubar and on the toolbar. This section is optional. -->
206
207     <para>The <application>gLabels</application> window contains the following elements:
208     </para>
209       <variablelist>
210         <varlistentry>
211         <term>Barra de menú.</term>
212         <listitem>
213             <para>The menus on the menubar contain all of the commands you
214               need to create and edit labels and business cards in 
215               <application>gLabels</application>.</para>
216         </listitem>
217         </varlistentry>
218         <varlistentry>
219         <term>Barra de herramientas principal.</term>
220         <listitem>
221             <para>The main toolbar contains a subset of common File and Edit
222               commands that you can access from the menubar.</para>
223         </listitem>
224         </varlistentry>
225         <varlistentry>
226         <term>Drawing toolbar.</term>
227         <listitem>
228             <para>The drawing toolbar contains a subset of commands for
229               editing the current <application>gLabels</application> document.</para>
230         </listitem>
231         </varlistentry>
232         <varlistentry>
233         <term>Área de visualización.</term>
234         <listitem>
235             <para>The display area is the main drawing interface to
236               <application>gLabels</application>.</para>
237         </listitem>
238         </varlistentry>
239         <varlistentry>
240         <term>Object sidebar.</term>
241         <listitem>
242             <para>The object sidebar provides an interface for viewing and
243               editing all properties of an individual object. </para>
244         </listitem>
245         </varlistentry>
246         <varlistentry>
247         <term>Barra de herramientas de propiedades.</term>
248         <listitem>
249             <para>The properties toolbar contains a set of tools to
250               manipulate the properties of selected objects and set default
251               properties for new objects.</para>
252         </listitem>
253         </varlistentry>
254         <varlistentry>
255         <term>Barra de estado.</term>
256         <listitem>
257             <para>The statusbar displays information about current
258               <application>gLabels</application> activity and contextual
259               information about the menu items. </para>
260         </listitem>
261         </varlistentry>
262         </variablelist>
263     </sect2>
264   </sect1>
265
266
267
268
269 <!-- ================ Usage ================================ -->
270 <!-- Use this section to describe how to use the application to perform the tasks for 
271   which the application is designed. -->
272   <sect1 id="glabels-usage"> 
273     <title>Uso</title> 
274
275 <!-- ============= To create a new file ============================= -->
276     <sect2 id="glabels-open-new"> 
277       <title>To Create a New Label or Card</title>
278
279       <para>To create a new label or business card, choose 
280         <menuchoice> <guimenu>File</guimenu> <guimenuitem>New</guimenuitem>
281         </menuchoice>
282         to display the <guilabel>New Label or Card</guilabel> dialog. Select
283         the media type and orientation for the new document,
284         then click <guibutton>OK</guibutton>. A new document is
285         displayed in the display area of the <application>gLabels</application>
286         window. </para>
287
288       <para>If your particular media type is missing from this dialog,
289         see <xref linkend="glabels-create-template"/></para>
290
291     </sect2>
292
293 <!-- ============= To Open a File ============================= -->
294     <sect2 id="glabels-open-file"> 
295       <title>Abrir un archivo</title>
296
297       <para>To open a file, choose 
298         <menuchoice> <guimenu>File</guimenu> <guimenuitem>Open</guimenuitem>
299         </menuchoice> to display the <guilabel>Open File</guilabel> dialog.
300         Select the file that you want to open, then click
301         <guibutton>OK</guibutton>. The file is displayed in the display area
302         of the <application>gLabels</application> window. </para>
303
304       <para>You can also open multiple files in
305         <application>gLabels</application>. The application creates a separate
306         application window for each open file.</para>
307
308       <para>The application records the paths and filenames of the
309         most recent files that you have edited and displays the files as menu
310         items on the <menuchoice>
311         <guimenu>File</guimenu><guisubmenu>Recent Files</guisubmenu>
312         </menuchoice> menu.</para>
313
314     </sect2>
315
316 <!-- ============= To Open Multiple Files from the Command Line ========= -->
317     <sect2 id="glabels-run-from-cmd-line"> 
318       <title>To Open Multiple Files from a Command Line</title>
319
320       <para>You can run <application>gLabels</application> from a command line
321         and open a single file or multiple files. To open multiple files from
322         a command line, type the following command, then press
323         <keycap>Return</keycap>:</para>
324
325       <para><command>glabels
326       <replaceable>file1.glabels file2.glabels file3.glabels</replaceable>
327       </command></para>
328
329       <para>When the application starts, the files that you specify are
330         displayed in separate <application>gLabels</application> windows.</para>
331
332     </sect2>
333
334 <!-- ============= To Save a File ========= -->
335     <sect2 id="glabels-save-file"> 
336       <title>Guardar un archivo</title>
337
338       <para>Puede guardar archivos de cualquiera de estas maneras:</para>
339
340       <itemizedlist> 
341         <listitem>
342
343           <para>Para guardar los cambios a un archivo existente, elija <menuchoice><guimenu>Archivo</guimenu><guimenuitem>Guardar</guimenuitem></menuchoice>.</para>
344
345         </listitem>
346         <listitem>
347
348           <para>To save a new file or to save an existing file under a new
349             filename, choose <menuchoice> <guimenu>File</guimenu>
350             <guimenuitem>Save As</guimenuitem> </menuchoice>. Enter a name
351             for the file in the <guilabel>Save As</guilabel> dialog box,
352             then click <guibutton>OK</guibutton>.</para>
353
354         </listitem>
355       </itemizedlist>
356
357     </sect2>
358
359 <!-- ============= To Change Label Properties ========= -->
360     <sect2 id="glabels-label-properties"> 
361       <title>Cambiar las propiedades de una etiqueta</title>
362
363       <para>To change the media type and/or orientation of a label, choose
364         <menuchoice> <guimenu>File</guimenu>
365         <guimenuitem>Properties</guimenuitem> </menuchoice> to display the
366         <guilabel>Label properties</guilabel> dialog.  Select the
367         new media type and orientation for the document, then click
368         <guibutton>OK</guibutton>.</para>
369
370     </sect2>
371
372 <!-- ============= To create a custom template ======================= -->
373     <sect2 id="glabels-create-template"> 
374       <title>To Create a Custom Template</title>
375
376       <para>To create a new custom template, choose 
377         <menuchoice> <guimenu>File</guimenu>
378         <guimenuitem>Template Designer ...</guimenuitem> </menuchoice>
379         to display the <guilabel>Template Designer</guilabel> dialog.
380         This dialog will assist you in creating a custom template for
381         most types of label or card stationery that you may encounter.</para>
382
383       <para>If you prefer, you can create your templates manually.
384         For this option see <xref linkend="glabels-manual-create-template"/>
385       </para>
386
387     </sect2>
388
389 <!-- ============= To Close a File ========= -->
390     <sect2 id="glabels-close-file"> 
391       <title>Cerrar un archivo</title>
392
393       <para>To close the current document, choose
394         <menuchoice> <guimenu>File</guimenu>
395         <guimenuitem>Close</guimenuitem> </menuchoice> to close the application
396         window.  If the current document is modified, a confirmation dialog
397         will be presented, allowing you to save the document or cancel
398         the command.  If the window being closed is the only open window,
399         <application>gLabels</application> will exit.</para>
400
401     </sect2>
402
403 <!-- ============= To Quit ========= -->
404     <sect2 id="glabels-quit"> 
405       <title>To Quit <application>gLabels</application></title>
406
407       <para>To quit <application>gLabels</application>, choose
408         <menuchoice> <guimenu>File</guimenu>
409         <guimenuitem>Quit</guimenuitem> </menuchoice>. This is equivalent
410         to closing all open windows.  See
411         <xref linkend="glabels-close-file"/>.</para>
412
413     </sect2>
414
415 <!-- ============= To Print Labels and Cards ========= -->
416     <sect2 id="glabels-print-file"> 
417       <title>To Print Labels or Cards</title>
418
419       <para>To print labels or cards, choose
420         <menuchoice> <guimenu>File</guimenu> <guimenuitem>Print</guimenuitem>
421         </menuchoice> to display the <guilabel>Print</guilabel> dialog.
422         Once print options have been selected, click <guilabel>Print</guilabel>
423         to print the labels or cards.  To simply preview the results,
424         click <guilabel>Print Preview</guilabel> instead.</para>
425
426       <para>The <guilabel>Print</guilabel> dialog allows you to specify the
427         following print options:</para>
428                 
429       <sect3 id="print-dialog-job">
430         <title>The Labels Tab of the Print Dialog</title>
431
432         <variablelist>
433
434           <varlistentry>
435             <term><guilabel>Print control (Simple)</guilabel></term>
436             <listitem> 
437
438               <para>For simple labels or cards (no document merge), the <guilabel>labels</guilabel>
439                 tabbed section contains the following copy controls.</para>
440
441               <!-- ==== Figure ==== -->
442               <figure id="print-copies-fig"> 
443                 <title>Print Copy Controls</title> 
444                 <screenshot> 
445                   <mediaobject> 
446                     <imageobject><imagedata fileref="figures/print-copies.png" format="PNG"/> 
447                     </imageobject>
448                   </mediaobject> 
449                 </screenshot> 
450               </figure>
451               <!-- ==== End of Figure ==== -->
452
453               <para>The number of copies of the label can be selected by
454                 choosing the number of full sheets to print, or a specific
455                 subset of labels on a single sheet.</para>
456
457               <para>The mini-preview can also be used to graphically select
458                 the subset of labels by clicking the first label on the
459                 mini-preview and dragging to the last label.</para>
460
461             </listitem>
462           </varlistentry>
463
464           <varlistentry>
465             <term><guilabel>Print control (Merge)</guilabel></term>
466             <listitem> 
467
468               <para>For labels or cards using the document merge (also known
469                 as "mail merge") capability, the <guilabel>labels</guilabel> tabbed section contains
470                 the following merge controls instead of copy controls.</para>
471
472               <!-- ==== Figure ==== -->
473               <figure id="print-merge-fig"> 
474                 <title>Print Document Merge Controls</title> 
475                 <screenshot> 
476                   <mediaobject> 
477                     <imageobject><imagedata fileref="figures/print-merge.png" format="PNG"/> 
478                     </imageobject>
479                   </mediaobject> 
480                 </screenshot> 
481               </figure>
482               <!-- ==== End of Figure ==== -->
483
484               <para>The total number of labels or cards printed is the
485                 product of the number of records in the merge source and
486                 the number of copies selected.  If multiple copies are
487                 selected, these can be either collated (copies of the
488                 same record grouped together) or un-collated (one copy
489                 each record is printed before next copy).</para>
490
491               <para>Printing can begin on any label on the first sheet.
492                 This can be selected with the <guilabel>Start on
493                 label</guilabel> spinbutton.</para>
494
495               <para>The mini-preview can also be used to graphically select
496                 this first label, by clicking on the desired label in the
497                 mini-preview.</para>
498
499             </listitem>
500           </varlistentry>
501
502           <varlistentry> <term><guilabel>Opciones</guilabel> </term> 
503             <listitem> 
504               <para>The following options can also be selected.</para>
505               <itemizedlist>
506                 <listitem>
507                   <para><guilabel>print outlines</guilabel></para>
508                   <para>Print outlines of labels.  This option is useful for
509                     dry-runs, to test printer alignment.</para>
510                 </listitem>
511                 <listitem>
512                   <para><guilabel>print in reverse</guilabel></para>
513                   <para>Prints the labels as mirror images.  This option is
514                     useful for printing on clear labels that will be viewed
515                     from the reverse side (e.g. in a car window).</para>
516                 </listitem>
517                 <listitem>
518                   <para><guilabel>print crop marks</guilabel></para>
519                   <para>Prints crop marks along the edge of the sheet.
520                     This option is useful for printing on blank stock, to
521                     be cut after printing.  This option does not work well
522                     with all templates.</para>
523                 </listitem>
524               </itemizedlist>
525             </listitem>
526           </varlistentry>
527         </variablelist>
528       </sect3>
529                 
530     </sect2>
531
532 <!-- ============= To Create New Objects ========= -->
533     <sect2 id="glabels-new-objects"> 
534       <title>To Create New Objects</title>
535
536       <para>Objects are created by choosing the appropriate selection under
537         the <menuchoice> <guimenu>Objects</guimenu>
538         <guimenuitem>Create Object</guimenuitem> </menuchoice> submenu or
539         the <guilabel>Drawing Toolbar</guilabel>.  This will place the
540         display area into object creation mode as indicated by its cursor.
541         To return to the default object selection mode without creating
542         an object, choose <menuchoice> <guimenu>Objects</guimenu>
543         <guimenuitem>Select Mode</guimenuitem> </menuchoice>.  This will
544         return the display area's cursor to the default selection arrow.</para>
545
546       <para>The following describes the object creation mode for each object
547         type:</para>
548
549       <variablelist>
550
551         <varlistentry>
552           <term>Texto</term>
553           <listitem>
554             <para>Click the desired location of the upper left corner of the
555               text object.  New text objects are initialized with the
556               string "Text."  To change this text, or other properties, see
557               <xref linkend="glabels-object-properties"/>.</para>
558           </listitem>
559         </varlistentry>
560
561         <varlistentry>
562           <term>Caja</term>
563           <listitem>
564             <para>Click the desired location of the upper left corner of the
565               box object and drag to the desired location of the lower right
566               corner.  If you simply click in a single location, a square
567               box will be created. To change properties of the box object, see
568               <xref linkend="glabels-object-properties"/>.</para>
569           </listitem>
570         </varlistentry>
571
572         <varlistentry>
573           <term>Línea</term>
574           <listitem>
575             <para>Click the desired location of one end of the
576               line object and drag to the desired location of the other end.
577               If you simply click in a single location, a diagonal line
578               will be created. To change properties of the line object, see
579               <xref linkend="glabels-object-properties"/>.</para>
580           </listitem>
581         </varlistentry>
582
583         <varlistentry>
584           <term>Elipse</term>
585           <listitem>
586             <para>Click the desired location of the upper left corner of the
587               ellipse object and drag to the desired location of the lower
588               right corner.  If you simply click in a single location, a circle
589               will be created. To change properties of the ellipse object, see
590               <xref linkend="glabels-object-properties"/>.</para>
591           </listitem>
592         </varlistentry>
593
594         <varlistentry>
595           <term>Imagen</term>
596           <listitem>
597             <para>Click the desired location of the upper left corner of the
598               image object and drag to the desired location of the lower
599               right corner.  If you simply click in a single location, a square
600               will be created.  New image objects are initialized with a
601               simple checkerboard image.  To change this image, or other
602               properties of the image object, see
603               <xref linkend="glabels-object-properties"/>.</para>
604           </listitem>
605         </varlistentry>
606
607         <varlistentry>
608           <term>Barcode</term>
609           <listitem>
610             <para>Click the desired location of the upper left corner of the
611               barcode object.  New barcode objects are initialized to a
612               POSTNET barcode with representative data.  To change data
613               and properties of the barcode object, see
614               <xref linkend="glabels-object-properties"/>.</para>
615           </listitem>
616         </varlistentry>
617
618       </variablelist>
619
620
621     </sect2>
622
623 <!-- ============= To Select Objects ========= -->
624     <sect2 id="glabels-select-objects"> 
625       <title>To Select Objects</title>
626
627       <para>A prerequisite for performing operations on objects is the
628         selection of individual objects or groups of objects.  The
629         display area must be in the object selection mode to create new
630         selections, as indicated by an arrow cursor.  The object
631         selection mode is selected by the
632         <menuchoice> <guimenu>Objects</guimenu>
633         <guimenuitem>Select Mode</guimenuitem> </menuchoice> menu item,
634         or the corresponding command on the <guilabel>Drawing
635         Toolbar</guilabel>.</para>
636
637       <variablelist>
638
639         <varlistentry>
640           <term>Selecting a single object</term>
641           <listitem>
642             <para>A single object can be selected simply by clicking
643              on the desired object in the display area.
644              Once selected the object will be highlighted with a set of
645              resizing handles.</para>
646           </listitem>
647         </varlistentry>
648
649         <varlistentry>
650           <term>Aggregate object selections</term>
651           <listitem>
652             <para>Multiple objects can be selected by first selecting the first
653               object as above and then by holding the <keycap>Ctrl</keycap>
654               key while selecting additional objects.
655               Individual objects can be added to an existing selection
656               at any time by holding the <keycap>Ctrl</keycap> key while
657               selecting the desired objects.  All objects can also be
658               selected by using the <menuchoice> <guimenu>Edit</guimenu>
659               <guimenuitem>Select All</guimenuitem> </menuchoice>
660               menu item.  All objects in an aggregate object selection will be
661               highlighted.</para>
662           </listitem>
663         </varlistentry>
664
665         <varlistentry>
666           <term>Area selections</term>
667           <listitem>
668             <para>Multiple objects can also be selected by clicking an empty
669               area and dragging to form a rectangular area.  When released,
670               all objects contained in the area will form an aggregate
671               selection.  An area selection can be used to add to an existing
672               selection by holding the <keycap>Ctrl</keycap> key while
673               performing the selection.</para>
674           </listitem>
675         </varlistentry>
676
677         <varlistentry>
678           <term>Unselecting objects</term>
679           <listitem>
680             <para>Individual objects can be removed from an existing
681               selection by holding the <keycap>Ctrl</keycap> key while
682               clicking on a previously selected object.  An entire selection
683               can be dismissed by using the <menuchoice>
684               <guimenu>Edit</guimenu> <guimenuitem>Un-select All</guimenuitem>
685               </menuchoice> menu item
686               or by simply clicking any empty space in the display area.
687               Once an object is unselected its highlight is removed.</para>
688           </listitem>
689         </varlistentry>
690
691       </variablelist>
692
693     </sect2>
694
695 <!-- ============= Clipboard Commands ========= -->
696     <sect2 id="glabels-clipboard"> 
697       <title>Clipboard Commands</title>
698
699       <para>Object selections can be manipulated using the standard clipboard
700         operations <guimenuitem>Cut</guimenuitem>,
701         <guimenuitem>Copy</guimenuitem>, <guimenuitem>Paste</guimenuitem>,
702         and <guimenuitem>Delete</guimenuitem>.</para>
703
704       <variablelist>
705
706         <varlistentry>
707           <term>
708             <menuchoice>
709               <shortcut>
710                 <keycombo><keycap>Ctrl</keycap><keycap>X</keycap></keycombo>
711               </shortcut>
712               <guimenuitem>Cortar</guimenuitem>
713             </menuchoice>
714           </term>
715           <listitem>
716             <para>Moves selected objects to the clipboard.  The objects are
717               then available for pasting back into the current document or
718               another document.</para>
719           </listitem>
720         </varlistentry>
721
722         <varlistentry>
723           <term>
724             <menuchoice>
725               <shortcut>
726                 <keycombo><keycap>Ctrl</keycap><keycap>C</keycap></keycombo>
727               </shortcut>
728               <guimenuitem>Copiar</guimenuitem>
729             </menuchoice>
730           </term>
731           <listitem>
732             <para>Copies selected objects to the clipboard without deleting
733               them.  The objects are then available for pasting back into
734               the current document or another document.</para>
735           </listitem>
736         </varlistentry>
737
738         <varlistentry>
739           <term>
740             <menuchoice>
741               <shortcut>
742                 <keycombo><keycap>Ctrl</keycap><keycap>V</keycap></keycombo>
743               </shortcut>
744               <guimenuitem>Pegar</guimenuitem>
745             </menuchoice>
746           </term>
747           <listitem>
748             <para>Pastes objects from the clipboard into the current document.
749               <application>gLabels</application> can only paste objects from
750               another <application>gLabels</application> document.</para>
751           </listitem>
752         </varlistentry>
753
754         <varlistentry>
755           <term>
756             <menuchoice>
757               <shortcut>
758                 <keycap>Borrar</keycap>
759               </shortcut>
760               <guimenuitem>Borrar</guimenuitem>
761             </menuchoice>
762           </term>
763           <listitem>
764             <para>Deletes selected objects without placing them on the
765               clipboard.</para>
766           </listitem>
767         </varlistentry>
768
769       </variablelist>
770
771     </sect2>
772
773 <!-- ============= To Edit object Properties ========= -->
774     <sect2 id="glabels-object-properties"> 
775       <title>To Edit Object Properties</title>
776
777       <para>Most object properties can be modified through the object
778         editor sidebar, illustrated below.  To use the object editor,
779         a single object must first be selected.  See
780         <xref linkend="glabels-select-objects"/>.</para>
781
782       <!-- ==== Figure ==== -->
783       <figure id="object-editor-sidebar-fig"> 
784         <title>Object Editor Sidebar</title> 
785         <screenshot> 
786           <mediaobject> 
787             <imageobject><imagedata fileref="figures/object-editor-sidebar.png" format="PNG"/> 
788             </imageobject>
789           </mediaobject> 
790         </screenshot> 
791       </figure>
792       <!-- ==== End of Figure ==== -->
793
794       <para>The object editor will contain a subset of the following
795         tabbed sections, depending on object type:</para>
796
797       <sect3 id="object-editor-text">
798         <title>Text Tabbed Section (Text objects)</title>
799
800         <para>This section contains a small editor for changing the content
801           of a text object.  It also contains a dropdown menu of available
802           document merge keys, that can be inserted into text.</para>
803
804       </sect3>
805
806       <sect3 id="object-editor-image">
807         <title>Image Tabbed Section (Image objecs)</title>
808
809         <para>This section contains a file entry with preview to select
810           image files.  The browse button can be used to easily locate
811           image files.  Alternatively, a document merge key can be used
812           instead to provide a filename at print time.</para>
813
814       </sect3>
815
816       <sect3 id="object-editor-data">
817         <title>Data Tabbed Section (Barcode objecs)</title>
818
819         <para>This section contains a text entry to enter literal barcode
820           data. Alternatively, a document merge key can be used to
821           provide this data at print time.</para>
822
823       </sect3>
824
825       <sect3 id="object-editor-style">
826         <title>Style Tabbed Section (Text objects)</title>
827
828         <para>This section contains controls to select text properties,
829           including font family, font size, font weight, color, and
830           text justification.</para>
831
832       </sect3>
833
834       <sect3 id="object-editor-barcode">
835         <title>Style Tabbed Section (Barcode objecs)</title>
836
837         <para>This section contains controls to select barcode properties,
838           including barcode style, color, whether to print text, and whether
839           to include a checksum digit.</para>
840
841       </sect3>
842
843       <sect3 id="object-editor-line">
844         <title>Line Tabbed Section</title>
845
846         <para>This section contains controls to select properties of lines
847           and outlines.  These properties include line width and color.</para>
848
849       </sect3>
850
851       <sect3 id="object-editor-fill">
852         <title>Fill Tabbed Section</title>
853
854         <para>This section contains controls to select fill properties of box
855           and ellipse objects.  Currently the only fill property is fill
856           color.</para>
857
858       </sect3>
859
860       <sect3 id="object-editor-size">
861         <title>Size Tabbed Section (All except line objects)</title>
862
863         <para>This section contains controls to select the width and height
864           of an object.  A checkbox is provided, so that the current aspect
865           ratio can be locked while manipulating the width and height controls.
866           Image objects also provide a button to reset the size to the
867           image's natural size (Assumes 72DPI).</para>
868
869       </sect3>
870
871       <sect3 id="object-editor-size-line">
872         <title>Size Tabbed Section (Line objects)</title>
873
874         <para>This section contains controls to select the length and angle
875           of a line object.</para>
876
877       </sect3>
878
879       <sect3 id="object-editor-position">
880         <title>Position Tabbed Section</title>
881
882         <para>This section contains controls to change the position of an
883           object.</para>
884
885       </sect3>
886
887
888       <sect3 id="object-editor-shadow">
889         <title>Shadow Tabbed Section (All except image and barcode objects)</title>
890
891         <para>This section contains controls to add a shadow to an object.</para>
892
893       </sect3>
894
895
896     </sect2>
897
898 <!-- ============= Other Manipulations of Objects ========= -->
899     <sect2 id="glabels-object-manipulation"> 
900       <title>Other Manipulations of Objects</title>
901
902       <para>Objects can also be manipulated in the following ways.</para>
903
904       <sect3 id="other-moving-resizing">
905         <title>Moving and Resizing Objects</title>
906
907         <para>Objects can be moved by simply clicking on a selected
908           object and dragging the object to its new location.  If the object
909           is part of an aggregate selection, all objects in the selection
910           will move with the object being dragged, maintaining their relative
911           positions to one another.  If no object is selected, clicking on
912           an object will create a new selection containing that object.
913           See <xref linkend="glabels-select-objects"/>.</para>
914
915         <para>A selected object can be resized by clicking one of its resize
916           handle and dragging it to obtain the new size.</para>
917
918       </sect3>
919
920       <sect3 id="other-stacking-order">
921         <title>Changing Stacking Order</title>
922
923         <para>Stacking order refers to relative position in the z-axis of
924           objects.  That is when objects overlap, which object will appear
925           on top of the other.  By default, newer objects will appear above
926           older objects.  To change this order, select one or more objects
927           and choose <menuchoice> <guimenu>Objects</guimenu>
928           <guimenuitem>Order</guimenuitem>
929           <guimenuitem>Bring to Front</guimenuitem> </menuchoice>
930           to raise the selection to the top of the stacking
931           order, or choose <menuchoice> <guimenu>Objects</guimenu>
932           <guimenuitem>Order</guimenuitem>
933           <guimenuitem>Send to Back</guimenuitem> </menuchoice>
934           to lower the selection to the bottom of the
935           stacking order.  These menuitems are also available by right-clicking
936           the display area when there is a non-empty selection.</para>
937
938       </sect3>
939
940       <sect3 id="other-rotating-flipping">
941         <title>Rotating and Flipping Objects</title>
942
943         <para>Objects can be rotated 90 degrees in either direction, or flipped
944           horizontally or vertically, by choosing the appropriate menuitem
945           in the  <menuchoice> <guimenu>Objects</guimenu>
946           <guimenuitem>Rotate/Flip</guimenuitem> </menuchoice> sub-menu.  These
947           menuitems are also available by right-clicking
948           the display area when there is a non-empty selection.</para>
949
950       </sect3>
951
952       <sect3 id="other-alignment">
953         <title>Aligning Objects</title>
954
955         <para>Objects can be aligned horizontally or vertically, relative to
956           one another, or relative to the center line of the label, by
957           choosing the appropriate menuitem from the  <menuchoice>
958           <guimenu>Objects</guimenu>
959           <guimenuitem>Align Horizontal</guimenuitem>
960           </menuchoice> or  <menuchoice> <guimenu>Objects</guimenu>
961           <guimenuitem>Align Horizontal</guimenuitem> </menuchoice> sub-menus.
962           These menuitems are also available by right-clicking
963           the display area when there is a non-empty selection.</para>
964
965       </sect3>
966
967       <sect3 id="other-property-bar">
968         <title>Using the Property Bar</title>
969
970         <para>The property bar can be used to change some common properties
971           of objects en-masse.  These properties include font family, font
972           size, font weight, text alignment, text color, fill color, line
973           or outline color, and line width.  The property bar also controls
974           the defaults for these properties for any newly created objects.
975           </para>
976
977       </sect3>
978
979
980
981     </sect2>
982
983 <!-- ============= Document Merge Features ========= -->
984     <sect2 id="glabels-merge"> 
985       <title>Performing a Document Merge</title>
986
987       <para>Document Merge (sometimes called "Mail Merge") is a powerful
988         feature that allows a unique label or card to be printed for each
989         record in an external data source.</para>
990
991       <para>The first step to performing a document merge is to prepare
992         a source document that contains your merge data.  This data could
993         be mailing addresses or any other data that you wish to create
994         unique labels or cards for.  Currently back-ends only exist for
995         text files and the evolution data server -- others are planned.  The currently
996         supported text-file format is very simple:  each line is a record;
997         fields are delimited by commas (CSV), tabs, or colons; and newlines
998         can be embedded into fields by using the "\n" entity.  This file
999         could be created using any text editor or could be created by
1000         another program or script.  A common way of creating CSV files is
1001         to export them from a spreadsheet program.</para>
1002
1003       <para>A label must then be configured to "point at" this data file.
1004         To configure the merge properties of a document, choose
1005         <menuchoice> <guimenu>Objects</guimenu>
1006         <guimenuitem>Merge Properties</guimenuitem> </menuchoice> menu item
1007         to display the <guilabel>merge properties</guilabel> dialog.  This
1008         dialog is used to select the exact data file format and file
1009         name (location) of the merge data.</para>
1010
1011       <para>Finally, once the label has been configured for a data file,
1012         field keys can be inserted into text objects and used as source
1013         or data for barcode objects and image filenames for image objects.
1014         See <xref linkend="glabels-object-properties"/> for more information
1015         on using merge data for these object types.</para>
1016
1017       <para>Now that your label is configured, <application>gLabels</application> will print a unique
1018         label for each record in your source document -- substituting fields
1019         from each record for field keys in the all text, barcode, and
1020         image objects.</para>
1021
1022       <para>See <xref linkend="glabels-merge-tutorial"/> for a detailed
1023         tutorial on the document merge feature.</para>
1024
1025
1026     </sect2>
1027
1028
1029   </sect1>
1030
1031
1032
1033
1034   <!-- ============= Customization ============================= -->
1035   <!-- Use this section to describe how to customize the application. -->
1036   <sect1 id="glabels-prefs"> 
1037     <title>Configuración</title> 
1038     <para>To configure <application>gLabels</application>, choose 
1039       <menuchoice> 
1040         <guimenu>Settings</guimenu> 
1041         <guimenuitem>Preferences</guimenuitem> 
1042       </menuchoice>. The 
1043       <guilabel>Preferences</guilabel> dialog contains the following tabbed
1044       sections:</para> 
1045     <itemizedlist> 
1046       <listitem> 
1047         <para> 
1048           <xref linkend="glabels-prefs-locale"/></para> 
1049       </listitem> 
1050       <listitem> 
1051         <para> 
1052           <xref linkend="glabels-prefs-object-defaults"/></para> 
1053       </listitem> 
1054     </itemizedlist>
1055 <!-- =============== Customization Subsection ================ -->
1056 <!-- Use a new section to describe different tabbed sections on the Settings or Preferences
1057              dialog. -->
1058     <sect2 id="glabels-prefs-locale"> 
1059       <title>Región</title> 
1060       <variablelist> 
1061         <varlistentry> 
1062           <term> 
1063             <guilabel>Unidades</guilabel> </term> 
1064           <listitem> 
1065             <para>Use this radio button group to specify your preferred units.
1066               Select one of the following options:</para>
1067             <itemizedlist> 
1068               <listitem> 
1069                 <para> 
1070                   <guilabel>Puntos</guilabel> </para> 
1071                 <para>Use points (1 point = 1/72 in = 0.352778 mm).</para> 
1072               </listitem> 
1073               <listitem> 
1074                 <para> 
1075                   <guilabel>Pulgadas</guilabel> </para> 
1076                 <para>Use inches.</para>
1077               </listitem> 
1078               <listitem> 
1079                 <para> 
1080                   <guilabel>Milímetros</guilabel> </para> 
1081                 <para>Use millimeters.</para>
1082               </listitem> 
1083             </itemizedlist> 
1084             <para>Default: 
1085               <guilabel>Inches</guilabel>.</para> 
1086           </listitem> 
1087         </varlistentry> 
1088         <varlistentry> 
1089           <term> 
1090             <guilabel>Default page size</guilabel> </term> 
1091           <listitem> 
1092             <para>Use this radio button group to specify your preferred page size.
1093               This will make it quicker for you to locate media types when creating a new
1094               label or card.</para>
1095             <itemizedlist> 
1096               <listitem> 
1097                 <para> 
1098                   <guilabel>US Letter</guilabel> </para> 
1099                 <para>Most of your media will be of the US Letter page size (8.5 x 11 inches).</para> 
1100               </listitem> 
1101               <listitem> 
1102                 <para> 
1103                   <guilabel>ISO A4</guilabel> </para> 
1104                 <para>Most of your media will be of the ISO A4 page size (210 x 297 mm).</para>
1105               </listitem> 
1106             </itemizedlist> 
1107             <para>Default: 
1108               <guilabel>US Letter</guilabel>.</para> 
1109           </listitem> 
1110         </varlistentry> 
1111       </variablelist> 
1112     </sect2>
1113     <!-- ============= Customization Subsection ===================== -->
1114     <!-- Another tabbed section on the Preferences dialog. -->
1115     <sect2 id="glabels-prefs-object-defaults"> 
1116       <title>Opciones predeterminadas para el objeto</title> 
1117       <variablelist> 
1118         <varlistentry> 
1119           <term> 
1120             <guilabel>Texto</guilabel> </term> 
1121           <listitem> 
1122             <para>Use these controls to set the default properties of new text objects.
1123               These properties are</para>
1124             <itemizedlist> 
1125               <listitem> 
1126                 <para> 
1127                   <guilabel>Tipografía</guilabel> </para> 
1128                 <para>These controls are used to select font family and font size, and
1129                   whether the font should bold or in italics.</para> 
1130               </listitem> 
1131               <listitem> 
1132                 <para> 
1133                   <guilabel>Color</guilabel> </para> 
1134                 <para>This control selects the default text color.</para>
1135               </listitem> 
1136               <listitem> 
1137                 <para> 
1138                   <guilabel>Alineación</guilabel> </para> 
1139                 <para>These controls are used to select the default text alignment (left, center or right).</para>
1140               </listitem> 
1141             </itemizedlist> 
1142           </listitem> 
1143         </varlistentry> 
1144         <varlistentry> 
1145           <term> 
1146             <guilabel>Línea</guilabel> </term> 
1147           <listitem> 
1148             <para>Use these controls to set the default properties of lines and outlines of
1149               new objects.  These properties are</para>
1150             <itemizedlist> 
1151               <listitem> 
1152                 <para> 
1153                   <guilabel>Anchura</guilabel> </para> 
1154                 <para>This control selects the default line width.</para>
1155               </listitem> 
1156               <listitem> 
1157                 <para> 
1158                   <guilabel>Color</guilabel> </para> 
1159                 <para>This control selects the default line color.</para>
1160               </listitem> 
1161             </itemizedlist> 
1162           </listitem> 
1163         </varlistentry> 
1164         <varlistentry> 
1165           <term> 
1166             <guilabel>Relleno</guilabel> </term> 
1167           <listitem> 
1168             <para>Use these controls to set the default fill properties of
1169               new objects.  These properties are</para>
1170             <itemizedlist> 
1171               <listitem> 
1172                 <para> 
1173                   <guilabel>Color</guilabel> </para> 
1174                 <para>This control selects the default fill color.</para>
1175               </listitem> 
1176             </itemizedlist> 
1177           </listitem> 
1178         </varlistentry> 
1179       </variablelist> 
1180     </sect2> 
1181   </sect1>
1182
1183
1184
1185
1186 <!-- ============= Document Merge Tutorial ================================== -->
1187   <sect1 id="glabels-merge-tutorial"> 
1188     <title>Document Merge Tutorial</title>
1189
1190     <para>Document Merge (sometimes called "Mail Merge") is a powerful
1191       feature that allows a unique label or card to be printed for each
1192       record in an external data source.  It is however, the most mis-understood
1193       feature of <application>gLabels</application>.  The following examples
1194       will step through a couple of common tasks using the document merge
1195       feature.</para>
1196
1197     <sect2 id="merge-ex1">
1198       <title>Example 1: Name Tags Using a CSV File</title>
1199   
1200       <para>In this example we are organizing an orientation party for the new
1201         crew members of our ship.  We have a list of freshman crew members that we
1202         created in <application>gnumeric</application> and exported as the following
1203         CSV file.  We could have created this file by using a text editor, but heck it
1204         is the 23rd century.</para>
1205
1206       <programlisting>
1207 Name,Department,SN
1208 "Jim Kirk",Management,"SC937-0176 CEC"
1209 "Mr. Spock",Sciences,S179-276SP
1210 "Leonard McCoy",Medicine,unknown
1211 "Montgomery Scott",Engineering,SE-197-54T
1212       </programlisting>
1213
1214       <para>In <application>gLabels</application> we have created a new <application>gLabels</application>
1215         document using the Avery 5395 "Name Badge Labels" template.  Next we use the
1216         <menuchoice> <guimenu>Objects</guimenu>
1217         <guimenuitem>Merge Properties</guimenuitem> </menuchoice> menu item to display
1218         the <guilabel>merge properties</guilabel> dialog.  We use this dialog to
1219         select the source type (in our case CSV) and the merge source (filename) as
1220         shown.</para>
1221
1222       <!-- ==== Figure ==== -->
1223       <figure id="merge-ex1-1-fig"> 
1224         <title>Merge properties dialog</title> 
1225         <screenshot> 
1226           <mediaobject> 
1227             <imageobject><imagedata fileref="figures/merge-ex1-1.png" format="PNG"/> 
1228             </imageobject>
1229           </mediaobject> 
1230         </screenshot> 
1231       </figure>
1232       <!-- ==== End of Figure ==== -->
1233
1234       <para>Before applying the merge source, we uncheck the first record since it is only
1235         column headers from our original <application>gnumeric</application> spreadsheet
1236         and would simply waste our first label.  We could also unselect any other records
1237         that we didn't want to print a label for.</para>
1238
1239       <para>We can also view each record in more detail by clicking on the appropriate
1240         expander (the little triangles) as shown.  Once we are satisfied with the
1241         selections in this dialog we click <guibutton>OK</guibutton> to accept the
1242         changes.</para>
1243
1244       <para>Now we start adding objects to our <application>gLabels</application> document as shown.</para>
1245
1246       <!-- ==== Figure ==== -->
1247       <figure id="merge-ex1-2-fig"> 
1248         <title>Adding objects</title> 
1249         <screenshot> 
1250           <mediaobject> 
1251             <imageobject><imagedata fileref="figures/merge-ex1-2.png" format="PNG"/> 
1252             </imageobject>
1253           </mediaobject> 
1254         </screenshot> 
1255       </figure>
1256       <!-- ==== End of Figure ==== -->
1257
1258       <para>In this example we have added three text objects and a barcode object.  The
1259         first text object contains only simple literal text ("Hello, my name is").  The
1260         second text object contains a single merge field ("${1}") corresponding to the
1261         first field of a record (first column of a line) which contains the new crew
1262         member's full name.  The third text field contains both literal text
1263         ("Department: ") followed by a single merge field ("${2}") corresponding to
1264         the second field or the crew member's department.  The barcode object is
1265         configured to use field (or key) "3" which contains our crew member's
1266         starfleet serial number.</para>
1267
1268       <para>Now we can print our name tags by selecting the
1269         <menuchoice> <guimenu>File</guimenu>
1270         <guimenuitem>Print</guimenuitem> </menuchoice> menu item.  This will display
1271         print dialog as shown below.</para>
1272
1273       <!-- ==== Figure ==== -->
1274       <figure id="merge-ex1-3-fig"> 
1275         <title>Printing name tags</title> 
1276         <screenshot> 
1277           <mediaobject> 
1278             <imageobject><imagedata fileref="figures/merge-ex1-3.png" format="PNG"/> 
1279             </imageobject>
1280           </mediaobject> 
1281         </screenshot> 
1282       </figure>
1283       <!-- ==== End of Figure ==== -->
1284
1285       <para>Just to make sure our labels are going to look okay, we select the
1286         <guilabel>Print outlines</guilabel> option and click
1287         <guibutton>Print Preview</guibutton>.  This will display a print preview dialog
1288         as shown below.</para>
1289
1290       <!-- ==== Figure ==== -->
1291       <figure id="merge-ex1-4-fig"> 
1292         <title>Name tags preview</title> 
1293         <screenshot> 
1294           <mediaobject> 
1295             <imageobject><imagedata fileref="figures/merge-ex1-4.png" format="PNG"/> 
1296             </imageobject>
1297           </mediaobject> 
1298         </screenshot> 
1299       </figure>
1300       <!-- ==== End of Figure ==== -->
1301
1302       <para>Everything looks good, so we can now load up our printer with
1303         the appropriate label stock, print our name tags and start beaming our guests
1304         aboard.</para>
1305
1306     </sect2>
1307
1308     <sect2 id="merge-ex2">
1309       <title>Example 2: Address Labels Using a CSV File</title>
1310   
1311       <para>In this example we are going to throw a party and need to print mailing
1312         address labels for our invitations.  We have a list of our closest friends
1313         that we created in <application>gnumeric</application> and exported as the
1314         following CSV file.  It should be noted that not everyone has a middle initial or
1315         a two line address.</para>
1316
1317       <programlisting>
1318 LAST,FIRST,MI,ADDR1,ADDR2,CITY,STATE,ZIP
1319 ,,,,,,,
1320 Critter,Ess,S,"123 Faux St.",,Alexandria,VA,22310
1321 Doe,John,,"Apt 1X","451 Mystery St.",Trenton,NJ,08601
1322 Summers,Joyce,,"1630 Revello Dr",,Sunnydale,CA,95037
1323 McGarret,Steve,O,"404 Piikoi Street",,Honolulu,HI,96813
1324 Kramer,Cosmo,,"Apt 5B","129 W. 81 St.","New York",NY,10024-7207
1325       </programlisting>
1326
1327       <para>In <application>gLabels</application> we have created a new <application>gLabels</application>
1328         document using the Avery 5512 "Address Labels" template.  Next we use the
1329         <menuchoice> <guimenu>Objects</guimenu>
1330         <guimenuitem>Merge Properties</guimenuitem> </menuchoice> menu item to display
1331         the <guilabel>merge properties</guilabel> dialog.  We use this dialog to
1332         select the source type (in our case CSV) and the merge source (filename) as
1333         shown.</para>
1334
1335       <!-- ==== Figure ==== -->
1336       <figure id="merge-ex2-1-fig"> 
1337         <title>Merge properties dialog</title> 
1338         <screenshot> 
1339           <mediaobject> 
1340             <imageobject><imagedata fileref="figures/merge-ex2-1.png" format="PNG"/> 
1341             </imageobject>
1342           </mediaobject> 
1343         </screenshot> 
1344       </figure>
1345       <!-- ==== End of Figure ==== -->
1346
1347       <para>Before applying the merge source, we uncheck the first record since it is only
1348         column headers from our original <application>gnumeric</application> spreadsheet
1349         and would simply waste our first label.  We also unselect the second record
1350         which is empty (an artifact of our original spreadsheet).  We could also unselect
1351         any other records that we didn't want to print a label for.</para>
1352
1353       <para>We can also view each record in more detail by clicking on the appropriate
1354         expander (the little triangles) as shown.  Once we are satisfied with the
1355         selections in this dialog we click <guibutton>OK</guibutton> to accept the
1356         changes.</para>
1357
1358       <para>Now we start adding objects to our <application>gLabels</application> document as shown.</para>
1359
1360       <!-- ==== Figure ==== -->
1361       <figure id="merge-ex2-2-fig"> 
1362         <title>Adding objects</title> 
1363         <screenshot> 
1364           <mediaobject> 
1365             <imageobject><imagedata fileref="figures/merge-ex2-2.png" format="PNG"/> 
1366             </imageobject>
1367           </mediaobject> 
1368         </screenshot> 
1369       </figure>
1370       <!-- ==== End of Figure ==== -->
1371
1372       <para>In this example we have a single text object.  This text object contains
1373         all of our merge fields organized on multiple lines as a mailing address.
1374         Notice that fields ${4} and ${5} (corresponding to ADDR1 and ADDR2) are each
1375         located with no other text on their own lines.  When
1376         <application>gLabels</application> encounters a field as the only text on
1377         a line, it will not expand the line if the field is empty.</para>
1378
1379       <para>Now we can print our address labels by selecting the
1380         <menuchoice> <guimenu>File</guimenu>
1381         <guimenuitem>Print</guimenuitem> </menuchoice> menu item.  This will display
1382         print dialog as shown below.</para>
1383
1384       <!-- ==== Figure ==== -->
1385       <figure id="merge-ex2-3-fig"> 
1386         <title>Printing address labels</title> 
1387         <screenshot> 
1388           <mediaobject> 
1389             <imageobject><imagedata fileref="figures/merge-ex2-3.png" format="PNG"/> 
1390             </imageobject>
1391           </mediaobject> 
1392         </screenshot> 
1393       </figure>
1394       <!-- ==== End of Figure ==== -->
1395
1396       <para>Just to make sure our labels are going to look okay, we select the
1397         <guilabel>Print outlines</guilabel> option and click
1398         <guibutton>Print Preview</guibutton>.  This will display a print preview dialog
1399         as shown below.</para>
1400
1401       <!-- ==== Figure ==== -->
1402       <figure id="merge-ex2-4-fig"> 
1403         <title>Address labels preview</title> 
1404         <screenshot> 
1405           <mediaobject> 
1406             <imageobject><imagedata fileref="figures/merge-ex2-4.png" format="PNG"/> 
1407             </imageobject>
1408           </mediaobject> 
1409         </screenshot> 
1410       </figure>
1411       <!-- ==== End of Figure ==== -->
1412
1413       <para>Everything looks good, so we can now load up our printer with
1414         the appropriate label stock, print our address labels and start mailing
1415         our party invitations.</para>
1416
1417     </sect2>
1418
1419 <sect2 id="merge-ex3">
1420       <title>Example 3: Address Labels Using the <application>Evolution</application> Addressbook</title>
1421   
1422       <para>Our last party was a great success, and now we need to print mailing
1423         address labels for the invitations to a new one. To simplify this, we can use
1424         the <application>Evolution</application> addressbook, because the address
1425         data of all our friends is stored there.</para>
1426
1427       <note>
1428         <para>Depending on how your copy of <application>gLabels</application> was packaged, this option could be unavailable.
1429           Support for the <application>Evolution</application> addressbook will only be available
1430           if the <application>evolution-data-server</application> and its development files
1431           were present when <application>gLabels</application> was built. Please keep this in mind if you build <application>gLabels</application>
1432           directly from source.</para>
1433         
1434         <para>If the <application>gLabels</application> package from your distribution lacks this support,
1435           you may wish to contact the package maintainer or file a bug against the package
1436           to request it.</para>
1437       </note>
1438
1439       <para>In <application>glabels</application> we have created a new <application>gLabels</application>
1440         document using the Avery 5512 "Address Labels" template. Next we use the
1441         <menuchoice> <guimenu>Objects</guimenu>
1442         <guimenuitem>Merge Properties</guimenuitem></menuchoice> menu item to display
1443         the <guilabel>Merge properties</guilabel> dialog. We use this dialog to
1444         select the source type (in our case <guilabel>Data from default Evolution
1445         addressbook</guilabel>) as shown.</para>
1446
1447       <!-- ==== Figure ==== -->
1448       <figure id="merge-ex3-1-fig"> 
1449         <title>Merge properties dialog</title> 
1450         <screenshot> 
1451           <mediaobject> 
1452             <imageobject><imagedata fileref="figures/merge-ex3-1.png" format="PNG"/> 
1453             </imageobject>
1454           </mediaobject> 
1455         </screenshot> 
1456       </figure>
1457       <!-- ==== End of Figure ==== -->
1458
1459       <para>Once we have chosen <guilabel>Data from default Evolution addressbook
1460         </guilabel> as our merge source, we will get a full list of its content. Initially,
1461         all entries are checked. Assuming we were planning a really big party, we could
1462         leave this selection untouched (but let's keep our budget in mind). We will now select or
1463         unselect certain entries by clicking on the appropriate checkboxes, or we could use
1464         the <guibutton>Select all</guibutton> and <guibutton>Unselect all
1465         </guibutton> buttons to activate or deactivate all entries in the address book.</para>
1466  
1467       <para>We can also view each entry in more detail by clicking on the appropriate
1468         expander (the little triangles) as shown. Once we are satisfied with the
1469         selections in this dialog, we will click the <guibutton>OK</guibutton> button to
1470         accept the changes.</para>
1471
1472       <para>Now we start adding objects to our glabels document as shown.</para>
1473
1474       <!-- ==== Figure ==== -->
1475       <figure id="merge-ex3-2-fig"> 
1476         <title>Adding objects</title> 
1477         <screenshot> 
1478           <mediaobject> 
1479             <imageobject><imagedata fileref="figures/merge-ex3-2.png" format="PNG"/> 
1480             </imageobject>
1481           </mediaobject> 
1482         </screenshot> 
1483       </figure>
1484       <!-- ==== End of Figure ==== -->
1485
1486       <para>In this example we have a single text object again. This text object contains
1487         all of our merge fields organized on multiple lines as a mailing address.</para>
1488
1489       <para>Now we can print our address labels by selecting the
1490         <menuchoice> <guimenu>File</guimenu>
1491         <guimenuitem>Print</guimenuitem> </menuchoice> menu item. This will display
1492         the print dialog as shown below.</para>
1493
1494       <!-- ==== Figure ==== -->
1495       <figure id="merge-ex3-3-fig"> 
1496         <title>Printing address labels</title> 
1497         <screenshot> 
1498           <mediaobject> 
1499             <imageobject><imagedata fileref="figures/merge-ex2-3.png" format="PNG"/> 
1500             </imageobject>
1501           </mediaobject> 
1502         </screenshot> 
1503       </figure>
1504       <!-- ==== End of Figure ==== -->
1505
1506       <para>Just to make sure our labels are going to look okay, we select the
1507         <guilabel>Print outlines</guilabel> option and click
1508         <guibutton>Print Preview</guibutton>. This will display a print preview dialog
1509         as shown below.</para>
1510
1511       <!-- ==== Figure ==== -->
1512       <figure id="merge-ex3-4-fig"> 
1513         <title>Address labels preview</title> 
1514         <screenshot> 
1515           <mediaobject> 
1516             <imageobject><imagedata fileref="figures/merge-ex2-4.png" format="PNG"/> 
1517             </imageobject>
1518           </mediaobject> 
1519         </screenshot> 
1520       </figure>
1521       <!-- ==== End of Figure ==== -->
1522
1523       <para>Everything looks good, so we can now load up our printer with
1524         the appropriate label stock, print our address labels and start mailing
1525         our party invitations.</para>
1526
1527     </sect2>
1528
1529   </sect1>
1530
1531
1532
1533
1534 <!-- ============= Creating templates ================================== -->
1535   <sect1 id="glabels-manual-create-template"> 
1536     <title>Manually Creating New Templates</title> 
1537
1538     <para>Predefined templates are defined by XML files located in
1539       <filename>${prefix}/share/glabels/</filename>,
1540       where <filename>${prefix}</filename> is usually something like
1541       <filename>/usr/local</filename> or <filename>/usr</filename> depending
1542       on the configuration option <filename>prefix</filename>.  <application>gLabels</application> will
1543       use all files of the form <filename>*-templates.xml</filename>
1544       or <filename>*.template</filename>, that it finds in
1545       <filename>${prefix}/share/glabels/</filename> and
1546       <filename>${HOME}/.glabels/</filename>.
1547       Additional templates can be added by creating additional
1548       <filename>*.template</filename> files in either of these directories.
1549       </para>
1550
1551     <para>The format for these files is defined in the DTD:
1552       <ulink url="http://glabels.sourceforge.net/doc/glabels-2.0.dtd.txt" type="http">glabels-2.2.dtd</ulink>. (This DTD also describes other
1553        XML formats used by <application>gLabels</application>.)</para>
1554
1555     <sect2 id="template-assumptions">
1556       <title>Assumptions/caveats</title>
1557       <itemizedlist>
1558         <listitem>
1559           <para>A sheet contains only one size of label or card (if a sheet
1560             contains more than one size of item, it can be split into
1561              multiple templates for multiple pass printing)</para>
1562         </listitem>
1563         <listitem>
1564           <para>Distances can be expressed in units of <emphasis>pt</emphasis>,
1565             <emphasis>in</emphasis>, <emphasis>mm</emphasis>,
1566             <emphasis>cm</emphasis>, or <emphasis>pc</emphasis>.  For example:
1567             "<literal>1.0in</literal>" or "<literal>2.54cm</literal>".  If no
1568             units are specified, computer points (<emphasis>pt</emphasis>) will
1569             be assumed (1 <emphasis>pt</emphasis> =
1570             1/72 <emphasis>in</emphasis> = 0.352778 <emphasis>mm</emphasis>).
1571             </para>
1572         </listitem>
1573       </itemizedlist>
1574     </sect2>
1575
1576     <sect2 id="template-file">
1577       <title>Template Files</title>
1578
1579       <programlisting>
1580 &lt;?xml version="1.0"?&gt;
1581 &lt;Glabels-templates&gt;
1582
1583    <replaceable>...templates...</replaceable>
1584
1585 &lt;/Glabels-templates&gt;
1586       </programlisting>
1587     </sect2>
1588
1589
1590     <sect2 id="template-example">
1591       <title>Example Template</title>
1592       <programlisting>
1593   &lt;Template brand="Avery" part="8160" size="US-Letter" description="Mailing Labels"&gt;
1594     &lt;Label-rectangle id="0" width="189pt" height="72pt" round="5pt"&gt;
1595       &lt;Markup-margin size="5pt"/&gt;
1596       &lt;Layout nx="3" ny="10" x0="11.25pt" y0="36pt" dx="200pt" dy="72pt"/&gt;
1597     &lt;/Label-rectangle&gt;
1598     &lt;Alias brand="Avery" part="5160"/&gt;
1599     &lt;Alias brand="Avery" part="6233"/&gt;
1600   &lt;/Template&gt;
1601       </programlisting>
1602     </sect2>
1603
1604     <sect2 id="template-template-node">
1605       <title>Template Node</title>
1606
1607       <para>A <emphasis>Template</emphasis> node describes a single stationary
1608         product.  It must contain one instance of any type of Label node
1609         (<emphasis>Label-rectangle</emphasis>,
1610         <emphasis>Label-round</emphasis>, or <emphasis>Label-cd</emphasis>).
1611         This node can be followed by zero or more 
1612         <emphasis>Alias</emphasis> nodes.</para>
1613
1614       <informaltable frame="topbot">
1615         <tgroup cols="2">
1616           <colspec colname="col1"/>
1617           <colspec colname="col2"/>
1618           <thead>
1619             <row valign="top">
1620               <entry colname="col1" colsep="0" valign="top">
1621                 <para>Propiedad</para>
1622               </entry>
1623               <entry colname="col2" valign="top">
1624                 <para>Descripción</para>
1625               </entry>
1626             </row>
1627           </thead>
1628           <tbody>
1629             <row valign="top">
1630               <entry><para>brand</para></entry>
1631               <entry>
1632                 <para>Brand or manufacturer of stationary product.
1633                   E.g. "Avery"</para>
1634               </entry>
1635             </row>
1636             <row valign="top">
1637               <entry><para>part</para></entry>
1638               <entry>
1639                 <para>Part number or name of stationary product.
1640                   E.g. "8160"</para>
1641               </entry>
1642             </row>
1643             <row valign="top">
1644               <entry><para>tamaño</para></entry>
1645               <entry>
1646                 <para>Size of sheet.  E.g., "US-Letter," "A4", ...</para>
1647               </entry>
1648             </row>
1649             <row valign="top">
1650               <entry><para>descripción</para></entry>
1651               <entry>
1652                 <para>Description of stationary product.  E.g,
1653                    "Mailing Labels."</para>
1654               </entry>
1655             </row>
1656             <row valign="top">
1657               <entry><para>_description</para></entry>
1658               <entry>
1659                 <para>Translatable description of stationary product.
1660                   E.g, "Mailing Labels." (Only useful for predefined
1661                   templates)</para>
1662               </entry>
1663             </row>
1664             <row valign="top">
1665               <entry><para>anchura</para></entry>
1666               <entry>
1667                 <para>Page width.  Only valid if size="Other"</para>
1668               </entry>
1669             </row>
1670             <row valign="top">
1671               <entry><para>altura</para></entry>
1672               <entry>
1673                 <para>Page height.  Only valid if size="Other"</para>
1674                </entry>
1675             </row>
1676           </tbody>
1677         </tgroup>
1678       </informaltable>
1679
1680     </sect2>
1681
1682     <sect2 id="template-label-rectangle-node">
1683       <title>Label-rectangle Node</title>
1684
1685       <para>A <emphasis>Label-rectangle</emphasis> node describes the
1686         dimensions of a single label or business card that is rectangular
1687         in shape (may have rounded edges).</para>
1688
1689       <informaltable frame="topbot">
1690         <tgroup cols="2">
1691           <colspec colname="col1"/>
1692           <colspec colname="col2"/>
1693           <thead>
1694             <row valign="top">
1695               <entry colname="col1" colsep="0" valign="top">
1696                 <para>Propiedad</para>
1697               </entry>
1698               <entry colname="col2" valign="top">
1699                 <para>Descripción</para>
1700               </entry>
1701             </row>
1702           </thead>
1703           <tbody>
1704             <row valign="top">
1705               <entry><para>id</para></entry>
1706               <entry>
1707                 <para>Reserved for future use.  Should always be 0.</para>
1708               </entry>
1709             </row>
1710             <row valign="top">
1711               <entry><para>anchura</para></entry>
1712               <entry><para>Width of label/card</para></entry>
1713             </row>
1714             <row valign="top">
1715               <entry><para>altura</para></entry>
1716               <entry><para>Height of label/card</para></entry>
1717             </row>
1718             <row valign="top">
1719               <entry><para>redondo</para></entry>
1720               <entry>
1721                 <para>Radius of corners.  For items with square edges
1722                   (business cards), the radius should be 0.</para>
1723               </entry>
1724             </row>
1725             <row valign="top">
1726               <entry><para>x_waste</para></entry>
1727               <entry>
1728                 <para>Amount of horizontal waste (over-print) to allow.  This is useful
1729                   for minimizing alignment problems when using non-white
1730                   backgrounds (e.g. images).</para>
1731               </entry>
1732             </row>
1733             <row valign="top">
1734               <entry><para>y_waste</para></entry>
1735               <entry>
1736                 <para>Amount of vertical waste (over-print) to allow.  This is useful
1737                   for minimizing alignment problems when using non-white
1738                   backgrounds (e.g. images).</para>
1739               </entry>
1740             </row>
1741           </tbody>
1742         </tgroup>
1743       </informaltable>
1744
1745       <!-- ==== Figure ==== -->
1746       <figure id="template-label-fig"> 
1747         <title>Label-rectangle Parameters</title> 
1748         <screenshot> 
1749           <mediaobject> 
1750             <imageobject><imagedata fileref="figures/glabels-template-label.png" format="PNG"/> 
1751             </imageobject>
1752           </mediaobject> 
1753         </screenshot> 
1754       </figure>
1755       <!-- ==== End of Figure ==== -->
1756
1757     </sect2>
1758
1759     <sect2 id="template-label-round-node">
1760       <title>Label-round Node</title>
1761
1762       <para>A <emphasis>Label-round</emphasis> node describes the dimensions
1763         of a simple round label (not a CD).</para>
1764
1765       <informaltable frame="topbot">
1766         <tgroup cols="2">
1767           <colspec colname="col1"/>
1768           <colspec colname="col2"/>
1769           <thead>
1770             <row valign="top">
1771               <entry colname="col1" colsep="0" valign="top">
1772                 <para>Propiedad</para>
1773               </entry>
1774               <entry colname="col2" valign="top">
1775                 <para>Descripción</para>
1776               </entry>
1777             </row>
1778           </thead>
1779           <tbody>
1780             <row valign="top">
1781               <entry><para>id</para></entry>
1782               <entry>
1783                 <para>Reserved for future use.  Should always be 0.</para>
1784               </entry>
1785             </row>
1786             <row valign="top">
1787               <entry><para>radius</para></entry>
1788               <entry><para>Radius (1/2 diameter) of label</para></entry>
1789             </row>
1790             <row valign="top">
1791               <entry><para>basura</para></entry>
1792               <entry>
1793                 <para>Amount of waste (over-print) to allow.  This is useful
1794                   for minimizing alignment problems when using non-white
1795                   backgrounds (e.g. images).</para>
1796               </entry>
1797             </row>
1798           </tbody>
1799         </tgroup>
1800       </informaltable>
1801
1802     </sect2>
1803
1804     <sect2 id="template-label-cd-node">
1805       <title>Label-cd Node</title>
1806
1807       <para>A <emphasis>Label-cd</emphasis> node describes the dimensions
1808         of a CD, DVD, or business card CD.</para>
1809
1810       <informaltable frame="topbot">
1811         <tgroup cols="2">
1812           <colspec colname="col1"/>
1813           <colspec colname="col2"/>
1814           <thead>
1815             <row valign="top">
1816               <entry colname="col1" colsep="0" valign="top">
1817                 <para>Propiedad</para>
1818               </entry>
1819               <entry colname="col2" valign="top">
1820                 <para>Descripción</para>
1821               </entry>
1822             </row>
1823           </thead>
1824           <tbody>
1825             <row valign="top">
1826               <entry><para>id</para></entry>
1827               <entry>
1828                 <para>Reserved for future use.  Should always be 0.</para>
1829               </entry>
1830             </row>
1831             <row valign="top">
1832               <entry><para>radius</para></entry>
1833               <entry><para>Outer radius of label</para></entry>
1834             </row>
1835             <row valign="top">
1836               <entry><para>hole</para></entry>
1837               <entry><para>Radius of concentric hole</para></entry>
1838             </row>
1839             <row valign="top">
1840               <entry><para>anchura</para></entry>
1841               <entry>
1842                 <para>If present, the label is clipped to the given width.
1843                   (Useful for "business card CDs").</para>
1844               </entry>
1845             </row>
1846             <row valign="top">
1847               <entry><para>altura</para></entry>
1848               <entry>
1849                 <para>If present, the label is clipped to the given height.
1850                   (Useful for "business card CDs").</para>
1851               </entry>
1852             </row>
1853             <row valign="top">
1854               <entry><para>basura</para></entry>
1855               <entry>
1856                 <para>Amount of waste (over-print) to allow.  This is useful
1857                   for minimizing alignment problems when using non-white
1858                   backgrounds (e.g. images).</para>
1859               </entry>
1860             </row>
1861           </tbody>
1862         </tgroup>
1863       </informaltable>
1864
1865       <!-- ==== Figure ==== -->
1866       <figure id="template-label-cd-fig"> 
1867         <title>CD Label Parameters</title> 
1868         <screenshot> 
1869           <mediaobject> 
1870             <imageobject><imagedata fileref="figures/glabels-template-cd.png" format="PNG"/> 
1871             </imageobject>
1872           </mediaobject> 
1873         </screenshot> 
1874       </figure>
1875       <!-- ==== End of Figure ==== -->
1876
1877     </sect2>
1878
1879     <sect2 id="template-markup-margin-node">
1880       <title>Markup-margin Node</title>
1881
1882       <para>A <emphasis>Markup-margin</emphasis> describes a margin along
1883         all edges of a label.</para>
1884
1885       <informaltable frame="topbot">
1886         <tgroup cols="2">
1887           <colspec colname="col1"/>
1888           <colspec colname="col2"/>
1889           <thead>
1890             <row valign="top">
1891               <entry colname="col1" colsep="0" valign="top">
1892                 <para>Propiedad</para>
1893               </entry>
1894               <entry colname="col2" valign="top">
1895                 <para>Descripción</para>
1896               </entry>
1897             </row>
1898           </thead>
1899           <tbody>
1900             <row valign="top">
1901               <entry><para>tamaño</para></entry>
1902               <entry>
1903                 <para>Size of the margin.  I.e. the distance of the margin
1904                   line from the edge of the card/label.</para>
1905               </entry>
1906             </row>
1907           </tbody>
1908         </tgroup>
1909       </informaltable>
1910
1911     </sect2>
1912
1913     <sect2 id="template-markup-line-node">
1914       <title>Markup-line Node</title>
1915
1916       <para>A <emphasis>Markup-line</emphasis> describes a markup line.</para>
1917
1918       <informaltable frame="topbot">
1919         <tgroup cols="2">
1920           <colspec colname="col1"/>
1921           <colspec colname="col2"/>
1922           <thead>
1923             <row valign="top">
1924               <entry colname="col1" colsep="0" valign="top">
1925                 <para>Propiedad</para>
1926               </entry>
1927               <entry colname="col2" valign="top">
1928                 <para>Descripción</para>
1929               </entry>
1930             </row>
1931           </thead>
1932           <tbody>
1933             <row valign="top">
1934               <entry><para>x1</para></entry>
1935               <entry>
1936                 <para>x coordinate of 1st endpoint of the line segment.</para>
1937               </entry>
1938             </row>
1939             <row valign="top">
1940               <entry><para>y1</para></entry>
1941               <entry>
1942                 <para>y coordinate of 1st endpoint of the line segment.</para>
1943               </entry>
1944             </row>
1945             <row valign="top">
1946               <entry><para>x2</para></entry>
1947               <entry>
1948                 <para>x coordinate of 2nd endpoint of the line segment.</para>
1949               </entry>
1950             </row>
1951             <row valign="top">
1952               <entry><para>y2</para></entry>
1953               <entry>
1954                 <para>y coordinate of 2nd endpoint of the line segment.</para>
1955               </entry>
1956             </row>
1957           </tbody>
1958         </tgroup>
1959       </informaltable>
1960
1961     </sect2>
1962
1963     <sect2 id="template-markup-circle-node">
1964       <title>Markup-circle Node</title>
1965
1966       <para>A <emphasis>Markup-circle</emphasis> describes a markup circle.
1967         </para>
1968
1969       <informaltable frame="topbot">
1970         <tgroup cols="2">
1971           <colspec colname="col1"/>
1972           <colspec colname="col2"/>
1973           <thead>
1974             <row valign="top">
1975               <entry colname="col1" colsep="0" valign="top">
1976                 <para>Propiedad</para>
1977               </entry>
1978               <entry colname="col2" valign="top">
1979                 <para>Descripción</para>
1980               </entry>
1981             </row>
1982           </thead>
1983           <tbody>
1984             <row valign="top">
1985               <entry><para>x0</para></entry>
1986               <entry>
1987                 <para>x coordinate of circle origin (center).</para>
1988               </entry>
1989             </row>
1990             <row valign="top">
1991               <entry><para>y0</para></entry>
1992               <entry>
1993                 <para>y coordinate of circle origin (center).</para>
1994               </entry>
1995             </row>
1996             <row valign="top">
1997               <entry><para>radius</para></entry>
1998               <entry><para>Radius of circle.</para></entry>
1999             </row>
2000           </tbody>
2001         </tgroup>
2002       </informaltable>
2003
2004     </sect2>
2005
2006     <sect2 id="template-markup-rect-node">
2007       <title>Markup-rect Node</title>
2008
2009       <para>A <emphasis>Markup-rect</emphasis> describes a markup rectangle.
2010         </para>
2011
2012       <informaltable frame="topbot">
2013         <tgroup cols="2">
2014           <colspec colname="col1"/>
2015           <colspec colname="col2"/>
2016           <thead>
2017             <row valign="top">
2018               <entry colname="col1" colsep="0" valign="top">
2019                 <para>Propiedad</para>
2020               </entry>
2021               <entry colname="col2" valign="top">
2022                 <para>Descripción</para>
2023               </entry>
2024             </row>
2025           </thead>
2026           <tbody>
2027             <row valign="top">
2028               <entry><para>x1</para></entry>
2029               <entry>
2030                 <para>x coordinate of upper left corner of rectangle.</para>
2031               </entry>
2032             </row>
2033             <row valign="top">
2034               <entry><para>y1</para></entry>
2035               <entry>
2036                 <para>y coordinate of upper left corner of rectangle.</para>
2037               </entry>
2038             </row>
2039             <row valign="top">
2040               <entry><para>w</para></entry>
2041               <entry>
2042                 <para>Width of rectangle.</para>
2043               </entry>
2044             </row>
2045             <row valign="top">
2046               <entry><para>h</para></entry>
2047               <entry>
2048                 <para>Height of rectangle.</para>
2049               </entry>
2050             </row>
2051             <row valign="top">
2052               <entry><para>r</para></entry>
2053               <entry><para>Radius of rounded corners of rectangle.</para></entry>
2054             </row>
2055           </tbody>
2056         </tgroup>
2057       </informaltable>
2058
2059     </sect2>
2060
2061     <sect2 id="template-layout-node">
2062       <title>Layout Node</title>
2063
2064       <para>A label node may contain multiple <emphasis>Layout</emphasis>
2065         children.  If labels are arranged in a simple grid pattern, only
2066         one layout is needed.  However, if labels are arranged in multiple
2067         grids, such as a running bond pattern, multiple
2068         <emphasis>layout</emphasis> tags can be used.  Note: a single label
2069         can always be treated as a grid of one.</para>
2070
2071       <informaltable frame="topbot">
2072         <tgroup cols="2">
2073           <colspec colname="col1"/>
2074           <colspec colname="col2"/>
2075           <thead>
2076             <row valign="top">
2077               <entry colname="col1" colsep="0" valign="top">
2078                 <para>Propiedad</para>
2079               </entry>
2080               <entry colname="col2" valign="top">
2081                 <para>Descripción</para>
2082               </entry>
2083             </row>
2084           </thead>
2085           <tbody>
2086             <row valign="top">
2087               <entry><para>nx</para></entry>
2088               <entry>
2089                 <para>Number of labels/cards across in the grid
2090                   (horizontal)</para>
2091               </entry>
2092             </row>
2093             <row valign="top">
2094               <entry><para>ny</para></entry>
2095               <entry>
2096                 <para>Number of labels/cards up and down in the grid
2097                   (vertical)</para>
2098               </entry>
2099             </row>
2100             <row valign="top">
2101               <entry><para>x0</para></entry>
2102               <entry>
2103                 <para>Distance from left edge of sheet to the left edge of
2104                   the left column of cards/labels in the layout.</para>
2105               </entry>
2106             </row>
2107             <row valign="top">
2108               <entry><para>y0</para></entry>
2109               <entry>
2110                 <para>Distance from the top edge of sheet to the top edge of
2111                   the top row of labels/cards in the layout.</para>
2112               </entry>
2113             </row>
2114             <row valign="top">
2115               <entry><para>dx</para></entry>
2116               <entry><para>Horizontal pitch of grid.</para></entry>
2117             </row>
2118             <row valign="top">
2119               <entry><para>dy</para></entry>
2120               <entry><para>Vertical pitch of grid.</para></entry>
2121             </row>
2122           </tbody>
2123         </tgroup>
2124       </informaltable>
2125
2126       <!-- ==== Figure ==== -->
2127       <figure id="template-layout-fig"> 
2128         <title>Layout Parameters</title> 
2129         <screenshot> 
2130           <mediaobject> 
2131             <imageobject><imagedata fileref="figures/glabels-template-layout.png" format="PNG"/> 
2132             </imageobject>
2133           </mediaobject> 
2134         </screenshot> 
2135       </figure>
2136       <!-- ==== End of Figure ==== -->
2137
2138     </sect2>
2139
2140     <sect2 id="template-alias-node">
2141       <title>Alias Node</title>
2142
2143       <para>An <emphasis>Alias</emphasis> node provides the name of a
2144         product with the same size and layout characteristics as the
2145         parent template.</para>
2146
2147       <informaltable frame="topbot">
2148         <tgroup cols="2">
2149           <colspec colname="col1"/>
2150           <colspec colname="col2"/>
2151           <thead>
2152             <row valign="top">
2153               <entry colname="col1" colsep="0" valign="top">
2154                 <para>Propiedad</para>
2155               </entry>
2156               <entry colname="col2" valign="top">
2157                 <para>Descripción</para>
2158               </entry>
2159             </row>
2160           </thead>
2161           <tbody>
2162             <row valign="top">
2163               <entry><para>brand</para></entry>
2164               <entry>
2165                 <para>The brand or manufacturer of the equivalent product.</para>
2166               </entry>
2167             </row>
2168             <row valign="top">
2169               <entry><para>part</para></entry>
2170               <entry>
2171                 <para>The part number or name of the equivalent product.</para>
2172               </entry>
2173             </row>
2174           </tbody>
2175         </tgroup>
2176       </informaltable>
2177
2178       </sect2>
2179
2180   </sect1>
2181
2182
2183
2184
2185 <!-- ============= Bugs ================================== -->
2186 <!-- This section is optional and is commented out by default. 
2187      You can use it to describe known bugs and limitations of the 
2188           program if there are any - please be frank and list all
2189      problems you know of. 
2190   
2191   <sect1 id="mayapp-bugs">
2192   <title>Known Bugs and Limitations</title>
2193   <para> </para>
2194  </sect1>
2195 -->
2196
2197
2198
2199
2200 <!-- ============= About ================================== -->
2201 <!-- This section contains info about the program (not docs), such as
2202       author's name(s), web page, license, feedback address. This
2203       section is optional: primary place for this info is "About.." box of
2204       the program. However, if you do wish to include this info in the
2205       manual, this is the place to put it. Alternatively, you can put this information in the title page.-->
2206   <sect1 id="glabels-about"> 
2207     <title>About <application>gLabels</application></title> 
2208     <para> <application>gLabels</application> was written by Jim Evins
2209       (<email>evins@snaught.com</email>). To find more information about
2210       <application>gLabels</application>, please visit the 
2211       <ulink url="http://glabels.sourceforge.net" type="http">gLabels Web
2212         page</ulink>. </para>
2213     <para>
2214       To report a bug or make a suggestion regarding this application or
2215       this manual, follow the directions at the
2216       <ulink url="http://glabels.sourceforge.net/contact/" type="http"><application>gLabels</application> Contact Page</ulink>.
2217     </para>
2218
2219     <para>Este programa se distribuye bajo los términos de la Licencia Pública General GNU tal como la publica la Free Software Foundation; en cualquiera de las versiones 2 de la Licencia o (a su elección) cualquier versión posterior. Puede encontrar una copia de esta licencia en este <ulink url="ghelp:gpl" type="help">enlace</ulink>, o en el archivo COPYING incluido con el código fuente de este programa.</para>
2220
2221   </sect1> 
2222
2223
2224
2225
2226
2227 </article>