Git Product home page Git Product logo

aizu-thesis-markdown's Introduction

aizu-thesis-markdown

会津大学の学部卒論をマークダウンで書くための一式

Requirements

  • Docker

Getting Started

  1. 必要なDockerイメージをダウンロードする
docker pull plass/mdtopdf:include-fonts
  1. 必要な文章フォーマットをダウンロードする
echo "get /usr/local/texlive/texmf-local/tex/aizu/U-AizuGT.cls" | sftp [学籍番号]@sshgate.u-aizu.ac.jp
  1. 実行
scripts/topdf.sh thesis.md

変更があるたびに自動でコンパイルしたい場合

scripts/w-topdf.sh thesis.md

一つ前のcommitとの差分をpdfで出力する

scripts/generate-diff.sh thesis.tex

Github Actions の設定

リポジトリを作ったら、 SettingSecretsNew repository secret から次の2つの環境変数を設定する必要があります。

  • STUDENT_ID : 学籍番号
  • SSH_KEY : 大学環境に ssh するための秘密鍵
秘密鍵の設定方法
  1. 学内で github actions 用の ssh キーを作り(名前は何でも大丈夫)、秘密鍵をコピー&ペーストで Secrets に登録。
  2. 公開鍵を ~/.ssh/authorized_keys に追記。

※文章フォーマットファイルの U-AizuGT.cls は再配布禁止になっているため、リポジトリにあげることができません。

注意

Markdown の詳細などはフォーク元である p1ass/kuee-thesis-markdown を参考にしてください。

Error

`! LaTeX Error: Font family `JY1+gt' unknown.` というエラーがでる
! LaTeX Error: Font family `JY1+gt' unknown.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
...

l.80 }

このエラーは和文のイタリック表示に使うものですが、バージョンが古いため怒られています。 このエラーが出た場合は、 U-AizuGT.clsmagic word に書かれたカラムのの JY1JY2 に変更してください。

注意

Licence

Special Thanks

@p1ass くん手伝ってくれてありがとう!

aizu-thesis-markdown's People

Contributors

jumang4423 avatar

Watchers

 avatar

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.