Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

push した tex ファイルの PDF が自動でできるようにする。 #1

Open
diohabara opened this issue Feb 10, 2021 · 6 comments

Comments

@diohabara
Copy link
Owner

tex ファイルを push したら自動で同じディレクトリに PDF が生成されるようにしたい。

多分これと同じようなことをすれば良い。

@diohabara diohabara changed the title 自動でPDFができるようにする。 push した tex ファイルの PDF が自動でできるようにする。 Feb 10, 2021
@diohabara
Copy link
Owner Author

例えば、 wolrd_university というディレクトリに a.texb.tex というファイルがあるとする。
a.tex というファイルを編集して、 commitpush をした際に GitHub Actions で tectonic world_university/a.tex のように差分のあるファイルだけをコンパイルするコマンドが走ってほしい。

@diohabara
Copy link
Owner Author

以下のレポジトリを作ったのでここで実験をする。

https://github.com/diohabara/sample-github-actions-compile-diff

@diohabara
Copy link
Owner Author

diohabara commented Feb 12, 2021

以下のサイトに差分があるファイルだけテストする方法があったの、これを利用すればできそう。

ref: https://tech.yutaka0m.com/entry/2020/05/30/327/

@diohabara
Copy link
Owner Author

差分を echo することはできたので、後はコンパイルするだけ

ref: diohabara/sample-github-actions-compile-diff#1

@diohabara
Copy link
Owner Author

できたようなのでこのレポジトリにも同じようなコードを書く。

ref: diohabara/sample-github-actions-compile-diff#7

@diohabara
Copy link
Owner Author

できていないので誰か〜

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant