Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit efb0f63

Browse files
authored
2024 Early Edition (#134)
* build notes in slides * ensure codespace has checkit * update landing page * add xmlid to video * fix slideshow xsl better * change title to early edition * add braille plug * add classes to landing links * textbook -> activity book
1 parent 82fd63e commit efb0f63

7 files changed

Lines changed: 25 additions & 17 deletions

File tree

.devcontainer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
// If you only intend to build for web and don't have any latex-image generated assets, you can use a smaller image:
2121
// "image": "oscarlevin/pretext:lite",
2222

23+
// Ensure correct version of PreTeXt and CheckIt
24+
"postCreateCommand": "pip install -r requirements.txt",
25+
2326
// Add gh cli as a feature (to support codechat)
2427
"features": {
2528
"ghcr.io/devcontainers/features/github-cli:1": {}

exercises/bank.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version='1.0' encoding='UTF-8'?>
22
<bank xmlns="https://checkit.clontz.org" version="0.2">
3-
<title>Calculus for Team-Based Inquiry Learning (2024 Edition PREVIEW)</title>
3+
<title>Calculus for Team-Based Inquiry Learning: 2024 Early Edition</title>
44
<slug>tbil-calculus</slug>
55
<url>https://teambasedinquirylearning.github.io/calculus/</url>
66
<outcomes>

project.ptx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,31 @@
44
<target
55
name="web"
66
format="html"
7-
deploy-dir="2024">
7+
deploy-dir="2024e">
88
<stringparams debug.project.number="the-way-it-should-be"/>
99
</target>
1010
<target
1111
name="print"
1212
format="pdf"
13-
output-filename="TBIL-Calculus-2024.pdf"
14-
deploy-dir="2024/pdf/">
13+
output-filename="TBIL-Calculus-2024e.pdf"
14+
deploy-dir="2024e/pdf/">
1515
<stringparams debug.project.number="the-way-it-should-be"/>
1616
</target>
1717
<target
1818
name="slides"
1919
format="pdf"
2020
publication="slides.ptx"
2121
xsl="slides.xsl"
22-
output-filename="TBIL-Calculus-2024-slides.pdf"
23-
deploy-dir="2024/pdf">
22+
output-filename="TBIL-Calculus-2024e-slides.pdf"
23+
deploy-dir="2024e/pdf">
2424
<stringparams debug.project.number="the-way-it-should-be"/>
2525
</target>
2626
<!-- use `python scripts/bank.py` for this target -->
2727
<target
2828
name="checkit"
2929
format="custom"
3030
output-dir="../exercises/docs"
31-
deploy-dir="2024/exercises">
31+
deploy-dir="2024e/exercises">
3232
<!-- built by checkit, not pretext -->
3333
<!-- everything except output-dir and deploy-dir is unused -->
3434
</target>

site/index.html

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,30 +15,32 @@ <h1 class="display-5 fw-bold">Calculus for Team-Based Inquiry Learning</h1>
1515
<p class="lead mb-4">Activities and exercises for easily implementing Team-Based Inquiry Learning in a single-variable calculus classroom.</p>
1616
<div class="d-grid gap-2 d-sm-flex justify-content-sm-center mb-5">
1717
<div class="btn-group" role="group">
18-
<a href="./2023/" id="btnGroupDrop1" type="button" class="btn btn-primary btn-lg">
18+
<a href="./2024e/" id="btnGroupDrop1" type="button" class="btn btn-primary btn-lg">
1919
Activity Book
2020
</a>
2121
<button id="btnGroupDrop1" type="button" class="btn btn-primary btn-lg dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
2222
<span class="visually-hidden">Toggle Dropdown</span>
2323
</button>
2424
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="btnGroupDrop1">
25-
<li><a class="dropdown-item" href="./2023/">2023 Edition: HTML</a></li>
26-
<li><a class="dropdown-item" href="./2023/pdf/main.pdf"><span class="visually-hidden">2023 Edition: </span><span class="ms-3">PDF</span></a></li>
25+
<li><a class="dropdown-item" href="./2024e/">2024 Early Edition: HTML</a></li>
26+
<li><a class="dropdown-item" href="./2024e/pdf/main.pdf"><span class="visually-hidden">2024 Early Edition: </span><span class="ms-3">PDF</span></a></li>
2727
<li><hr class="dropdown-divider"></li>
28+
<li><a class="dropdown-item" href="./2023/">2023 Edition</a></li>
2829
<li><a class="dropdown-item" href="./2023e/">2023 Early Edition</a></li>
2930
<li><a class="dropdown-item" href="./2022/">2022 Edition</a></li>
3031
</ul>
3132
</div>
3233
<div class="btn-group" role="group">
33-
<a href="./2023/exercises/" id="btnGroupDrop1" type="button" class="btn btn-outline-primary btn-lg">
34+
<a href="./2024e/exercises/" id="btnGroupDrop1" type="button" class="btn btn-outline-primary btn-lg">
3435
Exercise Bank
3536
</a>
3637
<button id="btnGroupDrop1" type="button" class="btn btn-outline-primary btn-lg dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
3738
<span class="visually-hidden">Toggle Dropdown</span>
3839
</button>
3940
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="btnGroupDrop1">
40-
<li><a class="dropdown-item" href="./2023/exercises/">2023 Edition</a></li>
41+
<li><a class="dropdown-item" href="./2024e/exercises/">2024e Edition</a></li>
4142
<li><hr class="dropdown-divider"></li>
43+
<li><a class="dropdown-item" href="./2023/exercises/">2023 Edition</a></li>
4244
<li><a class="dropdown-item" href="./2023e/exercises/">2023 Early Edition</a></li>
4345
<li><a class="dropdown-item" href="./2022/exercises/">2022 Edition</a></li>
4446
</ul>
@@ -61,6 +63,9 @@ <h1 class="display-5 fw-bold">Calculus for Team-Based Inquiry Learning</h1>
6163
Free and Open Source on <a class="link-primary" href="https://github.com/TeamBasedInquiryLearning/calculus">GitHub</a> |
6264
Also available for <a class="link-success" href="../linear-algebra">Linear Algebra</a>
6365
</p>
66+
<p>
67+
Activity book available in <a class="link-primary" href="https://aimath.org/aimnews/braille_full/">braille</a> upon <a class="link-primary" href="mailto:sclontz@southalabama.edu">request</a>
68+
</p>
6469
</div>
6570
</div>
6671
</main>

source/06-AI/07.ptx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
<subsection>
119119
<title>Videos</title>
120120
<figure>
121-
<video youtube="mky7ZYL642Y">
121+
<video xml:id="video-AI7" youtube="mky7ZYL642Y">
122122
<!--<track kind="subtitles" label="US English" xml:lang="en" source="videos/E1-captions.vtt" default=""/>-->
123123
</video>
124124
<caption>Video: Set up integrals to solve problems involving work, force, and/or pressure</caption>

source/main.ptx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
<book xml:id="cal1">
77
<title>Calculus for Team-Based Inquiry Learning</title>
8-
<subtitle component="main">2024 Edition PREVIEW</subtitle>
9-
<subtitle component="instructor">2024 Edition PREVIEW (Instructor Version)</subtitle>
8+
<subtitle component="main">2024 Early Edition</subtitle>
9+
<subtitle component="instructor">2024 Early Edition (Instructor Version)</subtitle>
1010

1111
<xi:include href="meta/frontmatter.ptx" />
1212

xsl/slides.xsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@
4343

4444

4545
<!-- We start a new page after each thing-->
46-
<xsl:template match="activity|definition|observation|fact|remark|example|objectives">
46+
<xsl:template match="activity|definition|observation|fact|remark|example|objectives|note">
4747
<xsl:apply-imports />
4848
<xsl:text>\cleardoublepage&#xA;&#xA;</xsl:text>
4949
</xsl:template>
5050

5151
<!-- We pull activities,etc. from each subsection -->
5252
<xsl:template match="subsection">
53-
<xsl:apply-templates select="activity|definition|observation|fact|remark|example" />
53+
<xsl:apply-templates select="activity|definition|observation|fact|remark|example|note" />
5454
</xsl:template>
5555

5656
<!--Exercise groups are not in a subsection, so drop them -->

0 commit comments

Comments
 (0)