{"id":23665175,"url":"https://github.com/matcho/mkdocs2tex","last_synced_at":"2025-06-25T03:05:21.386Z","repository":{"id":121466465,"uuid":"237955975","full_name":"matcho/mkdocs2tex","owner":"matcho","description":"Convert MkDocs .md files to LaTeX using pandoc","archived":false,"fork":false,"pushed_at":"2024-09-17T09:44:58.000Z","size":6,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-20T21:14:48.054Z","etag":null,"topics":["latex","mkdocs","pandoc"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matcho.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,"zenodo":null}},"created_at":"2020-02-03T12:06:26.000Z","updated_at":"2024-09-17T09:45:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"060e8141-a1f8-47f3-8b83-8a57a54b6286","html_url":"https://github.com/matcho/mkdocs2tex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/matcho/mkdocs2tex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matcho%2Fmkdocs2tex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matcho%2Fmkdocs2tex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matcho%2Fmkdocs2tex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matcho%2Fmkdocs2tex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matcho","download_url":"https://codeload.github.com/matcho/mkdocs2tex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matcho%2Fmkdocs2tex/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261795320,"owners_count":23210619,"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":["latex","mkdocs","pandoc"],"created_at":"2024-12-29T05:44:42.100Z","updated_at":"2025-06-25T03:05:21.364Z","avatar_url":"https://github.com/matcho.png","language":"Python","readme":"# mkdocs2tex\n\nConverts a tree of MkDocs .md files to LaTeX format, with table of contents, list of figures, list of tables and properly placed and dimensioned images.\n\nReads the whole documentation contents, adjusts it, converts it into LaTeX format using pandoc, adjusts that LaTeX content, writes the result to an `output.tex` file.\n\n## Requirements\n\n * python3\n * pandoc\n\n## Usage\n\n`python3 ./mkdocs2tex.py -i /path/to/mkdocs.yml`\n\n### Options\n\n```\npython3 ./mkdocs2tex.py -h\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -i INPUT, --input INPUT\n                        source MkDocs .yml configuration file\n  -o OUTPUT, --output OUTPUT\n                        generated .tex file name\n  -t TMP, --tmp TMP     directory for temporary files during conversion\n```\n\nCaveat: use absolute paths\n\n## Build PDF from generated LaTeX\n\n### Requirements\n\n * texlive\n * texlive-latex-extra\n * texlive-bibtex-extra\n * texlive-font-utils\n * lmodern\n * latexmk\n\n### Build PDF\n\n`latexmk -f -pdf -interaction=nonstopmode output.tex`\n\n## Contributors\n\n * [@DDorch](https://github.com/DDorch) (original work)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatcho%2Fmkdocs2tex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatcho%2Fmkdocs2tex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatcho%2Fmkdocs2tex/lists"}