1. | On the Articles main tab, on the Edit menu, select Preferences, then on the Extra tab, select Added Objects. |
2.Select Add Automatically When Creating Placeholder.
Note: this enables the prompt to add caption. The variable involved is AFPCC_Enable. Even if not enabled, when you add the caption frame manually, the Fields settings apply.
3.In Height, enter the desired height of the caption frame. The variable involved is AFPCC_PhCaptH. Tip: you can use the vg measurement unit to specify the height in lines.
4.In Distance, enter the desired vertical distance between the bottom border of the photo and the top border of the caption frame. The variable involved is AFPCC_PhCaptD.
5.In Fields, enter the caption template, inserting styles (if any), placeholders and fixed text (if needed). The variable involved is AFPCC_PCFields.
Note: this works if the global variable for the Fields is not defined in EditorialConfig as described in Global variables for image captions - otherwise, the global definition supersedes the personal preferences for the Fields, but it continues to use other settings.
6.In Format name, enter the name of the format that contains tags, you specified in the Fields box. The variable involved is AFPCC_PCFormat. Important: the format with the specified name must be available in all titles, and must be available for the photo caption element.
A caption template as defined in Fields allows you to decide which content is inserted in the caption and how it will be formatted. For example, the following templates insert the image caption content, read from the summary attribute, formatted with the >caption< style, a new line (^), and then the image author name, read from the authors attribute formatted by the credit style.
Note: >caption< and >credit< are GNML tags, expected to be available in the format, you've specified in the Format name box. summary and authors are attributes with reserved names, e.g. IPTC caption and photographer name, respectively. ^ is a placeholder for a new paragraph. |
Reserved names must not be used in the names of captions styles nor as fixed caption text.
|
The placeholders, available in version 1.4.1517.x and newer are: •$summary: caption text •$authors: caption author •$credit: caption credit The placeholders, available in version 1.4.1509.x and newer are: •summary: caption text •authors: caption author •credit: caption credit The placeholders, available in version 1.4 are: •summary: caption text •authors: caption author |
Should you insert in the caption a Bell sign, specify it as $@. Should you insert in the caption characters > and <, interpreted as "less than" and "greater than", specify them as $> and $<. Otherwise, they are interpreted as tag brackets. |
The Fields as defined in personal preferences are used if the global variable for the Fields is not defined in EditorialConfig as described in Global variables for image captions - otherwise, the global definition supersedes the personal preferences for the Fields, but it continues to use other settings. |
•For Add Automatically When Creating Placeholder, AFPCC_Enable. •For Height, AFPCC_PhCaptH. . •For Distance, AFPCC_PhCaptD. •For Fields, AFPCC_PCFields. •For Format name, AFPCC_PCFormat. |
See also