From: Milan Bracke <milan.bracke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Paragraph with less indent converted to blockquote
Date: Tue, 5 Oct 2021 02:02:52 -0700 (PDT) [thread overview]
Message-ID: <61b1dd6c-0212-451a-93d3-524307cd139cn@googlegroups.com> (raw)
In-Reply-To: <3824cc94-2630-4e09-8cf4-a1b5d342dfdan-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 4165 bytes --]
I made the pull request: https://github.com/jgm/pandoc/pull/7606
On Thursday, September 23, 2021 at 3:33:44 PM UTC+2 Milan Bracke wrote:
> Thanks! I'll fix it.
>
> On Wednesday, September 22, 2021 at 10:13:03 PM UTC+2 John MacFarlane
> wrote:
>
>>
>> I haven't had a chance to look at the code, but it may be that
>> it only looks at hard-coded indentation in making this
>> determination, ignoring the styles. If that's right, then
>> I agree that it would be nicer behavior if the style's
>> indentation were taken into account. At the moment I can't
>> see any drawbacks to this, so I'd say go ahead and try to
>> make it work!
>>
>> Milan Bracke <milan....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>>
>> > Thanks. But I meant confirming whether this should be considered a bug
>> (as
>> > opposed to confirming whether it happens).
>> >
>> > On Tuesday, September 21, 2021 at 3:43:01 PM UTC+2 Bastien Dumont
>> wrote:
>> >
>> >> I confirm. It seems that all paragraphs whose indentation is set
>> manually
>> >> (not by adding spaces at the beginning, but by modifying the paragraph
>> >> properties) are parsed as BlockQuote. The fact that the indentation is
>> more
>> >> are less than in the parent style does not matter.
>> >>
>> >>
>> >> Le Tuesday 21 September 2021 à 04:48:04AM, Milan Bracke a écrit :
>> >> > Hi,
>> >> >
>> >> > It looks like a bug to me. Could anyone confirm, please? Then I'll
>> fix
>> >> it.
>> >> >
>> >> > Best,
>> >> > Milan
>> >> >
>> >> > On Thursday, September 9, 2021 at 2:15:39 PM UTC+2
>> rlav...-QkLmr2fm4izR7s880joybQ@public.gmane.org
>> >> wrote:
>> >> >
>> >> >
>> >> > Hello,
>> >> >
>> >> > I noticed a strange behavior from the docx to HTML conversion. A
>> >> blockquote
>> >> > is created when indentation of a paragraph is less than the
>> indentation
>> >> of
>> >> > the named style applied to it. I have attached an example with two
>> >> > paragraphs that have the List Paragraph style. One of them is less
>> >> > indented, which causes Pandoc to transform it to a blockquote. It
>> looks
>> >> > weird because the paragraph is less indented in Word and it looks
>> like
>> >> the
>> >> > intention was to transform paragraphs to blockquotes when they are
>> more
>> >> > indented. So is the behavior we see here intended or a bug?
>> >> >
>> >> > Thanks
>> >> > Rémy
>> >> >
>> >> > --
>> >> > 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 [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> >> > To view this discussion on the web visit [2]
>> >> https://groups.google.com/d/msgid/
>> >> > pandoc-discuss/f0cb7b1b-f844-4f0a-bb62-8193c90fa8fbn%
>> 40googlegroups.com.
>> >> >
>> >> > References:
>> >> >
>> >> > [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>> >> > [2]
>> >>
>> https://groups.google.com/d/msgid/pandoc-discuss/f0cb7b1b-f844-4f0a-bb62-8193c90fa8fbn%40googlegroups.com?utm_medium=email&utm_source=footer
>> >>
>> >>
>> >
>> > --
>> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> > To view this discussion on the web visit
>> https://groups.google.com/d/msgid/pandoc-discuss/797266ca-1c30-4959-9aac-712bc9f57e08n%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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/61b1dd6c-0212-451a-93d3-524307cd139cn%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 6745 bytes --]
prev parent reply other threads:[~2021-10-05 9:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-09 12:15 'Rémy Lavainne' via pandoc-discuss
[not found] ` <0517abd5-db41-492f-b1a7-5af186b6420dn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-09-21 11:48 ` Milan Bracke
[not found] ` <f0cb7b1b-f844-4f0a-bb62-8193c90fa8fbn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-09-21 13:41 ` Bastien DUMONT
2021-09-21 13:46 ` Milan Bracke
[not found] ` <797266ca-1c30-4959-9aac-712bc9f57e08n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-09-22 20:12 ` John MacFarlane
[not found] ` <m2ilys2wu6.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org>
2021-09-23 13:33 ` Milan Bracke
[not found] ` <3824cc94-2630-4e09-8cf4-a1b5d342dfdan-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-10-05 9:02 ` Milan Bracke [this message]
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=61b1dd6c-0212-451a-93d3-524307cd139cn@googlegroups.com \
--to=milan.bracke-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).