Compilation errors
When your LaTeX document fails to compile, Typeset displays error messages in the preview panel.Understanding error messages
Compilation errors from Tectonic (Typeset’s LaTeX engine) typically include:- Line number: Where the error occurred
- Error type: The kind of problem detected
- Context: Surrounding code that caused the issue
Error messages appear in the preview panel as an alert with details about what went wrong.
Common LaTeX errors
Missing $ inserted
Missing $ inserted
Cause: Math symbols or commands used outside math mode.Solution: Wrap math content in
$...$ for inline or \[...\] for display math.Undefined control sequence
Undefined control sequence
Cause: Using a command that doesn’t exist or requires a package.Solution: Check spelling or add the required package to the preamble.
Missing \begin{document}
Missing \begin{document}
Cause: Content appears before
\begin{document}.Solution: Ensure all content (except package imports and settings) is after \begin{document}.Mismatched braces or environments
Mismatched braces or environments
Cause: Opening
{ without closing } or \begin{...} without \end{...}.Solution: Check that all braces and environments are properly matched.Runaway argument
Runaway argument
Cause: Missing closing brace or delimiter in a command argument.Solution: Ensure all command arguments are properly enclosed.
Package not found
Package not found
Cause: Attempting to use a package that isn’t available.Solution: Tectonic automatically downloads most packages. If a package isn’t available, try an alternative or remove the
\usepackage line.Typeset uses Tectonic, which has excellent package support but may not include every obscure package.
Debugging compilation errors
Check common issues
Look for:
- Unmatched braces
{} - Missing
$around math - Typos in command names
- Missing packages
Authentication issues
Typeset uses Clerk for authentication. Protected routes require you to be logged in.Can’t access projects
Symptoms: Redirected to login page when trying to access/my-projects, /shared-with-me, or /project/....
Solution:
Email verification issues
Steps to verify:- Check your email inbox and spam folder
- Click the verification link in the email
- Refresh the Typeset page
- Try accessing your projects again
Session expired
Cause: Your authentication session has timed out. Solution: Simply refresh the page and sign in again. Your work is automatically saved, so you won’t lose any changes.Collaboration problems
Invited user can’t see the project
Cause: Email mismatch or account not created. Solution:User must sign up
The invited person must create a Typeset account using the exact email address you invited.
The email address used to sign up must exactly match the email address used in the invitation.
Changes not syncing in real-time
Cause: Connection issues with Liveblocks. Solution:- Check your internet connection: Ensure you have a stable connection
- Refresh the page: This reconnects to the collaboration server
- Check browser console: Look for WebSocket connection errors (press F12)
- Disable browser extensions: Some extensions interfere with WebSocket connections
What is Liveblocks?
What is Liveblocks?
Liveblocks is the real-time collaboration infrastructure that powers Typeset’s collaborative editing. It handles presence, cursors, and document synchronization.
Can’t remove a collaborator
Cause: Only the project owner can remove collaborators. Solution: If you’re not the project owner, ask the person who created the project to remove the collaborator. The owner’s email is listed in the project metadata.Someone edited my work accidentally
Cause: All collaborators have write access. Solution:- Communication: Use the chat panel to coordinate who’s editing what
- Real-time awareness: Watch for other users’ cursors to see where they’re working
- Version history: Unfortunately, Typeset doesn’t currently have built-in version control
Performance issues
Slow compilation
Cause: Complex documents or first-time package downloads. Solution:- First compilation: Tectonic downloads required packages on first use, which takes time
- Subsequent compilations: Should be much faster
- Large documents: Documents with many figures or complex math take longer
- Be patient: Wait for the compilation spinner to finish
Editor lagging
Cause: Large documents or browser resource limitations. Solution:- Close unused tabs: Free up browser memory
- Split large documents: Consider breaking very long documents into sections
- Disable extensions: Some browser extensions slow down web apps
- Use a modern browser: Chrome, Firefox, Safari, or Edge work best
AI chat issues
AI not responding
Cause: API connection issues or rate limiting. Solution:- Wait a moment: Sometimes responses take a few seconds
- Check internet connection: Ensure you’re online
- Refresh the page: Reconnect to the AI service
- Try again later: If services are overloaded
AI suggestions not applying
Cause: User action required to accept edits. Solution: When the AI suggests edits to your document, you’ll see “Accept” and “Reject” buttons at the bottom of the editor panel. Click “Accept” to apply the changes.AI-generated LaTeX changes must be manually accepted to prevent unwanted modifications to your work.
Browser compatibility
Typeset works best on modern browsers:| Browser | Minimum Version | Notes |
|---|---|---|
| Chrome | 90+ | Recommended |
| Firefox | 88+ | Recommended |
| Safari | 14+ | Works well |
| Edge | 90+ | Works well |
| Opera | 76+ | Should work |
Mobile device issues
Different layout on mobile
Expected behavior: Typeset automatically switches to a tab-based layout on mobile devices.- Desktop: Three-panel layout (chat | editor | preview)
- Mobile: Tabbed layout (switch between chat, editor, and preview)
Tabs not showing content
Solution: Tap the tab name at the bottom of the screen to switch between:- Chat tab: AI assistant and conversation
- Editor tab: LaTeX code editor
- Preview tab: Compiled PDF output
File and project limitations
Current limitations
Single-file projects
Single-file projects
Typeset currently focuses on single-file LaTeX documents. Multi-file projects with includes or separate image files may not work as expected.
Image uploads
Image uploads
Direct image upload and inclusion is not yet fully supported. Consider using external URLs or working without images initially.
Custom fonts
Custom fonts
Tectonic includes standard LaTeX fonts. Custom font installation is not currently supported.
Bibliography files
Bibliography files
External
.bib files are not yet supported. Consider using embedded bibliography entries for now.Getting more help
If you’re still experiencing issues:- Check the guides: Review the other documentation pages for detailed information
- Ask the AI: Use the in-editor chat to get help with LaTeX syntax and errors
- Contact support: Reach out through Typeset’s support channels
- Community forums: Share your issue with other Typeset users
Related resources
- Creating projects - Learn project management basics
- LaTeX basics - Master LaTeX syntax to avoid errors
- Sharing projects - Understand collaboration features