-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from hebrewsnabla/v1.2
- Loading branch information
Showing
16 changed files
with
132 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
pull_request: | ||
branches: | ||
- master | ||
|
||
env: | ||
CTAN_URL: https://mirrors.rit.edu/CTAN | ||
TL_PACKAGES: abstract amscls amsmath amsfonts anyfontsize blkarray booktabs braket caption endnotes extarrows fancyhdr fandol float fontspec graphics hyperref jknapltx latexmk libertinus-fonts luatex85 l3packages mathalpha mathtools metafont mhchem multirow needspace newfloat paralist pgfplots psnfss physics scalerel sectsty siunitx subfig threeparttable tikz-feynman times tocbibind tocloft tools ulem xcolor xecjk collection-fontsrecommended collection-fontsextra | ||
|
||
jobs: | ||
build-on-ubuntu: | ||
runs-on: ubuntu-latest | ||
if: "!startsWith(github.ref, 'refs/tags/v')" | ||
env: | ||
SET_PATH: | | ||
export PATH=/tmp/texlive/bin/x86_64-linux:$PATH | ||
steps: | ||
- name: Set up Git repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install TeX Live | ||
run: | | ||
${{ env.SET_PATH }} | ||
wget ${{ env.CTAN_URL }}/systems/texlive/tlnet/install-tl-unx.tar.gz | ||
tar -xzf install-tl-unx.tar.gz | ||
cd install-tl-20* && ./install-tl --profile ../.github/workflows/texlive.profile | ||
tlmgr install ${{ env.TL_PACKAGES }} | ||
tlmgr update --self --all --no-auto-install --repository=${{ env.CTAN_URL }}/systems/texlive/tlnet/ | ||
- name: Compile test file | ||
run: | | ||
${{ env.SET_PATH }} | ||
bash release.sh latest | ||
#cd test | ||
#latexmk -xelatex -halt-on-error -shell-escape main | ||
- name: Upload PDF | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: SzaboSolutions-latest | ||
path: | ||
./release/SzaboSolutions-latest/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
tags: | ||
- v* | ||
|
||
env: | ||
CTAN_URL: https://mirrors.rit.edu/CTAN | ||
TL_PACKAGES: abstract amscls amsfonts amsmath anyfontsize blkarray booktabs braket caption endnotes extarrows fancyhdr fandol float fontspec graphics hyperref jknapltx latexmk libertinus-fonts luatex85 l3packages mathalpha mathtools metafont mhchem multirow needspace newfloat paralist pgfplots psnfss physics scalerel sectsty siunitx subfig threeparttable tikz-feynman times tocbibind tocloft tools ulem xcolor xecjk collection-fontsrecommended collection-fontsextra | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
if: startsWith(github.ref, 'refs/tags/v') | ||
env: | ||
SET_PATH: | | ||
export PATH=/tmp/texlive/bin/x86_64-linux:$PATH | ||
steps: | ||
- name: Set up Git repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set Version | ||
run: echo "VERSION=${GITHUB_REF##*/}" >> $GITHUB_ENV | ||
|
||
- name: Install TeX Live | ||
run: | | ||
${{ env.SET_PATH }} | ||
wget ${{ env.CTAN_URL }}/systems/texlive/tlnet/install-tl-unx.tar.gz | ||
tar -xzf install-tl-unx.tar.gz | ||
cd install-tl-20* && ./install-tl --profile ../.github/workflows/texlive.profile | ||
tlmgr install ${{ env.TL_PACKAGES }} | ||
tlmgr update --self --all --no-auto-install --repository=${{ env.CTAN_URL }}/systems/texlive/tlnet/ | ||
- name: Compile test file | ||
run: | | ||
${{ env.SET_PATH }} | ||
bash release.sh $VERSION | ||
#cd test | ||
#latexmk -xelatex -halt-on-error -shell-escape main | ||
- name: Create release | ||
uses: "marvinpinto/action-automatic-releases@latest" | ||
with: | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
prerelease: true | ||
files: | | ||
./release/SzaboSolutions-$VERSION/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# From latex3 | ||
# https://github.com/latex3/latex3/blob/main/support/texlive.profile | ||
|
||
selected_scheme scheme-infraonly | ||
TEXDIR /tmp/texlive | ||
TEXMFSYSCONFIG /tmp/texlive/texmf-config | ||
TEXMFSYSVAR /tmp/texlive/texmf-var | ||
TEXMFLOCAL /tmp/texlive/texmf-local | ||
TEXMFHOME ~/texmf | ||
TEXMFCONFIG ~/.texlive/texmf-config | ||
TEXMFVAR ~/.texlive/texmf-var | ||
option_doc 0 | ||
option_src 0 | ||
tlpdbopt_autobackup 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,12 @@ | |
*.gz | ||
*.toc | ||
*.out | ||
*.fdb* | ||
*.fls | ||
*.xdv | ||
sol/* | ||
*.djvu | ||
notes/*xlsx | ||
release/* | ||
chap*/chap*.pdf | ||
appendix/appendix.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
# Solutions for Modern Quantum Chemistry, Szabo & Ostlund | ||
|
||
Compiled with XeLaTeX. TeXLive 2020 or 2021 is recommended. | ||
Compiled with XeLaTeX. TeXLive 2020-latest is recommended. | ||
|
||
References | ||
## Note | ||
Since v1.2, we move the pdf to releases to reduce the size of the repo, which is auto-compiled by GitHub Actions. But the compilation may still have problems. If you find the released pdf is wrong, plase check the old v1.1 branch, which still keep pdf files, to confirm and report the bug. | ||
|
||
## References | ||
* [gensoukyo.me/Modern-Quantum-Chemistry-习题解答](https://gensoukyo.me/Modern-Quantum-Chemistry-%E4%B9%A0%E9%A2%98%E8%A7%A3%E7%AD%94/) | ||
* [www.claudiug.com/9780486691862/](https://www.claudiug.com/9780486691862/) |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters