Skip to content

Project Setup

Randy Lai edited this page Sep 30, 2016 · 11 revisions

There are two options to set up a project.

  1. Create a Sublime project and edit project

     {
       "folders": [
         {
           "path": "."
         }
       ],
       "settings": {
         "TEXroot": "main.tex"
       }
     }
    

You should change the name of the main file. If the sublime-project file is in another directory, you should also change the folder path.

  1. Another option is like TeXWorks. By adding the following line to each of the sub files

     %!TEX root = main.tex
    

If a project is not set up, upon building, LaTeXBox will search for *.synctex.gz or *.pdf to locate the main latex file.

Clone this wiki locally