diff options
author | Karl Berry <karl@freefriends.org> | 2022-10-03 20:29:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-10-03 20:29:54 +0000 |
commit | 4f45b25725151bf24fbec23be6a0c2ffe2d36099 (patch) | |
tree | 53eef836b9a82e5561ee7ec0d4058cb16eaf14ee | |
parent | ebf4e6c9f13f73513c480ba559612548b3dc30cd (diff) |
debate (3oct22)
git-svn-id: svn://tug.org/texlive/trunk@64596 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/debate/DEPENDS.txt | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/debate/LICENSE.txt | 21 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/debate/README.md | 3 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/debate/debate.pdf | bin | 235941 -> 328802 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/debate/debate.tex | 80 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/debate/debate.dtx | 178 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/debate/debate.ins | 55 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/debate/debate.sty | 67 |
8 files changed, 304 insertions, 105 deletions
diff --git a/Master/texmf-dist/doc/latex/debate/DEPENDS.txt b/Master/texmf-dist/doc/latex/debate/DEPENDS.txt index a468679b1f1..7a17e9bd3f5 100644 --- a/Master/texmf-dist/doc/latex/debate/DEPENDS.txt +++ b/Master/texmf-dist/doc/latex/debate/DEPENDS.txt @@ -1,3 +1,6 @@ +hard xkeyval hard xcolor hard tcolorbox -hard xkeyval +hard pdfcol +hard listings +hard listingsutf8
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/debate/LICENSE.txt b/Master/texmf-dist/doc/latex/debate/LICENSE.txt new file mode 100644 index 00000000000..bd949ffdabc --- /dev/null +++ b/Master/texmf-dist/doc/latex/debate/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/debate/README.md b/Master/texmf-dist/doc/latex/debate/README.md index 3d8d0294c01..ff457dfa4b6 100644 --- a/Master/texmf-dist/doc/latex/debate/README.md +++ b/Master/texmf-dist/doc/latex/debate/README.md @@ -1,4 +1,5 @@ -[![make](https://github.com/yegor256/debate/actions/workflows/latexmk.yml/badge.svg)](https://github.com/yegor256/debate/actions/workflows/latexmk.yml) +[![make](https://github.com/yegor256/debate/actions/workflows/l3build.yml/badge.svg)](https://github.com/yegor256/debate/actions/workflows/l3build.yml) +[![CTAN](https://img.shields.io/ctan/v/debate)](https://ctan.org/pkg/debate) [![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/debate/blob/master/LICENSE.txt) This LaTeX package helps you organize debates between a few reviewers diff --git a/Master/texmf-dist/doc/latex/debate/debate.pdf b/Master/texmf-dist/doc/latex/debate/debate.pdf Binary files differindex b6ac58b76f3..336aed0d9f3 100644 --- a/Master/texmf-dist/doc/latex/debate/debate.pdf +++ b/Master/texmf-dist/doc/latex/debate/debate.pdf diff --git a/Master/texmf-dist/doc/latex/debate/debate.tex b/Master/texmf-dist/doc/latex/debate/debate.tex deleted file mode 100644 index e6d09c3a348..00000000000 --- a/Master/texmf-dist/doc/latex/debate/debate.tex +++ /dev/null @@ -1,80 +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[12pt]{article} -\usepackage[T1]{fontenc} -\usepackage[tt=false,type1=true]{libertine} -\usepackage{multicol} -\usepackage{debate} -\usepackage{ffcode} -\usepackage{xcolor} -\usepackage{microtype} -\title{\ff{debate}: \LaTeX{} Package \\ for Debates Between Reviewers} -\author{Yegor Bugayenko} -\date{0.1.1 2021/10/10} -\begin{document} -\pagenumbering{gobble} -\raggedbottom -\setlength{\parindent}{0pt} -\setlength{\columnsep}{32pt} -\setlength{\parskip}{6pt} -\maketitle - -This package helps you organize debates between a few people -right inside your documents: - -\begin{multicols}{2} -\scriptsize -\raggedcolumns -\begin{verbatim} -\documentclass{article} -\usepackage[T1]{fontenc} -\usepackage{debate} -\begin{document} -I think apples are tastier -\debate[Jeff]{I don't think it's true!} -\debate[Anna]{It is indeed true!} -than pears! - -And I don't want to argue with me. -\end{document} -\end{verbatim} - -\columnbreak - -I think apples are tastier -\debate[Jeff]{I don't think it's true!} -\debate[Anna]{It is indeed true!} -than pears! - -And I don't want to argue with me. -\end{multicols} - -You can hide them all using \ff{hide} package option. - -If you want to use \ff{tcolorbox} package, make sure you include -\ff{debate} first. - -More details about this package you can find -in the \ff{yegor256/debate} GitHub repository. - -\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/debate/debate.dtx b/Master/texmf-dist/source/latex/debate/debate.dtx new file mode 100644 index 00000000000..955229ae6ff --- /dev/null +++ b/Master/texmf-dist/source/latex/debate/debate.dtx @@ -0,0 +1,178 @@ +% \iffalse meta-comment +% (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. +% \fi + +% \CheckSum{0} +% +% \CharacterTable +% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +% Digits \0\1\2\3\4\5\6\7\8\9 +% Exclamation \! Double quote \" Hash (number) \# +% Dollar \$ Percent \% Ampersand \& +% Acute accent \' Left paren \( Right paren \) +% Asterisk \* Plus \+ Comma \, +% Minus \- Point \. Solidus \/ +% Colon \: Semicolon \; Less than \< +% Equals \= Greater than \> Question mark \? +% Commercial at \@ Left bracket \[ Backslash \\ +% Right bracket \] Circumflex \^ Underscore \_ +% Grave accent \` Left brace \{ Vertical bar \| +% Right brace \} Tilde \~} + +% \GetFileInfo{debate.dtx} +% \DoNotIndex{\endgroup,\begingroup,\let,\else,\fi,\newcommand,\newenvironment} + +% \iffalse +%<*driver> +\ProvidesFile{debate.dtx} +%</driver> +%<package>\NeedsTeXFormat{LaTeX2e} +%<package>\ProvidesPackage{debate} +%<*package> +[2022-10-03 0.2.0 Debates Between Reviewers] +%</package> +%<*driver> +\documentclass{ltxdoc} +\usepackage[tt=false, type1=true]{libertine} +\usepackage{multicol} +\usepackage{debate} +\usepackage{href-ul} +\usepackage{xcolor} +\usepackage{microtype} +\PageIndex +\EnableCrossrefs +\CodelineIndex +\RecordChanges +\begin{document} + \DocInput{debate.dtx} + \PrintChanges + \PrintIndex +\end{document} +%</driver> +% \fi + +% \title{|debate|: \LaTeX{} Package \\ for Debates Between Reviewers\thanks{The sources are in GitHub at \href{https://github.com/yegor256/debate}{yegor256/debate}}} +% \author{Yegor Bugayenko \\ \texttt{yegor256@gmail.com}} +% \date{\filedate, \fileversion} +% +% \maketitle +% +% \section{Introduction} +% +% This package helps you organize debates between a few people +% right inside your documents: + +% \begin{multicols}{2} +% \raggedcolumns +%\iffalse +%<*verb> +%\fi +\begin{verbatim} +\documentclass{article} +\usepackage[T1]{fontenc} +\usepackage{debate} +\begin{document} +I think apples are tastier +\debate[Jeff]{I don't think it's true!} +\debate[Anna]{It is indeed true!} +than pears! + +And I don't want to argue with me. +\end{document} +\end{verbatim} +%\iffalse +%</verb> +%\fi +% +% \columnbreak +% +% I think apples are tastier +% \debate[Jeff]{I don't think it's true!} +% \debate[Anna]{It is indeed true!} +% than pears! +% +% And I don't want to argue with me. +% \end{multicols} + +% \textbf{NB!} +% If you want to use |tcolorbox| package, make sure you include +% |debate| first. + +% \section{Package Options} + +% \begin{macro}{hide} +% You can hide them all using |hide| package option. +% \end{macro} + +% \StopEventually{} + +% \section{Implementation} + +% \changes{v0.1.0}{2021/09/26}{Initial version} + +% First, we include a few packages: +% \begin{macrocode} +\RequirePackage{xcolor} +\PassOptionsToPackage{most}{tcolorbox} +\RequirePackage{tcolorbox} +% \end{macrocode} + +% Then, we parse package options: +% \begin{macrocode} +\RequirePackage{xkeyval} +\makeatletter +\newif\ifdebate@hide +\DeclareOptionX{hide}{\debate@hidetrue} +\ProcessOptionsX\relax +\makeatother +% \end{macrocode} + +% \begin{macro}{\debate} +% Finally, we define |\debate| command: +% \begin{macrocode} +\makeatletter\newcommand\debate[2][Reviewer]{% + \ifdebate@hide% + #1% + \else% + {% + \begin{tcolorbox}[frame hidden,sharp corners,enhanced,borderline west={1pt}{0pt}{red},interior hidden,boxsep=0pt,left=0pt,right=0pt,top=0pt,bottom=0pt,beforeafter skip balanced=0pt] + \sffamily\color{gray}% + \raggedright% + \addtolength\leftskip{18pt}\setlength\parskip{0pt}\setlength\parindent{0pt}% + \textcolor{red}{\bfseries\scshape #1}: #2 + \end{tcolorbox} + \vspace{-\parskip} + }% + \fi% +}\makeatother +% \end{macrocode} +% \end{macro} + +% \Finale + +%\clearpage +% +%\PrintChanges +%\clearpage +%\PrintIndex diff --git a/Master/texmf-dist/source/latex/debate/debate.ins b/Master/texmf-dist/source/latex/debate/debate.ins new file mode 100644 index 00000000000..b1e10ebfcfa --- /dev/null +++ b/Master/texmf-dist/source/latex/debate/debate.ins @@ -0,0 +1,55 @@ +%% (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. + +\input docstrip.tex +\keepsilent +\usedir{macros/latex/contrib/debate} +\preamble +(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. +\endpreamble +\generate{\file{debate.sty}{\from{debate.dtx}{package}}} +\obeyspaces +\Msg{*** To finish the installation you have to move the ".sty"} +\Msg{*** file into a directory searched by TeX. To produce the} +\Msg{*** documentation run the file ".dtx" through LaTeX. If any} +\Msg{*** questions, submit a new GitHub issue.} +\endbatchfile diff --git a/Master/texmf-dist/tex/latex/debate/debate.sty b/Master/texmf-dist/tex/latex/debate/debate.sty index 6650f4bfc58..eb2c3bc34db 100644 --- a/Master/texmf-dist/tex/latex/debate/debate.sty +++ b/Master/texmf-dist/tex/latex/debate/debate.sty @@ -1,27 +1,45 @@ -% (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. +%% +%% This is file `debate.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% debate.dtx (with options: `package') +%% (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. + + \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{debate}[2021/10/10 0.1.1 Debates Between Reviewers] +\ProvidesPackage{debate} +[2022-10-03 0.2.0 Debates Between Reviewers] + + + + + + + + \RequirePackage{xcolor} \PassOptionsToPackage{most}{tcolorbox} @@ -34,7 +52,7 @@ \ProcessOptionsX\relax \makeatother -\makeatletter\newcommand\debate[2][Author]{% +\makeatletter\newcommand\debate[2][Reviewer]{% \ifdebate@hide% #1% \else% @@ -50,4 +68,7 @@ \fi% }\makeatother + \endinput +%% +%% End of file `debate.sty'. |