class PdfThreadWhatsitNode
\pdfthread [ ⟨rule spec⟩ ] [ ⟨attr spec⟩ ] ⟨id spec⟩ (h, v, m)
Defines a bead within an article thread. Thread beads with same identifiers (spread across the document) will be joined together.
Example:
assert.node_type("whatsit", "pdf_thread", {
id = "whatsit (8)",
subtype = "pdf_thread (24)",
fields = {
"prev (-1)",
"next (0)",
"id (1)",
"subtype (2)",
"attr (3)",
"width (4)",
"depth (5)",
"height (6)",
"named_id (7)",
"thread_id (8)",
"thread_attr (9)",
},
})
Reference:
- Corresponding C source code: texnodes.c#L1185-L1192
- Hàn Thế Thành and others. The pdfTEX user manual, pdfTEX 1.40.27, February 12, 2025, page 51 pdftex-a.pdf
😱 Types incomplete or incorrect? 🙏 Please contribute!
fields
PdfThreadWhatsitNode.attr
PdfThreadWhatsitNode.attr : Node {
next: Node?,
prev: Node?,
id: integer,
subtype: integer,
head: Node?,
attr: Node,
}
A list of attributes.
PdfThreadWhatsitNode.width
the width (not used in calculations)
PdfThreadWhatsitNode.height
the height (not used in calculations)
PdfThreadWhatsitNode.depth
the depth (not used in calculations)
PdfThreadWhatsitNode.named_id
is tread_id
a string value?
PdfThreadWhatsitNode.tread_id
the thread id string the thread name
PdfThreadWhatsitNode.thread_attr
extra thread information