diff options
author | Karl Berry <karl@freefriends.org> | 2020-11-16 22:15:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-11-16 22:15:11 +0000 |
commit | 19993d6fd0e9de59df3f71339bce068283ca0ea3 (patch) | |
tree | 82a433afa87491e37a9ae3c6fdc35f10292a1091 /Master/texmf-dist/source | |
parent | 89f481da23c01f883eef2dd0541ce93250c01f0d (diff) |
skdoc (16nov20)
git-svn-id: svn://tug.org/texlive/trunk@56950 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/skdoc/Makefile | 69 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/skdoc/skdoc.dtx | 10 |
2 files changed, 75 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/skdoc/Makefile b/Master/texmf-dist/source/latex/skdoc/Makefile new file mode 100644 index 00000000000..d2d1103f27e --- /dev/null +++ b/Master/texmf-dist/source/latex/skdoc/Makefile @@ -0,0 +1,69 @@ +ZIP_NOATTRS := +ifeq ($(shell uname -s),Darwin) + ZIP_NOATTRS += -X +endif + +TAR_NOATTRS := +ifeq ($(shell uname -s),Darwin) + TAR_NOATTRS += --disable-copyfile +endif + +TEXMFHOME ?= $(shell kpsewhich -var-value TEXMFHOME) +.PHONY: all clean distclean install dist test clean-test +all: skdoc.dtx skdoc.cls skdoc.pdf README +clean: clean-test + rm -f *.gl? *.id? *.aux # problematic files + rm -f *.bbl *.bcf *.bib *.blg *.xdy # biblatex + rm -f *.fls *.log *.out *.run.xml *.toc # junk +distclean: clean + rm -f *.cls *.sty *.clo *.tar.gz *.tds.zip README + git reset --hard + +%.cls: %.dtx + tex $< + +%.pdf: %.dtx %.cls + pdflatex -interaction=nonstopmode -halt-on-error $< + makeglossaries $* + biber $* + pdflatex -interaction=nonstopmode -halt-on-error $< + makeglossaries $* + pdflatex -interaction=nonstopmode -halt-on-error $< + +README: README.md + sed -e '1,4d;$$d' $< > $@ + +install: all + install -m 0644 skdoc.cls $(TEXMFHOME)/tex/latex/skdoc/skdoc.cls + install -m 0644 skdoc.pdf $(TEXMFHOME)/doc/latex/skdoc/skdoc.pdf + install -m 0644 skdoc.tex $(TEXMFHOME)/source/latex/skdoc/skdoc.dtx + install -m 0644 README $(TEXMFHOME)/doc/latex/skdoc/README + -mktexlsr + +skdoc.tds.zip: all + mkdir -p skdoc/tex/latex/skdoc + cp skdoc.cls skdoc/tex/latex/skdoc/skdoc.cls + mkdir -p skdoc/doc/latex/skdoc + cp skdoc.pdf skdoc/doc/latex/skdoc/skdoc.pdf + mkdir -p skdoc/source/latex/skdoc + cp skdoc.dtx skdoc/source/latex/skdoc/skdoc.dtx + cp README skdoc/doc/latex/skdoc/README + cd skdoc && zip $(ZIP_NOATTRS) -r ../skdoc.tds.zip * + rm -rf skdoc + +skdoc.tar.gz: all skdoc.tds.zip + mkdir -p skdoc + cp skdoc.dtx skdoc/skdoc.dtx + cp skdoc.pdf skdoc/skdoc.pdf + cp README skdoc/README + cp Makefile skdoc/Makefile + tar $(TAR_NOATTRS) -czf $@ skdoc skdoc.tds.zip + rm -rf skdoc + +dist: skdoc.tar.gz + +test: +# $(MAKE) -C tests + +clean-test: +# $(MAKE) -C tests clean diff --git a/Master/texmf-dist/source/latex/skdoc/skdoc.dtx b/Master/texmf-dist/source/latex/skdoc/skdoc.dtx index 19d086a9757..d7803447122 100644 --- a/Master/texmf-dist/source/latex/skdoc/skdoc.dtx +++ b/Master/texmf-dist/source/latex/skdoc/skdoc.dtx @@ -73,7 +73,7 @@ %</driver> %<class>\ProvidesExplClass{skdoc} %<*class> - {2020/08/24}{1.5c}{skdoc documentation class} + {2020/11/16}{1.5d}{skdoc documentation class} %</class> % %<*driver> @@ -132,7 +132,7 @@ % {}{\small\pagemark} % \pagestyle{skdoc-class} % -% \version{1.5c} +% \version{1.5d} % \changes{1.0}{Initial version} % \changes{1.1}{Added support for syntax highlighting using \pkg{minted}} % \changes{1.1a}{Deprecate the use of \pkg{bibtex} in favour of \pkg{biblatex}} @@ -147,6 +147,7 @@ % \changes{1.5a}{Track \pkg{expl3} changes (thanks to Felix Faltin)} % \changes{1.5b}{Track \pkg{expl3} changes (thanks to Phelype Oleinik). Replace \pkg{opensans} option \opt{osfigures} with \opt{oldstyle} (\#40)} % \changes{1.5c}{Replace \pkg{scrpage} package with \pkg{scrlayer-scrpage} (thanks to Daniel Wunderlich)} +% \changes{1.5d}{Use compatibiltiy levels for \pkg{scrartcl} (\#44)} % \iffalse %%% Don't forget to update the version number and release date of %%% the package declaration on line 76! @@ -774,9 +775,10 @@ \LoadClass[ DIV7, headings=big, numbers=noenddot, - abstracton, + abstract=true, bibliography=totocnumbered, - index=totoc + index=totoc, + version=3.32 ]{scrartcl} % \end{macrocode} % These packages are basic low-level things that we use to declare |