Skip to content

Commit

Permalink
Minor changes to the dtx file, added build.lua for documentation …
Browse files Browse the repository at this point in the history
…and packaged using `l3build`.
  • Loading branch information
pablgonz committed Jul 30, 2019
1 parent 2de6255 commit 30dc11a
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## project-specific
build/*

## auxiliary files:
*.aux
*.lof
Expand Down
29 changes: 29 additions & 0 deletions build.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
-- Build script for scontents
pkgversion = "1.0"
pkgdate = "2019/07/30"

module = "scontents"
ctanpkg = "scontents"

tagfiles = {"sources/*.md","sources/*.sty","sources/*.dtx"}

-- ctan setup
docfiles = {"sources/scontents.pdf","source/scontents.dtx"}
textfiles= {"sources/README.md"}

-- Compile documentation with xelatex to reduce pdf size
typesetexe = "xelatex"
packtdszip = false

installfiles = {
"**/*.sty"
}

sourcefiles = {
"**/*.sty",
"**/*.dtx"
}

typesetfiles = {"scontents.dtx"}

typesetruns = 3
6 changes: 3 additions & 3 deletions sources/scontents.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ conditions of the [LaTeX Project Public License](https://www.latex-project.org/l
SmallCapsFont = lmmonocaps10-oblique,%
SlantedFont = lmmonoslant10-regular,
]
\newfontfamily\fetamono{ffmw10.otf}[
\newfontfamily\fetamontotf{ffmw10.otf}[
Scale = 0.95,%
RawFeature = {+latn,+rand,+kern,+size},%
]
Expand Down Expand Up @@ -342,7 +342,7 @@ conditions of the [LaTeX Project Public License](https://www.latex-project.org/l
% Logo whit textffmw font for title
\newsavebox{\logobox}
\savebox{\logobox}{%
\normalsize\fetamono{\textcolor{mypkgcolor}{s}\textcolor{OrangeRed}{content}\textcolor{mypkgcolor}{s}}}
\normalsize\fetamontotf{\textcolor{mypkgcolor}{s}\textcolor{OrangeRed}{content}\textcolor{mypkgcolor}{s}}}
\newcommand{\mylogo}{%
\settoheight{\@tempdima}{L}%
\resizebox{!}{\@tempdima}{\usebox{\logobox}}%
Expand Down Expand Up @@ -1795,4 +1795,4 @@ conditions of the [LaTeX Project Public License](https://www.latex-project.org/l
% \iffalse
%</package>
% \fi
% \Finale
% \Finale

0 comments on commit 30dc11a

Please sign in to comment.