Since a lot of the members here are researchers, I thought I'll share my setup that has significantly acclerated my writing process.
Much of the process of writing a paper is describing what your code does, so writing it should not be very different than writing code. It makes sense to integrate your paper into the codebase.
CoPilot integration with Overleaf for writing paper in VSCode:
- Create local copy
- In an existing Overleaf project, click on the Integrations button on the left panel. Then click on git integrations
- Clone using the generated repo link to one of the servers (using the token)
- CoPilot
- It is better to keep the cloned repo in your codebase folder (maybe in a sub-folder named paper)
- Download the Latex Workshop extension for VSCode
- You need to install some packages as well -
- sudo apt-get install -y texlive-full latexmk biber
- Open the main.tex in VSCode, and compiled PDF in a split panel (to get similar setup as Overleaf)
- Now you can ask CoPilot to edit the paper.
- Multiple collaborators*
- Easiest way is to let your paper folder be accessible to your collaborators so all of you can edit the same file. Every once a while you can push to Overleaf using git
- The other way is to use all git functionality (commit, push, pull, merge) to collaborate as the paper folder is git repository
- Any edit made on the Overleaf web page should be pulled into the local repo
*There's also a VSCode LiveShare extension which allows Word-style collaborative editing. I haven't explored that
[link] [comments]