Skip to main content

TexKit Studio

Running texkit in a terminal, then writing LaTeX with a live PDF preview, a selection word count and a dark theme

Write papers freely. Compile without limits.

License: MIT Platforms Local first

An open-source LaTeX writing studio that runs in your browser, on your own computer.
No TeX installation, no account, no compile-time limits, and nothing is uploaded.

Install · Use it · Writing tools · Before you submit · Commands · Privacy · Develop · Developer · Source on GitHub

Why TexKit Studio

  • Nothing to set up. One pip install; the LaTeX engine and Word converter come with it.
  • Unlimited compiles. No time limit, no page limit, no queue. Auto-compile follows your typing.
  • Private. Your files stay ordinary files in your own folder. Nothing leaves your computer.
  • Built for papers. Every figure, table and citation is tracked, errors are explained in plain English, and a submission check tells you what's left before you send it.

Install

You need Python 3.10 or newer. Then:

pipx install texkit-studio      # recommended: keeps it in its own environment
# or
pip install texkit-studio

That gives you the texkit command. Windows, Linux and macOS are supported; it has been tested on Windows and Linux (macOS wheels are built the same way but haven't been tried yet).

  • The LaTeX engine (Tectonic) is included in the platform wheels. If your platform has none, it's downloaded and checksum-verified the first time you compile.
  • LaTeX packages. The platform wheels also carry a package cache (about 32 MB zipped, 89 MB unpacked) with the common classes at 10, 11 and 12pt, about 190 popular packages, the standard fonts, BibTeX styles and the main babel languages. It's unpacked once on the first compile, so ordinary documents compile with no internet at all. Anything outside it is fetched the first time a document uses it, then cached. texkit doctor shows the state and texkit prepare-offline fetches the rest of what the templates need. With the pure wheel (or a source install) every package is fetched on first use instead, and that first compile can take a few minutes.
  • On Ubuntu and Debian, prefer pipx (sudo apt install pipx): a plain pip install into the system Python is blocked there, and python3 -m venv needs the python3-venv package.

Use it

Go to the folder with your paper and run the command, the same way code . works:

cd ~/papers/my-thesis
texkit

Your browser opens on that folder: files on the left, the editor in the middle, the PDF on the right. Your files stay ordinary files in that folder, so Git, Dropbox and other editors keep working.

  • Change folder from the UI. Click the folder name in the toolbar to open another folder (a built-in folder browser with drives, recent folders and "New folder"), start a new project from a template, or reveal the folder in Explorer or Finder.
  • Compile with the button or Ctrl/⌘ + Enter. By default it also compiles a moment after you stop typing. There's no time limit.
  • Which file is compiled. The one with the main badge. If you haven't chosen, it's main.tex when that is a complete document, otherwise the first file that has \documentclass and \begin{document} (fewest folders deep, then alphabetical). To change it, hover any .tex file (also in subfolders) and click ⋯ (or right-click) → Set as main file; it recompiles at once. A % !TEX root = ../main.tex line at the top of a chapter makes that chapter compile its root.
  • Problems in plain English. Errors and warnings link to the exact line, and common mistakes get a one-click fix ("Replace with \includegraphics", "Add \usepackage{booktabs}").
  • Click to jump between the source and the PDF: double-click the PDF, or press Ctrl/⌘ + Shift + J in the editor.

Every figure, table and source connected

Many journals require every figure and table to be referred to in the text, and every bibliography entry to be cited. TexKit Studio reads your whole document (all chapter files) and keeps track of this for you:

  • The References panel lists every figure, table, equation and bibliography entry, marked referenced 2× or never referenced / not cited. One click inserts a reference to it.
  • The issues panel and the editor flag a figure or table that's never mentioned, a source that's never cited, a \ref or \cite that points nowhere, a figure without a label or caption, figures mentioned out of order, and citations with no bibliography printed. Each comes with a fix, such as adding the missing \label after the caption.
  • Spelling consistency: mixing American and British spelling ("color" and "behaviour", "analyse" in an American text) is underlined and fixed in one click, and summarised in the Submission check. The language is whatever you pick under Settings → Spelling (Auto, US, UK or Off). Auto follows \usepackage[british]{babel} (or american), or whichever variant you use most. "-ize" is accepted in British text (Oxford spelling) unless you also use "-ise". Maths, code, citations, names in mid-sentence and affiliations are ignored. Add % nospell to a line to skip it, or % texkit-spelling: british, american or off anywhere to set the language or turn it off.
  • Insert reference (Alt+R) and Insert citation (Alt+C) pickers search by number, caption, author, title or key. Add a source by DOI or arXiv ID fetches the BibTeX for you.
  • Check references online (the ✓ button in the Bibliography panel, the Submission check, or Ctrl/⌘ + K) looks every entry up in Crossref, DataCite, OpenAlex and arXiv. It flags a DOI that doesn't exist or belongs to a different paper, a title found nowhere (a possibly invented reference), wrong authors or year, retractions, expressions of concern and corrections. For an entry with no DOI it finds one and adds it with one click. The References button in the header shows a red count for problems, or a green tick when everything is verified, and each entry in the References panel gets a badge (Verified, Retracted, No DOI…). It needs internet and runs only when you press the button, unless you turn on Check references automatically (in the dialog or Settings). Then only new and edited entries are looked up.
  • Hover over a \ref or \cite to see what it points to. Ctrl/⌘ + click goes there.

Writing tools

  • Images: drag one into the text or paste a screenshot. It's saved to figures/ and a complete figure block is inserted.
  • Tables: build them in a grid, or paste cells from Excel or Sheets.
  • Symbols, equations and lists from the Insert menu (Alt+S for symbols).
  • Command palette (Ctrl/⌘ + K), search across all files (Ctrl/⌘ + Shift + F), an outline of the whole document, and focus mode.
  • Version history: a snapshot of your text files is kept after every successful compile. Compare any version with now and restore it.

Before you submit

  • Submission check gives one list of what's left: errors, text in the margins, unreferenced figures and tables, uncited sources, missing files, plus page, word and abstract counts.
  • Download a PDF, a Word file (.docx, converted with Pandoc; formatting is approximate), the whole project as a ZIP, or a submission package: one flattened .tex with its .bbl and only the images it uses, as arXiv and journals ask for.

Also

  • Templates: Starter tour, Blank article, IEEE conference, Elsevier, Thesis.

  • Import a ZIP (for example an Overleaf download) from the folder menu, or run texkit paper.zip.

  • EPS images (journal logos, for example MDPI's): the engine can't embed .eps files itself, so TexKit Studio uses name-eps-converted-to.pdf when it sits next to the image (Overleaf and Prism leave these behind), otherwise converts the image with Ghostscript if it's installed. With neither, the compile still succeeds, the image is a grey placeholder, and the issues panel says which one. Converted files live in the build cache, not in your folder.

  • Journal and conference templates. Templates written for pdfLaTeX compile as they do on Overleaf. The built-in engine is XeTeX-based, so TexKit Studio smooths over the differences before your document starts: pdfTeX-only commands (\pdfgentounicode, \pdfglyphtounicode, \pdfminorversion, ...) are accepted, [pdftex]/[dvips] driver options become [xetex], biblatex switches from Biber to BibTeX (an info message says so), and Unicode text such as š, × or – prints correctly with the usual 8-bit fonts instead of vanishing or showing the wrong glyph.

  • A full TeX installation is used when a document needs one. If TeX Live, MiKTeX, MacTeX or TinyTeX is installed, documents that need more than the built-in engine are built with it automatically: an index or glossary, biblatex with Biber styles, minted, packages newer than the built-in LaTeX (2021), fonts by name. If the built-in engine fails for such a reason, it is tried as a second attempt, and the better result is kept. Without one, the issues panel names what the document uses and what is missing. Run texkit doctor to see what was found. Per-folder options go in .texkit/project.json:

    { "engine": "auto", "shellEscape": false, "autoInstall": false }
    

    engine is auto (default), tectonic or system. shellEscape lets that folder's documents run programs, which minted and svg need and which is off by default; only turn it on for documents you trust. autoInstall lets MiKTeX download missing packages; off by default because MiKTeX would otherwise open a dialog that an automatic compile can't answer. Set TEXKIT_ENGINE, TEXKIT_SHELL_ESCAPE=1 or TEXKIT_TEXBIN (the folder holding the TeX programs) in the environment to override them.

  • Offline: if there's no internet, compiles fall back to packages already downloaded. "Prepare for offline use" downloads everything the templates need.

  • Works on desktop, tablet and phone widths, in light and dark mode.

Other commands

texkit PATH            open another folder (or the folder of a .tex file, or a .zip)
texkit --port 9000     use a different port (default 8765; a free one is picked if busy)
texkit --no-browser    start without opening a browser tab
texkit compile [PATH]  compile without the UI and print any problems (handy for CI)
texkit format [PATH]   tidy .tex and .bib files, like Prettier (--check for CI)
texkit prepare-offline download the packages the templates use, for offline work
texkit doctor          check the engine, Word export and folders

Running texkit again while it's already open switches the open studio to the new folder instead of starting a second copy.

Formatting, like Prettier

Format document (Shift+Alt+F, the wand button, or texkit format in a terminal) tidies the open file: it indents environments, \item text and multi-line {...} groups, lines up the & columns of tables and aligned equations, removes trailing spaces and squeezes extra blank lines. In .tex files it only ever changes whitespace, so the PDF stays exactly the same; verbatim and lstlisting blocks are left untouched. In .bib files it puts one field per line with the = signs lined up. Turn on Format when I press Ctrl/⌘+S in Settings to tidy on every save.

texkit format               # tidy every .tex and .bib file in this folder
texkit format --check       # change nothing; exit 1 if anything needs tidying (for CI)
texkit format --indent 4 chapters/

Privacy and safety

The server listens on 127.0.0.1 only, and every request needs a session cookie set by the link the command opens. Requests with another Host header are rejected, which blocks DNS-rebinding attacks. Documents can't run programs (shell-escape is off) unless you turn on shellEscape for that folder yourself. Deleting a file moves it to the Recycle Bin or Trash. Your files are never uploaded. The only things that go online are the actions you start: looking up a DOI, and Check references online, which sends each entry's title, first author and DOI to Crossref, DataCite, OpenAlex and arXiv.

Develop

A pure Python repository: no Node.js or build step. The web UI is plain JavaScript modules in src/texkit_studio/static/, with CodeMirror and PDF.js vendored by scripts/vendor.py.

git clone https://github.com/AbidHasanRafi/texkit-studio.git
cd texkit-studio
python -m venv .venv
.venv/Scripts/activate            # Windows (on macOS/Linux: source .venv/bin/activate)
pip install -e ".[dev]"
pytest
texkit path/to/a/paper

Edit any file in static/ and reload the browser to see the change. Found a bug or have an idea? Open an issue.

The animation at the top is recorded from the real app: pip install playwright, have ffmpeg on your PATH, then run python scripts/make_demo.py to regenerate docs/demo.gif. The demo paper lives in scripts/demo/paper, and the script uses its own temporary data folder.

python scripts/make_release_demo.py records the release video (build/texkit-0.1.2.mp4: a title card, a zoomed tour of the reference check and the US/UK spelling check, and an end card). It uses the real app and looks the demo references up live, so it needs an internet connection. The paper is in scripts/demo/release-paper.

Release wheels, in two steps:

python scripts/build_seed.py --out dist-seed/tectonic-seed.zip   # needs internet; about 10 minutes, once per engine version
python scripts/build_wheels.py --seed dist-seed/tectonic-seed.zip

The first compiles the built-in templates and a corpus of common classes, fonts, packages, BibTeX styles and languages (scripts/build_seed.py lists them) against an empty cache and zips what the engine downloaded. The second builds a pure wheel (downloads the engine and packages on first use) and one wheel per platform in dist/ with the engine and that cache bundled (about 40-55 MB each). Upload all of them (twine upload dist/*), so pip can choose the one that fits each machine. Leave out --seed for wheels without the cache. If a document needs a file the corpus didn't cover, add a document for it to corpus() in scripts/build_seed.py and rebuild.

Developer

Md. Abid Hasan Rafi Md. Abid Hasan Rafi
AI researcher · Python programmer · IoT practitioner
System Engineer (R&D) at Consortium Analytics, Dhaka, Bangladesh. Electronics and Communication Engineering graduate, Hajee Mohammad Danesh Science and Technology University.


Passionate about data, intelligent systems and emerging technologies, with a focus on AI-driven innovation and interdisciplinary research.

More open-source work:

  • PyLobe: antenna design, electromagnetic simulation and AI optimization in Python.
  • Open OTK: local LLM orchestration, hybrid retrieval-augmented generation and evaluation with Ollama.
  • AEX Code: a CLI coding agent tuned for free-tier OpenRouter models.

License

MIT. Bundled and downloaded components keep their own licenses: Tectonic (MIT), CodeMirror (MIT), PDF.js (Apache-2.0), Pandoc via pypandoc-binary (GPL-2.0-or-later, run as a separate program).

Metadata

Release files for texkit-studio 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for texkit-studio 0.1.2
File Size Uploaded Provenance Actions
texkit_studio-0.1.2.tar.gz 849.2 kB Without provenance Details for texkit_studio-0.1.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for texkit-studio 0.1.2
File Actions
texkit_studio-0.1.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for texkit_studio-0.1.2-py3-none-win_amd64.whl
texkit_studio-0.1.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64, Linux musl 1.2+ x86-64 Details for texkit_studio-0.1.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl
texkit_studio-0.1.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_2_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64, Linux musl 1.2+ ARM64 Details for texkit_studio-0.1.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_2_aarch64.whl
texkit_studio-0.1.2-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for texkit_studio-0.1.2-py3-none-macosx_11_0_arm64.whl
texkit_studio-0.1.2-py3-none-macosx_10_15_x86_64.whl Python 3 none macOS 10.15+ x86-64 Details for texkit_studio-0.1.2-py3-none-macosx_10_15_x86_64.whl
texkit_studio-0.1.2-py3-none-any.whl Python 3 none any Details for texkit_studio-0.1.2-py3-none-any.whl

Total release size: 250.9 MB

Release files / texkit_studio-0.1.2.tar.gz

Download URL texkit_studio-0.1.2.tar.gz
Size 849.2 kB
Tags Source
SHA-256 checksum
How to use checksums
32943650c6af9be89c2bf759ff5c5f14adc6b3c6b1cad1f6a1e881a48b7158af
BLAKE2b-256 checksum
How to use checksums
332b35bff05a09799aa55032d40ee7b07593bf20fe9bbc758a7ab743afe33663
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / texkit_studio-0.1.2-py3-none-win_amd64.whl

Download URL texkit_studio-0.1.2-py3-none-win_amd64.whl
Size 54.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
a913eedff8f5b704ac33f0553177801cbbea0632c4debebd1b90815eda7ffc26
BLAKE2b-256 checksum
How to use checksums
97d96586c988a74281bd34802fdcd65e78c2c08fca02b8c4824a8e9c4fa25431
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / texkit_studio-0.1.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl

Download URL texkit_studio-0.1.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl
Size 43.1 MB
Tags Linux glibc 2.17+ x86-64 Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
2f3d456394b0fa2e49d7a5f72b68b42f55d52c103ace977016cbebb38d7d63d1
BLAKE2b-256 checksum
How to use checksums
582dd0de95928ae60f94cfe08017821d68cd1d6d530ce0567ab7ba1ef675e95f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / texkit_studio-0.1.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_2_aarch64.whl

Download URL texkit_studio-0.1.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_2_aarch64.whl
Size 42.9 MB
Tags Linux glibc 2.17+ ARM64 Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
00c99e6e35d05976291ec01dcbb625d39f1f3e491be949bb3d79ea2880a3a00c
BLAKE2b-256 checksum
How to use checksums
4182860c22064237c735b1f7565dd68ac7e1b3b3d5e3f1aeb2e8408c3ffdd946
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / texkit_studio-0.1.2-py3-none-macosx_11_0_arm64.whl

Download URL texkit_studio-0.1.2-py3-none-macosx_11_0_arm64.whl
Size 54.6 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0c21ebb8793c31c6c93e6f266892af2441a2d8e9730f151a1789742df8cf3d4f
BLAKE2b-256 checksum
How to use checksums
a7ba799d5959ec79ea154a69e47b8e921f540d3f11f06b26997fa56735472285
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / texkit_studio-0.1.2-py3-none-macosx_10_15_x86_64.whl

Download URL texkit_studio-0.1.2-py3-none-macosx_10_15_x86_64.whl
Size 54.7 MB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
11e49b733ae292afac7ade435a27b68cc332e989656e84e9ed2850f2feddb7a1
BLAKE2b-256 checksum
How to use checksums
cd3e92523ce4b12c1fb83f98bb02401040b1824a50261a0439602b68b339ed45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / texkit_studio-0.1.2-py3-none-any.whl

Download URL texkit_studio-0.1.2-py3-none-any.whl
Size 848.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e87d7b5abca98b14fb34f511c20f4bfab28719952c630a313724123b47ec809
BLAKE2b-256 checksum
How to use checksums
bd141b1a827440582218eb958bdbf62a0883bd3b6fde673984deee19646d8d65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Security for texkit-studio 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page