Skip to content
EasyLaTeXDocs

Editing and Compiling in EasyLaTeX

In EasyLaTeX, the file tree manages project resources, the editor changes source files, and compilation produces the PDF preview. This page explains how to use them together.

Open or Create a Project

Start with a blank project or an existing template. Keep the template's .tex, .cls, .sty, image, and .bib files: the main file may depend on their names and directory structure.

Select the Main File

Select the entry file containing \documentclass, \begin{document}, and \end{document}, usually main.tex. Opening a chapter for editing does not make it the compilation entry point.

Choose the Project Compiler

Select the compiler in the editor settings:

CompilerUse on the platform
pdfLaTeXThese English examples and templates using standard Latin-script classes
XeLaTeXCompatible Unicode and font configurations, including this tutorial's Chinese examples
LuaLaTeXLuaTeX workflows, compatible fonts, and Japanese LuaTeX-ja classes

Follow a template's explicit requirements. Compiler selection is stored separately for each user in the project, so each collaborator should check their own setting.

Edit, Save, and Compile

Paste this example into the main file, wait for changes to save, and compile:

latex
\documentclass[a4paper,12pt]{article}

\begin{document}

Hello, EasyLaTeX!

\end{document}

Inspect the PDF after the current compilation finishes. If the job fails, read its log first; an older PDF in the preview does not confirm that the latest changes compiled successfully.

Manage Project Files

Use the platform file tree to create or upload the files in a structure such as:

latex
my-document/
├── main.tex       # Main file
├── references.bib # Bibliography, if needed
└── images/        # Images, if needed

Reference resources using project-relative paths and exact capitalization. Keep source files, images, bibliography data, and template dependencies together. The toolbar download menu offers Download LaTeX project for source and resources, and Download PDF file for reading or delivery.

Keep Collaboration Settings Consistent

Agree on the main file, compiler, and responsibility for template settings. Avoid simultaneous edits to the same preamble section or .bib record. Confirm that the changes you need have saved before compiling.

Common Problems

Compilation Fails After Opening a Chapter

Check that the selected main file is still the complete entry point. Files included with \input or \include normally contain only body content and are not standalone documents.

A Resource or Font Is Missing

Check the file tree, paths, and template requirements. A font visible in your browser or on your computer is not necessarily available to the platform compiler. Use a supported template configuration, or upload appropriately licensed font files and reference their project-relative paths when the template supports that setup.

A Template Keeps Failing

Compare with a fresh, unmodified copy of the template, then restore changes one at a time. Record the first error and project settings. If the minimal example or original template also fails, provide the project identifier and log to platform support.