https://github.com/zgldh/texlive-full
自用的Latex编译环境,可以配合 LaTeX-Workshop 一起使用。
https://github.com/zgldh/texlive-full
Last synced: about 1 month ago
JSON representation
自用的Latex编译环境,可以配合 LaTeX-Workshop 一起使用。
- Host: GitHub
- URL: https://github.com/zgldh/texlive-full
- Owner: zgldh
- License: apache-2.0
- Created: 2024-01-07T12:32:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-31T15:42:01.000Z (over 2 years ago)
- Last Synced: 2025-01-25T19:30:33.288Z (over 1 year ago)
- Language: Dockerfile
- Size: 62.3 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# texlive-full
自用的Latex编译环境,可以配合 VS Code 的 LaTeX-Workshop 扩展一起使用。
里面安装了 `texlive-full` 和思源宋体。
# VS Code 用法
1. 用 VS Code 打开你的文档项目根目录。
2. 复制 `.devcontainer` 到你的文档项目根目录。
3. 安装 `LaTeX Workshop` 扩展。
4. 安装 [Docker](https://www.docker.com/products/docker-desktop)
5. 安装 [VS Code Remote - Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)
6. 在 VS Code 命令面板执行 `Remote-Containers: Reopen in Container`。
6. 可以开始编辑文档了。
# Code OSS (VS Code社区版) 用法
1. 用 VS Code 打开你的文档项目根目录。
2. 复制 `.devcontainer` 到你的文档项目根目录。
3. 安装 `LaTeX Workshop` 扩展。
4. 安装 [Docker](https://www.docker.com/products/docker-desktop)
5. 命令行执行 `docker pull zgldh/texlive-full:main`
6. 编辑 `settings.json` 添加下面三行:
```json
"latex-workshop.docker.enabled": true,
"latex-workshop.docker.image.latex": "zgldh/texlive-full:main",
"latex-workshop.latex.recipe.default": "latexmk (xelatex)"
```
1. 可以开始编辑文档了。