On 26. 10. 19 10:06, Jeff Mcneill wrote: > > Aha, I've found a fix, referenced > at: https://stackoverflow.com/questions/48083724/pandoc-markdown-ignore-text-in-pdf-but-include-in-html-updated > > > Here is what I put, and the epub ignores the latex content and the > latex ignores the epub (html) content. Magical indeed. > > `
* * *
`{=html} > \begin{center} ∗ ∗ ∗ \end{center} > I wasn't actually aware of this syntax. Magical indeed. > > Thanks for your help. Your suggestions are very useful. > --Jeff Mcneill > > > On Saturday, October 26, 2019 at 2:24:17 PM UTC+7, Václav Haisman wrote: > > On 26. 10. 19 9:09, Jeff Mcneill wrote: >> >> I suggest you add the following to your LaTeX preamble: >> >> |\usepackage{newunicodechar} >> \newunicodechar{∗}{\textasteriskcentered} | >> >> and then use the raw character in your document >> >> |\begin{center} ∗ ∗ ∗ \end{center} | >> >> >> >> >> -- >> VH >> >> >> This indeed fixes my issue with latex in terms of producing the >> correct dinkus display (*) when md->pdf, however this >> still is discarded by pandoc when producing an md->epub. The >> lines are simply removed (there is no dinkus and no additional >> space added between the separated sections). -- > > You will have to write a filter that will implement the dingus > differently for each output format. Pandoc is not magical, it > cannot translate everything. > > One more comment about the LaTeX dingus: I have found one more > sophisticated implementation, see > https://tex.stackexchange.com/a/101240/28495 >