Could not convert TeX math '\-60 to \-90°C', rendering as TeX

How to debug for these warnings?

Thanks

output file: bookdown.knit.md

/usr/lib/rstudio-server/bin/pandoc/pandoc +RTS -K512m -RTS bookdown.knit.md --to docx --from markdown+autolink_bare_uris+tex_math_single_backslash --output bookdown.docx --lua-filter /shared/R/site-library/4.0.3/library/bookdown/rmarkdown/lua/custom-environment.lua --lua-filter /home/sguo2/R/x86_64-pc-linux-gnu-library/4.0/rmarkdown/rmarkdown/lua/pagebreak.lua --metadata-file /shared/R_Temp/sguo2/RtmpbA4xXJ/file24626324db07 --highlight-style tango --reference-doc /home/sguo2/janssen4/bin/petx/bookdown/template.docx 
[WARNING] Could not fetch resource 'Figure1-Human_DLL3.PNG': PandocResourceNotFound "Figure1-Human_DLL3.PNG"
[WARNING] Could not convert TeX math '\-60 to \-90°C', rendering as TeX:
  \-60 to \-90°C
    ^
  unexpected "6"
  expecting "%", "\\label", "\\nonumber" or whitespace
[WARNING] Could not convert TeX math '\-60 to ‑90°C', rendering as TeX:
  \-60 to ‑90°C
    ^
  unexpected "6"
  expecting "%", "\\label", "\\nonumber" or whitespace
[WARNING] Could not convert TeX math 'Crl:CD®\(SD\)', rendering as TeX:
  Crl:CD®\(SD\)
           ^
  unexpected "S"
  expecting "%", "\\label", "\\nonumber" or whitespace
[WARNING] Could not convert TeX math '\-60 to \-90°C', rendering as TeX:
  \-60 to \-90°C
    ^
  unexpected "6"
  expecting "%", "\\label", "\\nonumber" or whitespace
[WARNING] Could not convert TeX math '\-60 to ‑90°C', rendering as TeX:
  \-60 to ‑90°C
    ^
  unexpected "6"
  expecting "%", "\\label", "\\nonumber" or whitespace
[WARNING] Could not convert TeX math '\-60 to \-90°C', rendering as TeX:
  \-60 to \-90°C
    ^
  unexpected "6"
  expecting "%", "\\label", "\\nonumber" or whitespace
[WARNING] Could not convert TeX math 'e\.g\. ketamine', rendering as TeX:
  e\.g\. ketamine
     ^
  unexpected "g"
  expecting "%", "\\label", "\\nonumber" or whitespace
[WARNING] Could not convert TeX math '\-60 to ‑90°C', rendering as TeX:
  \-60 to ‑90°C
    ^
  unexpected "6"
  expecting "%", "\\label", "\\nonumber" or whitespace
[WARNING] Could not convert TeX math '\-60 to \-90-C', rendering as TeX:
  \-60 to \-90-C
    ^
  unexpected "6"
  expecting "%", "\\label", "\\nonumber" or whitespace
[WARNING] Could not convert TeX math 'e\.g\. ketamine', rendering as TeX:
  e\.g\. ketamine
     ^
  unexpected "g"
  expecting "%", "\\label", "\\nonumber" or whitespace
[WARNING] Could not convert TeX math '\-60 to ?90-C', rendering as TeX:
  \-60 to ?90-C
    ^
  unexpected "6"
  expecting "%", "\\label", "\\nonumber" or whitespace

Output created: _book/bookdown.docx
[1] "/home/sguo2/janssen4/bin/petx/bookdown/_book/bookdown.docx"

This is probably an issue with the file path to your image. It is not found by pandoc so probably a wrong relative path from the Rmd file.

And others

There seem to be an issue in the way you are writing your Math. Some character are not supported. I don't know exactly how to write those temperature in TeX Math. You'll need to have a look at how write this

What is the source code of this Math chunk ?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.