Skip to content

Commit 59e78c6

Browse files
committed
fix hints
1 parent 2e033b4 commit 59e78c6

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/serve-ximera.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
git config --global --add safe.directory "$GITHUB_WORKSPACE"
6565
mkdir -p .git/refs/heads
6666
[[ -f ".git/refs/heads/master.tex" ]] || date >".git/refs/heads/master.tex"
67-
xmlatex bake --compile pdfexport -j 5 $XM_TO_PROCESS
67+
# xmlatex bake --compile pdfexport -j 5 $XM_TO_PROCESS
6868
xmlatex bake --compile htmlexport -j 5 $XM_TO_PROCESS
6969
7070
# Save cache
@@ -138,6 +138,7 @@ jobs:
138138
name: Run serve for public version
139139
needs: serve-ximera-preview
140140
runs-on: ubuntu-latest
141+
if: github.ref == 'refs/heads/main'
141142
continue-on-error: true
142143
container: *x-container
143144
environment: production

xmPreamble.tex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
}{%
1010
\typeout{Start loading preamble.tex (NOT in a XOURSE)}%
1111
}
12+
13+
\typeout{Use OSU type hint/expandable}
14+
\def\xmNotHintAsExpandable{true}
15+
\def\xmNotExpandableAsAccordion{true}
16+
1217
\makeatother
1318

1419
\ifdefined\isXourse

0 commit comments

Comments
 (0)