public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* About using dash line in markdown file
@ 2023-11-27  6:58 user107
       [not found] ` <7c6d18bf-100f-4305-9cce-2371f7639937n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: user107 @ 2023-11-27  6:58 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1207 bytes --]

I'm using LaTeX in a markdown file, and I try to use dash line in a martix, 
but it seems pandoc 3.1.9 can not recognize `:` and `\hdashline`

the Pandoc command is like this: `pandoc --mathml test.md -o test.html`

and the LaTeX code is:

$$
\begin{array}{c|ccc:c}
X/Y & -1    & 0     & 1     &       \\ \hline
-1  & 0.125 & 0.125 & 0.125 & 0.375 \\
0   & 0.125 & 0     & 0.125 & 0.25  \\
1   & 0.125 & 0.125 & 0.125 & 0.375 \\ \hdashline
    & 0.375 & 0.25  & 0.375 & \rho_{XY}
\end{array}
$$

and the error is:

```
  unexpected ":"
  expecting letter, "|", "*", white space or "}"
  
  unexpected control sequence \hdashline
  expecting "%", "\\label", "\\tag", "\\nonumber", whitespace or 
"\\allowbreak"
```
my expected output is:

[image: screenshot145728.jpg]

what can I do to fix that?

-- 
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/7c6d18bf-100f-4305-9cce-2371f7639937n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 2606 bytes --]

[-- Attachment #2: screenshot145728.jpg --]
[-- Type: image/jpeg, Size: 19841 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-01 18:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-27  6:58 About using dash line in markdown file user107
     [not found] ` <7c6d18bf-100f-4305-9cce-2371f7639937n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-12-01 18:11   ` John MacFarlane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).