[page]

ParameterValueDescription
album_page_width_mm216.0 Page Physical page size and margins (mm) Typical values: - US Letter: 216.0 x 279.4 - A4: 210.0 x 297.0
album_page_height_mm279.4 Typical values: - US Letter: 216.0 x 279.4 - A4: 210.0 x 297.0
page_top_margin_mm10.0 Margins (mm) around the page content area
page_bottom_margin_mm10.0 Margins (mm) around the page content area
page_left_margin_mm10.0 Margins (mm) around the page content area
page_right_margin_mm10.0 Margins (mm) around the page content area
page_border_outer0.1 Page border and spacing controls page_border_outer : outer line thickness page_border_inner1 : first inner line thickness page_border_inner2 : second inner line thickness page_border_spacing: gap between border lines
page_border_inner10.5 page_border_inner1 : first inner line thickness
page_border_inner20.1 page_border_inner2 : second inner line thickness
page_border_spacing1.0 page_border_spacing : gap between border lines
album_pages_spacing_h3.0 Gap between album pages when rendering multiple pages per output sheet
album_pages_spacing_v3.0 Gap between album pages when rendering multiple pages per output sheet
max_page_vspace_mm10.0 Maximum vertical spacer emitted between sections before a new page is preferred

[header]

ParameterValueDescription
album_pages_title_font"HN" Header / Footer Font token for the page title area (for example HN, HB, TN)
album_pages_title_size10.0 Title font size in points
album_pages_header_position"C" Title position: L (left), C (center), R (right)
include_designtrue Stamp Header content toggles include the designer credit in the header (if available)
include_engravingtrue Include the stamp engraver in the header (if available)
include_watermarktrue Include the stamp watermark in the header (if available)
include_perforationtrue Include the stamp perforation in the header (if available)
include_catalog_numberstrue Include the stamp catalog number in the header (if available)
include_seriestrue Include the stamp series in the header (if available)
include_countrytrue Include the stamp country in the header (if available)
include_datetrue Include the stamp issue date in the header (if available)
header_vspace_before_mm1.0 Spacing around section headers (mm) Space before each section heading
header_vspace_after_mm2.0 Space after each section heading

[footer]

ParameterValueDescription
album_pages_footer_number_enabledtrue Enable/disable page number footer
album_pages_footer_number_font"HN" Font token for the page number footer (for example HN, HB, TN)
album_pages_footer_number_size8.0 Font size in points for the page number footer
album_pages_footer_number_position"C" Position: L (left), C (center), R (right)
album_pages_footer_number_start1 Starting page number
album_pages_footer_number_before"Page Prefix/suffix around the page counter token
album_pages_footer_number_after" Suffix around the page counter token

[stamps]

ParameterValueDescription
reference_width_mm19.0 Stamps Base sizing (mm) Base width reference used when real dimensions are unavailable
reference_height_mm25.0 Base height reference used when real dimensions are unavailable
target_stamp_height_mm25.0 Target box height for stamp image rows
stamp_box_adjust0.0 Fine adjustment applied on top of each stamp's emitted box size.
max_stamps_per_row5 Packing limits Hard cap of stamps placed in one row
max_rows_per_page5 Hard cap of rows per page
packing_horizontal_safety_mm8.0 Extra horizontal safety space to reduce clipping/overflows
packing_vertical_safety_mm1.0 Extra vertical safety space to reduce clipping/overflows
series_row_gap_mm0.0 Additional vertical gap between distinct series rows
stamp_detail_layout"separate_rows" Stamp details layout - inline: details inside stamp text fields - separate_rows: details in dedicated row/box area - minimal: no detail metadata
stamp_detail_font_size6 Font size (in points) used for the separate detail row emitted below each stamp when stamp_detail_layout = "separate_rows". This controls the text size for description, catalog codes, color, and other metadata displayed beneath stamps. Default: 6 (small enough to fit several lines without pushing stamps apart)
stamp_detail_vspace3.5 Vertical spacing (mm) used as the vspace in the ROW_START_ES command that opens the detail row. This controls the gap between the stamp image row and the detail text row below it. Only applies when stamp_detail_layout = "separate_rows". Default: 3.5 mm
include_denominationtrue Stamp row value visibility (under each image) Left value: denomination / face value fallback
include_stamps_issuedtrue Center top value: print-run / stamps-issued count
include_descriptiontrue Center body text: main stamp description
include_colortrue Center bottom text: stamp color such as multicoloured
include_mint_unusedtrue Right first value: mint condition (falls back to unused when mint is empty)
include_usedtrue Right second value: used value/condition
allow_single_large_stamp_per_pagetrue Large-stamp behavior Allow one oversized stamp to consume most of a page
single_stamp_threshold_pct0.7 Fraction of usable width/height at which a stamp is considered "large"
usable_height_padding_mm1.0 Extra usable page height padding when fitting rows
text_line_height_mm2.6 Row text/image metrics Estimated text line height used for spacing calculations
image_spacing_mm1.0 Gap between image and text blocks inside stamp rows
extra_width_mm3.0 Global stamp image sizing offsets (mm) Width/height offsets applied after base dimension estimation
extra_height_mm3.0 Height offset applied after base dimension estimation
album_stamp_img_new_setting_preserve_aspecttrue Keep source image proportions when true
preserve_aspecttrue Legacy/global aspect-ratio guard (keep true in most cases)
album_stamp_img_aspect_ratiotrue Legacy/global aspect-ratio guard (keep true in most cases)
global_scale1.0 Global scale multiplier applied to ALL size/spacing values before rendering. Use to uniformly scale an entire layout up or down without editing each field. 1.0 = no scaling. Example: 0.9 shrinks everything 10 %.
stamp_heading_in_row_heightfalse Row-height accounting Legacy compatibility setting: visible headings are always measured.
pages_vspace_in_row_heightfalse Legacy compatibility setting: explicit vertical spacing is always measured.
default_catalog_code"sn" Stamp heading style Default catalog family used when choosing a catalog number from Colnect. Examples: - sn = Scott - sg = Stanley Gibbons - mi = Michel - yt = Yvert - afa = AFA - ank = ANK - nvp = NVPH - un = Unificato - col = Colnect codes - wad = WNS (WADP Numbering System) Tip: this should usually match one of the catalog codes listed in [review_ui].catalog_family_options.
stamp_heading_font"HN" Font token for the heading line above each stamp entry
stamp_heading_size6.0 Heading font size in points
stamp_heading_label"auto" "auto" = use the display name for default_catalog_code "" = hide the label entirely Any other text value is used verbatim as the heading label.

