From 2aaad9e3f3b9c626372030e2ed0d5a494dae8aeb Mon Sep 17 00:00:00 2001
From: Frank Fuhlbrück
Date: Fri, 28 Jan 2022 17:40:43 +0100
Subject: update list of redefinitons

---
 exercisesheets.sty | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

(limited to 'exercisesheets.sty')

diff --git a/exercisesheets.sty b/exercisesheets.sty
index 847e3d9..9406beb 100644
--- a/exercisesheets.sty
+++ b/exercisesheets.sty
@@ -90,19 +90,17 @@
   %currently we do nothing if beamer is loaded, 
   %but this might change
 \else%--------- NON-BEAMER: ---------------------------------------
-  %TODO:\only<>{A} -> {A} which breaks global effects of A
   \let\pause\relax
   \def\frame{}
   \renewcommand{\frame}[1][]{}
   \let\endframe\relax
   \def\onslide<##1>{}
-  \def\only<##1>{}
-  \def\uncover<##1>{}
-  \def\visible<##1>{}
-  \def\invisible<##1>{}
+  \def\only<##1>##2{##2}
+  \def\uncover<##1>##2{##2}
+  \def\visible<##1>##2{##2}
+  \def\invisible<##1>##2{##2}
   \long\def\alt<##1>##2##3{##2}
   \long\def\temporal<##1>##2##3##4{##3}
-  \def\uncover<##1>{}
   \let\exsh@origitem\item
   \def\exsh@ovrlitem<##1>{\exsh@origitem}
   \def\item{\@ifnextchar<\exsh@ovrlitem\exsh@origitem}
-- 
cgit v1.2.3

