-
Notifications
You must be signed in to change notification settings - Fork 0
Updates README and overleaf to 6.1.2 #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
65039ff
53b63c8
bcc7566
4ecc792
4c69d00
5b4a1b2
1702a51
0450be0
d884700
e630537
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| name: ci checks | ||
|
|
||
| on: | ||
| pull_request: | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| required-check: | ||
| runs-on: ubuntu-24.04 | ||
| steps: | ||
| - run: | | ||
| #TODO : we should add some real checks at some point. Maybe fire up overleaf and confirm it works? | ||
| echo "passing" | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,24 +1,43 @@ | ||
| # latex-presentations | ||
| Tooling for using LaTeX to create posters and presentations along with public examples of lab automation presentations | ||
|
|
||
| Set up overleaf | ||
| #. Clone the repo `git clone https://github.com/overleaf/toolkit.git overleaf` | ||
| #. remove the git configuration so we can just commit those files: `rm -rf overleaf/.git` | ||
| #. Set up basic config `sh overleaf/bin/init`. that's gonna use the full sharelatex image...if you want to make a custom one, put a Dockerfile in there and look at the overleaf.rc | ||
| #. Change the `OVERLEAF_LISTEN_IP` and `NGINX_HTTP_LISTEN_IP` to `0.0.0.0` | ||
| #. in the overleaf/.gitignore file, comment out `config/**/*` so config will be saved | ||
| #. Note: file persistence isn't set up (not sure how to do that), so make sure to save your overleaf projects to zip file frequently. ...or maybe it is now that the data paths in the rc file have been updated...? unclear | ||
|
|
||
| Running overleaf | ||
| #. If on Windows, launch a new Ubuntu WSL terminal in VS Code, then `./overleaf/bin/up` (you may need to start Docker Desktop first) | ||
| #. Go to http://localhost/launchpad | ||
|
|
||
|
|
||
| Converting Beamer PDFs to PPTX | ||
| #. Based on https://github.com/ashafaei/pdf2pptx | ||
| #. Clone the repo `git clone https://github.com/ashafaei/pdf2pptx pdf2pptx` | ||
| #. remove the git configuration so we can just commit those files: `rm -rf pdf2pptx/.git` | ||
| #. Need to install imagemagick (this version worked, but no particular reason to pin to that): `sudo apt-get update && sudo apt-get install -y imagemagick=8:6.9.12.98+dfsg1-5.2build2` | ||
| #. May also need to install zip (this version worked, but no particular reason to pin to that): `sudo apt-get update && sudo apt-get install -y zip=3.0-13ubuntu0.2` | ||
| #. Tweak the resolution if you want inside pdf2pptx.sh (this has it ) | ||
| #. Run it `bash ./pdf2pptx/pdf2pptx.sh slas.pdf` (at high resolution and for a long presentation, this could take 3-4 minutes. you can watch for progress in the yourfilename.pdf.temp folder it creates if you're nervous) | ||
| # First-time setup of Overleaf or updating Overleaf versions | ||
|
|
||
| If you are simply looking to start overleaf from this repo skip to [Running Overleaf](#running-overleaf). | ||
|
|
||
| 1. Run the following to clone the repo at a given version, cleanup .git dirs and setup basic config `bash overleaf/bin/init`. that's gonna use the full sharelatex image...if you want to make a custom one, put a Dockerfile in there and look at the overleaf.rc | ||
|
|
||
| ```bash | ||
| git clone https://github.com/overleaf/toolkit.git overleaf | ||
| cd overleaf | ||
| git checkout 9280a93c4757e8d8b32e2228c66cc46fc7b835ae # v6.1.2 | ||
| cd .. | ||
| rm -rf overleaf/.git overleaf/.github | ||
| bash overleaf/bin/init | ||
| ``` | ||
|
|
||
| 2. Change the `OVERLEAF_LISTEN_IP` and `NGINX_HTTP_LISTEN_IP` to `0.0.0.0` in overleaf.rc | ||
| 3. in the overleaf/.gitignore file, comment out `config/**/*` so config will be saved | ||
|
|
||
| > [!NOTE] | ||
| > File persistence isn't set up (not sure how to do that), so make sure to save your overleaf projects to zip file frequently. ...or maybe it is now that the data paths in the rc file have been updated...? unclear | ||
|
|
||
| # Running overleaf | ||
|
|
||
| 1. If on Windows, launch a new Ubuntu WSL terminal in VS Code, then `./overleaf/bin/up` (you may need to start Docker Desktop first) | ||
| 2. Go to http://localhost/launchpad | ||
| 3. Create a new admin user and log in | ||
| 4. Go to http://localhost | ||
| 5. Create a new project or work on an existing one | ||
|
|
||
| # How-tos | ||
|
|
||
| ## Converting Beamer PDFs to PPTX | ||
|
|
||
| 1. Based on https://github.com/ashafaei/pdf2pptx | ||
| 2. Clone the repo `git clone https://github.com/ashafaei/pdf2pptx pdf2pptx` | ||
| 3. remove the git configuration so we can just commit those files: `rm -rf pdf2pptx/.git` | ||
| 4. Need to install imagemagick (this version worked, but no particular reason to pin to that): `sudo apt-get update && sudo apt-get install -y imagemagick=8:6.9.12.98+dfsg1-5.2build2` | ||
| 5. May also need to install zip (this version worked, but no particular reason to pin to that): `sudo apt-get update && sudo apt-get install -y zip=3.0-13ubuntu0.2` | ||
|
Comment on lines
+40
to
+41
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion | 🟠 Major 🧩 Analysis chain🏁 Script executed: # First, let's explore the repository and read the README.md file
git ls-files | head -20Repository: LabAutomationAndScreening/latex-presentations Length of output: 510 🏁 Script executed: # Find and read the README.md file
fd README.md -x wc -l {}Repository: LabAutomationAndScreening/latex-presentations Length of output: 179 🏁 Script executed: # Read the README.md file around lines 40-41
sed -n '30,50p' README.mdRepository: LabAutomationAndScreening/latex-presentations Length of output: 1066 🌐 Web query:
💡 Result: Ubuntu 22.04 (jammy) official APT repositories (release/updates/security) do not provide ImageMagick 6.9.12.98.
So, 6.9.12.98 isn’t available from Ubuntu 22.04’s standard apt repos; you’d need a PPA/backport, build from source, or upgrade to 24.04 to get that version. [3] Sources: 🌐 Web query:
💡 Result: Ubuntu 24.04 LTS (“noble”) apt repositories ship ImageMagick 6 (legacy), not ImageMagick 7.
Sources: [1] packages.ubuntu.com (noble 🌐 Web query:
💡 Result:
The version 3.0-13ubuntu0.2 is published for Ubuntu 24.04 (noble) -updates (not jammy). [2] How to confirm on a jammy machine: apt-cache policy zip
apt list -a zipSources
Remove or adjust exact apt package version pins to support multiple Ubuntu releases. The pinned versions for
Both versions are available in Ubuntu 24.04, but pinning breaks Ubuntu 22.04 compatibility. Either omit version specifiers (install latest available), document which Ubuntu versions are supported, or provide version-specific installation commands. 🧰 Tools🪛 LanguageTool[style] ~41-~41: You have already used this phrasing in nearby sentences. Consider replacing it to add variety to your writing. (REP_NEED_TO_VB) 🤖 Prompt for AI Agents |
||
| 6. Tweak the resolution if you want inside pdf2pptx.sh (this has it ) | ||
| 7. Run it `bash ./pdf2pptx/pdf2pptx.sh slas.pdf` (at high resolution and for a long presentation, this could take 3-4 minutes. you can watch for progress in the yourfilename.pdf.temp folder it creates if you're nervous) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ | |
| tmp/ | ||
| *.swp | ||
|
|
||
| # config/**/* | ||
| #config/**/* | ||
| !config/.gitkeep | ||
|
|
||
| data/**/* | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ PROJECT_NAME=overleaf | |
| # Sharelatex container | ||
| # Uncomment the OVERLEAF_IMAGE_NAME variable to use a user-defined image. | ||
| # OVERLEAF_IMAGE_NAME=sharelatex/sharelatex | ||
| OVERLEAF_DATA_PATH=/home/labsync/overleaf-data/overleaf | ||
| OVERLEAF_DATA_PATH=data/overleaf | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. so what is this actually doing? /home/labsync was my folder inside WSL2-Ubuntu (labsync is the user name I set up). would this mean I would have to launch overleaf differently somehow? or because it doesn't start with a
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| SERVER_PRO=false | ||
| OVERLEAF_LISTEN_IP=0.0.0.0 | ||
| OVERLEAF_PORT=80 | ||
|
|
@@ -16,19 +16,19 @@ DOCKER_SOCKET_PATH=/var/run/docker.sock | |
|
|
||
| # Mongo configuration | ||
| MONGO_ENABLED=true | ||
| MONGO_DATA_PATH=/home/labsync/overleaf-data/mongo | ||
| MONGO_DATA_PATH=data/mongo | ||
| MONGO_IMAGE=mongo | ||
| MONGO_VERSION=8.0 | ||
|
|
||
| # Redis configuration | ||
| REDIS_ENABLED=true | ||
| REDIS_DATA_PATH=/home/labsync/overleaf-data/redis | ||
| REDIS_DATA_PATH=data/redis | ||
| REDIS_IMAGE=redis:7.4 | ||
| REDIS_AOF_PERSISTENCE=true | ||
|
|
||
| # Git-bridge configuration (Server Pro only) | ||
| GIT_BRIDGE_ENABLED=false | ||
| GIT_BRIDGE_DATA_PATH=/home/labsync/overleaf-data/git-bridge | ||
| GIT_BRIDGE_DATA_PATH=data/git-bridge | ||
|
|
||
| # TLS proxy configuration (optional) | ||
| # See documentation in doc/tls-proxy.md | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 6.1.1 | ||
| 6.1.2 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 6.1.1 | ||
| 6.1.2 |

Uh oh!
There was an error while loading. Please reload this page.