texlive[60582] Master/texmf-dist: to-be-determined (22sep21)

commits+karl at tug.org commits+karl at tug.org
Wed Sep 22 22:36:26 CEST 2021


Revision: 60582
          http://tug.org/svn/texlive?view=revision&revision=60582
Author:   karl
Date:     2021-09-22 22:36:26 +0200 (Wed, 22 Sep 2021)
Log Message:
-----------
to-be-determined (22sep21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/to-be-determined/to-be-determined.pdf
    trunk/Master/texmf-dist/doc/latex/to-be-determined/to-be-determined.tex
    trunk/Master/texmf-dist/tex/latex/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/doc/latex/to-be-determined/to-be-determined.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/to-be-determined/to-be-determined.tex	2021-09-22 20:35:58 UTC (rev 60581)
+++ trunk/Master/texmf-dist/doc/latex/to-be-determined/to-be-determined.tex	2021-09-22 20:36:26 UTC (rev 60582)
@@ -27,7 +27,7 @@
 \usepackage{ffcode}
 \title{\ff{to-be-determined}: \LaTeX{} Package \\ for highlighting places that require more work}
 \author{Yegor Bugayenko}
-\date{0.1.1 2021/07/21}
+\date{0.1.2 2021/09/22}
 \begin{document}
 \pagenumbering{gobble}
 \raggedbottom
@@ -58,9 +58,6 @@
 
 \end{multicols}
 
-With this package it's also possible to highlight
-\tbd{larger pieces of text that take \textbf{a few lines}} on the page.
-
 If you want to hide the content of what's inside \ff{\char`\\tbd},
 use \ff{hide} option of the package. They will all be replaced with
 \tbd{TBD} placeholders.

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	2021-09-22 20:35:58 UTC (rev 60581)
+++ trunk/Master/texmf-dist/tex/latex/to-be-determined/to-be-determined.sty	2021-09-22 20:36:26 UTC (rev 60582)
@@ -21,27 +21,29 @@
 % SOFTWARE.
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{to-be-determined}[2021/07/21 0.1.1 Highlighting places requiring future work]
+\ProvidesPackage{to-be-determined}[2021/09/22 0.1.2 Highlighting places requiring future work]
 
 \RequirePackage{xkeyval}
-\newif\iftbdhide
-\DeclareOptionX{hide}{\tbdhidetrue}
-\newif\iftbdoff
-\DeclareOptionX{off}{\tbdofftrue}
+\makeatletter
+\newif\iftbd at hide
+\DeclareOptionX{hide}{\tbd at hidetrue}
+\newif\iftbd at off
+\DeclareOptionX{off}{\tbd at offtrue}
+\makeatother
 \ProcessOptionsX\relax
 
 \RequirePackage{xcolor}
 \RequirePackage{soul}
 
-\newcommand\tbd[1]{{%
-  \iftbdoff\else%
+\makeatletter\newcommand\tbd[1]{{%
+  \iftbd at off\else%
     \sethlcolor{yellow}%
-    \iftbdhide%
+    \iftbd at hide%
       \hl{TBD}%
     \else%
       \hl{#1}%
     \fi%
   \fi%
-}}
+}}\makeatother
 
 \endinput



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