{"id":26058809,"url":"https://github.com/allanchain/nb-tmpl-ctex","last_synced_at":"2026-02-13T02:01:46.321Z","repository":{"id":275884243,"uuid":"927506209","full_name":"AllanChain/nb-tmpl-ctex","owner":"AllanChain","description":"Chinese LaTeX/PDF template for Jupyter nbconvert using CTeX","archived":false,"fork":false,"pushed_at":"2025-02-05T10:37:17.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T03:42:01.528Z","etag":null,"topics":["chinese","ctex","jupyter","nbconvert"],"latest_commit_sha":null,"homepage":"","language":"Jinja","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/AllanChain.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":"2025-02-05T04:16:16.000Z","updated_at":"2025-02-05T10:39:00.000Z","dependencies_parsed_at":"2025-02-05T04:43:18.514Z","dependency_job_id":null,"html_url":"https://github.com/AllanChain/nb-tmpl-ctex","commit_stats":null,"previous_names":["allanchain/nb-tmpl-ctex"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AllanChain%2Fnb-tmpl-ctex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AllanChain%2Fnb-tmpl-ctex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AllanChain%2Fnb-tmpl-ctex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AllanChain%2Fnb-tmpl-ctex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AllanChain","download_url":"https://codeload.github.com/AllanChain/nb-tmpl-ctex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248351449,"owners_count":21089270,"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":["chinese","ctex","jupyter","nbconvert"],"created_at":"2025-03-08T12:32:11.408Z","updated_at":"2026-02-13T02:01:46.306Z","avatar_url":"https://github.com/AllanChain.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jupyter nbconvert 中文 PDF 模板\n\nChinese LaTeX/PDF template for Jupyter notebook `nbconvert` using CTeX.\n\n[![PyPI - Version](https://img.shields.io/pypi/v/nb-tmpl-ctex.svg)](https://pypi.org/project/nb-tmpl-ctex)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/nb-tmpl-ctex.svg)](https://pypi.org/project/nb-tmpl-ctex)\n\n-----\n\n## 安装\n\n```console\npip install nb-tmpl-ctex\n```\n\n## 使用\n\n通过 `nbconvert` 调用：\n```bash\n# 默认 ctexart\njupyter nbconvert example.ipynb --to pdf --template ctex\n# 使用 ctexrep\njupyter nbconvert example.ipynb --to pdf --template ctex --template-file report\n```\n\n如果需要在 Jupyter 网页导出时自动使用 CTeX 模板，需要在 `~/.jupyter/jupyter_nbconvert_config.py` 将 `ctex` 模板设置为默认：\n\n```python\nc.LatexExporter.template_name = \"ctex\"\n# c.LatexExporter.template_file = \"report\"\n```\n\n## License\n\n`nb-tmpl-ctex` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallanchain%2Fnb-tmpl-ctex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallanchain%2Fnb-tmpl-ctex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallanchain%2Fnb-tmpl-ctex/lists"}