[layout]

ParameterValueDescription
row_font_spacing0.1 Layout Extra inter-character spacing for row text
header_font_spacing2.0 Extra spacing around header text blocks
page_fit_conservative_buffer_mm2.0 Conservative page-fit padding before forcing a new page
page_vspace_marker"" Legacy marker setting. Header spacing now always uses configured numeric header_vspace_before_mm / header_vspace_after_mm values.
row_start_es_enabledtrue ROW_START_ES behavior Diagnostic marker row emitted before each series row group
row_start_es_font"HN" Font token for the ROW_START_ES marker line
row_start_es_size6.0 Font size (points) for the ROW_START_ES marker line
row_start_es_spacing0.1 Extra horizontal spacing (mm) around the ROW_START_ES marker line
row_start_es_vspace6.0 Extra vertical spacing (mm) above the ROW_START_ES marker line
row_start_es_marker"ROW_START_ES" Custom marker string emitted for ROW_START_ES lines in album output.
enable_row_centeringtrue Row packing diagnostics / centering NOTE: enable_row_centering is accepted by the config parser but is NOT currently applied — row centering is a prototype feature that has not been implemented in the layout engine. Leave true for future compatibility.
show_stamps_per_rowtrue Emit diagnostics for stamps-per-row decisions
series_order"first_date" Order strategy for series sorting: first_date, first_sg, first_sg_desc, alpha

[colors]

ParameterValueDescription
color_album_border"darkblue" Colors AlbumEasy color values: - Named HTML/CSS colors (examples): black, white, red, blue, darkblue, navy, green, darkgreen, teal, purple, maroon, olive, gray, silver, orange, gold, brown, cyan, magenta, yellow - Hex colors are also supported: RRGGBB (example: 1E4A7A) RGB (short form, example: F80) Tips: - Keep quotes around values in TOML. - Use hex colors for exact, repeatable output between systems. - Start with border/text colors first, then tune title/header/footer.
color_album_footer"darkblue" Album title, header, footer, and margin text colors
color_album_header"darkblue" Album page header text color
color_album_title"darkblue" Album title text color
color_album_margin_txt"darkblue" Album margin text color
color_stamp_border"black" Stamp page Border color
color_stamp_heading"black" Stamp page heading color
color_stamp_text"black" Stamp page text color
color_stamp_background"black" Stamp page background color

[flag_cover]

