Docx writer: Give full detail when there are errors converting tex math.
This commit is contained in:
parent
77912ddc56
commit
5449e4a226
1 changed files with 2 additions and 1 deletions
|
@ -1116,7 +1116,8 @@ inlineToOpenXML' opts (Math mathType str) = do
|
|||
case writeOMML displayType <$> readTeX str of
|
||||
Right r -> return [r]
|
||||
Left e -> do
|
||||
warn $ "Cannot convert the following TeX math, skipping:\n" ++ str
|
||||
warn $ "Cannot convert the following TeX math, skipping:\n" ++ str ++
|
||||
"\n" ++ e
|
||||
inlinesToOpenXML opts (texMathToInlines mathType str)
|
||||
inlineToOpenXML' opts (Cite _ lst) = inlinesToOpenXML opts lst
|
||||
inlineToOpenXML' opts (Code attrs str) = do
|
||||
|
|
Loading…
Add table
Reference in a new issue