X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=help%2Fsl%2Fmancreate.page;h=e5407cb46cff9b559aadc2111db041a8106124fc;hb=bf6d7db22a79d11630454dcd2e867764e89ca9fe;hp=9509a486f31ac9a8c0108bba8168e7c7ac836445;hpb=cbc5b369069a355c3fa9715c059271d45dbb33e0;p=glabels diff --git a/help/sl/mancreate.page b/help/sl/mancreate.page index 9509a486..e5407cb4 100644 --- a/help/sl/mancreate.page +++ b/help/sl/mancreate.page @@ -4,6 +4,7 @@ + Create your templates manually. @@ -13,10 +14,10 @@ Mario Blättermann - mariobl@gnome.org + mario.blaettermann@gmail.com -

Creative Commons Share Alike 3.0

+

Creative Commons - deljenje pod enakimi pogoji 3.0

@@ -39,28 +40,28 @@

gLabels searches for templates in several other locations as defined here:

- - + + - + - + - +

Location

Description

Mesto

Opis

${prefix}/share/libglabels-3.0/templates

${prefix}/share/libglabels-3.0/templates

Predefined templates distributed with gLabels.

${prefix} is usually /usr or /usr/local, depending on where gLabels was installed.

${XDG_CONFIG_HOME}/libglabels/templates

${XDG_CONFIG_HOME}/libglabels/templates

User defined templates created with the gLabels Template Designer. Do not put manually created templates in this directory.

If ${XDG_CONFIG_HOME} is not defined, it defaults to ${HOME}/.config.

${HOME}/.glabels

${HOME}/.glabels

User defined templates that have been created manually should be placed in this directory. Older versions of the gLabels Template Designer (prior to 3.0) @@ -91,11 +92,10 @@ multiple templates for multiple pass printing)

-

Distances can be expressed in units of pt, - in, mm, - cm, or pc. For example: - "1.0in" or "2.54cm". If no - units are specified, computer points (pt) will +

Distances can be expressed in units of pt, in, + mm, cm, or pc. For example: + "1.0in" or "2.54cm". If no + units are specified, computer points (pt) will be assumed (1 pt = 1/72 in = 0.352778 mm).

@@ -112,24 +112,24 @@
- Template Files + Datoteke predlog -

A template file contains a single Glabels-templates top-level +

A template file contains a single Glabels-templates top-level node.

- + <?xml version="1.0"?> <Glabels-templates> - ...templates... + ...templates... </Glabels-templates> - Example Template + Vzorčna predloga Example gLabels template file containing a single - Template node. - + Template node. + <?xml version="1.0"?> <Glabels-templates> @@ -157,54 +157,54 @@
- <span translate="no">Template</span> Node + <code>Template</code> Node -

A Template node describes a single +

A Template node describes a single stationery product. It must contain one instance of any type of Label node - (Label-rectangle, - Label-round, or - Label-cd).

+ (Label-rectangle, + Label-round, or + Label-cd).

- + - + - + - + - + - + - + - + - +

Property

Description

Lastnost

Opis

brand

brand

Brand or manufacturer of stationery product. E.g. "Avery"

part

part

Part number or name of stationery product. E.g. "8160"

size

size

Size of sheet. - E.g., "US-Letter", "A4", ... + E.g., "US-Letter", "A4", ...

description

description

Description of stationery product. E.g, "Mailing Labels."

_description

_description

Translatable description of stationery product. E.g, "Mailing Labels." (Only useful for predefined templates)

width

width

Page width. Only valid if size="Other"

height

height

Page height. Only valid if size="Other"

equiv

equiv

Equivalent part number. If this property is present, the template is a clone of another template of the same brand. The template will inherit all properties, except brand and name from the other template. @@ -223,25 +223,25 @@

- <span translate="no">Meta</span> Node + <code>Meta</code> Node -

A Meta node contains some additional - information about the template. A Template - node may contain zero or more Meta nodes.

+

A Meta node contains some additional + information about the template. A Template + node may contain zero or more Meta nodes.

- + - + - +

Subnode

Description

Podrejeno vozlišče

Opis

category

category