ParameterValueDescription
print_flag_covertrue Flag Cover Cover page behavior: - When true, prepend a dedicated cover page before stamp pages. - If a flag image is found, use the image-based layout. - If no flag image is found, use the text-only layout values below.
flag_cover_img_w_mm160.0 Preferred rendered flag image size on the cover (mm). Typical ranges: - width : 120.0 .. 180.0 - height: 60.0 .. 110.0 Keep the width/height ratio close to the source flag to avoid distortion. Preferred width rendered flag image size on the cover (mm).
flag_cover_img_h_mm80.0 Preferred height rendered flag image size on the cover (mm).
flag_cover_background_color"" Cover page background color (see [colors] section for supported values). Leave empty to use the default white/unset background.
flag_cover_elements["coat", Cover element rendering order. List which elements appear on the cover and in what order. Recognized values: "coat" (coat of arms), "flag", "name" (country name text). Remove an entry to omit that element from the cover entirely.
flag_cover_coat_img_w_mm80.0 Coat-of-arms image size on the cover (mm). Used when a coat_of_arms image is included in the cover layout.
flag_cover_coat_img_h_mm80.0
flag_cover_page_vspace_top20.0 IMAGE-BASED COVER LAYOUT Top spacing from page content area to the first cover element.
flag_cover_image_vspace_after12.0 Vertical gap between the flag image and title text (mm).
flag_cover_image_title_font"HN" Font token for title shown under/near the flag image. NOTE: flag_cover_image_title_font is accepted but NOT currently applied — the font for image-based cover titles is hardcoded to "TB" internally.
flag_cover_image_title_size32.0 Title size (points) for image-based cover.
flag_cover_image_title_scale1.0 Additional scale multiplier for image-based title text. 1.0 = no scaling, >1.0 larger, <1.0 smaller.
flag_cover_text_only_vspace_top24.0 TEXT-ONLY COVER LAYOUT (used when no flag image is available) Top spacing from page content area to title (mm).
flag_cover_text_only_title_font"HN" Font token for title in text-only mode. NOTE: flag_cover_text_only_title_font is accepted but NOT currently applied — the font for text-only cover titles is hardcoded to "TB" internally.
flag_cover_text_only_title_size48.0 Title size (points) for text-only cover.
flag_cover_text_only_title_scale1.0 Additional scale multiplier for text-only title text. Useful when you want coarse adjustment without changing base size.
flag_cover_text_only_vspace_after18.0 Extra space after text-only title block (mm). Increase this if first content on next section appears too tight.

[data_sources]

ParameterValueDescription
fetch_wikipediafalse Wikipedia Data Sources Wikipedia source behavior: - `fetch_wikipedia` controls whether online fetch/cache is attempted. - `include_wikipedia_content` controls whether fetched content is rendered into album output pages. - `wikipedia_ingest_*` controls fallback DB-row insertion when scraping returns little/no stamp data. Typical setups: - Scrape-only (fast/minimal): fetch=false, include=false - Enriched pages : fetch=true, include=true - Fallback assist only : fetch=true, include=false, ingest_enable=true Note: network fetch may slow generation on first run; cached content reduces repeated fetch cost on later runs. When true, attempt to fetch/cache Wikipedia content during generation
include_wikipedia_contentfalse When true, include fetched Wikipedia paragraphs/sections in output pages
wikipedia_cache_db_path"wikipedia_cache.db" SQLite cache file for fetched Wikipedia snippets/articles - Relative path is resolved from runtime working directory - You may use an absolute path if you want a shared cache location
wikipedia_ingest_enabletrue When true, insert fallback rows into album DB when scrape has no hits (or too few useful rows), using Wikipedia-derived metadata
wikipedia_ingest_max_entries12 Maximum number of fallback ingest rows inserted per run Typical range: 5..30 (lower = safer/manual, higher = more auto-fill)
wikipedia_ingest_series_prefix"Wikipedia Series label prefix applied to ingested fallback rows Example output series: "Wikipedia import - Postal history"
expand_grouped_ranges"placeholders" Behavior for grouped/range-like stamp references: - placeholders: keep compact placeholders for grouped ranges (default) - expand : expand grouped ranges into individual row candidates - keep : preserve grouped source form as-is

[wikipedia]

ParameterValueDescription
content_wiki_font"HN" Wikipedia Wikipedia page rendering controls (applies when Wikipedia content is included) Tuning workflow (recommended): 1) Set fonts/sizes for readability. 2) Adjust paragraph padding + spacing. 3) Pick pagination strategy. 4) Optionally enable centering/math spacing tweaks. Base font for high-level Wikipedia content blocks NOTE: content_wiki_font and content_wiki_font_size are legacy fields superseded by wikipedia_paragraph_font and wikipedia_paragraph_font_size below. They are accepted for backward compatibility but are NOT read by the rendering pipeline — update wikipedia_paragraph_font instead.
content_wiki_font_size12 Base size (points) for content-level text
wikipedia_paragraph_font"HN" Body paragraph font and size (points)
wikipedia_paragraph_font_size11
wikipedia_paragraph_alignment"JUSTIFIED" Paragraph alignment options: JUSTIFIED | LEFT | RIGHT | CENTER
wikipedia_paragraph_padding8.0 Left and right inner paragraph padding (mm) Typical range: 4.0 .. 12.0
wikipedia_paragraph_left_padding8.0 Left padding (mm) for Wikipedia paragraphs
wikipedia_paragraph_right_padding8.0 Right padding (mm) for Wikipedia paragraphs
wikipedia_paragraph_vspace2.0 Paragraph vertical spacing (mm). Controls the gap between paragraphs. Typical range: 1.0 .. 3.5 Lower = denser text, higher = more breathing room
wikipedia_section_title_font"HB" Section title font/size and spacing
wikipedia_section_title_font_size13 Section title font size (points)
wikipedia_section_title_spacing4.0 Gap after section title before paragraph text (mm)
wikipedia_pagination_strategy"balanced" Pagination strategy: - balanced : packs content efficiently while keeping reasonable spacing - conservative : leaves extra safety space to reduce overflow risk
wikipedia_pagination_conservative_fraction0.80 Conservative-mode free-space fraction kept on each page Typical range: 0.70 .. 0.90 Higher value = more free space, fewer paragraphs per page
wikipedia_center_contentfalse Center the Wikipedia text block horizontally within available content area
wikipedia_use_math_spacingtrue Add wider spacing around inline math-like fragments/symbols Helpful for readability in mixed text/math passages

