Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
1,055 additions
and
232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: l3build | ||
on: | ||
push: | ||
branches: master | ||
pull_request: | ||
branches: master | ||
jobs: | ||
l3build: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: teatimeguest/setup-texlive-action@v2.4.1 | ||
with: | ||
package-file: DEPENDS.txt | ||
packages: scheme-basic xetex xkeyval libertine minted fvextra catchfile xstring framed tcolorbox environ anyfontsize chngcntr lastpage paralist enumitem qrcode wrapfig soul xifthen ifmtarg csquotes biblatex imakeidx footmisc titlesec mdframed zref needspace changepage ffcode href-ul | ||
- run: l3build check -q --show-log-on-error |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
.DS_Store | ||
target/ | ||
build/ | ||
_minted-* | ||
yb-book.pdf | ||
*.cls | ||
*.tex | ||
*.zip | ||
*.toc | ||
*.bbl | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
module = "yb-book" | ||
ctanupload = true | ||
typesetopts = "--interaction=batchmode --shell-escape" | ||
checkopts = "--interaction=batchmode --shell-escape" | ||
tagfiles = {"build.lua", "yb-book.dtx"} | ||
docfiles = {"yb-book-logo.pdf"} | ||
|
||
uploadconfig = { | ||
pkg = "yb-book", | ||
version = "0.0.0", | ||
author = "Yegor Bugayenko", | ||
uploader = "Yegor Bugayenko", | ||
email = "yegor256@gmail.com", | ||
note = "Bug fixes", | ||
announcement = "", | ||
ctanPath = "/macros/latex/contrib/yb-book", | ||
bugtracker = "https://github.com/yegor256/yb-book/issues", | ||
home = "", | ||
description = "This template helps the author design books published on Amazon under the “Y.B.” brand. You are welcome to use it too for your own books.", | ||
development = "", | ||
license = "mit", | ||
summary = "Template for YB Branded Books", | ||
repository = "https://github.com/yegor256/yb-book", | ||
support = "", | ||
topic = {"class", "document-template", "book-publication"} | ||
} | ||
|
||
function update_tag(file, content, tagname, tagdate) | ||
return string.gsub( | ||
string.gsub(content, "0%.0%.0", tagname), | ||
"00%.00%.0000", os.date("%d.%m.%Y") | ||
) | ||
end |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
This is a generated file for the l3build validation system. | ||
Don't change this file in any respect. | ||
[1 | ||
] [2 | ||
] | ||
LaTeX Font Info: Trying to load font information for T1+lmtt on input line .... | ||
Package microtype Info: Loading generic protrusion settings for font family | ||
(microtype) `lmtt' (encoding: T1). | ||
(microtype) For optimal results, create family-specific settings. | ||
(microtype) See the microtype manual for details. | ||
LaTeX Font Info: Font shape `T1/lmtt/bx/n' in size <24.88> not available | ||
(Font) Font shape `T1/lmtt/b/n' tried instead on input line .... | ||
[1] [2 | ||
] | ||
Chapter 1. | ||
[3] | ||
LaTeX Font Info: Trying to load font information for T1+lmss on input line .... | ||
Package microtype Info: Loading generic protrusion settings for font family | ||
(microtype) `lmss' (encoding: T1). | ||
(microtype) For optimal results, create family-specific settings. | ||
(microtype) See the microtype manual for details. | ||
Package mdframed Info: mdframed works in twoside mode on input line .... | ||
Package mdframed Info: mdframed inside float | ||
mdframed uses option nobreak mdframed on input line .... | ||
Package mdframed Info: mdframed inside a box | ||
mdframed uses option nobreak mdframed on input line .... | ||
LaTeX Warning: Reference `mdf@pagelabel-1' on page 4 undefined on input line .... | ||
Underfull \hbox (badness 10000) in paragraph at lines 14--16 | ||
\T1/lmr/m/n/10.95 This is a very in-ter-est-ing book about com-put-ers. | ||
\hbox(7.54317+2.12914)x307.1475, glue set 5.60138, direction TLT | ||
.\kern-0.3942 (left margin) | ||
.\localpar | ||
..\localinterlinepenalty=0 | ||
..\localbrokenpenalty=0 | ||
..\localleftbox=null | ||
..\localrightbox=null | ||
.\T1/lmr/m/n/10.95 T | ||
.\T1/lmr/m/n/10.95 h | ||
.\T1/lmr/m/n/10.95 i | ||
.\T1/lmr/m/n/10.95 s | ||
.\glue(\spaceskip) 3.65 plus 1.825 minus 1.21666 | ||
.\T1/lmr/m/n/10.95 i | ||
.\T1/lmr/m/n/10.95 s | ||
.\glue(\spaceskip) 3.65 plus 1.825 minus 1.21666 | ||
.\T1/lmr/m/n/10.95 a | ||
.\glue(\spaceskip) 3.65 plus 1.825 minus 1.21666 | ||
.\T1/lmr/m/n/10.95 v | ||
.\kern-0.30418 (font) | ||
.\T1/lmr/m/n/10.95 e | ||
.\T1/lmr/m/n/10.95 r | ||
.\T1/lmr/m/n/10.95 y | ||
.\glue(\spaceskip) 3.65 plus 1.825 minus 1.21666 | ||
.\T1/lmr/m/n/10.95 i | ||
.\T1/lmr/m/n/10.95 n | ||
.\discretionary (penalty 50) | ||
..< \T1/lmr/m/n/10.95 - | ||
..= \kern-0.30418 (font) | ||
.\T1/lmr/m/n/10.95 t | ||
.\T1/lmr/m/n/10.95 e | ||
.\T1/lmr/m/n/10.95 r | ||
.\discretionary (penalty 50) | ||
..< \T1/lmr/m/n/10.95 - | ||
.\T1/lmr/m/n/10.95 e | ||
.\T1/lmr/m/n/10.95 s | ||
.\T1/lmr/m/n/10.95 t | ||
.\discretionary (penalty 50) | ||
..< \T1/lmr/m/n/10.95 - | ||
.\T1/lmr/m/n/10.95 i | ||
.\T1/lmr/m/n/10.95 n | ||
.\T1/lmr/m/n/10.95 g | ||
.\glue(\spaceskip) 3.65 plus 1.825 minus 1.21666 | ||
.\T1/lmr/m/n/10.95 b | ||
.\kern0.30417 (font) | ||
.\T1/lmr/m/n/10.95 o | ||
.\kern0.30417 (font) | ||
.\T1/lmr/m/n/10.95 o | ||
.\T1/lmr/m/n/10.95 k | ||
.\glue(\spaceskip) 3.65 plus 1.825 minus 1.21666 | ||
.\T1/lmr/m/n/10.95 a | ||
.\T1/lmr/m/n/10.95 b | ||
.\kern0.30417 (font) | ||
.\T1/lmr/m/n/10.95 o | ||
.\T1/lmr/m/n/10.95 u | ||
.\T1/lmr/m/n/10.95 t | ||
.\glue(\spaceskip) 3.65 plus 1.825 minus 1.21666 | ||
.\T1/lmr/m/n/10.95 c | ||
.\T1/lmr/m/n/10.95 o | ||
.\T1/lmr/m/n/10.95 m | ||
.\discretionary (penalty 50) | ||
..< \T1/lmr/m/n/10.95 - | ||
.\T1/lmr/m/n/10.95 p | ||
.\T1/lmr/m/n/10.95 u | ||
.\T1/lmr/m/n/10.95 t | ||
.\discretionary (penalty 50) | ||
..< \T1/lmr/m/n/10.95 - | ||
.\T1/lmr/m/n/10.95 e | ||
.\T1/lmr/m/n/10.95 r | ||
.\T1/lmr/m/n/10.95 s | ||
.\T1/lmr/m/n/10.95 . | ||
.\penalty 10000 | ||
.\kern-2.1243 (right margin) | ||
.\glue(\parfillskip) 0.0 | ||
.\glue(\rightskip) 0.0 | ||
[4] (simple.ind) | ||
LaTeX Warning: Empty bibliography on input line .... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
\input{regression-test.tex} | ||
\documentclass{yb-book} | ||
\begin{document} | ||
\START | ||
|
||
\renewcommand*\thetitle{Simple} | ||
\renewcommand*\theauthor{Yegor Bugayenko} | ||
Hello, world! | ||
\ybPrintTitlePage | ||
\newpage | ||
\chapter{Overview} | ||
\section{Purpose} | ||
\index{computer} | ||
This is a very interesting book about computers. | ||
\ybQuote{Never tell the truth to people who | ||
are not worthy of it}{Mark Twain}{} | ||
\ybPrintIndex | ||
\ybPrintBibliography | ||
|
||
\END |
Oops, something went wrong.