{"id":20646285,"url":"https://github.com/boon-code/latex-docker","last_synced_at":"2025-03-09T16:33:14.485Z","repository":{"id":137247992,"uuid":"61699561","full_name":"boon-code/latex-docker","owner":"boon-code","description":"Container for building latex documents","archived":false,"fork":false,"pushed_at":"2016-06-22T08:05:18.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T09:44:20.591Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boon-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-22T07:48:28.000Z","updated_at":"2016-06-22T08:04:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"dede9e9b-177c-4542-a8a2-6bf4892c26f4","html_url":"https://github.com/boon-code/latex-docker","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boon-code%2Flatex-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boon-code%2Flatex-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boon-code%2Flatex-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boon-code%2Flatex-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boon-code","download_url":"https://codeload.github.com/boon-code/latex-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242720215,"owners_count":20174683,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T16:25:09.711Z","updated_at":"2025-03-09T16:33:14.452Z","avatar_url":"https://github.com/boon-code.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Latex Compiler Container\n========================\n\nSimple Docker container to compile latex documents within some root directory.\n\n## Structure\n\nPaths:\n\n- `/source`: Mount your the top-level folder of your latex project here\n- `/images`: *Umlet* drawings will be placed in this folder\n- `/build/`: Use a `tmpfs` for this folder\n- `/result/`: PDF files will be copied here\n\n\nEnvironemnt variables:\n\n- `NAME`: Name of your top-level `*.tex` file (usually within your top-level\n  project directory; if not, you can add subdirectories\n- `LOOP`: Continuously rebuild document on change if set to `1` (default: `0`).\n- `UID`: User ID of the current user (outside of docker container)\n- `GID`: Group ID of the current user (outside of docker container)\n\n## Example\n\nTo compile `Toplevel.tex` within your top-level directory and put the final\nresult into your top-level directory you have to run the following command:\n\n        docker run --rm \\\n            -v \"$(pwd):/source:ro\" \\\n            -v \"$(pwd):/result:rw\" \\\n            -v \"$(pwd)/img:/images:rw\" \\\n            --tmpfs \"/build\" \\\n            --tmpfs \"/tmp\" \\\n            --tmpfs \"/run\"  \\\n            -e UID=\"$(id -u)\" \\\n            -e GID=\"$(id -g)\" \\\n            -e NAME=Toplevel \\\n            mhb/latex:latest\n\nTo contiunously rebuild your document you can set `LOOP=1`. In this mode,\n*inotify* will be used to watch all `*.tex`, `*.bib` and `*.uxf` files. On\nchange, your document will be rebuild automatically.\n\n        docker run --rm \\\n            -v \"$(pwd):/source:ro\" \\\n            -v \"$(pwd):/result:rw\" \\\n            -v \"$(pwd)/img:/images:rw\" \\\n            --tmpfs \"/build\" \\\n            --tmpfs \"/tmp\" \\\n            --tmpfs \"/run\"  \\\n            -e UID=\"$(id -u)\" \\\n            -e GID=\"$(id -g)\" \\\n            -e NAME=Toplevel \\\n            -e LOOP=1 \\\n            mhb/latex:latest\n\n\n## Todo\n\n- EPS to PDF (`find . -name \"*.eps\" -exec epstopdf {} \\;`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboon-code%2Flatex-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboon-code%2Flatex-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboon-code%2Flatex-docker/lists"}