[images]

ParameterValueDescription
force_dpi96.0 Image / DPI Image and DPI settings are critical because they control how pixel-based source images are translated into real-world print dimensions (mm/inches). If these values are mis-tuned, stamps can look too large/small, rows may overflow page bounds, and placeholder boxes can drift from real image sizes. Target DPI used in rendering math and dimension conversions. Why important: - DPI is the bridge between pixels and physical print size. - A stable DPI keeps generated AlbumEasy layout consistent across systems. - Changing this can affect computed stamp/image dimensions and pagination.
sizing_mode"fit_box" If true, keep real measured dimensions when available. sizing_mode: "real_world" emits physical DPI-derived sizes as-is. "fit_box" clamps stamp height to target_stamp_height_mm. Keep fit_box here so fresh installs do not render StampWorld imports oversized.
placeholder_always_overwritetrue Rebuild placeholder image files if sizing changes. Why important: - Prevents stale placeholders from masking updated sizing logic. - Keeps fallback visuals aligned with current layout calculations. - Especially useful while tuning dimensions or after changing DPI/offsets.

[text_templates]

ParameterValueDescription
page_text_format'PAGE_TEXT Text Rendering Templates / Fallbacks This section controls how reusable text macros are emitted into AlbumEasy commands (font, size, alignment, and vertical spacing behavior). Why this section is important: - Keeps typography consistent across page labels and metadata lines. - Allows global style tuning without changing generator code. - Helps avoid layout drift when switching fonts/sizes between systems. Tuning workflow (recommended): 1) Adjust the format templates only if you need custom AlbumEasy syntax. 2) Tune fallback font/size/vspace values for readability and spacing. 3) Tune specialized templates (series/date/watermark/engraving) last. CORE FORMAT TEMPLATES These are full template strings used when explicit formatted output is needed. Requirement: each template must include exactly one "{}" placeholder. The placeholder is replaced with generated text content at runtime. Why important: - Wrong syntax or missing placeholder can break text emission. - This is the highest-control override layer for page text rendering.
page_text_centre_format'PAGE_TEXT_CENTRE Specialized templates for centered text
page_text_right_format'PAGE_TEXT_RIGHT Specialized templates for right-aligned text
page_text_font"HN" BASE FALLBACKS (GENERAL PAGE TEXT) Used when a full format template is not explicitly overridden. Why important: - Acts as safe defaults for consistent output. - Simplifies style changes (adjust once, apply in many places).
page_text_size10.0 Base font size (points) for generic page text Typical range: 8.0 .. 12.0
page_text_vspace1.0 Base vertical spacing (mm) for generic page text Typical range: 0.5 .. 2.0
page_text_centre_font"HN" CENTER TEXT FALLBACKS (GENERIC) Default centered text style for non-specialized centered lines. Center font font token for generic centered text (for example HN, HB, TN)
page_text_centre_size8.0 Base font size (points) for generic centered text Typical range: 8.0 .. 12.0
page_text_centre_vspace1.0 Base vertical spacing (mm) for generic centered text Typical range: 0.5 .. 2.0
series_page_text_centre_font"HN" SPECIALIZED CENTER TEXT FALLBACKS These allow independent styling for specific metadata classes. Keep these aligned unless you intentionally want visual differentiation. Series line centered text (for series labels/headings) font token for series-centered text (for example HN, HB, TN)
series_page_text_centre_size8.0 Base font size (points) for series-centered text Typical range: 8.0 .. 12.0
series_page_text_centre_vspace1.0 Base vertical spacing (mm) for series-centered text Typical range: 0.5 .. 2.0
date_page_text_centre_font"TN" Date line centered text font token for date-centered text (for example HN, HB, TN)
date_page_text_centre_size8.0 Base font size (points) for date-centered text
date_page_text_centre_vspace1.0 Base vertical spacing (mm) for date-centered text
watermark_page_text_centre_font"TN" Watermark line centered text font token for watermark-centered text (for example HN, HB, TN) Base font size (points) for watermark-centered text Typical range: 8.0 .. 12.0 Base vertical spacing (mm) for watermark-centered text Typical range: 0.5 .. 2.0
watermark_page_text_centre_size8.0 Base font size (points) for watermark-centered text Typical range: 8.0 .. 12.0
watermark_page_text_centre_vspace1.0 Base vertical spacing (mm) for watermark-centered text Typical range: 0.5 .. 2.0
engraving_page_text_centre_font"TN" Engraving line centered text font token for engraving-centered text (for example HN, HB, TN) Base font size (points) for engraving-centered text Typical range: 8.0 .. 12.0 Base vertical spacing (mm) for engraving-centered text Typical range: 0.5 .. 2.0
engraving_page_text_centre_size8.0 Base font size (points) for engraving-centered text Typical range: 8.0 .. 12.0
engraving_page_text_centre_vspace1.0 Base vertical spacing (mm) for engraving-centered text Typical range: 0.5 .. 2.0 The engraving-specific vertical spacing is applied when generating PAGE_TEXT_CENTRE output, unless engraving_page_text_centre_format is set. In that case, the complete custom format takes precedence.
page_text_right_font"HN" RIGHT-ALIGNED TEXT FALLBACKS Used for right-anchored page labels/metadata when no full right template override is provided. font token for generic right-aligned text (for example HN, HB, TN)
page_text_right_size10.0 Base font size (points) for generic right-aligned text Typical range: 8.0 .. 12.0
page_text_right_vspace1.0 Base vertical spacing (mm) for generic right-aligned text Typical range: 0.5 .. 2.0
series_page_text_centre_format_enabledfalse PER-TYPE FORMAT OVERRIDES Each *_format_enabled switch defaults to false. When true, its matching format string replaces the generated font/size/vspace fallback for that metadata category. When false, the category-specific font/size/vspace settings above remain in effect. Format strings must contain exactly one "{}" placeholder for the text. When true, use the custom format below for series-name header lines. When false, use the series font/size/vspace fallback settings.
series_page_text_centre_format'PAGE_TEXT_CENTRE Custom AlbumEasy PAGE_TEXT_CENTRE command for series-name header lines. Keep exactly one "{}" placeholder; it is replaced with the series name.
date_page_text_centre_format_enabledfalse When true, use the custom format below for date header lines. When false, use the date font/size/vspace fallback settings.
date_page_text_centre_format'PAGE_TEXT_CENTRE Custom AlbumEasy PAGE_TEXT_CENTRE command for date header lines. Keep exactly one "{}" placeholder; it is replaced with the formatted date.
watermark_page_text_centre_format_enabledfalse When true, use the custom format below for watermark header lines. When false, use the watermark font/size/vspace fallback settings.
watermark_page_text_centre_format'PAGE_TEXT_CENTRE Custom AlbumEasy PAGE_TEXT_CENTRE command for watermark header lines. Keep exactly one "{}" placeholder; it is replaced with the watermark text.
engraving_page_text_centre_format_enabledfalse When true, use the custom format below for engraving header lines. When false, use the engraving font/size/vspace fallback settings.
engraving_page_text_centre_format'PAGE_TEXT_CENTRE Custom AlbumEasy PAGE_TEXT_CENTRE command for engraving header lines. Keep exactly one "{}" placeholder; it is replaced with the engraving text.

