Skip to main content

Carol Service Ticket

A free ticket to Nine Lessons and Carols at St Aldhelm's Cathedral, built from the show-ticket parts: a light stock with a band at each edge, a tinted stub and a centred stack that says one thing at a time: the service, then the date and time, then the venue.

  • Your pew on the plan. The stub's foot shows the nave from above, twelve rows either side of the aisle, and the holder's pew filled in the palette. nave-plan places its mark from its own parameters ("params": {"x": "$data.pewX", "y": "$data.pewY"}), and the document passes the seat's place from the record.
  • A voice for the occasion. voice sets the stack in the serif or the sans; here the serif, under a lancet arch (pointed-arch) with a small star above it. The arch is drawn as faint tint, not line: a frame band and a paler light inside it, so the headline stands on it whole and no stroke runs through a letter.
  • Microprinted tear lines. They carry the cathedral, the ticket number and the seat, and a Code 128 runs up the right stub.
  • Live links. On screen the Code 128 opens the ticket's verification page, and the cathedral's name, a quiet line in the palette's ink, opens its directions page. The code is a link through a rectangle with no paint laid over it, and the line is an inline [link] in a span whose style states textDecoration: none, so it keeps its plain type.
  • Add to calendar. The service travels inside the PDF as an iCalendar file (RFC 5545): the time, the cathedral, the pew and the ticket number. A reader lists it in its attachments panel, and opening it adds the service to any calendar.
  • Signed, archival and accessible. An invisible certifying PAdES signature, PDF/A-3a - the part of PDF/A that allows an embedded file of any kind, here the calendar event - and PDF/UA-1; the plan names the pew it marks.

Features used: PDF/A-3a, PDF/UA-1 conformance, watermarks, columns, SVG, barcodes (code128), a digital signature, attachments, links, data binding, components

How it's built​

show-ticket-art and pointed-arch are page watermarks. The ticket itself is one component, carol-service-ticket, laid in a grid of four columns in the normal flow: the stub, the middle, the facts and the turned edge. It composes the parts every show ticket shares - show-ticket-stub for the four booking fields, show-ticket-heading for the centred stack and show-ticket-facts for the three on the right, each given its labels and values as parameters - and adds its own pieces under them: the plan of the nave on the stub, the order of the evening in the middle and the Code 128 turned up the edge. The plan places the pew from the record:

{
"use": {
"name": "nave-plan",
"params": {
"pewX": "$data.seat.planX",
"pewY": "$data.seat.planY",
"palette": "$data.ticket.palette"
}
}
}

The calendar event is an attachment of the document:

{
"attachments": [
{
"fileName": "st-aldhelms-carol-service.ics",
"filePath": "attachments/carol-service-ticket-nlc26-0391.ics",
"description": "Add the service to a calendar: Nine Lessons and Carols, 18:30 on 24 December 2026, Nave North row 9, pew N9",
"relationship": "supplement",
"mimeType": "text/calendar"
}
]
}

The venue and its map address are two parameters of show-ticket-heading, which links the one to the other in a span of the palette's ink. That ink's style states textDecoration, so the span's decoration replaces the underline a link comes with:

{
"styles": {
"stInk-burgundy": { "color": "#7A1F2B", "textDecoration": "none" }
}
}
{
"use": {
"name": "show-ticket-heading",
"params": { "palette": "$data.palette", "voice": "serif", "venue": "$data.venue", "map": "$data.map" }
}
}

Carol Service Ticket Sheet​

One household's Christmas at St Aldhelm's, printed on one Letter sheet: four services of the season, each the ticket above bound to its own record.

  • Four services, four tickets. The same component, carol-service-ticket, is placed once per record of $data.tickets. The records share the cathedral and differ in everything a service decides: Advent Carols on 29 November, then the Christingle, Nine Lessons and Carols and the Midnight Eucharist on Christmas Eve, each with its own title, line under it, date and time, doors, order of the evening, holder, ticket number and codes.
  • A palette per service. Violet for Advent, terracotta for the Christingle, burgundy for the carols, midnight for the Eucharist: the palette is one value in each record, and it colours the edges, the stub, the venue line, the plan's mark and the arch and stock behind the ticket.
  • Each pew marked on the nave. Every plan marks its own holder's pew from the record - S4, N2, N9, S12 - placed from the row and the side of the aisle.
  • The band is data. The band up the right edge states each service's own instruction: when to arrive, or when the doors close.
  • A microprint per ticket. Each ticket's stock and arch are page watermarks bound to its own record: the microprint names that ticket's number and row.
  • A line to cut along. The 540pt ticket sits centred on the Letter page, four to the sheet, and the cut-line component runs edge to edge in the gap under each of the first three.
  • The season in the calendar. The sheet carries one iCalendar file (RFC 5545) with an event per service, each with its pew.

How the sheet is built​

Each ticket is one record of $data.tickets, a table row per record, its parameters read from the row's own $item; the cathedral, which every service shares, from $data:

{
"table": {
"style": "ticketSheet",
"widths": [1],
"source": "$data.tickets",
"rows": [[{
"style": "carolSlot",
"columns": { "widths": [1], "rows": [[{ "use": { "name": "carol-service-ticket", "params": { "palette": "$item.ticket.palette", "title": "$item.service.title", "when": "$item.service.when", "pew": "$item.seat.pew", "planX": "$item.seat.planX", "planY": "$item.seat.planY", "venue": "$data.venue.name" } } }]] }
}]]
}
}

The cut line, one component placed in each gap from the page's top:

{
"use": { "name": "cut-line", "x": 0, "y": 191.5, "width": 612, "height": 10 }
}