diff options
author | Karl Berry <karl@freefriends.org> | 2024-01-16 21:28:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-01-16 21:28:10 +0000 |
commit | 34da3a6782c9cee95f81eda0f55cde49d5571d06 (patch) | |
tree | 40555d454dede246ec9b18df79ed0f93d9f5a189 /Master/texmf-dist | |
parent | 60a7f7a05adba09fa316897404e92ce7e30ccda8 (diff) |
ppt-slides (16jan24)
git-svn-id: svn://tug.org/texlive/trunk@69458 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/ppt-slides/DEPENDS.txt | 1 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/ppt-slides/LICENSE.txt | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/ppt-slides/README.md | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/ppt-slides/ppt-slides.pdf | bin | 934686 -> 935899 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/ppt-slides/ppt-slides.dtx | 93 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/ppt-slides/ppt-slides.ins | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/ppt-slides/ppt-slides.sty | 39 |
7 files changed, 104 insertions, 37 deletions
diff --git a/Master/texmf-dist/doc/latex/ppt-slides/DEPENDS.txt b/Master/texmf-dist/doc/latex/ppt-slides/DEPENDS.txt index 9234b174c79..d0c24647660 100644 --- a/Master/texmf-dist/doc/latex/ppt-slides/DEPENDS.txt +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/ppt-slides/LICENSE.txt b/Master/texmf-dist/doc/latex/ppt-slides/LICENSE.txt index 5744f745f0a..1f211e02878 100644 --- a/Master/texmf-dist/doc/latex/ppt-slides/LICENSE.txt +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/ppt-slides/README.md b/Master/texmf-dist/doc/latex/ppt-slides/README.md index 3827f11588b..f1f92da99d1 100644 --- a/Master/texmf-dist/doc/latex/ppt-slides/README.md +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/ppt-slides/ppt-slides.pdf b/Master/texmf-dist/doc/latex/ppt-slides/ppt-slides.pdf Binary files differindex 9e22a9e1aae..774992d89fe 100644 --- a/Master/texmf-dist/doc/latex/ppt-slides/ppt-slides.pdf +++ b/Master/texmf-dist/doc/latex/ppt-slides/ppt-slides.pdf diff --git a/Master/texmf-dist/source/latex/ppt-slides/ppt-slides.dtx b/Master/texmf-dist/source/latex/ppt-slides/ppt-slides.dtx index 54abab106f5..9e14a1170d5 100644 --- a/Master/texmf-dist/source/latex/ppt-slides/ppt-slides.dtx +++ b/Master/texmf-dist/source/latex/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/Master/texmf-dist/source/latex/ppt-slides/ppt-slides.ins b/Master/texmf-dist/source/latex/ppt-slides/ppt-slides.ins index a5f87589b04..eb3965fa10d 100644 --- a/Master/texmf-dist/source/latex/ppt-slides/ppt-slides.ins +++ b/Master/texmf-dist/source/latex/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/Master/texmf-dist/tex/latex/ppt-slides/ppt-slides.sty b/Master/texmf-dist/tex/latex/ppt-slides/ppt-slides.sty index 84cedfdf7d9..42e0f7a1e64 100644 --- a/Master/texmf-dist/tex/latex/ppt-slides/ppt-slides.sty +++ b/Master/texmf-dist/tex/latex/ppt-slides/ppt-slides.sty @@ -7,7 +7,7 @@ %% ppt-slides.dtx (with options: `package') %% (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 @@ -31,7 +31,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{ppt-slides} -[2023-11-08 0.3.0 Slide Decks a la Power Point] +[2024-01-16 0.3.1 Slide Decks a la Power Point] @@ -85,16 +85,29 @@ the 'scheme' option is not specified} \fi\makeatother -\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} + +\RequirePackage{href-ul} + +\RequirePackage{pagecolor} + +\RequirePackage{varwidth} + +\RequirePackage{qrcode} + +\RequirePackage{tikz} + +\RequirePackage{tikzpagenodes} + +\RequirePackage[inline]{enumitem} + +\RequirePackage{crumbs} + +\RequirePackage{calc} + +\RequirePackage{tabularx} + +\RequirePackage{seqsplit} \newenvironment{pptMiddle} {\vspace*{\fill}} @@ -166,7 +179,6 @@ \ifdefined\flush\flush[1]\fi% } -\RequirePackage{tabularx} \newcommand\pptQuote[4][]{% \begin{tabularx}{\columnwidth}{c>{\raggedright\arraybackslash}X}% \raisebox{\dimexpr-\height+\ht\strutbox}{ @@ -253,7 +265,6 @@ }% } -\RequirePackage{seqsplit} \newcommand\pptPinQR[2][right]{% \pptPin[#1]{% \begin{minipage}{1.4in}% |