Importing LaTeX Documents
Texpile allows you to import content directly from existing LaTeX documents, making it easy to migrate your work.
Single File Import
You can import content from a single LaTeX document in two ways:
- From the Home Page: Useful for creating a new project from an existing file.
- Inside the Editor: Go to File > Import….
Why import inside the Editor?
We recommend importing directly inside the editor whenever possible.
When you import inside the editor, Texpile knows exactly which template you are using (e.g., APA, IEEE, or a custom one). This “context” helps Texpile understand the formatting of your LaTeX code much better, resulting in a more accurate import with fewer errors. Importing from the Home page forces Texpile to guess the context, which can sometimes lead to missing formatting.
Compatibility and Parsing
Texpile attempts to parse all LaTeX code to preserve your content.
- Standard LaTeX: Most standard text, equations, and environments are imported seamlessly.
- Complex Documents: For highly complex documents with custom macros or obscure packages, you might encounter issues that prevent immediate compilation. In these cases, some manual cleanup may be required after importing.
Note: We guarantee that any LaTeX code generated by Texpile (e.g., via Export) can be imported back into Texpile perfectly.