[header_formatting]

ParameterValueDescription
date_pattern"{month} Header Formatting Fine-grained controls for how stamp-group headers are formatted. These fields live in a separate sub-section and are NOT promoted to the top-level config — they must be set here in [header_formatting]. Date display settings for stamp issue dates shown in group headers. `date_pattern` is preferred for new configurations and takes precedence over the legacy `date_format` option below. It may contain these tokens: {year} four-digit year, such as "1960" {month} month name from the source, or a name derived from month_num {month_num} numeric month from "1" through "12" {day} day of month, such as "15" Any punctuation, spacing, and token order may be chosen. Examples: "{month} {day}, {year}" -> "January 15, 1960" "{month_num}-{day}-{year}" -> "1-15-1960" "{year}-{month_num}-{day}" -> "1960-1-15" If date_pattern is omitted, the legacy styles remain available: "commas" (default) : "Month Day, Year" "dashes" : "Month - Day - Year"
date_format"commas"

[diagnostics]

ParameterValueDescription
detailed_page_fitfalse Diagnostics / Advanced These options are off by default and are intended for debugging layout and rendering issues. Enabling them adds verbose output to the generated album files and/or the terminal log. Emit per-stamp PAGE_FIT diagnostics for every stamp placed on a page. Useful when stamps are being cut off or rows overflow unexpectedly. detailed_page_fit is a short alias; detailed_page_fit_diagnostics is the canonical name — both control the same feature.
detailed_page_fit_diagnosticsfalse Detailed diagnostics for every stamp placement decision, including row height calculations, image/text sizing, and overflow checks. This is a more verbose version of detailed_page_fit and is intended for deep debugging of layout issues.
emit_placeholder_diagnosticsfalse Emit extra diagnostics for placeholder expansion steps. Helps trace which placeholder tokens are resolved vs left unexpanded.
calibration_csv"" Path to a DPI calibration CSV file. When set, calibration data from this file is loaded to fine-tune DPI calculations for your specific printer/output environment. Leave empty to skip calibration.

[runtime]

