Giter VIP home page Giter VIP logo

texlive-full-devcontainer's Introduction

texlive-full-devcontainer

使い方

  1. テンプレートリポジトリとして、または単にクローン
  2. コマンドパレットから、Reopen in Container
  3. 任意の.texファイルを編集、保存することでビルド可能

背景となる課題

  • devcontainerテンプレートが(観測範囲に)ない
    • コンテナイメージはあるが、devcontainerに適した構成ではない
  • texliveがフルで入っているイメージはない
    • (と、作ったときには思ってたけど、公式であったりした)
    • でもイメージサイズ5GBだし、ベースもdevcontainer向けじゃない
  • .latexmkrcとかが何なのか意味わからん(ので1回しか書きたくない)
  • pLaTeXとかバージョンが色々あって意味わからん

以上の課題をもとに、テンプレートを作りました。

特徴

vscodeのdevcontainerで以下のサポートを受けられます。

  • ベースイメージはmicrosoftのdevcontainer向けdebian-11
  • マルチアーキテクチャ対応なので、Apple siliconでもネイティブ実行
  • save時に自動でビルド
  • 拡張機能の自動導入
  • ghcrにビルド済みイメージを配置しているため、手元でのビルドが不要
    • イメージサイズは約3.7GB
    • 実はベースのMS公式イメージが半分くらいを占めるので、そこまで大きくない

Contribution

正直TeXの環境、ビルド周りについては何も理解していないので、特に以下の内容で改善があればPRをください。

  • .latexmkrcの改良
  • lualatex以外のサポート追加
  • 良い感じのサンプル.texファイルの追加
    • ベストプラクティスがWEBに散乱してるので、ここ見ればOK状態にしたい
    • オレオレサンプルでも、いい感じであればファイル区切って入れられると思うので、とりあえず送ってほしい

texlive-full-devcontainer's People

Contributors

tbistr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

texlive-full-devcontainer's Issues

Image size is too HUGE. 😡

Should make slim image ver?
Guest OS is assumed that only runs build steps.
So, almost all utils included in MS's base image is unnecessary.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.