Skip to content
/ latex-setup Public template

Template repo for setting up my LaTeX environment

License

Notifications You must be signed in to change notification settings

mo-mo-666/latex-setup

Repository files navigation

latex-setup

Template repo for setting up my LaTeX environment

LaTeX環境を一式そろえるためのテンプレートリポジトリ.

関係あるリポジトリ

  • tex-template: LaTeXファイルのヘッダーで読み込むコマンド群をまとめたファイルを集めたリポジトリ,デフォルトでsubmoduleとして読み込まれる
  • latex-actions: GitHub Actionsを使ってLaTeXファイルをコンパイルする環境を整えるためのリポジトリ.うまくいったworkflowは,このリポジトリの.github/workflowsにコピーして使っている.
  • latex-docker: オリジナルのDockerイメージを作るためのリポジトリ

DockerをVSCodeのdevcontainerで動かす際のSSHキーの共有について

Dockerコンテナ内にそもそもSSHがインストールされていないと使えないので,まずそれを確認する.

基本は Sharing Git credentials with your container にしたがって,dotfilesを書いているが, もしうまくいかない場合は ~/.ssh/configに以下を追記する(ファイルがない場合は作成する).

Host github.com
  HostName github.com
  User git
  Port 22
  IgnoreUnknown UseKeychain
  UseKeychain yes
  IdentityFile ~/.ssh/id_rsa
  IdentitiesOnly yes
  AddKeysToAgent yes

一度再起動する.WSLの場合はpowershellで

wsl --shutdown

でもよい.

About

Template repo for setting up my LaTeX environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published