Skip to content

Instantly share code, notes, and snippets.

@leingang
Last active May 9, 2024 13:10
Show Gist options
  • Save leingang/276f012dda8973787e44a44ab1da8afc to your computer and use it in GitHub Desktop.
Save leingang/276f012dda8973787e44a44ab1da8afc to your computer and use it in GitHub Desktop.
Overleaf and Brightspace synchronization with git and Google Drive

Overleaf and Brightspace synchronization with git and Google Drive

Problem

We use Overleaf for collaboratively editing LaTeX documents. But Overleaf does not expose the compiled PDFs with a URL. This means to publish documents written on Overleaf, the PDF needs to be downloaded from Overleaf and uploaded to Brightspace.

  • One copy of the PDF is made for each Brightspace site (section) that publishes it
  • Any changes to the document need to be propagated to all copies
  • The name of the downloaded file is the project name, not the document name.

Solution

  1. Checkout the Overleaf project as a git repository, to a folder in Google Drive
  2. Open the Google Drive folder on the your local machine, and LaTeX it there
  3. Share the URL of the generated PDF

If the file changes on overleaf, pull the changes back to the cloned repository on Drive and recompile. The URL will now point to the updated PDF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment