public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: "0alph...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org"
	<0alphadelta-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	pandoc-discuss
	<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: LaTeX Writer: Compact Paragraph followed by List
Date: Tue, 13 Apr 2021 15:09:48 -0700	[thread overview]
Message-ID: <m235vtj0pf.fsf@MacBook-Pro.hsd1.ca.comcast.net> (raw)
In-Reply-To: <04f11d46-7936-407e-bb32-175a68731a75n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

"0alph...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <0alphadelta-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Well, Pandoc parses the following:
>
> Text Plus List, Compact
> - List Item
>
> into a Paragraph Node, followed by a List Node, for which the LaTeX writer 
> outputs the snippet above.
>
> What I'm concerned with is the final output, but the whitespace added by 
> the writer is significant in that it represents a new *LaTeX* Paragraph, 
> and this is what adds the extra space in the generated output. This is 
> confirmed by the AST JSON dump, and compilation of MWEs with the above 
> snippets.
>
> So the real question is: "Is there a way to get this input parsed in a way 
> such that LaTeX will emit them as one paragraph unit?"

Yes, and that's the question I was answering in my response
before. The answer, unfortunately, is no.


  parent reply	other threads:[~2021-04-13 22:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-12 22:42 0alph...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
     [not found] ` <28f8d3eb-161e-401c-a2cf-ac3692b0c780n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-04-13  2:48   ` Matt Jolly
     [not found]     ` <52c442e8-a14f-40b4-9c9d-3eb40dee9be6n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-04-13 21:03       ` 0alph...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
     [not found]         ` <04f11d46-7936-407e-bb32-175a68731a75n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-04-13 22:09           ` John MacFarlane [this message]
2021-04-13 22:01   ` John MacFarlane

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m235vtj0pf.fsf@MacBook-Pro.hsd1.ca.comcast.net \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=0alphadelta-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).