A collection of macros for TeXStudio
- Download the macros you want to install
- Open TeXStudio
- Got to
Macros -> Edit Macros... - Click
Import - Select the downloaded macro(s)
- Initialises a local repo
- Downloads GitHub's gitignore template for TeX projects
- Commits everything with a customisable initial commit message
- Asks to set up a GitHub remote, if yes:
- Asks for the name, description and privacy
- Pushes everything
⚠️ Requires GitHub CLI to be installed and setup first, available here: cli.github.com
- Triggers to run on startup
- Checks the current doc is in a repo and has a remote to pull from
- Pulls if ok button clicked
- Triggers to run upon finishing compile (may run more than once if doc takes multiple compiles to finish)
- Creates a dialog box for entering a commit message
- Adds an option to push to remote only if one exists
- Commits and, if available and selected, pushes to remote