Thank you  Professor MacFarlane !

        I tried this one :

\documentclass{article}
\usepackage{amsmath}
\usepackage{unicode-math}
\usepackage{amsfonts}
\newcommand{\boxright}{\ensuremath{%
  \mathrel{\Box\kern-1.5pt\raise1pt\hbox{$\mathord{\rightarrow}$}}}}
\begin{document}
$A\boxright B$
\end{document}

    but it doesn't work, I thought these packages are pandoc can handle  (https://pandoc.org/MANUAL.html). 


On Monday, August 26, 2019 at 2:48:03 PM UTC+8, John MacFarlane wrote:

Adding a package won't help in this case. The texmath library
doesn't understand \boxright.

However, you could write your own macro to redefine
\boxright to something pandoc can handle, and include
this macro in your tex document.

吴小安 <nant...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Hi, I try to convert a tex  document  to word, everything is fine, but the
> $boxright$ can not convert ([WARNING] Could not convert TeX math 'A
> \boxright C', rendering as TeX: A \boxright C )
>
>  I don't know how to add  "\usepackage{pifont}" to the pandoc, could you
> tell me how can I do it ? Thank you very much !
>
>                    
>
> --
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/148055b7-05a4-4ecd-9527-464cb1308518%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/5fcaa4c1-5956-407d-9243-5e73df894b14%40googlegroups.com.