From: Jim Evins Date: Tue, 1 Jun 2010 03:32:24 +0000 (-0400) Subject: Updated manual template creation page. X-Git-Tag: glabels-2_3_1~180 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e88a0125b560cbdd3fcc2eb9e991fae45555013f;p=glabels Updated manual template creation page. Updated text to reflect changes in current development version of glabels. Updated and added figures. --- diff --git a/help/C/figures/glabels-template-cd-label.png b/help/C/figures/glabels-template-cd-label.png new file mode 100644 index 00000000..2c505860 Binary files /dev/null and b/help/C/figures/glabels-template-cd-label.png differ diff --git a/help/C/figures/glabels-template-cd.png b/help/C/figures/glabels-template-cd.png deleted file mode 100644 index 0a3de3bf..00000000 Binary files a/help/C/figures/glabels-template-cd.png and /dev/null differ diff --git a/help/C/figures/glabels-template-circle-label.png b/help/C/figures/glabels-template-circle-label.png new file mode 100644 index 00000000..337caae3 Binary files /dev/null and b/help/C/figures/glabels-template-circle-label.png differ diff --git a/help/C/figures/glabels-template-ellipse-label.png b/help/C/figures/glabels-template-ellipse-label.png new file mode 100644 index 00000000..b3b3013f Binary files /dev/null and b/help/C/figures/glabels-template-ellipse-label.png differ diff --git a/help/C/figures/glabels-template-label.png b/help/C/figures/glabels-template-label.png deleted file mode 100644 index 87a724b9..00000000 Binary files a/help/C/figures/glabels-template-label.png and /dev/null differ diff --git a/help/C/figures/glabels-template-layout.png b/help/C/figures/glabels-template-layout.png index c7127952..17db6bc8 100644 Binary files a/help/C/figures/glabels-template-layout.png and b/help/C/figures/glabels-template-layout.png differ diff --git a/help/C/figures/glabels-template-rect-label.png b/help/C/figures/glabels-template-rect-label.png new file mode 100644 index 00000000..e9d5b030 Binary files /dev/null and b/help/C/figures/glabels-template-rect-label.png differ diff --git a/help/C/mancreate.page b/help/C/mancreate.page index 1144d5b8..8ee6c880 100644 --- a/help/C/mancreate.page +++ b/help/C/mancreate.page @@ -25,20 +25,17 @@ Manually creating new templates

Predefined templates are defined by XML files located in - ${prefix}/share/glabels/, - where ${prefix} is usually something like - /usr/local or /usr depending - on the configuration option prefix. gLabels will - use all files of the form *-templates.xml - or *.template, that it finds in - ${prefix}/share/glabels/ and - ${HOME}/.glabels/. - Additional templates can be added by creating additional - *.template files in either of these directories. + either /usr/share/libglabels-3.0/templates/ or + /usr/local/share/libglabels-3.0/templates/, + depending on where glabels was installed. Glabels will + also search for user defined templates in the directory + ${HOME}/.config/libglabels/templates/. User + defined template files should be named with a + *.template extension.

The format for these files is defined in the DTD: - glabels-2.2.dtd. + glabels-2.3.dtd. (This DTD also describes other XML formats used by glabels.)

@@ -201,9 +198,12 @@ - +
+ Label-rectangle parameters +

Label-rectangle parameters

+
@@ -238,9 +238,11 @@ - -

Label-ellipse parameters

+
+ Label-ellipse parameters + +
@@ -269,6 +271,15 @@ backgrounds (e.g. images).

+ + +
+ Label-ellipse parameters + +

Label-ellipse parameters

+
+
+
@@ -307,12 +318,23 @@ - +
+ Label-cd parameters +

CD label parameters

+
+
+ Markup Nodes + +

Templates may contain optional markup nodes. These nodes are used to describe + a simple set of markup lines that are visible in the glabels drawing canvas, but + not visible when printed. These lines can represent margins, fold lines, center lines, + special areas, or other helpful hints to the user of a template.

+
Markup-margin Node @@ -414,6 +436,35 @@
+
+ Markup-ellipse Node + +

A Markup-ellipse describes a markup ellipse.

+ + + + + + + + + + + + + + + + + + + + +

Property

Description

x1

x coordinate of upper left corner of ellipse.

y1

y coordinate of upper left corner of ellipse.

w

Width of ellipse.

h

Height of ellipse.

+
+ +
+
Layout Node @@ -454,9 +505,12 @@ +
+ Layout parameters

Layout Parameters

+