From 92536836bfca4eaf92ac7d1abb36cefaa84e7fbe Mon Sep 17 00:00:00 2001 From: milde Date: Fri, 26 Jan 2024 22:46:42 +0000 Subject: [PATCH] Suppress creation of CSS files by "latexml" converter. By default, the "latexmlpost" program of the TeX 2 HMTL/MathML converter copies some CSS style files to the output directory. These are not required with Docutils HTML output; a command line option passed to "latexmlpost" keeps the output dir clean. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@9519 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- docutils/docutils/utils/math/tex2mathml_extern.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docutils/docutils/utils/math/tex2mathml_extern.py b/docutils/docutils/utils/math/tex2mathml_extern.py index 5337468c9..809c38cd7 100644 --- a/docutils/docutils/utils/math/tex2mathml_extern.py +++ b/docutils/docutils/utils/math/tex2mathml_extern.py @@ -122,6 +122,7 @@ def latexml(math_code, as_block=False): '--nocrossref', '--nographicimages', '--nopictureimages', + '--nodefaultresources', # do not copy *.css files to output dir '--' ] result2 = subprocess.run(args2, input=result1.stdout, -- 2.11.4.GIT