mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
Use MathML on the clipboard for formulas in HTML
This speeds up the copying, and although not many applications understand MathML currently (MS word is supposed to understand it), their number should go up in the future.
This commit is contained in:
parent
719a13d7a4
commit
ed2f6a8599
@ -494,6 +494,11 @@ void putClipboard(ParagraphList const & paragraphs,
|
||||
ErrorList el;
|
||||
pasteSelectionHelper(dit, paragraphs, docclass, el);
|
||||
|
||||
// We don't want to produce images that are not used. Therefore,
|
||||
// output formulas as MathML. Even if this is not understood by all
|
||||
// applications, the number that can parse it should go up in the future.
|
||||
buffer->params().html_math_output = BufferParams::MathML;
|
||||
|
||||
// The Buffer is being used to export. This is necessary so that the
|
||||
// updateMacros call will record the needed information.
|
||||
MarkAsExporting mex(buffer);
|
||||
|
Loading…
Reference in New Issue
Block a user