P
Paperly
Back to Documentation

Compiling Documents

Learn how Paperly transforms your code into a beautiful PDF.

How Compilation Works

Paperly uses a powerful LaTeX engine running in the cloud to compile your documents. When you trigger a compilation, your files are sent securely to our servers, processed, and the resulting PDF is returned to your browser.

Triggering Compilation

Manual Compile

Click the Compile (or Play) button in the header, or press Ctrl + S or Ctrl + B.

Handling Errors

LaTeX errors happen to everyone. When compilation fails:

  1. The status bar will turn red and show "Compilation Failed".
  2. An error panel will appear showing the log messages.
  3. Review the line number mentioned in the error.

common Errors

  • Undefined control sequence: You used a command that doesn't exist or forgot a package.
  • Missing $ inserted: You forgot to close a math mode block.
  • File not found: You tried to include an image that hasn't been uploaded.

Using the PDF Preview

The built-in PDF viewer allows you to:

  • Zoom: Use the + and - buttons to adjust readability.
  • Navigate: Jump between pages using the page controls.
  • Download: Save the final PDF to your device.