editorial-typesetting
Installation
SKILL.md
Typesetting
Check for editorial context first: If .agents/editorial-context.md exists, read it before beginning. Load the Style Sheet from the copy editing pass — it governs proper noun spelling, capitalization decisions, and number treatment in the typeset output.
Intake
This stage has more intake questions than any other. Every decision made here is baked into the LaTeX preamble and cannot easily be changed later. Take them seriously.
Read the context file. Then ask for everything below that is not already captured. Ask all required questions before generating anything.
Group 1: Document Structure
Required:
- What are the source files? List the markdown files that make up the book, in order. Include front matter (title page, copyright, dedication, preface) and back matter (appendices, notes, about the author) if they exist. If the files are in the project directory, scan for
.mdfiles and present the list for the user to confirm order. - What front matter does this book include? (Confirm which apply: half-title page, title page, copyright page, dedication, epigraph, foreword, preface, acknowledgments, introduction. Note whether the introduction is front matter or Chapter 1.)
- What back matter does this book include? (Confirm which apply: epilogue, afterword, appendix/appendices, endnotes or bibliography, index, about the author.)
- Does the book use parts (Part I, Part II…) above the chapter level?