Skip to content

Commit a795044

Browse files
authored
Merge pull request #1027 from wiobber/luadeploysp25
try to compile with v2.5.10
2 parents 6ada256 + 3a25be6 commit a795044

File tree

18 files changed

+169
-26
lines changed

18 files changed

+169
-26
lines changed

.github/workflows/serve-ximera.yml

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
name: Ximera Workflow
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
build-ximera:
8+
name: Build and preview Ximera Courses
9+
runs-on: ubuntu-latest
10+
11+
permissions:
12+
actions: read
13+
contents: read
14+
packages: write
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0 # full
21+
22+
- name: Setup cache
23+
uses: actions/cache@v4
24+
with:
25+
path: |
26+
**/*.html
27+
**/*.pdf
28+
**/*.svg
29+
**/*.aux
30+
**/*.xref
31+
**/*.toc
32+
!xmPictures/**
33+
!.git/**
34+
!.github/**
35+
key: ximera-${{ github.ref_name }}-${{ github.sha }}
36+
restore-keys: |
37+
ximera-${{ github.ref_name }}-
38+
ximera-
39+
40+
41+
- name: Build and publish Ximera courses
42+
env:
43+
GPG_KEY: ${{ secrets.GPG_KEY }}
44+
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
45+
XIMERA_URL: ${{ vars.XIMERA_URL }}
46+
XIMERA_NAME: ${{ vars.XIMERA_NAME }}${{ github.ref_name }}
47+
run: |
48+
ls -alrt
49+
# git config --global --add safe.directory "$(pwd)"
50+
# export COMMAND=./xmScripts/xmlatex.test
51+
# ./xmScripts/xmlatex ghaction calculus*.tex || echo NOK
52+
./xmScripts/xmlatex ghaction --compile draft.html || echo NOK
53+
echo "✅ Published to $XIMERA_URL$XIMERA_NAME " >> $GITHUB_STEP_SUMMARY
54+
55+
- name: Setup ximera serve cache (only .git)
56+
id: serve-cache
57+
uses: actions/cache/save@v4
58+
with:
59+
path: |
60+
xmScripts/**
61+
.git/**
62+
key: ximeraSERVE-${{ github.ref_name }}-${{ github.sha }}
63+
64+
65+
publish-ximera:
66+
name: Publish Ximera Courses
67+
needs: build-ximera # Waits for the build job to complete
68+
runs-on: ubuntu-latest
69+
environment: production
70+
steps:
71+
72+
73+
- name: Restore ximera serve cache (only .git)
74+
id: serve-cache-restore
75+
uses: actions/cache/restore@v4
76+
with:
77+
fail-on-cache-miss: true
78+
path: |
79+
xmScripts/**
80+
.git/**
81+
key: ximeraSERVE-${{ github.ref_name }}-${{ github.sha }}
82+
83+
- name: Serve
84+
env:
85+
GPG_KEY: ${{ secrets.GPG_KEY }}
86+
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
87+
XIMERA_URL: ${{ vars.XIMERA_URL }}
88+
XIMERA_NAME: ${{ vars.XIMERA_NAME }}
89+
run: |
90+
./xmScripts/xmlatex name
91+
./xmScripts/xmlatex serve -f --compile draft.html # NOTE: -f should not be needed ...
92+
# ./xmScripts/xmlatex serve calculus*.tex -f # NOTE: -f should not be needed ...
93+
echo "✅ Published to $XIMERA_URL$XIMERA_NAME " >> $GITHUB_STEP_SUMMARY
94+
95+
96+

antiderivatives/digInBasicAntiderivatives.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ \section{Differential equations}
559559
\end{question}
560560
\begin{remark}
561561
We can directly check that any function $f(x)=Ce^x$ is a solution to our differential equation $f'(x)=f(x)$. Could there be any others? It turns out that these are the \textit{only} solutions. But showing that we didn't miss any is a bit tricky.
562-
\begin{expandable}
562+
\begin{expandable}{explanation}{}
563563
\begin{explanation}
564564
Well, suppose we have some mysterious function $f$ and all we know is that $f'(x)=f(x)$. Let's define a new function $g(x)=f(x)/e^x$. Since our denominator is never 0, the quotient rule tells us that
565565
\[

computationsForGraphingFunctions/breakGround.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
\item Compute $f'$ and $f''$.
5757
\item Analyze end behavior: as $x \to \pm \infty$, what happens to the graph of $f$? Does it have horizontal asymptotes, increase or decrease without bound, or have some other kind of behavior?
5858
\end{enumerate}
59-
\item Use either the first or second derivative test to identify local extrema and/or
59+
Use either the first or second derivative test to identify local extrema and/or
6060
find the intervals where your function is increasing/decreasing.
6161
In what order should we take these steps? For example, one must compute
6262
$f'$ before computing $f''$. Also, one must compute $f'$ before

continuityOfFunctionsOfSeveralVariables/digInContinuity.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
\]
104104
A set that is not bounded is \dfn{unbounded}.
105105
\end{itemize}
106-
\item Given a set $S$, we denote the \dfn{boundary} of $S$ by
106+
Given a set $S$, we denote the \dfn{boundary} of $S$ by
107107
$\partial S$.
108108
\end{definition}
109109

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
%%Title: coverArt/calculus1Cover/starsRed.jpg
2+
%%Creator: extractbb 20240407
3+
%%BoundingBox: 0 0 5184 3456
4+
%%HiResBoundingBox: 0.000000 0.000000 5184.000000 3456.000000
5+
%%CreationDate: Thu Feb 6 21:02:28 2025
6+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
%%Title: coverArt/calculus2Cover/starsBlue.jpg
2+
%%Creator: extractbb 20240407
3+
%%BoundingBox: 0 0 5184 3456
4+
%%HiResBoundingBox: 0.000000 0.000000 5184.000000 3456.000000
5+
%%CreationDate: Thu Feb 6 21:02:28 2025
6+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
%%Title: coverArt/calculus3Cover/starsTurquoise.jpg
2+
%%Creator: extractbb 20240407
3+
%%BoundingBox: 0 0 5184 3456
4+
%%HiResBoundingBox: 0.000000 0.000000 5184.000000 3456.000000
5+
%%CreationDate: Thu Feb 6 21:02:28 2025
6+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
%%Title: coverArt/calculusA2Cover/starsGreen.jpg
2+
%%Creator: extractbb 20240407
3+
%%BoundingBox: 0 0 5184 3456
4+
%%HiResBoundingBox: 0.000000 0.000000 5184.000000 3456.000000
5+
%%CreationDate: Thu Feb 6 21:02:28 2025
6+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
%%Title: coverArt/calculusECover/starsAmber.jpg
2+
%%Creator: extractbb 20240407
3+
%%BoundingBox: 0 0 5184 3456
4+
%%HiResBoundingBox: 0.000000 0.000000 5184.000000 3456.000000
5+
%%CreationDate: Thu Feb 6 21:02:28 2025
6+

definitionOfTheDerivative/exercises/averageVelocityInterval1.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@
5050
\begin{exercise}
5151

5252
The average velocity of the object on the interval $[0,2]$ is
53-
\[
53+
$$
5454
v_{\text{av}} = \answer{0}\text{m/s.}
55-
\]
55+
$$
5656
\end{exercise}
5757
\end{exercise}
5858

0 commit comments

Comments
 (0)