summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-10-02 20:21:41 +0000
committerKarl Berry <karl@freefriends.org>2022-10-02 20:21:41 +0000
commit577f093e401f937931fdb0b38a6c9680ad542604 (patch)
treeb10003244ce94cdd88af43287689d1fac3a6bd59 /Master/texmf-dist/doc
parent0bca632227a3dc29bac856270b6eeb057562085b (diff)
yb-book (2oct22)
git-svn-id: svn://tug.org/texlive/trunk@64586 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/yb-book/DEPENDS.txt13
-rw-r--r--Master/texmf-dist/doc/latex/yb-book/LICENSE.txt21
-rw-r--r--Master/texmf-dist/doc/latex/yb-book/README.md9
-rw-r--r--Master/texmf-dist/doc/latex/yb-book/samples/sample.tex41
-rw-r--r--Master/texmf-dist/doc/latex/yb-book/yb-book.pdfbin239404 -> 283494 bytes
-rw-r--r--Master/texmf-dist/doc/latex/yb-book/yb-book.tex79
6 files changed, 34 insertions, 129 deletions
diff --git a/Master/texmf-dist/doc/latex/yb-book/DEPENDS.txt b/Master/texmf-dist/doc/latex/yb-book/DEPENDS.txt
index df34424b3dc..caa266e1d21 100644
--- a/Master/texmf-dist/doc/latex/yb-book/DEPENDS.txt
+++ b/Master/texmf-dist/doc/latex/yb-book/DEPENDS.txt
@@ -1,23 +1,18 @@
+hard pgf
hard xkeyval
hard geometry
-hard fontenc
-hard inputenc
hard anyfontsize
-hard tikz
hard chngcntr
hard lastpage
hard paralist
hard xcolor
-hard graphicx
hard setspace
-hard textcomp
hard enumitem
hard float
hard ulem
hard qrcode
hard wrapfig
-hard xfp
-hard soul} % in order to use \st{
+hard soul
hard xifthen
hard csquotes
hard biblatex
@@ -31,3 +26,7 @@ hard fancyhdr
hard wrapfig
hard mdframed
hard changepage
+hard ifmtarg
+hard bigfoot
+hard zref
+hard needspace \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/yb-book/LICENSE.txt b/Master/texmf-dist/doc/latex/yb-book/LICENSE.txt
new file mode 100644
index 00000000000..bd949ffdabc
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/yb-book/LICENSE.txt
@@ -0,0 +1,21 @@
+(The MIT License)
+
+Copyright (c) 2021-2022 Yegor Bugayenko
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the 'Software'), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/Master/texmf-dist/doc/latex/yb-book/README.md b/Master/texmf-dist/doc/latex/yb-book/README.md
index a9eae33589d..fcc2528d672 100644
--- a/Master/texmf-dist/doc/latex/yb-book/README.md
+++ b/Master/texmf-dist/doc/latex/yb-book/README.md
@@ -1,4 +1,5 @@
-[![make](https://github.com/yegor256/yb-book/actions/workflows/make.yml/badge.svg)](https://github.com/yegor256/yb-book/actions/workflows/make.yml)
+[![make](https://github.com/yegor256/yb-book/actions/workflows/l3build.yml/badge.svg)](https://github.com/yegor256/yb-book/actions/workflows/l3build.yml)
+[![CTAN](https://img.shields.io/ctan/v/yb-book)](https://ctan.org/pkg/yb-book)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/yb-book/blob/master/LICENSE.txt)
This LaTeX class I use to format [my books](https://www.yegor256.com/books.html),
@@ -10,10 +11,14 @@ and then use in the preamble:
```tex
\documentclass{yb-book}
+\renewcommand*\thetitle{New Book About OOP}
\renewcommand*\theauthor{Jeff Lebowski}
\renewcommand*\thevolume{1}
-\renewcommand*\thetitle{New Book About OOP}
+\renewcommand*\theversion{1.0}
\begin{document}
+\ybPrintTitlePage
+\chapter{First One}
+\section{About Something Interesting}
Hello, world!
\end{document}
```
diff --git a/Master/texmf-dist/doc/latex/yb-book/samples/sample.tex b/Master/texmf-dist/doc/latex/yb-book/samples/sample.tex
deleted file mode 100644
index b5528d54ca4..00000000000
--- a/Master/texmf-dist/doc/latex/yb-book/samples/sample.tex
+++ /dev/null
@@ -1,41 +0,0 @@
-% (The MIT License)
-%
-% Copyright (c) 2021 Yegor Bugayenko
-%
-% Permission is hereby granted, free of charge, to any person obtaining a copy
-% of this software and associated documentation files (the 'Software'), to deal
-% in the Software without restriction, including without limitation the rights
-% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-% copies of the Software, and to permit persons to whom the Software is
-% furnished to do so, subject to the following conditions:
-%
-% The above copyright notice and this permission notice shall be included in all
-% copies or substantial portions of the Software.
-%
-% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-% SOFTWARE.
-
-\documentclass{../yb-book}
-\renewcommand*\thetitle{\LaTeX{} Class yb-book}
-\renewcommand*\theauthor{Yegor Bugayenko}
-\begin{document}
-
-\ybPrintTitlePage
-
-\newpage
-
-\chapter{Overview}
-
-\section{Purpose}
-
-\index{computer}
-This is a very interesting book about computers.
-
-\ybPrintIndex
-
-\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/yb-book/yb-book.pdf b/Master/texmf-dist/doc/latex/yb-book/yb-book.pdf
index cde5f931f58..fa56f446471 100644
--- a/Master/texmf-dist/doc/latex/yb-book/yb-book.pdf
+++ b/Master/texmf-dist/doc/latex/yb-book/yb-book.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/yb-book/yb-book.tex b/Master/texmf-dist/doc/latex/yb-book/yb-book.tex
deleted file mode 100644
index 09375520582..00000000000
--- a/Master/texmf-dist/doc/latex/yb-book/yb-book.tex
+++ /dev/null
@@ -1,79 +0,0 @@
-% (The MIT License)
-%
-% Copyright (c) 2021-2022 Yegor Bugayenko
-%
-% Permission is hereby granted, free of charge, to any person obtaining a copy
-% of this software and associated documentation files (the 'Software'), to deal
-% in the Software without restriction, including without limitation the rights
-% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-% copies of the Software, and to permit persons to whom the Software is
-% furnished to do so, subject to the following conditions:
-%
-% The above copyright notice and this permission notice shall be included in all
-% copies or substantial portions of the Software.
-%
-% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-% SOFTWARE.
-
-\documentclass[compact,manuscript]{./yb-book}
-\usepackage{ffcode}
-\usepackage{href-ul}
-\renewcommand*\theversion{0.1.0}
-\renewcommand*\thedate{2022/01/03}
-\renewcommand*\thetitle{\LaTeX{} Class \ff{yb-book}}
-\renewcommand*\theauthor{Yegor Bugayenko}
-
-\begin{document}
-
-\includegraphics[height=6em]{yb-book-logo.pdf}
-\vspace*{24pt}
-
-\maketitle
-
-\index{Amazon}
-The provided class \ff{yb-book} helps me design
-\href{https://www.yegor256.com/books.html}{my books} and
-publish them
-\href{https://www.amazon.com/Yegor-Bugayenko/e/B01AM1QMDK}{on Amazon}.
-
-There are a few class options you can use:
-
-\ff{compact} --- when you need to make text more compact
-and take less vertical space;
-
-\ff{manuscript} --- when the format is not for Amazon printing,
-but for some other purposes (the page size is A4), like the document
-you are reading right now;
-
-\ff{draft} --- when it's a draft for reviewers (the page size is A4)
-and you want to have a watermark and a compact form of the content;
-
-\section*{Printers}
-
-There are a number of printers, commands that print large blocks of text
-in the expected format:
-
-\ff{\textbackslash{}ybPrintTitlePage} --- prints the first page of a book.
-
-\ff{\textbackslash{}ybPrintTOC} --- prints the table of contents.
-
-\ff{\textbackslash{}ybQuote} --- prints a side quote.
-
-\ff{\textbackslash{}ybPrintBibliography} --- prints the list of bib references.
-
-\ff{\textbackslash{}ybPrintIcons} --- prints your social icons.
-
-\ff{\textbackslash{}ybPrintIndex[1]} --- prints index with an optional name of the section (instead of ``Index'').
-
-For more samples, check the directory \ff{samples/}.
-
-You are welcome to suggest additional commands, but the style
-of my books is intentionally as simple as possible, avoiding formatting
-as much as possible.
-
-\end{document} \ No newline at end of file