Skip to content

Commit b0f2331

Browse files
committed
Fix mathjax reference
1 parent 94d734f commit b0f2331

File tree

5 files changed

+1853
-5
lines changed

5 files changed

+1853
-5
lines changed

Diff for: GNUmakefile

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ tut:
77
for file in /Users/skaller/felix/src/web/tut/*.fdoc; do \
88
env DYLD_LIBRARY_PATH=${LD_LIBRARY_PATH} flx_pretty --outdir=web "$${file}"; \
99
done
10+
for file in web/*.html; do sed -i -e s/fdoc/html/g ${file}; done
11+
rm web/*.html-e
1012

1113
extract:
1214
flx_iscr embedc.fdoc

Diff for: embedc.fdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ cannot be defined in an @{instance}.
117117

118118
@h1 TeX symbols
119119
You may have notices in the @{Eq} type class that there is a
120-
function with the weird name @{\ne}. Which shown as $\eq$ in TeX.
120+
function with the weird name @{\ne}. Which shown as \(\neq\) in TeX.
121121

122122

123123

Diff for: corout.html renamed to web/corout.html

File renamed without changes.

Diff for: embedc.html renamed to web/embedc.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@
3636
.caveat { background-color:#FF8080; color:black; }
3737
</style>
3838

39+
<script type="text/javascript" async
40+
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML">
41+
</script>
3942
<script type="text/x-mathjax-config">
4043
MathJax.Hub.Config({
4144
tex2jax: {
4245
skipTags: ["script","noscript","style","textarea"]
4346
}
4447
});
4548
</script>
46-
<script type="text/javascript"
47-
src="http://cdn.mathjax.org/mathjax/latest/MathJax.jsconfig=TeX-AMS-MML_HTMLorMML">
48-
</script>
4949
<title>Embedding C++</title></head><body>
5050
<style>
5151
body {margin:3%; font-family: sans-serif; }
@@ -498,7 +498,7 @@ <h1 id='Basics_h'><img src='/share/src/web/images/minus.gif' id='Basics' onclick
498498
cannot be defined in an <code>instance</code>.
499499
</p></div><h1 id='TeX_symbols_h'><img src='/share/src/web/images/minus.gif' id='TeX symbols' onclick='toggle(this,"TeX_symbols_d")' alt='+'/> 3 TeX symbols</h1><div id='TeX_symbols_d' style='display:block'>
500500
<p>You may have notices in the <code>Eq</code> type class that there is a
501-
function with the weird name <code>\ne</code>. Which shown as $\eq$ in TeX.
501+
function with the weird name <code>\ne</code>. Which shown as \(\neq\) in TeX.
502502
</p></div><!--Main Content Body End-->
503503

504504
</div> <!-- rightpanel contents end -->

0 commit comments

Comments
 (0)