[Tex/LaTex] Online LaTeX editor or local LaTeX editor

distributionsonlineworkflow

Now there are a couple of online LaTeX editors that seems fancy and handy to use, such as ShareLaTeX and Overleaf. On the other hand, there are classic local Latex installation packages that are also easy to set up and use, like MiKTeX and TeX Live.

I wonder what are pros and cons of online vs. local LaTeX editors and which I should use. (I am a PhD student and I need to write papers and thesis using LaTeX.)

Best Answer

  • Privacy: you can't guarantee that no one ever had access to you documents in online services. On the other hand they are greatly increase the collaborative editing of the documents. So, for this you need to choose between this:

       [        +         ]
    private            public
    

    And which do you value more: than it should be either local install (for private), or online services (for public access and some privacy options). For sharing better to use git, you will easily manage multiple editions of the document, can easily share with others, and rollbacks are awesome there! And you can use local install of GitLab for sharing private documents.

  • Usability: everything you need for online editors - is a modern browser and an Internet. Online services already have preinstalled the most used packages. But ease-of-use lacks customizability: you would definitely have problems with some packages (like, minted or TikZ), fonts, files processing, additional command-line options. So you need to choose between the customizability and easy-of-use:

           [          +          ]
    customizability         ease-of-use
    

    If you want to have full control on the compilation process - than online services are not for you. You want be able to use xindy or modern biber, or other modern TeX software. Moreover, online services can have old TeX distribution and on local install you can have most up-to-date packages available.

  • Compilation: I've already put some of the pros and conses in the usability section. In local install you can easily change anything: TeX engine, command-line options, BibTeX processing software, additional software, like asymptote or GeoGebra, even Python script for data processing. On the local install you have full support of any software available. That's much helpful for PhD thesis. And online tools useful to edit documents for which you already have all preprocessed data and images.

          [          +          ]
    data processing      available data
    
  • Extensibility: your local install can be easily extended. If you typeset more than one document at a time, it's much easier in local install to manage shared custom document styles, beamer themes, common images in your %APPDATA% in Windows or .local in Linux (so, this can depend on distro).

        [       +        ]
    multiple          single
    

    If you typeset just one document: the online services are OK; but for multiple, complex documents it is better to use local install.