From 8d712f0899f689942f0ae7e37ff36bc0f64dca25 Mon Sep 17 00:00:00 2001
From: Frank Fuhlbrück
Date: Wed, 2 Feb 2022 17:42:43 +0100
Subject: skipping+fragile frames in Lua started

---
 examples/exshexample.tex | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

(limited to 'examples/exshexample.tex')

diff --git a/examples/exshexample.tex b/examples/exshexample.tex
index 99a9b1f..4db32cd 100644
--- a/examples/exshexample.tex
+++ b/examples/exshexample.tex
@@ -1,4 +1,4 @@
-\long\def\ifbeamer#1#2{#2}
+\long\def\ifbeamer#1#2{#1}
 \ifbeamer{\documentclass{beamer}}{\documentclass{article}}
 
 %navigation symbols and the title collide if 
@@ -36,12 +36,13 @@
 
 \exshset{solutions=true,
 task restate font={\color{black!60}},
-only={5}
+only={-}
 }
 
 
 \begin{document}
 
+%1
 \begin{sheet}[note={Learn how to create nice exercise sheets.},
   date={Novanuar 42, -2022},title={First Sheet}]
   
@@ -69,12 +70,14 @@ only={5}
   \end{exercise}
 \end{sheet}
 
+%2
 \begin{sheet}[date={Novanuar 35, -2022}]
   \begin{exercise}[points={many, many},
     firstline={Read the manual.}]
   \end{exercise}
 \end{sheet}
 
+%3
 \begin{sheet}[date={Novanuar 28, -2022},title={Third Sheet},
   number within sheet]
   \begin{exercise}[points={many, many},
@@ -85,6 +88,7 @@ only={5}
   \end{exercise}
 \end{sheet}
 
+%4
 \begin{sheet}
   \begin{Lexercise}
     task  = [[
@@ -110,13 +114,13 @@ only={5}
 %     \end{subtasks}
     \begin{enumerate}
       \subtask {first \label{subex:skipexOne}}
-      \item {{\label}{subex:skipexTwo}} {12345}
+      \item {\label{subex:skipexTwo}} {12345}
     \end{enumerate}
 
   \end{exercise}
 \end{sheet}
 
-
+%5
 \begin{sheet}[date={Novanuar 21, -2022}]
   \begin{exercise}[points={many, many},
     firstline={Read the manual.}]
@@ -124,7 +128,7 @@ only={5}
     \begin{solution}[framed]
       OK, done (again).
       \newframe
-      Otherwise, I would'nt now now \textbackslash newframe which 
+      Otherwise, I wouldn't know  \textbackslash newframe now which 
       does not exist in beamer.
     \end{solution}
   \end{exercise}
-- 
cgit v1.2.3

