diff --git a/.gitignore b/.gitignore index 0e9d825..8b5b2d0 100644 --- a/.gitignore +++ b/.gitignore @@ -28,9 +28,9 @@ ## Generated if empty string is given at "Please type another file name for output:" .idea/ ## Bibliography auxiliary files (bibtex/biblatex/biber): -*.bbl +#*.bbl *.bcf -*.blg +#*.blg *-blx.aux *-blx.bib *.run.xml diff --git a/README.md b/README.md index 8d198f4..91dea2c 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ LaTeX template for GitHub including general CI/CD actions and Mathematica templates. +- https://dev.azure.com/PetroKolosovProjects/github-latex-template + ## Build and run in Intellij IDEA - Install `MikTeX`: https://miktex.org/download diff --git a/azure-pipelines/azure-pipelines-linux-mshosted.yml b/azure-pipelines/azure-pipelines-linux-mshosted.yml new file mode 100644 index 0000000..02bc8be --- /dev/null +++ b/azure-pipelines/azure-pipelines-linux-mshosted.yml @@ -0,0 +1,78 @@ +trigger: + - master + - main + - develop + +variables: + - name: 'vmImageName' + value: 'ubuntu-latest' + + - name: 'System.Debug' + value: 'true' + + - name: StageName + value: 'LaTeX_Build_Ubuntu_Latest' + + - name: LatexFileName + value: 'GithubLatexTemplate' + + - name: LatexFilePath + value: '$(System.DefaultWorkingDirectory)/src/$(LatexFileName).tex' + + - name: OutputDirectory + value: '$(System.DefaultWorkingDirectory)/out' + +stages: + - stage: ${{ variables.StageName }} + displayName: ${{ variables.StageName }} + jobs: + - job: ${{ variables.StageName }} + displayName: ${{ variables.StageName }} + pool: + vmImage: ${{ variables.vmImageName }} + + steps: + - checkout: self + fetchDepth: 0 + + - task: gitversion/setup@0 + displayName: 'GitVersion Setup' + inputs: + versionSpec: '5.9.x' + + - task: gitversion/execute@0 + displayName: 'GitVersion Execute' + + - bash: echo $Action$BuildVersion + displayName: 'Set Build Version' + env: + Action: '##vso[build.updatebuildnumber]' + BuildVersion: '$(GitVersion.SemVer)' + + - bash: | + sudo apt-get install texlive + displayName: 'Install TeXLive' + + - bash: | + sudo mkdir -p $(OutputDirectory) + sudo chmod -R 775 $(OutputDirectory) + workingDirectory: '$(System.DefaultWorkingDirectory)' + displayName: 'Create Output Directory' + + - bash: | + echo "Compiling LaTeX document first time ..." + pdflatex -file-line-error -interaction=nonstopmode -synctex=1 -output-format=pdf \ + -output-directory=$(OutputDirectory) \ + -aux-directory=$(OutputDirectory) GithubLatexTemplate.tex + echo "Compiling LaTeX document second time ..." + pdflatex -file-line-error -interaction=nonstopmode -synctex=1 -output-format=pdf \ + -output-directory=$(OutputDirectory) \ + -aux-directory=$(OutputDirectory) GithubLatexTemplate.tex + workingDirectory: '$(System.DefaultWorkingDirectory)/src' + displayName: 'Build Document' + + - task: PublishPipelineArtifact@1 + inputs: + targetPath: '$(OutputDirectory)' + artifact: '$(LatexFileName)_$(GitVersion.SemVer)' + publishLocation: 'pipeline' \ No newline at end of file diff --git a/out/GithubLatexTemplate.bbl b/out/GithubLatexTemplate.bbl new file mode 100644 index 0000000..76736ff --- /dev/null +++ b/out/GithubLatexTemplate.bbl @@ -0,0 +1,37 @@ +\begin{thebibliography}{1} + +\bibitem{bayour2017truly} +Benaoumeur Bayour, Ahmed Hammoudi, and Delfim~FM Torres. +\newblock A truly conformable calculus on time scales. +\newblock {\em arXiv preprint arXiv:1705.08928}, 2017. +\newblock \url {https://arxiv.org/abs/1705.08928}. + +\bibitem{benkhettou2016conformable} +Nadia Benkhettou, Salima Hassani, and Delfim~FM Torres. +\newblock A conformable fractional calculus on arbitrary time scales. +\newblock {\em Journal of King Saud University-Science}, 28(1):93--98, 2016. + +\bibitem{caputo2009time} +M~Cristina Caputo. +\newblock Time scales: from nabla calculus to delta calculus and vice versa via + duality. +\newblock {\em arXiv preprint arXiv:0910.0085}, 2009. + +\bibitem{martins2009calculus} +Nat {\'a}~lia Martins and Delfim~FM Torres. +\newblock Calculus of variations on time scales with nabla derivatives. +\newblock {\em Nonlinear Analysis: Theory, Methods \& Applications}, + 71(12):e763--e773, 2009. + +\bibitem{GithubSource_2022} +Petro Kolosov. +\newblock {"Github Template" Source files}. +\newblock Available electronically at \url + {https://github.com/kolosovpetro/github-latex-template}, 2022. + +\bibitem{Sloane_theencyclopedia} +N.~J.~A. Sloane. +\newblock The on-line encyclopedia of integer sequences. +\newblock published electronically at \url {https://oeis.org}, 1964. + +\end{thebibliography} diff --git a/out/GithubLatexTemplate.blg b/out/GithubLatexTemplate.blg new file mode 100644 index 0000000..02d922c --- /dev/null +++ b/out/GithubLatexTemplate.blg @@ -0,0 +1,48 @@ +This is BibTeX, Version 0.99d +Capacity: max_strings=200000, hash_size=200000, hash_prime=170003 +The top-level auxiliary file: GithubLatexTemplate.aux +Reallocating 'name_of_file' (item size: 1) to 6 items. +The style file: unsrt.bst +Reallocating 'name_of_file' (item size: 1) to 20 items. +Database file #1: GithubLatexTemplate.bib +You've used 6 entries, + 1791 wiz_defined-function locations, + 482 strings with 4590 characters, +and the built_in function-call counts, 1069 in all, are: += -- 95 +> -- 42 +< -- 0 ++ -- 17 +- -- 11 +* -- 56 +:= -- 182 +add.period$ -- 19 +call.type$ -- 6 +change.case$ -- 6 +chr.to.int$ -- 0 +cite$ -- 6 +duplicate$ -- 44 +empty$ -- 113 +format.name$ -- 11 +if$ -- 233 +int.to.chr$ -- 0 +int.to.str$ -- 6 +missing$ -- 4 +newline$ -- 34 +num.names$ -- 6 +pop$ -- 19 +preamble$ -- 1 +purify$ -- 0 +quote$ -- 0 +skip$ -- 19 +stack$ -- 0 +substring$ -- 50 +swap$ -- 6 +text.length$ -- 0 +text.prefix$ -- 0 +top$ -- 0 +type$ -- 0 +warning$ -- 0 +while$ -- 10 +width$ -- 7 +write$ -- 66 diff --git a/out/GithubLatexTemplate.pdf b/out/GithubLatexTemplate.pdf index c7220b4..c91c341 100644 Binary files a/out/GithubLatexTemplate.pdf and b/out/GithubLatexTemplate.pdf differ