ParameterValueDescription
show_progress_indicatortrue Runtime / Integration Settings This section controls how the generator behaves at startup and integrates with external tools (AlbumEasy PDF renderer) and the Review UI. Why this section is important: - Determines where the generator looks for input data (Colnect inbox). - Controls AlbumEasy integration so PDFs can be built automatically. - Allows the Review UI to locate the correct Albums root across different install locations (especially relevant on Windows with external runtime). Typical setup steps: 1) If using Colnect export, set colnect_inbox_path to your inbox folder. 2) Set albumeasy_cli_path if AlbumEasy is installed (enables PDF generation). 3) Set bootstrap_albums_root_path if auto-detection picks the wrong folder. 4) Optionally enable pdf_dx_logging for troubleshooting PDF failures. Show animated progress spinner/messages in terminal runs. Set false to suppress noise in automated/CI environments.
colnect_inbox_path"colnect_inbox" Directory scanned for Colnect export CSV files when using: --source colnectexport (without an explicit --colnect-inbox argument). Why important: - Without this, the generator has no default place to look for export files. - The directory is auto-created on first startup if it does not exist. - Relative paths are resolved from the runtime working directory.
albumeasy_cli_path"" Path to the AlbumEasy CLI executable for post-generation PDF rendering. Leave empty to disable automatic PDF rendering (manual AlbumEasy use only). Why important: - When set along with albumeasy_auto_generate_pdf = true, the generator will call AlbumEasy automatically after each album .txt file is written. - Must be the exact path to the executable on your system. Linux example: albumeasy_cli_path = "/path/to/AlbumEasy/AlbumEasy.sh" Windows examples (TOML escaping required for backslashes): Single-quoted (no escaping needed): albumeasy_cli_path = 'C:\Program Files (x86)\AlbumEasy\AlbumEasy.exe' Double-quoted (escape each backslash with \\): albumeasy_cli_path = "C:\\Program Files (x86)\\AlbumEasy\\AlbumEasy.exe"
bootstrap_albums_root_path"" Optional override for the Albums root directory used by the Review UI at startup. Why important: - The generator normally auto-detects the Albums root from the executable or working directory location. This can fail when the executable is installed in a different folder from the Albums data (e.g. external runtime on Windows). - Set this to either: a) The Albums directory itself (e.g. "E:\user\Documents\Stampgen\Albums") b) A parent folder containing Albums (e.g. "E:\user\Documents\Stampgen") - Leave empty to rely on automatic detection.
albumeasy_auto_generate_pdffalse When true, automatically call AlbumEasy after each .txt file is generated. Requires albumeasy_cli_path to be set to a valid executable. Equivalent to running: -c
albumeasy_pdf_timeout_secs300 Maximum wait for a fresh PDF after the AlbumEasy launcher exits. Positive seconds; increase for large albums or slower storage.
pdf_dx_loggingfalse Enable additional PDF generation diagnostics written to the Logs/ directory. Why important: - Useful when PDFs fail silently, images do not appear, or AlbumEasy exits with errors that are hard to trace from terminal output alone. - Keep false in normal use; set true only when troubleshooting PDF issues.

[review_ui]

