texlive[72527] Master/texmf-dist: to-be-determined (11oct24)

commits+karl at tug.org commits+karl at tug.org
Fri Oct 11 22:58:35 CEST 2024


Revision: 72527
          https://tug.org/svn/texlive?view=revision&revision=72527
Author:   karl
Date:     2024-10-11 22:58:35 +0200 (Fri, 11 Oct 2024)
Log Message:
-----------
to-be-determined (11oct24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/to-be-determined/DEPENDS.txt
    trunk/Master/texmf-dist/doc/latex/to-be-determined/LICENSE.txt
    trunk/Master/texmf-dist/doc/latex/to-be-determined/README.md
    trunk/Master/texmf-dist/doc/latex/to-be-determined/to-be-determined.pdf
    trunk/Master/texmf-dist/source/latex/to-be-determined/to-be-determined.dtx
    trunk/Master/texmf-dist/source/latex/to-be-determined/to-be-determined.ins
    trunk/Master/texmf-dist/tex/latex/to-be-determined/to-be-determined.sty

Modified: trunk/Master/texmf-dist/doc/latex/to-be-determined/DEPENDS.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/to-be-determined/DEPENDS.txt	2024-10-11 20:58:08 UTC (rev 72526)
+++ trunk/Master/texmf-dist/doc/latex/to-be-determined/DEPENDS.txt	2024-10-11 20:58:35 UTC (rev 72527)
@@ -1,2 +1,17 @@
+hard soul
 hard xcolor
-hard soul
\ No newline at end of file
+soft docshots
+soft environ
+soft etoolbox
+soft href-ul
+soft hypdoc
+soft l3build
+soft libertine
+soft mathtools
+soft microtype
+soft pdfcrop
+soft pgf
+soft pgfopts
+soft scheme-basic
+soft tools
+soft xetex

Modified: trunk/Master/texmf-dist/doc/latex/to-be-determined/LICENSE.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/to-be-determined/LICENSE.txt	2024-10-11 20:58:08 UTC (rev 72526)
+++ trunk/Master/texmf-dist/doc/latex/to-be-determined/LICENSE.txt	2024-10-11 20:58:35 UTC (rev 72527)
@@ -1,6 +1,6 @@
 (The MIT License)
 
-Copyright (c) 2021-2022 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

Modified: trunk/Master/texmf-dist/doc/latex/to-be-determined/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/to-be-determined/README.md	2024-10-11 20:58:08 UTC (rev 72526)
+++ trunk/Master/texmf-dist/doc/latex/to-be-determined/README.md	2024-10-11 20:58:35 UTC (rev 72527)
@@ -1,14 +1,18 @@
+# The `\tbd` LaTeX Command (to be determined)
+
 [![make](https://github.com/yegor256/to-be-determined/actions/workflows/l3build.yml/badge.svg)](https://github.com/yegor256/to-be-determined/actions/workflows/l3build.yml)
 [![CTAN](https://img.shields.io/ctan/v/to-be-determined)](https://ctan.org/pkg/to-be-determined)
 [![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/to-be-determined/blob/master/LICENSE.txt)
 
 This LaTeX package helps you highlight pieces of your code that needs
-further work (TBD stands for "to be determined"). 
-The package uses [`xcolor`](https://ctan.org/pkg/minted) 
+further work (TBD stands for "to be determined").
+The package uses [`xcolor`](https://ctan.org/pkg/xcolor),
+[`mathtools`](https://ctan.org/pkg/mathtools),
 and [`soul`](https://ctan.org/pkg/soul) packages.
 
-First, [install it](https://en.wikibooks.org/wiki/LaTeX/Installing_Extra_Packages)
-from [CTAN](https://ctan.org/pkg/to-be-determined) 
+First,
+[install it](https://en.wikibooks.org/wiki/LaTeX/Installing_Extra_Packages)
+from [CTAN](https://ctan.org/pkg/to-be-determined)
 and then use in the preamble:
 
 ```tex
@@ -19,7 +23,8 @@
 \end{document}
 ```
 
-Otherwise, you can download [`to-be-determined.sty`](https://raw.githubusercontent.com/yegor256/to-be-determined/gh-pages/to-be-determined/to-be-determined.sty) and add to your project.
+Otherwise, you can download [`to-be-determined.sty`][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.
@@ -26,3 +31,5 @@
 It should compile everything without errors. If not, submit an issue and wait.
 Otherwise, make your changes and then run `l3build ctan` again. If the build is
 still clean, submit a pull request.
+
+[sty]: https://raw.githubusercontent.com/yegor256/to-be-determined/gh-pages/to-be-determined/to-be-determined.sty

Modified: trunk/Master/texmf-dist/doc/latex/to-be-determined/to-be-determined.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/to-be-determined/to-be-determined.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/to-be-determined/to-be-determined.dtx	2024-10-11 20:58:08 UTC (rev 72526)
+++ trunk/Master/texmf-dist/source/latex/to-be-determined/to-be-determined.dtx	2024-10-11 20:58:35 UTC (rev 72527)
@@ -1,7 +1,7 @@
 % \iffalse meta-comment
 % (The MIT License)
 %
-% Copyright (c) 2021-2022 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{to-be-determined}
 %<*package>
-[31.10.20220 0.3.0 Highlighting places requiring future work]
+[2024/10/11 0.3.2 Highlighting places requiring future work]
 %</package>
 %<*driver>
 \documentclass{ltxdoc}
@@ -81,15 +81,17 @@
 % \section{Introduction}
 %
 % This package helps you highlight places in your articles
-% and make sure it looks nice. Install it from CTAN and then
+% and make sure the hightlighting looks nice. Install it from CTAN and then
 % use like this:
 
+% \docshotPrerequisite{../local/to-be-determined.sty}
 % \begin{docshot}
 % \documentclass{article}
 % \pagestyle{empty}
 % \usepackage{to-be-determined}
 % \begin{document}
-% The budget is \tbd{99.00 USD}.
+% The budget is \tbd{99.00 USD}.\par
+% In math too: $a \tbd{?} b$.
 % \end{document}
 % \end{docshot}
 
@@ -96,9 +98,9 @@
 % \section{Package Options}
 
 % \DescribeMacro{hide}
-% If you want to hide the content of what's inside |\tbd|,
-% use |hide| option of the package. They will all be replaced with
-% \tbd{TBD} placeholders.
+% If you want to hide the content of what's inside the |\tbd| command,
+% use the |hide| option of the package. They all will be replaced with
+% the \tbd{TBD} placeholders.
 
 % \DescribeMacro{off}
 % If you want them to disappear entirely, use the |off| package option.
@@ -121,13 +123,23 @@
 \ProcessOptionsX\relax
 %    \end{macrocode}
 
-% Then, we include a few packages:
+% Then, we include \href{https://ctan.org/pkg/xcolor}{xcolor} to use colors:
 %    \begin{macrocode}
 \RequirePackage{xcolor}
+%    \end{macrocode}
+
+% Then, we include \href{https://ctan.org/pkg/mathtools}{mathtools} to enable our commands in math mode:
+%    \begin{macrocode}
+\RequirePackage{mathtools}
+%    \end{macrocode}
+
+% Then, we include \href{https://ctan.org/pkg/soul}{soul} to use highlights:
+%    \begin{macrocode}
 \RequirePackage{soul}
 %    \end{macrocode}
 
 % \begin{macro}{\tbd}
+% \changes{v0.3.1}{2024/10/11}{Now, it works in math mode too.}
 % Finally, we define the |\tbd| command:
 %    \begin{macrocode}
 \makeatletter\newcommand\tbd[1]{{%
@@ -134,9 +146,9 @@
   \iftbd at off\else%
     \sethlcolor{yellow}%
     \iftbd at hide%
-      \hl{TBD}%
+      \text{\hl{TBD}}%
     \else%
-      \hl{#1}%
+      \text{\hl{#1}}%
     \fi%
   \fi%
 }}\makeatother

Modified: trunk/Master/texmf-dist/source/latex/to-be-determined/to-be-determined.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/to-be-determined/to-be-determined.ins	2024-10-11 20:58:08 UTC (rev 72526)
+++ trunk/Master/texmf-dist/source/latex/to-be-determined/to-be-determined.ins	2024-10-11 20:58:35 UTC (rev 72527)
@@ -1,6 +1,6 @@
 %% (The MIT License)
 %%
-%% Copyright (c) 2021-2022 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-2022 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

Modified: trunk/Master/texmf-dist/tex/latex/to-be-determined/to-be-determined.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/to-be-determined/to-be-determined.sty	2024-10-11 20:58:08 UTC (rev 72526)
+++ trunk/Master/texmf-dist/tex/latex/to-be-determined/to-be-determined.sty	2024-10-11 20:58:35 UTC (rev 72527)
@@ -7,7 +7,7 @@
 %% to-be-determined.dtx  (with options: `package')
 %% (The MIT License)
 %% 
-%% Copyright (c) 2021-2022 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{to-be-determined}
-[31.10.20220 0.3.0 Highlighting places requiring future work]
+[2024/10/11 0.3.2 Highlighting places requiring future work]
 
 
 
@@ -50,6 +50,9 @@
 \ProcessOptionsX\relax
 
 \RequirePackage{xcolor}
+
+\RequirePackage{mathtools}
+
 \RequirePackage{soul}
 
 \makeatletter\newcommand\tbd[1]{{%
@@ -56,9 +59,9 @@
   \iftbd at off\else%
     \sethlcolor{yellow}%
     \iftbd at hide%
-      \hl{TBD}%
+      \text{\hl{TBD}}%
     \else%
-      \hl{#1}%
+      \text{\hl{#1}}%
     \fi%
   \fi%
 }}\makeatother



More information about the tex-live-commits mailing list.