Live Preview
Martypex compiles your document as you type and shows the result as a real, paginated PDF, not an approximation. The preview is a first-class part of the editor, not an afterthought you trigger manually.
How compilation works
Every keystroke can trigger a recompile, but Martypex does not rebuild your document from scratch each time. Compilation is incremental: it reuses work from the previous pass so only what changed needs to be reprocessed, keeping edits fast even in longer documents.
The preview also follows a keep-last-good rule. While you are mid-edit, or if the current source has an error, the preview holds your last successful render on screen rather than going blank or showing a half-finished page. You always have something to look at, and the moment your document compiles cleanly again, the preview updates to match.




Reading diagnostics
When a compile produces errors or warnings, Martypex surfaces them as inline diagnostics mapped to the source line that caused them. You do not have to cross-reference a separate error log: the problem is marked right where it happened in the editor, so you can fix it and move on.
Because of keep-last-good, a diagnostic never costs you your preview. You can take your time fixing an error while still seeing the last clean page underneath.




Paging the PDF
The preview is a genuine PDF view, and your document is paginated the same way it will be once exported. Page through it to check layout, figure placement, and page breaks exactly as they will appear in the final file.
iPad split vs. iPhone toggle
On iPad, the editor and preview sit side by side, so you can watch the PDF update as you write without leaving the keyboard. On iPhone, screen space is tighter, so a segmented control at the top switches between Editor and Preview, letting you move between writing and checking the rendered page with a tap.