diff --git a/.github/workflows/latexmk.yml b/.github/workflows/latexmk.yml new file mode 100644 index 0000000..145b0b9 --- /dev/null +++ b/.github/workflows/latexmk.yml @@ -0,0 +1,40 @@ +name: LaTeX PDF Build + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + # Step 1: Checkout the repository + - name: Checkout repository + uses: actions/checkout@v3 + + # Step 2: Install LaTeX tools and missing packages + - name: Install LaTeX and required packages + run: | + sudo apt-get update + sudo apt-get install -y texlive texlive-latex-extra texlive-fonts-recommended texlive-xetex latexmk + sudo apt-get install -y texlive-fonts-extra texlive-science texlive-pstricks + + # Step 3: Install make (required to run your Makefile) + - name: Install make + run: sudo apt-get install make + + # Step 4: Build the PDF using the Makefile + - name: Build PDF using Makefile + run: make + + # Step 5: Upload the generated PDF as an artifact + - name: Upload PDF artifact + uses: actions/upload-artifact@v3 + with: + name: lammps-tutorials-pdf + path: lammps-tutorials.pdf diff --git a/.github/workflows/latexmk_yml b/.github/workflows/latexmk_yml deleted file mode 100644 index 915a0ff..0000000 --- a/.github/workflows/latexmk_yml +++ /dev/null @@ -1,15 +0,0 @@ -name: latexmk -on: - push: - pull_request: -jobs: - latexmk: - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v2 - - uses: yegor256/latexmk-action@0.12.0 - with: - cmd: latexmk - path: . - opts: -pdf lammps-tutorials - packages: regexpatch mdframed zref needspace opensans fontaxes authblk \ No newline at end of file diff --git a/DESCRIPTION.md b/DESCRIPTION.md index daff91f..58ad4e2 100644 --- a/DESCRIPTION.md +++ b/DESCRIPTION.md @@ -27,8 +27,11 @@ within the solution repository located in each tutorial folder. ## Link -Access the `.pdf` from [this link](lammps-tutorials.pdf), or clone this repository -and compile the `.tex` file yourself by typing in a terminal: +https://github.com/lammpstutorials/lammpstutorials-article/actions/runs/12458522247/artifacts/2354075042 + +Access the last version of the `.pdf` from +[the Actions tab](https://github.com/lammpstutorials/lammpstutorials-article/actions/runs/12458522247/artifacts/2354075042), +or clone this repository and compile the `.tex` file yourself by typing in a terminal: ``` make diff --git a/README.md b/README.md index 8b4fd03..d80bd83 100644 --- a/README.md +++ b/README.md @@ -36,8 +36,11 @@ within the solution repository located in each tutorial folder. ## Link -Access the `.pdf` from [this link](lammps-tutorials.pdf), or clone this repository -and compile the `.tex` file yourself by typing in a terminal: +https://github.com/lammpstutorials/lammpstutorials-article/actions/runs/12458522247/artifacts/2354075042 + +Access the last version of the `.pdf` from +[the Actions tab](https://github.com/lammpstutorials/lammpstutorials-article/actions/runs/12458522247/artifacts/2354075042), +or clone this repository and compile the `.tex` file yourself by typing in a terminal: ``` make @@ -52,18 +55,18 @@ more useful for everyone. ## License -This project is licensed under the [Creative Commons BY 4.0](https://creativecommons.org/licenses/by/4.0/) License. -For more details, see the [LICENSE](LICENSE) file. +This project is licensed under the XXX License - see the +[LICENSE](LICENSE) file for details. ## Authors -- [Simon Gravelle](https://github.com/simongravelle) (corresponding author), - Univ. Grenoble Alpes, CNRS, LIPhy, 38000 Grenoble, France +- [Simon Gravelle](https://github.com/simongravelle) (corr. author), + Université Grenoble Alpes, CNRS, LIPhy, 38000 Grenoble, France. - [Jacob R. Gissinger](https://www.stevens.edu/profile/jgissing), - Stevens Institute of Technology, Hoboken, NJ 07030, USA + Stevens Institute of Technology, Hoboken, NJ 07030, USA. - [Axel Kohlmeyer](https://sites.google.com/site/akohlmey), Institute for Computational Molecular Science, Temple University, Philadelphia, - PA 19122, USA + PA 19122, USA. @@ -71,8 +74,8 @@ For more details, see the [LICENSE](LICENSE) file. - Simon Gravelle acknowledges funding from the European Union's Horizon 2020 research and innovation programme under the Marie Skłodowska-Curie grant - agreement No 101065060. -- Axel Kohlmeyer acknowledges financial support by Sandia National Laboratories + agreement N°101065060. +- Axel Kohlmeyer acknowledges financial support from Sandia National Laboratories under POs 2149742 and 2407526. diff --git a/dependencies/.github b/dependencies/.github index b8c8987..9931c7c 160000 --- a/dependencies/.github +++ b/dependencies/.github @@ -1 +1 @@ -Subproject commit b8c898787663913596dd931f5b636ad5757b04d7 +Subproject commit 9931c7cd1dcaa8d248bde41190e1900fb4e58961 diff --git a/lammps-tutorials.tex b/lammps-tutorials.tex index 8257aaa..072636a 100644 --- a/lammps-tutorials.tex +++ b/lammps-tutorials.tex @@ -39,8 +39,6 @@ \usepackage[title]{appendix} \usepackage{csquotes} -% \usepackage{inconsolata} % Load a font with no ligatures - \usepackage[ type={CC}, modifier={by-nc-sa},