{"id":13689579,"url":"https://github.com/mondain-dev/convert-sep","last_synced_at":"2025-05-02T00:30:31.691Z","repository":{"id":94792108,"uuid":"82901663","full_name":"mondain-dev/convert-sep","owner":"mondain-dev","description":"To generate tufte-book style document for Stanford Encyclopedia of Philosophy (SEP) entries.","archived":false,"fork":false,"pushed_at":"2018-05-11T00:48:36.000Z","size":35,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-12T13:39:23.392Z","etag":null,"topics":["document-conversion","html","latex","tex","xelatex"],"latest_commit_sha":null,"homepage":"","language":"Python","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/mondain-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-02-23T08:08:06.000Z","updated_at":"2022-03-25T13:15:31.000Z","dependencies_parsed_at":"2023-07-16T09:02:03.889Z","dependency_job_id":null,"html_url":"https://github.com/mondain-dev/convert-sep","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mondain-dev%2Fconvert-sep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mondain-dev%2Fconvert-sep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mondain-dev%2Fconvert-sep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mondain-dev%2Fconvert-sep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mondain-dev","download_url":"https://codeload.github.com/mondain-dev/convert-sep/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251966431,"owners_count":21672666,"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":["document-conversion","html","latex","tex","xelatex"],"created_at":"2024-08-02T15:01:54.022Z","updated_at":"2025-05-02T00:30:31.680Z","avatar_url":"https://github.com/mondain-dev.png","language":"Python","readme":"# ConvertSEP\nTo generate [tufte-book](https://tufte-latex.github.io/tufte-latex/) style document for SEP entries.\n## Dependencies\n* XeLaTeX, which can be found in standard TeX distributions such as [TeX Live](https://www.tug.org/texlive/) or [MiKTeX](https://miktex.org/);\n* [pandoc](http://pandoc.org/), and its python wrapper pypandoc;\n* [Inkscape](https://inkscape.org/), if `.svg` images are used in the entry;\n* [Latin Modern (LM) Family of Fonts](http://www.gust.org.pl/projects/e-foundry/latin-modern/), installed as system font. \n\nYou may need to add the paths to the `PATH` environment variable, such that `inkscape` and `xelatex` can be called directly from your command-line.\n\nPython packages required are listed in `requirements.txt`, such that they can be installed using `pip`:\n```\npip install -r requirements.txt\n```\nVarious LaTeX packages are also needed in order to successfully compile the `.tex` file generated by ConvertSEP.\n\n## Usage\n```\n python ConvertSEPHTML.py \u003cURL to the entry\u003e [\u003coutput.tex\u003e]\n```\nFor example:\n```\npython ConvertSEPHTML.py  https://plato.stanford.edu/entries/comte/ comte.tex\n```\nor\n```\npython ConvertSEPHTML.py  https://plato.stanford.edu/entries/comte/\n```\nwhich will save the tex output to `output.tex` if no file name is supplied. \n\nManual adjustment may be required. For example, in the command `\\sepsidenote[\u003coffset\u003e]{note texts}` that wraps `tufte`'s `\\sidenote`, the `\u003coffset\u003e` option passed on to `\\sidenote` may need to be adjusted manually. Other features in SEP entries currently unsupported can be found (and reported) at [project's issues page](https://github.com/mondain-dev/ConvertSEP/issues). \n\nXeLaTeX can then be used to compile the output:\n```\nxelatex comte.tex\nxelatex comte.tex # second run to generate the TOC\n```\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmondain-dev%2Fconvert-sep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmondain-dev%2Fconvert-sep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmondain-dev%2Fconvert-sep/lists"}