{"id":4608,"date":"2023-11-15T17:33:59","date_gmt":"2023-11-15T22:33:59","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/?post_type=chapter&#038;p=4608"},"modified":"2025-05-07T12:53:01","modified_gmt":"2025-05-07T16:53:01","slug":"math-conversion-tools","status":"publish","type":"chapter","link":"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/chapter\/math-conversion-tools\/","title":{"raw":"Math Conversion Tools","rendered":"Math Conversion Tools"},"content":{"raw":"As of November 2023, it is not possible to go directly from a TeX document to an accessible PDF. One potential solution for converting LaTeX to an accessible PDF is MathPix.\r\n<h2>MathPix<\/h2>\r\n<a href=\"https:\/\/snip.mathpix.com\/home\">MathPix<\/a> may be a useful tool for converting LaTeX to various formats including Word and PDF. <a href=\"https:\/\/mathpix.com\/pricing\">MathPix is available free<\/a> (with some limitations) to educators.\r\n\r\nTo create an accessible PDF from LaTeX:\r\n<ol>\r\n \t<li>From the MathPix homepage, select <strong>Note<\/strong>.\r\n<ol>\r\n \t<li>Choose <strong>New blank note<\/strong><\/li>\r\n \t<li>Or <strong>Upload a .md, .tex, or .txt file<\/strong> to upload an existing document.\r\n<ol>\r\n \t<li>Note, this may make more work than it saves.<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>Or write or paste LaTeX in left hand pane.<\/li>\r\n \t<li>Take note of output preview in right hand pane.<img class=\"alignnone size-large wp-image-4615\" src=\"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-content\/uploads\/sites\/1155\/2023\/11\/Screenshot-2023-11-15-150115-1024x434.jpg\" alt=\"\" width=\"1024\" height=\"434\" \/><\/li>\r\n \t<li>Select <strong>Export File<\/strong> and choose <strong>PDF (with HTML) <\/strong>or <strong>DOCX<\/strong>.\r\n<img class=\"alignnone size-full wp-image-4622\" src=\"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-content\/uploads\/sites\/1155\/2023\/11\/Screenshot-2023-11-15-150659-4.jpg\" alt=\"\" width=\"684\" height=\"515\" \/><\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\nTo make an existing math PDF more accessible:\r\n<ol>\r\n \t<li>From the MathPix homepage, select <strong>PDF.<\/strong><\/li>\r\n \t<li>Choose existing PDF to upload.<\/li>\r\n \t<li>Click <strong>Upload.<\/strong><\/li>\r\n \t<li>When completed, PDF options will appear in left hand toolbar.\r\n<img class=\"alignnone size-full wp-image-4611\" src=\"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-content\/uploads\/sites\/1155\/2023\/11\/Picture9.png\" alt=\"\" width=\"206\" height=\"243\" \/><\/li>\r\n \t<li><span style=\"font-size: 1em\">Select <\/span><strong style=\"font-size: 1em\">Convert to note.<\/strong><\/li>\r\n \t<li>MathPix will display a side by side of LaTeX and potential output.<\/li>\r\n \t<li>Select <strong>Export File<\/strong> and choose <strong>PDF (with HTML).<\/strong><\/li>\r\n<\/ol>\r\nSome issues persist in conversion. Ensure content appears as intended before exporting.\r\n\r\nUse PDF only as a last option as it is an inherently inaccessible format.\r\n<h2>Math Converter<\/h2>\r\nIndiana University has developed a <a href=\"https:\/\/accessibility.iu.edu\/tools\/math-converter.html\">math converter tool<\/a> to convert AsciiMath, LaTeX or MathML to English text.\r\n\r\nFor example [latex]\r\n\r\nx=\\frac{-b\\pm\\sqrt{b^2-4ac}}{2a}\r\n\r\n[\/latex] would read: \"x is equal to; the fraction with numerator; negative b plus or minus; the square root of b squared minus 4 a c, end root; and denominator 2 a; end fraction.\"\r\n\r\nThis could be useful for supplying alt text for an image of math, for people struggling to see math, and to understand the verbal syntax of math.","rendered":"<p>As of November 2023, it is not possible to go directly from a TeX document to an accessible PDF. One potential solution for converting LaTeX to an accessible PDF is MathPix.<\/p>\n<h2>MathPix<\/h2>\n<p><a href=\"https:\/\/snip.mathpix.com\/home\">MathPix<\/a> may be a useful tool for converting LaTeX to various formats including Word and PDF. <a href=\"https:\/\/mathpix.com\/pricing\">MathPix is available free<\/a> (with some limitations) to educators.<\/p>\n<p>To create an accessible PDF from LaTeX:<\/p>\n<ol>\n<li>From the MathPix homepage, select <strong>Note<\/strong>.\n<ol>\n<li>Choose <strong>New blank note<\/strong><\/li>\n<li>Or <strong>Upload a .md, .tex, or .txt file<\/strong> to upload an existing document.\n<ol>\n<li>Note, this may make more work than it saves.<\/li>\n<\/ol>\n<\/li>\n<li>Or write or paste LaTeX in left hand pane.<\/li>\n<li>Take note of output preview in right hand pane.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4615\" src=\"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-content\/uploads\/sites\/1155\/2023\/11\/Screenshot-2023-11-15-150115-1024x434.jpg\" alt=\"\" width=\"1024\" height=\"434\" srcset=\"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-content\/uploads\/sites\/1155\/2023\/11\/Screenshot-2023-11-15-150115-1024x434.jpg 1024w, https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-content\/uploads\/sites\/1155\/2023\/11\/Screenshot-2023-11-15-150115-300x127.jpg 300w, https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-content\/uploads\/sites\/1155\/2023\/11\/Screenshot-2023-11-15-150115-768x326.jpg 768w, https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-content\/uploads\/sites\/1155\/2023\/11\/Screenshot-2023-11-15-150115-65x28.jpg 65w, https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-content\/uploads\/sites\/1155\/2023\/11\/Screenshot-2023-11-15-150115-225x95.jpg 225w, https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-content\/uploads\/sites\/1155\/2023\/11\/Screenshot-2023-11-15-150115-350x148.jpg 350w, https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-content\/uploads\/sites\/1155\/2023\/11\/Screenshot-2023-11-15-150115.jpg 1392w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/li>\n<li>Select <strong>Export File<\/strong> and choose <strong>PDF (with HTML) <\/strong>or <strong>DOCX<\/strong>.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4622\" src=\"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-content\/uploads\/sites\/1155\/2023\/11\/Screenshot-2023-11-15-150659-4.jpg\" alt=\"\" width=\"684\" height=\"515\" srcset=\"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-content\/uploads\/sites\/1155\/2023\/11\/Screenshot-2023-11-15-150659-4.jpg 684w, https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-content\/uploads\/sites\/1155\/2023\/11\/Screenshot-2023-11-15-150659-4-300x226.jpg 300w, https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-content\/uploads\/sites\/1155\/2023\/11\/Screenshot-2023-11-15-150659-4-65x49.jpg 65w, https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-content\/uploads\/sites\/1155\/2023\/11\/Screenshot-2023-11-15-150659-4-225x169.jpg 225w, https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-content\/uploads\/sites\/1155\/2023\/11\/Screenshot-2023-11-15-150659-4-350x264.jpg 350w\" sizes=\"auto, (max-width: 684px) 100vw, 684px\" \/><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>To make an existing math PDF more accessible:<\/p>\n<ol>\n<li>From the MathPix homepage, select <strong>PDF.<\/strong><\/li>\n<li>Choose existing PDF to upload.<\/li>\n<li>Click <strong>Upload.<\/strong><\/li>\n<li>When completed, PDF options will appear in left hand toolbar.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4611\" src=\"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-content\/uploads\/sites\/1155\/2023\/11\/Picture9.png\" alt=\"\" width=\"206\" height=\"243\" srcset=\"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-content\/uploads\/sites\/1155\/2023\/11\/Picture9.png 206w, https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-content\/uploads\/sites\/1155\/2023\/11\/Picture9-65x77.png 65w\" sizes=\"auto, (max-width: 206px) 100vw, 206px\" \/><\/li>\n<li><span style=\"font-size: 1em\">Select <\/span><strong style=\"font-size: 1em\">Convert to note.<\/strong><\/li>\n<li>MathPix will display a side by side of LaTeX and potential output.<\/li>\n<li>Select <strong>Export File<\/strong> and choose <strong>PDF (with HTML).<\/strong><\/li>\n<\/ol>\n<p>Some issues persist in conversion. Ensure content appears as intended before exporting.<\/p>\n<p>Use PDF only as a last option as it is an inherently inaccessible format.<\/p>\n<h2>Math Converter<\/h2>\n<p>Indiana University has developed a <a href=\"https:\/\/accessibility.iu.edu\/tools\/math-converter.html\">math converter tool<\/a> to convert AsciiMath, LaTeX or MathML to English text.<\/p>\n<p>For example [latex]x=\\frac{-b\\pm\\sqrt{b^2-4ac}}{2a}[\/latex] would read: &#8220;x is equal to; the fraction with numerator; negative b plus or minus; the square root of b squared minus 4 a c, end root; and denominator 2 a; end fraction.&#8221;<\/p>\n<p>This could be useful for supplying alt text for an image of math, for people struggling to see math, and to understand the verbal syntax of math.<\/p>\n","protected":false},"author":1655,"menu_order":6,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-4608","chapter","type-chapter","status-publish","hentry"],"part":3853,"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-json\/pressbooks\/v2\/chapters\/4608","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-json\/wp\/v2\/users\/1655"}],"version-history":[{"count":13,"href":"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-json\/pressbooks\/v2\/chapters\/4608\/revisions"}],"predecessor-version":[{"id":9581,"href":"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-json\/pressbooks\/v2\/chapters\/4608\/revisions\/9581"}],"part":[{"href":"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-json\/pressbooks\/v2\/parts\/3853"}],"metadata":[{"href":"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-json\/pressbooks\/v2\/chapters\/4608\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-json\/wp\/v2\/media?parent=4608"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-json\/pressbooks\/v2\/chapter-type?post=4608"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-json\/wp\/v2\/contributor?post=4608"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/accessibilityhandbook\/wp-json\/wp\/v2\/license?post=4608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}