summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ppt-slides
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-01-17 03:01:02 +0000
committerNorbert Preining <norbert@preining.info>2024-01-17 03:01:02 +0000
commit4fd81a66c82a2ba8787c6ca78bfcc14820e4017c (patch)
treebd843b1d561c776d5f54e18c0f07c05b079bb791 /macros/latex/contrib/ppt-slides
parent384734a07c53090ad651e786d248c5ba8cd4606e (diff)
CTAN sync 202401170301
Diffstat (limited to 'macros/latex/contrib/ppt-slides')
-rw-r--r--macros/latex/contrib/ppt-slides/DEPENDS.txt1
-rw-r--r--macros/latex/contrib/ppt-slides/LICENSE.txt2
-rw-r--r--macros/latex/contrib/ppt-slides/README.md2
-rw-r--r--macros/latex/contrib/ppt-slides/ppt-slides.dtx93
-rw-r--r--macros/latex/contrib/ppt-slides/ppt-slides.ins4
-rw-r--r--macros/latex/contrib/ppt-slides/ppt-slides.pdfbin934686 -> 935899 bytes
6 files changed, 79 insertions, 23 deletions
diff --git a/macros/latex/contrib/ppt-slides/DEPENDS.txt b/macros/latex/contrib/ppt-slides/DEPENDS.txt
index 9234b174c7..d0c2464766 100644
--- a/macros/latex/contrib/ppt-slides/DEPENDS.txt
+++ b/macros/latex/contrib/ppt-slides/DEPENDS.txt
@@ -18,6 +18,7 @@ hard tikzpagenodes
hard titling
hard varwidth
hard xcolor
+hard listings
soft acmart
soft biber
soft biblatex
diff --git a/macros/latex/contrib/ppt-slides/LICENSE.txt b/macros/latex/contrib/ppt-slides/LICENSE.txt
index 5744f745f0..1f211e0287 100644
--- a/macros/latex/contrib/ppt-slides/LICENSE.txt
+++ b/macros/latex/contrib/ppt-slides/LICENSE.txt
@@ -1,6 +1,6 @@
(The MIT License)
-Copyright (c) 2021-2023 Yegor Bugayenko
+Copyright (c) 2021-2024 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
diff --git a/macros/latex/contrib/ppt-slides/README.md b/macros/latex/contrib/ppt-slides/README.md
index 3827f11588..f1f92da99d 100644
--- a/macros/latex/contrib/ppt-slides/README.md
+++ b/macros/latex/contrib/ppt-slides/README.md
@@ -25,7 +25,7 @@ and then use in preamble:
\end{document}
```
-Otherwise, you can download [`ppt-slides.sty`](https://raw.githubusercontent.com/yegor256/ppt-slides/gh-pages/ppt-slides/ppt-slides.sty) and add to your project.
+Otherwise, you can download [`ppt-slides.sty`](https://yegor256.github.io/ppt-slides/ppt-slides.sty) and add to your project.
If you want to contribute yourself, make a fork, then create a branch,
then run `l3build ctan` in the root directory.
diff --git a/macros/latex/contrib/ppt-slides/ppt-slides.dtx b/macros/latex/contrib/ppt-slides/ppt-slides.dtx
index 54abab106f..9e14a1170d 100644
--- a/macros/latex/contrib/ppt-slides/ppt-slides.dtx
+++ b/macros/latex/contrib/ppt-slides/ppt-slides.dtx
@@ -1,7 +1,7 @@
% \iffalse meta-comment
% (The MIT License)
%
-% Copyright (c) 2021-2023 Yegor Bugayenko
+% Copyright (c) 2021-2024 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
@@ -50,7 +50,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}
%<package>\ProvidesPackage{ppt-slides}
%<*package>
-[2023-11-08 0.3.0 Slide Decks a la Power Point]
+[2024-01-16 0.3.1 Slide Decks a la Power Point]
%</package>
%<*driver>
\documentclass{ltxdoc}
@@ -410,18 +410,77 @@
\fi\makeatother
% \end{macrocode}
-% Then, we include a few packages:
+% Then, we include \href{https://ctan.org/pkg/ifthen}{ifthen}
+% in order to enable |if/then/else| commands:
% \begin{macrocode}
-\RequirePackage{ifthen} % for if/then/else in LaTeX
-\RequirePackage{href-ul} % for nice hyperlinks
-\RequirePackage{pagecolor} % to change page color
-\RequirePackage{varwidth} % for pptWide
-\RequirePackage{qrcode} % to print QR codes
-\RequirePackage{tikz} % for drawings in TOC
- \usetikzlibrary{calc} % for positioning of pinned boxes
-\RequirePackage{tikzpagenodes} % for pptPin
-\RequirePackage[inline]{enumitem} % for lists in crumbs
-\RequirePackage{crumbs} % for crumbs
+\RequirePackage{ifthen}
+% \end{macrocode}
+
+% Then, we include \href{https://ctan.org/pkg/href-ul}{href-ul}
+% in order to enable underlined hyperlinks:
+% \begin{macrocode}
+\RequirePackage{href-ul}
+% \end{macrocode}
+
+% Then, we include \href{https://ctan.org/pkg/pagecolor}{pagecolor}
+% in order to make it possible to change the background color of a page:
+% \begin{macrocode}
+\RequirePackage{pagecolor}
+% \end{macrocode}
+
+% Then, we include \href{https://ctan.org/pkg/varwidth}{varwidth}
+% in order to change the width of the page, inside |pptWide|:
+% \begin{macrocode}
+\RequirePackage{varwidth}
+% \end{macrocode}
+
+% Then, we include \href{https://ctan.org/pkg/qrcode}{qrcode}
+% in order to render QR codes:
+% \begin{macrocode}
+\RequirePackage{qrcode}
+% \end{macrocode}
+
+% Then, we include \href{https://ctan.org/pkg/tikz}{tikz}
+% in order to position elements on the page, especially in the Table of Contents:
+% \begin{macrocode}
+\RequirePackage{tikz}
+% \end{macrocode}
+
+% Then, we include \href{https://ctan.org/pkg/tikzpagenodes}{tikzpagenodes}
+% in order to pin a block in |\pptPin|:
+% \begin{macrocode}
+\RequirePackage{tikzpagenodes}
+% \end{macrocode}
+
+% Then, we include \href{https://ctan.org/pkg/enumitem}{enumitem}
+% in order to render inline lists in crumbs:
+% \begin{macrocode}
+\RequirePackage[inline]{enumitem}
+% \end{macrocode}
+
+% Then, we include \href{https://ctan.org/pkg/crumbs}{crumbs}
+% in order to show top-page menus:
+% \begin{macrocode}
+\RequirePackage{crumbs}
+% \end{macrocode}
+
+% Then, we include \href{https://ctan.org/pkg/calc}{calc}
+% in order to calculate positions of elements more precisely:
+% \changes{0.3.1}{2024/01/13}{The \texttt{calc} package added.}
+% \begin{macrocode}
+\RequirePackage{calc}
+% \end{macrocode}
+
+% Then, we include \href{https://ctan.org/pkg/tabularx}{tabularx}
+% in order to render |\pptQuote|:
+% \begin{macrocode}
+\RequirePackage{tabularx}
+% \end{macrocode}
+
+% Then, we include \href{https://ctan.org/pkg/seqsplit}{seqsplit}
+% in order to split long links:
+% \begin{macrocode}
+\RequirePackage{seqsplit}
% \end{macrocode}
% \begin{macro}{\pptMiddle}
@@ -536,7 +595,6 @@
% Then, we define the |\pptQuote| command, with one optional and three mandatory arguments:
% \changes{0.3.0}{2023/11/08}{The \texttt{\char`\\pptQuote} command has got an optional parameter, where the name of the person on the photo can be specified.}
% \begin{macrocode}
-\RequirePackage{tabularx}
\newcommand\pptQuote[4][]{%
\begin{tabularx}{\columnwidth}{c>{\raggedright\arraybackslash}X}%
\raisebox{\dimexpr-\height+\ht\strutbox}{
@@ -654,7 +712,6 @@
% \begin{macro}{\pptPinQR}
% Then, we define the |\pptPinQR| command:
% \begin{macrocode}
-\RequirePackage{seqsplit}
\newcommand\pptPinQR[2][right]{%
\pptPin[#1]{%
\begin{minipage}{1.4in}%
@@ -682,14 +739,12 @@
% \end{macrocode}
% \end{macro}
+% \begin{macrocode}
\endinput
+% \end{macrocode}
% \Finale
-% \clearpage
-% \printbibliography
-% \clearpage
-
% \PrintChanges
% \clearpage
% \PrintIndex
diff --git a/macros/latex/contrib/ppt-slides/ppt-slides.ins b/macros/latex/contrib/ppt-slides/ppt-slides.ins
index a5f87589b0..eb3965fa10 100644
--- a/macros/latex/contrib/ppt-slides/ppt-slides.ins
+++ b/macros/latex/contrib/ppt-slides/ppt-slides.ins
@@ -1,6 +1,6 @@
%% (The MIT License)
%%
-%% Copyright (c) 2021-2023 Yegor Bugayenko
+%% Copyright (c) 2021-2024 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
@@ -26,7 +26,7 @@
\preamble
(The MIT License)
-Copyright (c) 2021-2023 Yegor Bugayenko
+Copyright (c) 2021-2024 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
diff --git a/macros/latex/contrib/ppt-slides/ppt-slides.pdf b/macros/latex/contrib/ppt-slides/ppt-slides.pdf
index 9e22a9e1aa..774992d89f 100644
--- a/macros/latex/contrib/ppt-slides/ppt-slides.pdf
+++ b/macros/latex/contrib/ppt-slides/ppt-slides.pdf
Binary files differ