Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9344806
math-typesetting.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
728 B
Subscribers
None
math-typesetting.js
View Options
/**
* Copyright (C) 2020 The Software Heritage developers
* See the AUTHORS file at the top-level directory of this distribution
* License: GNU Affero General Public License version 3, or any later version
* See top-level LICENSE file for more information
*/
import
{
staticAsset
}
from
'utils/functions'
;
export
async
function
typesetMath
()
{
window
.
MathJax
=
{
chtml
:
{
fontURL
:
staticAsset
(
'fonts/'
)
},
tex
:
{
tags
:
'ams'
,
useLabelIds
:
true
,
inlineMath
:
[
[
'$'
,
'$'
],
[
'\\('
,
'\\)'
]
],
displayMath
:
[
[
'$$'
,
'$$'
],
[
'\\['
,
'\\]'
]
],
processEscapes
:
true
,
processEnvironments
:
true
}
};
await
import
(
/* webpackChunkName: "mathjax" */
'utils/mathjax'
);
}
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Fri, Jul 4, 2:49 PM (3 d, 14 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3306776
Attached To
rDWAPPS Web applications
Event Timeline
Log In to Comment