Written November 30, 2026, after the 2026 update (10.70962/jhi.20260230). The goal is to repeat what we did for 2026, faster and without surprises.
Toolkit: the scripts, GTM tags, and sample XML referenced below are in JHI_IUIS_update_toolkit_2026.zip, saved in the wiki files folder on Google Drive. The same instructions are also in a Google Doc.
2024 update (10.70962/jhi.20250002, published 2025): the classification appeared as 22 figures. Fig. 1 was the diagnostic flowchart, and an interactive version of Fig. 1 ran through a GTM tag.
2026 update (10.70962/jhi.20260230): we converted the classification figures (Figs. 2–22) into 21 SCJATS tables (Tables 1–21). Fig. 1 stayed a figure, updated to point to the tables, and got a new interactive version.
Expect 2028 to follow the 2026 model: one flowchart figure, plus color-coded tables.
PowerPoint source for the classification slides, not a PDF. The .pptx gives exact box positions, fills, borders, and text runs, which is what makes the automated conversion work.
Legends for every table (Word is fine), including the key:
red frame: new disorder or gene
red disease names: new; darker red: phenocopies
genes in bold italic
# and * OMIM prefixes
*: extremely rare
†: single case or kindred
Ask early about anything that won't survive the conversion to tables:
The connector lines and brackets between boxes are lost.
Color is lost wherever it's the only way meaning is shown. Silverchair strips text color, and color alone isn't accessible under the US and EU accessibility rules.
In 2026 we proposed bold plus a symbol (§) instead of red text. Check what the authors decided and start from that.
Late additions come with an exact position. In 2026, FADD deficiency and A20 haploinsufficiency arrived late. The authors had to say which box each one went below.
Fig. 1 source file. Ask the authors for an editable source of Fig. 1 that already points to tables, so we don't have to edit the TIF.
extract.py: reads the .pptx and writes shapes.json, with each shape's position, fill, border, z-order, and text runs (color, bold, and italic).
Watch for boxes hidden behind other boxes. They're detected by z-order.
convert.py: snaps the shapes to a grid and builds each table.
Rows and columns come out with rowspan and colspan.
Each cell gets style="background-color:#…;border:1.5px solid #000000".
Text colors are darkened to meet WCAG AA contrast (4.5:1) against the cell fill: FF0000 → D00000, and phenocopy red C00000 → 900000.
Bullets stay as hyphens, which the authors preferred.
Line breaks inside a cell use <break/>, because SCJATS doesn't allow styled-content inside a <p> in a <td>.
It converts private-use symbol characters from the slides to real α, γ, ↑, and ↓.
legends.py: adds each caption and footnote from legends.docx. The 2026 style rules were:
Greek letters, not "beta" or "gamma"
commas, not colons, in abbreviation lists ("FA, frequency of acute inflammation episode; …")
every legend ends with a period
superscripts written as superscripts (CD3+)
the terms the authors corrected in 2026, such as T cell receptor, Varicella zoster virus, and Adenosine deaminase
Numbering: number the tables from 1, and renumber the in-text references (Fig. N becomes Table N−1).
Proofread every table against its slide. In 2026, a separate proofreading pass checked each table for lost text, spans, or colors. review.py builds the side-by-side comparison of slide and table.
Common problems:
doubled periods ("def..")
text runs split mid-word, which breaks symbols and colors
cells that need splitting when an insertion lands in a merged cell
Validate against the newest Silverchair SCJATS package (we used 1.51, MathML3 flavor). Check specifications.silverchair.com for a newer version first.
How:
Run python3 swap.py Journal_XML_Example.xml TableN.xml test.xml, which replaces <table-wrap id="table1"> in Silverchair's sample with your table.
Change the schema location in the sample from SCJATS-journalpublishing.xsd to SCJATS-journalpublishing-mathml3.xsd.
Run xmllint --noout --schema SCJATS-journalpublishing-mathml3.xsd test.xml.
cellspacing on <table> is valid SCJATS. Add cellspacing="4" if TNQ says their pipeline uses it (see section 7).
tohtml.py turns each table into HTML for preview.
Send the authors the side-by-side PDF of each slide next to its table. In 2026, the cover note explained:
the benefits: the tables are searchable, accessible, linkable, and indexable
the limitations: the connector lines are lost, and the color issue on the JHI site (section 5)
Silverchair strips <styled-content style> (text color), <th> styles, and all <table> attributes, and it sets border-collapse: collapse. It does keep <td> styles (fills and borders).
Color tag: run python3 -I build.py <DOI> <outfile.html> <table XML files>.
It builds a GTM Custom HTML tag that recognizes each table by its content and recolors the phrases that were colored in the XML.
It watches for the "View large" copy of each table and recolors that too.
It includes a DOI check, so it does nothing on other articles.
Spacing CSS (already in the tag). It restores the white gaps between boxes and hides empty cells:
table[data-rup-colored]{border-collapse:separate!important;border-spacing:4px!important}
table[data-rup-colored] td:empty{border:none!important;background:transparent!important}
Trigger: Some DOM Ready Events, Page Path contains the new article ID (e.g., e2028xxxx).
Test: on staging (ruprc.silverchair.com) in GTM Preview, then publish.
Long term: ask Silverchair to carry styled-content color through to the page. Then this tag can be retired.
Static image: if the authors can't supply an updated source, edit.py rewrites the "Go to …" text in the TIF.
It uses Pillow, with the Carlito font (same widths as Calibri) at about 71 px.
Line height is 1.1, at 600 dpi with LZW compression.
Interactive version: start from RUP_GTM_IUIS2026_Fig1_interactive.html and update:
the DOI check
the tree list, so it matches the new Fig. 1 exactly. Each line is [depth, text] or [0, button label, table number]. Give "Go to Tables X, Y, or Z" a separate button for each table.
the title and help text, if needed
What it does:
adds a "View Interactive" button on Fig. 1
opens a pop-up with Map and List views; phones and other narrow screens open in List view
its "Go to" buttons jump to the table, stopping just below Silverchair's toolbar
a "Back to Fig. 1 flowchart" button appears above the table's View large button, and the browser's Back button also reopens the flowchart
keyboard focus stays in the pop-up, and Esc closes it
it hides Google Scholar's floating PDF button while the pop-up is open
Outside code: the map loads d3@7 and markmap 0.15.4 from cdn.jsdelivr.net. Check they still load. The List view works even if they don't.
Silverchair page markup it relies on. Check these before reusing the tag:
Fig. 1's button bar: div[data-id="fig1"] .original-slide
each table's title: div.table-wrap-title[data-id="tblN"], inside .table-wrap
a table's View large button: in .table-wrap > .graphic-wrap
a figure's View large and Download slide buttons: in .original-slide
the sticky toolbar: .toolbar-wrap
the DOI: meta[name="citation_doi"]
Trigger: scope it to the article ID, as with the color tag. Test in GTM Preview on staging. Click several "Go to" buttons, the return button, Back, and List view, and try it on a phone.
TNQ builds the PDF from the XML. Their pipeline may ignore <td style> (fills and borders) and cellspacing.
Early on, send them the spec:
fill each cell with the color in its style
1.5 pt black borders around filled cells
about 4 pt of white space between cells, with no table frame or rules
no fill or border on empty cells
column widths and spans as in the XML
Ask for a test proof of one or two tables before they set the rest. Use the 2026 note to TNQ as the template.
PMC gets the XML. Cell fills should display there. Check text color on the PMC version; we hadn't confirmed it as of November 2026.