A category for the template. A template can belong to multiple categories by simply adding multiple - Meta nodes to the parent - Template node. + Meta nodes to the parent + Template node. Template categories are used by the gLabels New Label Dialog to filter the results of template searches.

@@ -249,24 +249,24 @@ the file ${prefix}/libglabels-3.0/templates/categories.xml. Currently defined category IDs include:

-

label

-

round-label

-

elliptical-label

-

square-label

-

rectangle-label

-

card

-

business-card

-

media

-

mail

-

foldable

-

photo

+

label

+

round-label

+

elliptical-label

+

square-label

+

rectangle-label

+

card

+

business-card

+

media

+

mail

+

foldable

+

photo

product_url

product_url

A URL pointing to the vendor's webpage for the specific product, if available.

@@ -287,44 +287,44 @@
- <span translate="no">Label-rectangle</span> Node + <code>Label-rectangle</code> Node -

A Label-rectangle node describes the +

A Label-rectangle node describes the dimensions of a single label or business card that is rectangular in shape (may have rounded edges).

- + - + - - + + - - + + - + - + - + @@ -333,9 +333,9 @@
- Label-rectangle parameters - -

Label-rectangle parameters

+ Label-rectangle parameters + +

Label-rectangle parameters

@@ -350,33 +350,33 @@
- <span translate="no">Label-ellipse</span> Node + <code>Label-ellipse</code> Node -

A Label-ellipse node describes the +

A Label-ellipse node describes the dimensions of a single label or business card that is elliptic in shape.

Property

Description

Lastnost

Opis

id

id

Reserved for future use. Should always be 0.

width

Width of label/card

width

Å irina nalepke ali vizitke

height

Heigth of label/card

height

Višina nalepke ali vizitke

round

round

Radius of corners. For items with square edges (business cards), the radius should be 0.

x_waste

x_waste

Amount of horizontal waste (over-print) to allow. This is useful for minimizing alignment problems when using non-white backgrounds (e.g. images).

y_waste

y_waste

Amount of vertical waste (over-print) to allow. This is useful for minimizing alignment problems when using non-white backgrounds (e.g. images).

- + - + - - + + - - + + - + @@ -385,9 +385,9 @@
- Label-ellipse parameters + Label-ellipse parameters -

Label-ellipse parameters

+

Label-ellipse parameters

@@ -402,28 +402,28 @@
- <span translate="no">Label-round</span> Node + <code>Label-round</code> Node -

A Label-round node describes the dimensions +

A Label-round node describes the dimensions of a simple round label (not a CD).

Property

Description

Lastnost

Opis

id

id

Reserved for future use. Should always be 0.

width

Width of the ellipse

width

Å irina elipse

height

Heigth of the ellipse

height

Višina elipse

waste

waste

Amount of waste (over-print) to allow. This is useful for minimizing alignment problems when using non-white backgrounds (e.g. images).

- + - + - + - + @@ -432,9 +432,9 @@
- Label-ellipse parameters - -

Label-ellipse parameters

+ Label-ellipse parameters + +

Label-ellipse parameters

@@ -449,42 +449,42 @@
- <span translate="no">Label-cd</span> Node + <code>Label-cd</code> Node -

A Label-cd node describes the dimensions +

A Label-cd node describes the dimensions of a CD, DVD, or business card CD.

Property

Description

Lastnost

Opis

id

id

Reserved for future use. Should always be 0.

radius

radius

Radius (1/2 diameter) of label

waste

waste

Amount of waste (over-print) to allow. This is useful for minimizing alignment problems when using non-white backgrounds (e.g. images).

- + - + - + - + - + - + - + @@ -493,8 +493,8 @@
- Label-cd parameters - + Label-cd parameters +

CD label parameters

@@ -510,7 +510,7 @@
- <span translate="no">Markup</span> Nodes + <code>Markup</code> 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 @@ -522,20 +522,20 @@

- <span translate="no">Markup-margin</span> Node + <code>Markup-margin</code> Node -

A Markup-margin describes a margin along +

A Markup-margin describes a margin along all edges of a label.

Property

Description

Lastnost

Opis

id

id

Reserved for future use. Should always be 0.

radius

radius

Outer radius of label

