Repository navigation
Releases
kTeX v561
v561: fix: a document with no title prints no title block - the default title (Untitled) with no title on the page wrote \title{Untitled} and \maketitle, so the PDF showed Untitled and the date. Golden documents.json: the 29 cases with the default title updated from this app's output (only that title block gone).
v560: Open LaTeX as it is - a .tex kept exactly as written (File > Open LaTeX as it is..., offered when a .tex uses a class kTeX does not know): the Code tab edits it, the PDF compiles it unchanged with the class, styles, .bib and pictures in its folder, Save writes it back to the .tex; the Visual tab offers to import it instead. Also: the Review decisions are kept when a .ktex is saved and reopened (they were dropped on reading)
v559: fix: importing a manuscript in a journal class kTeX does not know (iucr.cls) compiles - its front matter after \begin{document} is kept as written (two-argument \author, \cauthor, \aff, \shorttitle, \keyword, \maketitle) with the abstract after it; ( ) is inline maths; a figure with no picture (a placeholder box, a TikZ drawing) is kept as written instead of an empty \includegraphics; \resizebox keeps its width; \citeasnoun is a citation; graphicx added when pictures need it; no [htbp] for iucr's own figure argument; kTeX's compile gives pdfTeX classes \pdfshellescape and the XeTeX graphics driver; Export LaTeX writes picture paths relative to the .tex. Golden documents.json: the thesis example's TikZ figure (was an empty picture) updated from this app's output.
v558: Find works in the Code tab (searches the LaTeX, highlights the match, replace and replace all) and is better in Visual (finds figure and table captions, equations, citations); both search as you type, show 3 of 12, start from the selected word, and have Whole word
v557: Math and Science tabs after Insert (Home, Insert, Math, Science, Admin & Office, ... Compile, Examples)
v556: tab order Home, Math, Science, Insert, Admin & Office, Draw, Design, Layout, View, References, Review, Compile, Examples; the tabs of what is selected (Box, Table...) after Examples
v555: Review > Decisions lists every change and comment accepted or rejected (what, made by, decided by, when; all, accepted or rejected; kept in the document); ribbon: Accountants group in Admin & Office, Chem. Eng./Architect/Earth Science in Science, Compile tab last, Science (more) and the Accountants tab gone
v554: Chapters - one .ktex holds a thesis's chapters: Home > Chapters (or the bar on each chapter heading) ticks which compile and which show while writing (folded chapters are not laid out), drags them into order, adds a new one or another file as a chapter; folds remembered per document
v553: editing a display equation shows its label in the Label box, not as \label inside the formula; a \label already in the LaTeX moves to the box, and the box changes or removes it
v552: PDF forms can be filled in kTeX's PDF panel (pdf.js form layer over each page with fields), with a Save filled PDF button that keeps what was typed
v551: the Fast LaTeX bolt leaves the corner buttons (Fast LaTeX stays on by default; its switch is on the Compile tab and in Settings)
v550: ribbon reorganised - Home, Insert, Admin & Office (now a standard tab, with Plan and Safety & Lab), Draw ... Compile, Examples, Math, Science (Chemical structure small), Science (more) with Chem. Eng., Architect and Earth Science drop-downs; tabs can be dragged into any order in Settings > Ribbon & Toolbar
v549: Gauge moves into Insert > Charts (after Gantt Chart), out of the Elements group
v548: Insert > Figure takes a picture dropped on it or pasted (with a preview), and every picture it inserts, Browse included, is copied into the document's figures folder (saved inside the .ktex) instead of linked where it was
v547: parts left out of the compile show as a box like an element's - dashed frame, Not compiled tag, and a Compile again button that brings the whole part back
v546: a run-in heading that wraps takes the mouse only over its words, so the text after it on its last line can be clicked too
v545: a run-in heading (\paragraph) can be clicked and edited again - it sits over the paragraph pulled up onto its line, only as wide as its words
v544: Do not compile - select paragraphs and click Home > Do not compile (or right-click > Do not compile): they are greyed and left out of the preview; the same button or Compile again brings them back, one paragraph or all; Export keeps everything
v543: the section-only preview is taken out again (owner's request): the preview compiles the whole document
v542: while writing, the preview compiles only the section holding the cursor (Auto-compile drop-down, on by default), with the counters set where it starts and the last full compile's references and citations, so every number matches the full PDF (checked on all 170 labels of a 128-page thesis); Compile PDF compiles everything
v541: pictures that finish loading are drawn together, once a frame, with one page pass after the last - opening a 42-figure chapter re-measures its pages 4 times instead of 7 (0.5 s instead of 1.2 s)
v540: the date under the title gets a frame and a close button on hover, like an element's box; the × removes it (Insert > Date brings it back)
v539: a chapter title of several lines opens low on its page in the visual editor, as in the PDF, so its "Chapter 1" label is no longer drawn inside the header
v538: page breaks in the visual editor are found 3.5 times faster (a binary search over the characters instead of posAtCoords per line: 47 ms instead of 169 ms on a 51-page chapter, same breaks); medium preview pictures are 800 px and low 300 px
v537: Auto-compile chooses the preview's pictures (full quality, medium 1600 px, low 400 px, or empty frames) from its drop-down, and compiles are at least 1 s apart; the tiny-pictures-while-typing step is gone
v536: typing waits for nothing - the visual editor's page breaks (0.13 s per key in a long chapter) and the compile now wait until the writing pauses (0.9 s and 1 s)
v535: typing in the visual editor comes first - compiles start only when the keys pause (350 ms), a PDF already out of date is not loaded, and reading the PDF, page breaks and the copy beside the document wait until typing stops
v534: Fast LaTeX previews use full-size JPEG copies of PNGs over 20 KB (truly transparent ones kept) - a 128-page thesis with 76 figures compiles in 0.62 s instead of 13.9 s; Export and Print keep the originals
v533: while typing, Fast LaTeX shows pictures as tiny low-resolution copies (240 px, cached) instead of frames - a compile with a 12 MP photo in 0.15 s; sharp pictures return 1.2 s after typing stops
v532: Fast LaTeX leaves pictures out while you type (graphicx draft frames, same layout) and puts them back with a full compile 1.2 s after the typing stops
v531: faster previews - style files copied once per session, large PNGs replaced by cached 1800 px copies in Fast LaTeX previews, PDF panel draws only pages near the view, page sizes read at once, tectonic located once a minute, no page-break parsing mid-typing, 60 ms typing pause
v530: with Fast LaTeX, typing compiles 150 ms after the last key instead of 450 ms
v529: Fast LaTeX tick beside Auto-compile (on by default) - one tectonic pass reusing the last compile's references, and the document's packages (TikZ, pgfplots, chemfig...) loaded from a saved TeX format; 2-3x faster previews, Export and Print stay full
v528: optional Chemical Engineering and Earth Science tabs - process flow diagram (chemplants symbols), McCabe-Thiele (pgfplots), stream table, mass balance, ternary diagram (pgfplots ternary), rose diagram, stratigraphic column (TikZ lithology patterns); release cache warm-up compiles every element
v527: text goes before, between and after elements - arrows select an element instead of opening its LaTeX, Enter or typing on a selected element starts a paragraph; ribbon clicks keep the focus so Ctrl+Z works; even spacing round elements; Timeline and Progress Bars edited in row grids
v526: optional Admin & Office, Accountants and Architect tabs (off until ticked in Settings) - 19 elements, each with its own tab, movable and removable
kTeX v525
v525: release builds top up the offline TeX cache from kTeX's own examples (qrcode, lettrine, fontawesome5...), so they compile offline
v524: mac_release.sh checks Apple Silicon binaries as arm64, the name lipo gives
v523: the lab notebook is edited in its own window - sections and blocks added with buttons, no markup
v522: Title Page, Chapter Titles and Header Style show their looks and the one chosen
v521: the user guide and Search tools know everything added
v520: theorems open their tab, look as in the PDF and move; nine kinds of wave
v519: full hover help on every ribbon button
v518: Geometry replaces Triangle; full hover help for everything added today
v517: the lab notebook takes any sections
v516: a Math tab beside Science
v515: elements never cross a page break; more Science tools - safety, physics and maths
v514: the Science tab - units, significant figures, constants, physics notation, nuclides, matrices, data plots, circuits, Feynman and MO diagrams, Bohr models, element tiles, hazard labels, reaction schemes, algorithms and lab notebooks
v513: a Science tab - Equations, Theorems and Chemistry move there from Insert
v512: Header & Footer leaves the Insert tab; on Layout it gains Header Style
v511: a tidier Insert tab and one Compile tab
v510: pull quotes, sidebars, ratings, gauges, steps, Gantt charts, charts (and Chart from Table), icons, title pages and header styles; elements move with the grip; checklists tick with a click
v509: Help moves into the ? menu (no Help tab); Compile PDF is an icon; Examples > Boxes & elements
v508: Insert > Elements (checklist, progress bars, timeline, QR code, code listing, drop cap), Layout > Margin Note and Design > Chapter Titles
v507: fancy table styles - Table Design > Fancy Styles: Banded, Coloured header and Accent lines, in any colour (Colour menu or Other colour…); stored as the table's style, drawn the same in the editor and the PDF
v506: boxes and tables move - drag the grip that shows in the left margin over one (a line shows where it lands), or Move up / Move down on the Box and Table Layout tabs and in the right-click menu; in a box, Cmd/Ctrl+Enter or Shift+Enter starts a paragraph after it
v505: Coloured boxes example moves to the Teaching gallery, so the ribbon's Examples tab shows it
v504: adding or removing a box (and any ribbon command) keeps the page where it was - WebKit put its caret at the end of the document when the block with the caret was redrawn without focus, and focus() scrolled there
v503: everything about a box in one place - a click on its title bar opens its name and colour; right-click offers name and colour, its type, Text after box, Remove box (keep text), Delete box; the Box tab (shown on entering a box) has Type, Style (Name & Colour, Title, Colour) and Box groups
v502: the ribbon fits a narrow window, as Word's - groups shrink, rightmost first: big buttons become small ones with labels, then icons only, then the group folds into one button that drops it down; narrower still, it scrolls sideways
v501: Coloured boxes example (Start gallery); custom boxes keep their colour when a file is opened; Box > Custom and Box colour use one name-and-colour dialog (WebKit ignored the code-opened colour picker)
v500: callout boxes export to Word as coloured boxes - a one-column table in the box's colour, the title row filled with it (white bold), the body a light tint, across the text width
v499: the Box button sits beside Table on the Insert ribbon (group Tables & Boxes)
v498: custom callout boxes - Insert > Box > Custom asks for the name and a colour; the Box tab's Colour… recolours any box with the colour picker
v497: coloured callout boxes - Insert > Box adds a titled, coloured box (Note, Tip, Information, Important, Warning, Danger, Key points), a breakable tcolorbox in the PDF
v496: docx import drops the empty bullets Word leaves behind
v495: docx import keeps what Word shows, and the LaTeX it writes compiles
v494: ci: scripts/mac_release.sh vN builds both Macs (Apple Silicon and Intel), signed for the updater, and uploads them to the release's draft, so Intel Macs update themselves too.
v493: ci: Linux installs update themselves - the release builds Linux (AppImage and .deb, each signed) beside Windows, smoke-tests the installed .deb, and latest.json lists linux-x86_64-appimage and linux-x86_64-deb (no plain linux-x86_64: a .deb install would fetch the AppImage); the separate Linux workflow is for builds by hand and keeps the .deb's signature.
v492: ci: kTeX online deploys from dev - GitHub Pages only accepts deploys from dev, so the run started by the v490 tag was refused; the release workflow now starts kTeX online from dev with the released tag to build, so the online version is still the released one.
v491: ci: the release workflow waits for its new draft to show (a few tries, 3 s apart) - the lookup right after creating it came back empty and stopped the v490 release until it was re-run.
kTeX v490
kTeX v490 (beta) — Windows x64, Macs (Apple Silicon and Intel) and Linux.
Word, closer than ever
- A blue title bar as Word's on a Mac, with AutoSave, Save, Export .docx and Export .pdf; New comment, Editing / Reviewing / Viewing and Share (Overleaf, Mail, Outlook, Teams, WhatsApp) at its right end.
- Header & Footer as in Word: double-click a page's top or bottom margin to type in it; the Header & Footer tab has page numbers, date, fields, a picture, different first page, odd and even pages, and the header and footer positions. Page Number is also on Insert ▸ Pages.
- Layout as Word's: Margins drawn as pages (Normal, Narrow, Moderate, Wide, Mirrored), Breaks, Line Numbers, Hyphenation, and a Header & Footer group.
- Draw tab: pens, pencil and highlighters; ink follows the word it marks (beta).
- Insert ▸ Contents: Table of Contents (unnumbered headings listed as in Word), Table of Figures; charts with their own editor (ten chart types, a spreadsheet, formatting).
- Search tools in the menu bar, Preferences as Word's window, a folding ribbon that leaves only the tab names.
- Font size now applies to tables; comments stay in view beside the page, and Fit page width includes them.
Your documents
- Design styles work in every document type: report, book, memoir, KOMA-Script (scrartcl, scrreprt, scrbook), the journal classes, tufte, theses; chapters keep their "Chapter N".
- Two and three columns follow the compiled PDF, never run into the bottom margin, and keep footnotes at the foot of their column; chapters, lists and Narrow margins fixed.
- Full .bib support: a .tex brings its .bib files in; Reference library ▸ Import .bib… and Paste BibTeX….
- A better Word export: a current Word file, the document's paper size, the date, numbered and aligned equations, ruled tables.
The workspace
- Try kTeX online: it now runs in your browser too, with its own LaTeX engine (khervetools.com/try).
- The PDF and the page scroll together both ways; an arrow on the divider hides the PDF and brings it back at the same width.
- A new illustrated User guide (F1) that stays open beside your document.
Windows: if SmartScreen warns, More info ▸ Run anyway. Mac: first launch, right-click the app ▸ Open. Existing installs update themselves.
kTeX v444
kTeX v444 (beta) — Windows x64, Apple Silicon Macs and Linux.
Word, closer than ever
- Home ▸ Font as in Word: font and size for the selected text, Grow / Shrink Font, Change Case, Clear Formatting, underline styles, Highlight and Font Color menus.
- Home ▸ Paragraph as in Word: bullet styles, numbering formats, multilevel lists (1. 1.1. 1.1.1.), Decrease / Increase Indent, Sort, Line Spacing, Shading and Borders.
- Layout: Orientation (portrait / landscape) and Columns menus; Indent (left, right) and Spacing (before, after) boxes.
- Insert: Word's table grid, Shapes, SmartArt (list, process, cycle, hierarchy, Venn, pyramid, matrix), Chart (column, bar, line, pie, scatter) and Screenshot.
- Review: Track Changes with All Markup / Simple Markup / No Markup / Original, Accept and Reject; comments in tables, shown in the margin of the PDF.
- The ribbon folds away when you click the open tab; a click in the left margin selects a line (double-click: the paragraph).
- Settings (the gear beside Help): your name for comments and changes, and how kTeX starts.
Word documents in
- Forms keep their layout: merged cells, cell colours, tick boxes, column widths, text boxes.
- Landscape pages, headers and footers (page numbers, page count, date), headings numbered only when Word numbers them.
- Font colours, sizes, fonts, underline styles, highlights, indents, shading, borders, list styles and tracked changes come in as Word shows them.
- Also imports RTF, OpenDocument (.odt) and LaTeX packages (.zip, .tar.gz); connect ChatGPT as well as Claude.
Fixes: two-column text no longer runs across the gap between pages; tables split across pages keep their top line; GIF pictures in Word files; Word export rebuilt (footnotes, comments, citations).
The app is now called kTeX. Windows: if SmartScreen warns, More info ▸ Run anyway. Mac: first launch, right-click the app ▸ Open. Existing installs update themselves.
kTeX v413
v413: fix: PDF review comments inside list items (and quotes, boxes, footnotes) get the review preamble; they printed their \kcomment arguments as raw text
v412: test: review comments test type-checks (explicit .ts imports, DocMeta.documentclass)
v411: feat: PDF review comments as numbered markers with notes in a grey review column beside the page (\kcomment); importer reads them back
v410: feat: Overleaf works like Open/Save - Send and Get run in one click once linked, Open in Overleaf, Link to Overleaf project, zip offered beside the document then Overleaf opened to upload it
v409: fix: review comments sit on the desk beside the page again; the page keeps its paper size (A4/Letter)
v408: fix: review margin sits on the page sheet itself (wider sheet), not in a separate frame beside it
v407: feat: review margin - comments shown as cards beside the page with Accept / Reject
v109: ci: Linux bundle check no longer breaks the dpkg pipe
v108: ci: Linux build also runs on a linux-v* tag (dispatch needs the file on main)
v107: ci: Linux build (AppImage + .deb) with bundled tectonic and offline smoke test
kTeX v406
kTeX v406 — the new KherveTeX, rebuilt from the ground up (beta).
Windows (x64): run KherveTeX-Setup.exe. The installer is not code-signed, so Windows SmartScreen may warn — click More info → Run anyway.
macOS (Apple Silicon): open KherveTeX_406.0.0_aarch64.dmg. On first launch, right-click the app → Open.
Both builds bundle tectonic and an offline TeX package cache, so documents compile with no internet connection. Existing .ktex files open unchanged.
kTeX is in beta — use Send feedback beside the ribbon tabs, or Help ▸ Send feedback.