ParameterValueDescription
odd_row_color"#ffffff" Review UI / Stamp Browser Settings This section configures the built-in web-based stamp browser and review tool. Why this section is important: - Controls the visual appearance of the metadata comparison tables. - Sets default checkbox states for which fields appear when reviewing stamps. - Defines the list of stamp catalog families shown in catalog selectors. The Review UI is launched with: stamp_album_gen2 --review-ui It serves a local browser page for inspecting, comparing, and correcting stamp data before generating final album pages. TABLE ROW COLORS Alternating background colors for the left/right metadata comparison tables. Use any valid HTML color name or RRGGBB hex value. Why important: - Makes long metadata rows easier to read at a glance. - Odd = first/third/... rows; Even = second/fourth/... rows. These are row-tint colors applied across both metadata columns.
even_row_color"#299af0" Even row color (background) for metadata tables in the Review UI.
first_column_color"#a4f0a8" TABLE COLUMN COLORS These colors identify the two columns in each metadata table: - First column: metadata field name/key. - Second column: metadata value. A subtle row tint is layered over these column colors when rows alternate.
second_column_color"#ffffff"
default_sort_mode"year_series_date_catalog" DEFAULT FIELD CHECKBOX STATES These control which metadata fields are pre-selected when the Review UI loads. Users can toggle any field interactively; these are just the startup defaults. Why important: - Reduces noise for common workflows (e.g. hide rarely-used fields by default). - Changes here apply only to the initial state; user selections are not saved. - `default_sort_mode` sets the initial left-panel ordering when Review UI opens. Review UI startup sort order for the left-panel stamp list. Allowed values: - "year_series_date_catalog" : year then issue date in series then catalog number - "catalog" : catalog number - "year_catalog" : year then catalog number - "series_catalog" : series then catalog number - "series_date_catalog" : series then issue date then catalog number - "rowid" : database row id - "colnect_id" : Colnect ID
default_series_checkedtrue Stamp metadata fields: Series label (grouping name for the stamp set)
default_description_checkedtrue default description text (from StampWorld/Colnect)
default_watermark_checkedtrue default watermark text (from StampWorld/Colnect)
default_design_checkedtrue default stamp designer/artist credit (from StampWorld/Colnect)
default_engraving_checkedtrue default engraver credit
default_perforation_checkedtrue default perforation gauge/type (from StampWorld/Colnect)
default_context_checkedtrue default content type (e.g. commemorative, definitive, etc.)
default_contextual_notes_checkedtrue default contextual/historical notes
default_colnect_links_checkedtrue Colnect data fields:
default_colnect_image_url_checkedtrue default Colnect page link for each stamp
default_colnect_metadata_checkedtrue default colnect metadata.
default_replace_sg_number_checkedtrue default replace Catlog numbers with matched values (from Colnect)
default_right_unmatched_only_checkedfalse default right unmatched-only checkbox state (show only unmatched right-panel stamps)
catalog_family_options[ CATALOG FAMILY OPTIONS List of stamp catalog families shown in the Review UI catalog selectors. These power the "preferred catalog" dropdown and the "Other catalogs" fallback list. Format per entry: "code|label|count" - code : short identifier used in catalog_codes fields (e.g. "sn", "sg") - label : human-readable name displayed in the selector - count : optional approximate global stamp count (informational only) Why this list matters: - Controls what appears in the catalog selection dropdowns in the UI. - The `code` values must match what is stored in your album DB catalog_codes fields (sourced from Colnect). Using an unlisted code still works but will not appear in the selector UI. - Entries are shown in order; put most commonly used catalogs first. - If empty, the UI falls back to built-in defaults (no selector shown). Tip: the `code` here should match [stamps].default_catalog_code so the preferred catalog is pre-selected in the UI on load. ALL RECOGNIZED CATALOG CODES (as of this version): sn = Scott Number (US; widely used in North American collections) sg = Stanley Gibbons (UK; standard for Commonwealth/British issues) mi = Michel (German; dominant in Europe) yt = Yvert et Tellier (French; standard in Francophone collections) afa = AFA (Scandinavian; used for Nordic countries) ank = ANK / Ankerbuch (Austrian catalog) nvp = NVPH (Dutch; Netherlands Philatelic catalog) un = Unificato (Italian catalog) col = Colnect internal codes (unique to the Colnect database) wad = WADP / WNS Numbering System (UN postal agency standard)

[stampworld]

ParameterValueDescription
username"" Site Authentication & Credentials StampWorld registration link: https://www.stampworld.com/en/profiles/register/ Account credentials used for catalog data and image retrieval. Store credentials here or set via STAMPWORLD_USER / STAMPWORLD_PASS env vars. NEVER commit real passwords to Git.
password""
auto_loginfalse

[colnect]

ParameterValueDescription
username"" Colnect registration link: https://colnect.com/en/account/create Account credentials used for Colnect catalog and image searches. Store credentials here or set via COLNECT_USER / COLNECT_PASS env vars. NEVER commit real passwords to Git.
password""
auto_loginfalse
include_detailstrue Colnect Metadata / Field Selection This section controls which stamp metadata fields sourced from Colnect.net are included in generated album pages (under each stamp entry). Why this section is important: - Colnect provides rich stamp metadata (designers, paper type, print run, etc.) that goes far beyond basic catalog numbers and dates. - Including too many fields creates cluttered, hard-to-read album pages. - Carefully selecting fields lets you tune the level of detail per collection. HOW FIELD SELECTION WORKS (read carefully — two mechanisms interact): Mechanism 1: detail_fields (comma-separated list) - Simple fallback used only when NO [colnect.fields] value is explicitly set. - Lists field names in the order you want them displayed. - Easy to change without touching individual toggles. Mechanism 2: [colnect.fields] per-field toggles - Takes PRECEDENCE over detail_fields when at least one field is explicitly set (true or false). - If any toggle is present, the detail_fields list is ignored. - This means album overrides can disable a global true field by setting it to false locally. - Use this for precise per-field control. Recommended approach: - Use detail_fields for quick experimentation. - Switch to [colnect.fields] toggles once you know which fields you want. - Never mix both active simultaneously (detail_fields will be silently ignored). Master toggle: set false to suppress ALL Colnect metadata from album output. Why important: - Provides a single switch to strip all Colnect detail without deleting config. - Useful when generating clean overview pages without metadata clutter.
detail_fields"print_run,themes,designers,printing_type" MECHANISM 1: Comma-list field selection (active when no [colnect.fields] values are set) List field names in display order, separated by commas. Only fields listed here will appear in the album output. All available field names: name - Colnect item title/name catalog_codes — Cross-catalog identifiers (Scott, SG, Michel, etc.) country - Country value from Colnect colnect_link - Colnect page URL issued_on — Official issue date expiry_date — Date stamp was withdrawn from sale (if known) width - Width only (mm) height - Height only (mm) size — Physical stamp dimensions (mm) themes — Subject/topic tags (e.g. "Animals", "Space", "Royalty") printing — Printing process (e.g. recess, lithography, photogravure) printing_type — Sub-type of printing method paper — Paper type used (e.g. chalk-surfaced, ordinary) gum — Gum/adhesive type (e.g. PVA, gum arabic) designers — Stamp designer credit(s) printers — Printing firm credit(s) colors — Color description as listed in catalog watermark — Watermark type/orientation format — Stamp format (e.g. vertical, horizontal, se-tenant) emission — Emission type (e.g. definitive, commemorative, airmail) perforation — Perforation gauge(s) face_value — Denomination as printed on stamp currency - Currency label (e.g. Dutch cent) print_run — Known or estimated quantity printed score — Colnect community popularity/score value accuracy - Colnect confidence/accuracy value ord_mi - Michel ordering/ranking value from Colnect ord_sn - Scott ordering/ranking value from Colnect ord_yt - Yvert ordering/ranking value from Colnect ord_sg - SG ordering/ranking value from Colnect parent_item - Parent Colnect item ID/reference variant - Variant marker overprint_variant - Overprint variant marker list - List metadata from Colnect quantity - Quantity metadata from Colnect condition - Condition metadata from Colnect public_note - Public note text from Colnect private_note - Private note text from Colnect description — Free-text description from Colnect

[colnect.fields]

ParameterValueDescription
namefalse MECHANISM 2: Per-field toggles (takes precedence over detail_fields above) Set any field to true to include it; false to exclude it. As soon as at least one field is explicitly set here (true or false), detail_fields is ignored entirely. Why use toggles instead of detail_fields: - More explicit and readable for permanent configs. - Easy to enable/disable individual fields without retyping the whole list. - Allows commenting out a field without losing its position. Colnect item title/name
catalog_codestrue Cross-catalog identifiers (sn:540, sg:824, etc.)
countryfalse Country value from Colnect
colnect_linkfalse Colnect page URL
issued_ontrue Official issue/release date
expiry_datetrue Withdrawal-from-sale date (often unknown)
widthfalse Width only, in mm
heightfalse Height only, in mm
sizetrue Physical stamp size in mm (width x height)
themestrue Subject tags / topical categories
printingtrue Printing process (e.g. recess, offset lithography)
printing_typetrue Sub-category of printing method
papertrue Paper type or surface
gumtrue Gum/adhesive type (PVA, dextrin, etc.)
designerstrue Designer name(s)
printerstrue Printer/manufacturer name(s)
colorstrue Color description from catalog
watermarktrue Watermark type and orientation
formattrue Stamp format (vertical, horizontal, miniature sheet, etc.)
emissiontrue Emission category (definitive, commemorative, airmail, etc.)
perforationtrue Perforation gauge(s) — e.g. "14 x 13.5"
face_valuetrue Denomination as printed on stamp
currencyfalse Currency label (e.g. Dutch cent)
print_runtrue Quantity printed (if known)
scoretrue Colnect community popularity score (0–100)
accuracyfalse Colnect confidence/accuracy value
ord_mifalse Michel ordering/ranking value from Colnect
ord_snfalse Scott ordering/ranking value from Colnect
ord_ytfalse Yvert ordering/ranking value from Colnect
ord_sgfalse SG ordering/ranking value from Colnect
parent_itemfalse Parent Colnect item ID/reference
variantfalse Variant marker
overprint_variantfalse Overprint variant marker
listfalse List metadata from Colnect
quantityfalse Quantity metadata from Colnect
conditionfalse Condition metadata from Colnect
public_notefalse Public note text from Colnect
private_notefalse Private note text from Colnect
descriptiontrue Free-text description from Colnect page

[colnect.fields.layout]

ParameterValueDescription
pages_vspace_in_row_heighttrue Legacy passthrough sections kept for backward compatibility. They are documented so Review UI no longer groups them under "Preserved". Mirrors layout/pages-vspace behavior When true, stamp row height calculations include the vertical spacing between rows. This can help avoid row overflow when vspace is non-zero.
stamp_heading_in_row_heighttrue Mirrors heading-height inclusion behavior When true, stamp row height calculations include the vertical space taken up by the heading text. This can help avoid row overflow when headings are present and vspace is non-zero.

[colnect.fields.runtime]

ParameterValueDescription
calibration_csv"" These fields control runtime behavior and diagnostics for the generator. optional calibration data file path (CSV) for fine-tuning DPI calculations.
date_format"commas" Date formatting mode for exports. Allowed values: "commas" (default) or "dashes".
detailed_page_fitfalse Enables detailed page-fit diagnostics
detailed_page_fit_diagnosticsfalse Enables detailed page-fit diagnostics for every stamp placement decision
emit_placeholder_diagnosticsfalse Enables placeholder-image debug diagnostics