diff options
author | Karl Berry <karl@freefriends.org> | 2024-10-11 20:58:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-10-11 20:58:35 +0000 |
commit | 421d2cffed5413ff92ca3284bc525f47c5f08a3f (patch) | |
tree | f5a78b4a495d5c0c28f453fbaf73f9a37aad04b4 /Master/texmf-dist | |
parent | b78b2ae8d24fd6c834b176ec4e0c4f8192c0a6e8 (diff) |
to-be-determined (11oct24)
git-svn-id: svn://tug.org/texlive/trunk@72527 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/to-be-determined/DEPENDS.txt | 17 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/to-be-determined/LICENSE.txt | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/to-be-determined/README.md | 17 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/to-be-determined/to-be-determined.pdf | bin | 250268 -> 261545 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/to-be-determined/to-be-determined.dtx | 32 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/to-be-determined/to-be-determined.ins | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/to-be-determined/to-be-determined.sty | 11 |
7 files changed, 60 insertions, 23 deletions
diff --git a/Master/texmf-dist/doc/latex/to-be-determined/DEPENDS.txt b/Master/texmf-dist/doc/latex/to-be-determined/DEPENDS.txt index 65d662e55e2..e0f8ac912e9 100644 --- a/Master/texmf-dist/doc/latex/to-be-determined/DEPENDS.txt +++ b/Master/texmf-dist/doc/latex/to-be-determined/DEPENDS.txt @@ -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 diff --git a/Master/texmf-dist/doc/latex/to-be-determined/LICENSE.txt b/Master/texmf-dist/doc/latex/to-be-determined/LICENSE.txt index bd949ffdabc..1f211e02878 100644 --- a/Master/texmf-dist/doc/latex/to-be-determined/LICENSE.txt +++ b/Master/texmf-dist/doc/latex/to-be-determined/LICENSE.txt @@ -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 diff --git a/Master/texmf-dist/doc/latex/to-be-determined/README.md b/Master/texmf-dist/doc/latex/to-be-determined/README.md index 74578626d30..24ba9bca1a7 100644 --- a/Master/texmf-dist/doc/latex/to-be-determined/README.md +++ b/Master/texmf-dist/doc/latex/to-be-determined/README.md @@ -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,10 +23,13 @@ The budget is \tbd{99.00 USD}. \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. 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 diff --git a/Master/texmf-dist/doc/latex/to-be-determined/to-be-determined.pdf b/Master/texmf-dist/doc/latex/to-be-determined/to-be-determined.pdf Binary files differindex f330b28d2a8..ea87f0f19f1 100644 --- a/Master/texmf-dist/doc/latex/to-be-determined/to-be-determined.pdf +++ b/Master/texmf-dist/doc/latex/to-be-determined/to-be-determined.pdf diff --git a/Master/texmf-dist/source/latex/to-be-determined/to-be-determined.dtx b/Master/texmf-dist/source/latex/to-be-determined/to-be-determined.dtx index 9cb2074d9b9..91183abd3f2 100644 --- a/Master/texmf-dist/source/latex/to-be-determined/to-be-determined.dtx +++ b/Master/texmf-dist/source/latex/to-be-determined/to-be-determined.dtx @@ -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,24 +81,26 @@ % \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} % \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,22 +123,32 @@ \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]{{% \iftbd@off\else% \sethlcolor{yellow}% \iftbd@hide% - \hl{TBD}% + \text{\hl{TBD}}% \else% - \hl{#1}% + \text{\hl{#1}}% \fi% \fi% }}\makeatother diff --git a/Master/texmf-dist/source/latex/to-be-determined/to-be-determined.ins b/Master/texmf-dist/source/latex/to-be-determined/to-be-determined.ins index a922989b508..db2662409e6 100644 --- a/Master/texmf-dist/source/latex/to-be-determined/to-be-determined.ins +++ b/Master/texmf-dist/source/latex/to-be-determined/to-be-determined.ins @@ -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 diff --git a/Master/texmf-dist/tex/latex/to-be-determined/to-be-determined.sty b/Master/texmf-dist/tex/latex/to-be-determined/to-be-determined.sty index 02051d05e48..ae33c1ad9b3 100644 --- a/Master/texmf-dist/tex/latex/to-be-determined/to-be-determined.sty +++ b/Master/texmf-dist/tex/latex/to-be-determined/to-be-determined.sty @@ -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,15 +50,18 @@ \ProcessOptionsX\relax \RequirePackage{xcolor} + +\RequirePackage{mathtools} + \RequirePackage{soul} \makeatletter\newcommand\tbd[1]{{% \iftbd@off\else% \sethlcolor{yellow}% \iftbd@hide% - \hl{TBD}% + \text{\hl{TBD}}% \else% - \hl{#1}% + \text{\hl{#1}}% \fi% \fi% }}\makeatother |