diff options
author | Karl Berry <karl@freefriends.org> | 2017-03-15 21:16:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-03-15 21:16:12 +0000 |
commit | 4338470395169d0b4ebc86b864961cfd61f80d69 (patch) | |
tree | 305b67ec8c622a68d60c7f7176934469ba393de4 /Master/texmf-dist/doc/latex/revquantum/Install.ps1 | |
parent | 80b2dce1110ea0c9bc2dfeaa992f050dfb65cda5 (diff) |
revquantum (15mar17)
git-svn-id: svn://tug.org/texlive/trunk@43505 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/revquantum/Install.ps1')
-rw-r--r-- | Master/texmf-dist/doc/latex/revquantum/Install.ps1 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/revquantum/Install.ps1 b/Master/texmf-dist/doc/latex/revquantum/Install.ps1 new file mode 100644 index 00000000000..eac3910e6fc --- /dev/null +++ b/Master/texmf-dist/doc/latex/revquantum/Install.ps1 @@ -0,0 +1,22 @@ +param( + [switch] $CTAN +) + +#region Bootstrap PoShTeX +if (!(Get-Module -ListAvailable -Name posh-tex -ErrorAction SilentlyContinue)) { + Install-Module posh-tex -Scope CurrentUser +} +Import-Module posh-tex +#endregion + +Out-TeXStyle revquantum +Out-TeXStyleDocumentation revquantum + +Install-TeXUserResource tex/latex/revquantum revquantum.sty, revquantum.pdf + +Install-PandocUserResource templates pandoc/templates/revquantum.latex -ErrorAction Continue + +if ($CTAN) { + Invoke-TeXBuildEngine example.tex + Export-CTANArchive -ArchiveLayout Simple revquantum.ins, revquantum.pdf, README.md, example.tex, example.pdf, Install.ps1 +}
\ No newline at end of file |