Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion samples/tex2mml-speech.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ import {CHTML} from '../mathjax3/js/output/chtml.js';
EnrichHandler(RegisterHTMLHandler(chooseAdaptor()), new MathML());

let html = mathjax.document('<html></html>', {
enrichSpeech: 'deep',
sre: {
speech: 'deep',
domain: 'clearspeak',
style: 'default',
locale: 'en'
},
InputJax: new TeX({packages: AllPackages}),
OutputJax: new CHTML() // Needed for bussproofs
});
Expand Down
4 changes: 3 additions & 1 deletion samples/tex2svg-speech.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ const adaptor = chooseAdaptor();
EnrichHandler(RegisterHTMLHandler(adaptor), new MathML());

let html = mathjax.document('<html></html>', {
enrichSpeech: 'deep',
sre: {
speech: 'deep'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this include the domain, style, and locate, like the other example?

},
InputJax: new TeX({packages: ['base']}),
OutputJax: new SVG(),
renderActions: {
Expand Down