Skip to content

Commit 01f64c4

Browse files
committed
add documentation for the metadata-editor
The metadata-editor is now fully configurable.
1 parent 2f53acc commit 01f64c4

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

content/module-reference/utility-modules/shared/metadata-editor.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,16 @@ You may use the keyboard to navigate and apply changes while any of the metadata
3535

3636
# preferences
3737

38-
The "preferences…" option in the presets menu brings up a dialog where you can configure how metadata is handled within darktable. For each metadata item, two check boxes allow you to restrict how metadata is handled:
38+
The "preferences…" option in the presets menu brings up a dialog where you can configure what metadata tags to be used and how they are handled within darktable. For each metadata item, two check boxes allow you to restrict how metadata is handled:
3939

4040
visible
4141
: Show or hide this metadata field. Hidden fields are not included in exported images.
42-
42+
4343
private
4444
: Keep this metadata field private. Private fields are not included in exported images.
45+
46+
To add new metadata tags, press the "+" button at the bottom. A dialog appears where you can search for the tags you want to add. Tags can be added by either double-click or the "add" button. Press "done" and the metadata editor is immediately updated with the new tags. The display name of the tag can be changed by clicking on it. Drag and drop the rows to change the display order.
47+
48+
All tags in this module are available in the [image information](../../module-reference/utility-modules/shared/image-information.md) module, the [import](../../module-reference/utility-modules/lighttable/import.md) module and the [collections](../../module-reference/utility-modules/shared/collections.md) module.
49+
50+
The tag values can be used in [variable substitution](../../../special-topics/variables.md). Use the last part of the tagname for the variable name. Example: The xmp tag `Xmp.iptc.location` is available as the variable `$(LOCATION)`.

content/special-topics/variables.md

+5
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ $(NL) newline character
9999
$(JOBCODE) internal jobcode of current job
100100
```
101101

102+
# metadata tags
103+
104+
Metadata tags from the [metadata editor](../module-reference/utility-modules/shared/metadata-editor.md) can be used for variable substition. The last part of the xmp tagname is used for the variable name. Example: The xmp tag `Xmp.iptc.location` is available as `$(LOCATION)`.
105+
106+
102107
# string substitution
103108

104109
All of the variables support basic string substitution inspired by bash though some of the details differ.

0 commit comments

Comments
 (0)