public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* alignat bug
@ 2018-12-28 14:56 Umut Acar
       [not found] ` <04b01854-06eb-4b8c-8f5a-697ce9ec0968-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Umut Acar @ 2018-12-28 14:56 UTC (permalink / raw)
  To: pandoc-discuss


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

There seems to be a bug in the treatment of alignat 
\begin{alignat}{1}
xy&z
\end{alignat}

outputs
1xyz

where the argument 1 is ignored and take as part of the body.  I am 
compiling with flags  `--mathjax -f latex`

If I wrap the same alignat environment with math delimeters \[ and \], then 
it behaves as expected and the argument {1} is processed correctly. 

One possibility is that pandoc does not send alignat to mathjax unless \[ 
and \] are specified.  This seems too obvious though and I imagine it would 
have been caught.  

Any thoughts?  



-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/04b01854-06eb-4b8c-8f5a-697ce9ec0968%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: alignat bug
       [not found] ` <04b01854-06eb-4b8c-8f5a-697ce9ec0968-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2018-12-28 15:00   ` Umut Acar
  0 siblings, 0 replies; 2+ messages in thread
From: Umut Acar @ 2018-12-28 15:00 UTC (permalink / raw)
  To: pandoc-discuss


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

I should add, of course this problem can be circumvented by using the math 
delimiters but then latex code is broken, because latex does not like 
alignat to be inside the math environment.

On Friday, December 28, 2018 at 9:56:35 AM UTC-5, Umut Acar wrote:
>
> There seems to be a bug in the treatment of alignat 
> \begin{alignat}{1}
> xy&z
> \end{alignat}
>
> outputs
> 1xyz
>
> where the argument 1 is ignored and take as part of the body.  I am 
> compiling with flags  `--mathjax -f latex`
>
> If I wrap the same alignat environment with math delimeters \[ and \], 
> then it behaves as expected and the argument {1} is processed correctly. 
>
> One possibility is that pandoc does not send alignat to mathjax unless \[ 
> and \] are specified.  This seems too obvious though and I imagine it would 
> have been caught.  
>
> Any thoughts?  
>
>
>
>

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/79e483fc-d9a6-4423-90ca-bfae8f082203%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

end of thread, other threads:[~2018-12-28 15:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-28 14:56 alignat bug Umut Acar
     [not found] ` <04b01854-06eb-4b8c-8f5a-697ce9ec0968-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-12-28 15:00   ` Umut Acar

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).