hole

hole

Radius of concentric hole

width

width

If present, the label is clipped to the given width. (Useful for "business card CDs").

height

height

If present, the label is clipped to the given height. (Useful for "business card CDs").

waste

waste

Amount of waste (over-print) to allow. This is useful for minimizing alignment problems when using non-white backgrounds (e.g. images).

- + - + @@ -550,31 +550,31 @@
- <span translate="no">Markup-line</span> Node + <code>Markup-line</code> Node -

A Markup-line node describes a markup line.

+

A Markup-line node describes a markup line.

Property

Description

Lastnost

Opis

size

size

Size of the margin. I.e. the distance of the margin line from the edge of the card/label.

- + - + - + - + - +

Property

Description

Lastnost

Opis

x1

x1

x coordinate of 1st endpoint of the line segment.

y1

y1

y coordinate of 1st endpoint of the line segment.

x2

x2

x coordinate of 2st endpoint of the line segment.

y2

y2

y coordinate of 2st endpoint of the line segment.

@@ -588,27 +588,27 @@
- <span translate="no">Markup-circle</span> Node + <code>Markup-circle</code> Node -

A Markup-circle describes a markup circle.

+

A Markup-circle describes a markup circle.

- + - + - + - +

Property

Description

Lastnost

Opis

x0

x0

x coordinate of circle origin (center).

y0

y0

y coordinate of circle origin (center).

radius

radius

Radius of circle.

@@ -622,35 +622,35 @@
- <span translate="no">Markup-rect</span> Node + <code>Markup-rect</code> Node -

A Markup-rect describes a markup rectangle.

+

A Markup-rect describes a markup rectangle.

- + - + - + - + - + - +

Property

Description

Lastnost

Opis

x1

x1

x coordinate of upper left corner of rectangle.

y1

y1

y coordinate of upper left corner of rectangle.

w

w

Width of rectangle.

h

h

Height of rectangle.

r

r

Radius of rounded corners of rectangle.

@@ -664,31 +664,31 @@
- <span translate="no">Markup-ellipse</span> Node + <code>Markup-ellipse</code> Node -

A Markup-ellipse describes a markup ellipse.

+

A Markup-ellipse describes a markup ellipse.

- + - + - + - + - +

Property

Description

Lastnost

Opis

x1

x1

x coordinate of upper left corner of ellipse.

y1

y1

y coordinate of upper left corner of ellipse.

w

w

Width of ellipse.

h

h

Height of ellipse.

@@ -707,57 +707,84 @@
- <span translate="no">Layout</span> Node + <code>Layout</code> Node -

A label node may contain multiple Layout +

A label node may contain multiple Layout children. If labels are arranged in a simple grid pattern, only one layout is needed. However, if labels are arranged in multiple grids, such as a running bond pattern, multiple - Layout tags can be used.

+ Layout tags can be used.

+

A common example for multiple layouts is a sheet with three + CD labels:

+ + +
+ CD label sheet + +

CD label sheet

+
+
+ + +

The two labels on the left edge can be assigned to a grid, assuming we + can define the coordinates for the top left label and the distance to + the second label properly. The distance to the left edge is common to + these labels. The third one on the right edge has no common distance + values with the other ones, that's why we have to define a second layout, + with unique coordinates for the top left corner of that label.

+ + +

You can define multiple layouts only if the labels on the sheet + have the same shape. If your sheet contains different shapes, you have + to define each shape in another template seperately. Future versions + of gLabels will probably be able to concatenate such sheets + with different shapes within a single template.

+
+

A single label can always be treated as a grid of one.

- + - + - + - + - + - + - +

Property

Description

Lastnost

Opis

nx

nx

Number of labels/cards across in the grid (horizontal)

ny

ny

Number of labels/cards across in the grid (vertical)

x0

x0

Distance from left edge of sheet to the left edge of the left column of cards/labels in the layout.

y0

y0

Distance from the top edge of sheet to the top edge of the top row of labels/cards in the layout.

dx

dx

Horizontal pitch of grid.

dy

dy

Vertical pitch of grid.

- Layout parameters - -

Layout Parameters

+ Layout parameters + +

Layout Parameters