Open W0n9 opened 1 month ago
This change introduces new development container configurations to streamline LaTeX development using Docker. The setup includes an Ubuntu-based container with necessary LaTeX tools, Chinese fonts, Zsh, and Git configuration. Additionally, specific Visual Studio Code settings and extensions are pre-configured for seamless LaTeX editing and building.
File Path | Change Summary |
---|---|
.devcontainer/build_from_scratch/Dockerfile |
Sets up a dev container based on Ubuntu 24.04, installs TexLive, configures environment variables, adds Chinese fonts, includes Zsh and Git setup. |
.devcontainer/build_from_scratch/devcontainer.json |
Configures the dev container with build instructions, Dockerfile configuration, Zsh and Git setup; sets "vscode" as the remote user. |
.devcontainer/devcontainer.json |
Introduces a prebuild configuration using an Ubuntu-based image with Visual Studio Code settings and LaTeX-related extensions. |
sequenceDiagram
participant User
participant Container
participant VSCode
participant Docker
User->>VSCode: Open LaTeX project
VSCode->>Docker: Build development container
Docker->>Container: Create and start container
Container-->>VSCode: Setup LaTeX environment
User->>VSCode: Edit and Save LaTeX files
VSCode->>Container: Auto-build LaTeX on save
Container-->>VSCode: Provide build output
VSCode-->>User: Show compiled document
In containers vast, LaTeX now thrives,
With fonts and tools, your project survives.
Zsh and Git, all set to go,
Auto-builds will steal the show.
Codespaces gleam in Docker's light,
Compile your dreams, day or night.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
此版本已将以下字体打包到容器镜像中,可以直接使用fontset = windows编译
https://github.com/the-ccsn/BUCTthesis/issues/9
Summary by CodeRabbit