
Welcome to Code by Zeba Academy.
A technical reference library for document engineering, digital publishing standards, and automated print pipelines.
Here you’ll find production-ready schemas, validator error solutions, and implementation specs for JATS XML, EPUB 3, ONIX 3.0, Pandoc workflows, and prepress standards; built for production editors, prepress operators, and publishing technologists.
Latest Articles
Thoughts, tutorials, and insights.
-

· 5 min read
How to Automate 3mm Bleed and Crop Marks with CSS @page?
Read more →: How to Automate 3mm Bleed and Crop Marks with CSS @page?Commercial sheetfed offset and print-on-demand (POD) finishing lines rely on mechanical guillotines operating at speeds exceeding 40 cuts per minute. Due to clamp compression, mechanical…
-

· 5 min read
How to Resolve EPUBCheck HTM_004 and HTM_011 Entity Errors in EPUB 3?
Read more →: How to Resolve EPUBCheck HTM_004 and HTM_011 Entity Errors in EPUB 3?EPUB 3.3 defines XHTML Content Documents strictly as XML serializations conforming to the W3C Extensible Markup Language (XML) 1.0 (Fifth Edition) specification. Under XML 1.0…
-

· 5 min read
The Memory Layout of Rust Enums: Discriminants, Niche Optimization, and Alignment
Read more →: The Memory Layout of Rust Enums: Discriminants, Niche Optimization, and AlignmentRust enum sizing equals the largest variant payload plus discriminant and trailing alignment padding. Ignoring variant balance bloats hot collections, blowing past L1 cache boundaries.…
-

· 5 min read
What Happens to the CPU Cache During sched_yield
Read more →: What Happens to the CPU Cache During sched_yieldYielding CPU execution via sched_yield() introduces catastrophic tail latency by forcing kernel register spills, Translation Lookaside Buffer evictions, and L1/L2 cache pollution. Voluntary thread switches…

