{"id":25604609,"url":"https://github.com/detjensrobert/arch-pandoc-container","last_synced_at":"2026-05-15T08:02:15.299Z","repository":{"id":118462383,"uuid":"464260995","full_name":"detjensrobert/arch-pandoc-container","owner":"detjensrobert","description":"Arch Linux's version of Pandoc with a full LaTeX environment.","archived":false,"fork":false,"pushed_at":"2023-09-24T08:20:37.000Z","size":62,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2023-09-24T16:17:45.749Z","etag":null,"topics":["container","latex","pandoc","typst"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/detjensrobert/arch-pandoc","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/detjensrobert.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}},"created_at":"2022-02-27T21:44:44.000Z","updated_at":"2023-09-23T07:27:22.000Z","dependencies_parsed_at":"2023-07-07T22:16:33.277Z","dependency_job_id":null,"html_url":"https://github.com/detjensrobert/arch-pandoc-container","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detjensrobert%2Farch-pandoc-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detjensrobert%2Farch-pandoc-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detjensrobert%2Farch-pandoc-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detjensrobert%2Farch-pandoc-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/detjensrobert","download_url":"https://codeload.github.com/detjensrobert/arch-pandoc-container/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240059688,"owners_count":19741701,"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":["container","latex","pandoc","typst"],"created_at":"2025-02-21T17:39:43.425Z","updated_at":"2026-04-26T16:30:16.973Z","avatar_url":"https://github.com/detjensrobert.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# arch-pandoc-container\n\nUbuntu's version of [Pandoc](https://pandoc.org) is old and doesn't like some raw LaTeX macros I use for some classes,\nand the official [`pandoc/latex`](https://hub.docker.com/repository/docker/pandoc/latex) image does not have all of the\nneeded LaTeX packages for those macros either. This Docker container provides Arch's versions of Pandoc and TeXLive,\nwhich work just fine.\n\nAdditionally, this bundles MLA, APA, and IEEE [CSLs](https://github.com/citation-style-language/styles) for citations,\nalong with some Pandoc filters:\n\n- [`pantable`](https://github.com/ickc/pantable)\n- [`pandoc-include`](https://github.com/DCsunset/pandoc-include)\n\n## Tags\n\nImages are tagged based on the Pandoc version and the LaTeX engine included.\n\nThe `:latest` tag ships with [Tectonic](https://tectonic-typesetting.github.io) as the LaTeX engine for a much smaller\ncontainer size, but may not work for all LaTeX packages.\n\n- `:latest`\n- `:\u003cversion\u003e` (e.g. `:3.1.3`)\n- `:tectonic`\n- `:\u003cversion\u003e-tectonic` (e.g. `:3.1.3-tectonic`)\n\nThe `-texlive` tags have the more 'standard' [TeXLive](https://www.tug.org/texlive) installation, but at a much larger\ncontainer size (over 2GB!).\n\n- `:texlive`\n- `:\u003cversion\u003e-texlive` (e.g. `:3.1.3-texlive`)\n\nThe `-typst` tags use the new [Typst](https://typst.app/) system, which can be much nicer to use than LaTeX. Note this is its own system and **not** compatible with LaTeX!\n\n- `:typst`\n- `:\u003cversion\u003e-typst` (e.g. `:3.1.3-typst`)\n\nImages are available both on [Dockerhub](https://hub.docker.com/r/detjensrobert/arch-pandoc) and on\n[GHCR](https://github.com/detjensrobert/arch-pandoc-container/pkgs/container/arch-pandoc):\n\n```sh\ndocker pull docker.io/detjensrobert/arch-pandoc\ndocker pull ghcr.io/detjensrobert/arch-pandoc\n```\n\n## Usage\n\nUse this as a drop-in for standard `pandoc`:\n\n```bash\ndocker run --rm -v $(pwd):/data -u $(id -u):$(id -g) detjensrobert/arch-pandoc:latest -s file.md -o file.pdf ...\n```\n\n- This container expects all necessary files to be mounted at `/data` in the container: `-v $(pwd):/data`\n\n- To avoid output being owned by `root`, run the entrypoint as your UID/GID: `-u $(id -u):$(id -g)`\n  \u003e NOTE: if using rootless containers, e.g. `podman`, this is not needed! `root` in the container is already mapped to\n  \u003e your normal user.\n\n  \u003e NOTE 2: If this causes permission errors with a Tectonic image, try switching to the TeXLive image instead.\n\nAdd this shell function to your shell config for convenience:\n\n```bash\npandoc-docker () {\n  docker run --rm -v $(pwd):/data -u $(id -u):$(id -g) detjensrobert/arch-pandoc $@\n}\n\nmd2pdf-docker () {\n  pandoc-docker -s \"$1\" -o \"${1%%.md}.pdf\" -V geometry:margin=1in --highlight=tango --citeproc ${@:2}\n}\n\n# usage:\nmd2pdf-docker some-document.md --filter pantable  # -\u003e creates some-document.pdf\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdetjensrobert%2Farch-pandoc-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdetjensrobert%2Farch-pandoc-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdetjensrobert%2Farch-pandoc-container/lists"}