From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29263 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Srikanth Neradigomma Newsgroups: gmane.text.pandoc Subject: Re: Formatting issues while converting DOCX to MD file Date: Tue, 21 Sep 2021 00:53:46 -0700 (PDT) Message-ID: <0034538a-b0e4-4a40-99aa-7ea2f4f7fd95n@googlegroups.com> References: <2c6afaa9-1271-4b9d-813c-4945f91b226dn@googlegroups.com> <2ae4e3c0-7a9d-4af8-8a12-a6e5659656a3n@googlegroups.com> <2c28e21a-4959-4f1b-ac7e-413d196c93fan@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_5624_1929178262.1632210826262" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35232"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCPMRJGUQAERBC47U2FAMGQEJBTOFJY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Sep 21 09:53:49 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f57.google.com ([209.85.161.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mSab7-0008xb-Bm for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 21 Sep 2021 09:53:49 +0200 Original-Received: by mail-oo1-f57.google.com with SMTP id d6-20020a4a8806000000b0029acf18dcffsf31764846ooi.11 for ; Tue, 21 Sep 2021 00:53:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=rUreu7XmIBJ38rUCw22H1sLbXLu3/IFtT7D8feGb2aw=; b=Riz7vcU5olnEi6YsYIKcQfFOEzq6bEu7iTQvJ747o8/qdXOWZ26NwITfJPbevvT+qC B+K/jMnXsPIv0dTGIQPnT8BVoW4tchN27wN/0pHcx1o/qTCvxonfiDgcPQyvn8aTIu89 x6kZ1b5s9ieaYY9DWrwxLzdDHJjKZ3yZ2Z5Wm0ZnCgL0ZNl/AUCtlgUYFttgPPJRYJKK Miky9Y6WSo/xjURj50vc+7vyKV4zr70EkxBSgOLdJNOGgZpFq7CCrsJXl0BpIZkyP3Ie n8G/TLl/RX9RuOERYzNNFR+Oc5URrYttLzaGXkq+H38PRMi8nBdKTH9dkgjDBaClvP19 ic8Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=rUreu7XmIBJ38rUCw22H1sLbXLu3/IFtT7D8feGb2aw=; b=jqbhav3m6paTO2xYiNxMbQgh7QiUOq8fmhhXa0RQubjCfwOAa66zAS8pBsxTwRNl7X jQGwEnNoupcfmrPhR0OOf0LLIKr/XuAfHKBjEkukGSVbBvEPFtSy7t5ofY6j/YjAiDAO onDLfWD/Sbg2gIWk4Bc9fY0GRisQHGqup4ME0eSvX6S3OarrZXoyTiV2gcXepjjJsPV9 zF8j3aiLlVXByYeTuQOaYioLXCxbsQbG0RjC4pGoxB1j8qNanP6Um9MHIj2YUbjbfppw RuT51yfguLlZPUDlfYrnpJnHhvy5tPQb4K/E5hhgyUgSXv9s8ldYfh85HyBCVPgj0kau ldyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=rUreu7XmIBJ38rUCw22H1sLbXLu3/IFtT7D8feGb2aw=; b=B22/B+8Ynn8s3DAktf2d6O5hjiCLI/JU5tSETRQPRVUW0mjZzZeCTqBRH4Kz4niIEr v/nxwRjIAUfof7YHo5D6ceVEWX4cHfrL6NL/6A/V3Dm7rzHzSFIoZohH3VS7Y9hO8w8Z zRSBHAN5Dvwu8JcPh2T6/DO3ToA7JppKAH1yIPquoDMVXaNYdsJB2TyekCTYt/O1hVoT qftzZnNSrqLZk2hC9lONHu/4vt+sCkONQFKv7IO9dID3WBVfIFOi/N4pJBNK7Pk49nbJ 8vU6AwlUbXjzVtncrZecCx5YDem25Lj129wSFOC8bw+Zr6YKG/j16zkIY+7ZXwuK/8FF X2aw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533cO3MC+2IYsJzeki9Oiu+GNKx5zC+nxRaxIm651+fMSAbJUkGp N3GHAf6biQz+nHOJ1XTxw9w= X-Google-Smtp-Source: ABdhPJy1LofTlkzzr5tasRNMhkcEtfeMebiJUfervYbIial0sWCI2mY8l7CeHs+PqjG7VYr8Fhoj9w== X-Received: by 2002:a05:6830:442a:: with SMTP id q42mr24379994otv.327.1632210828352; Tue, 21 Sep 2021 00:53:48 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:f02:: with SMTP id 2ls5768803oip.8.gmail; Tue, 21 Sep 2021 00:53:47 -0700 (PDT) X-Received: by 2002:a05:6808:618:: with SMTP id y24mr2572093oih.25.1632210826839; Tue, 21 Sep 2021 00:53:46 -0700 (PDT) In-Reply-To: X-Original-Sender: jstchinna-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:29263 Archived-At: ------=_Part_5624_1929178262.1632210826262 Content-Type: multipart/alternative; boundary="----=_Part_5625_962209510.1632210826262" ------=_Part_5625_962209510.1632210826262 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable As of now I'm manually editing the Markdown file by placing the html=20 elements. so wanted to know if any support from Pandoc to convert these=20 formats. On Thursday, September 9, 2021 at 6:54:57 PM UTC+5:30 krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org= =20 wrote: > There is distinction to be made between what is supported by source=20 > format, target format, and pandoc. > > Your source supports all the formatting you require, of course. Markdown,= =20 > on the other hand, as is my understanding (until anyone tells I am wrong)= =20 > doesnt support most of your requirements -- doesnt suppport text centerin= g,=20 > text coloring, but supports text indentation. Are you using some kind of= =20 > interpreter or renderer that allows you settng those attributes to markdo= wn=20 > text? > > Dne =C4=8Dtvrtek 9. z=C3=A1=C5=99=C3=AD 2021 v 13:15:14 UTC+2 u=C5=BEivat= el Srikanth Neradigomma=20 > napsal: > >> Yes I'm converting Docx to Markdown, main issue is, In the conversion=20 >> process all the highlighted text and text alignment is missing. I need t= o=20 >> put manual efforts for aligning the text at center and format the text a= s=20 >> per docx. >> >> Does Pandoc support Colored text, Centered Text and nested list ? if so= =20 >> can anyone share me the syntax on how to handle these formats. >> >> Thanks in Advance=20 >> On Wednesday, September 8, 2021 at 1:13:09 PM UTC+5:30=20 >> krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: >> >>> Hello, >>> >>> are you converting docx (MS Word) format to Markdown? If that is so, I= =20 >>> dont think that markdown deals with colored text, its alignment or=20 >>> indentation. It is a very simple syntax, that has to be converted to a= =20 >>> different formats to display attributes that you are mentioning. At lea= st=20 >>> that is to my knowledge ... >>> >>> Dne pond=C4=9Bl=C3=AD 6. z=C3=A1=C5=99=C3=AD 2021 v 9:07:25 UTC+2 u=C5= =BEivatel Srikanth Neradigomma=20 >>> napsal: >>> >>>> Hi, >>>> >>>> I'm facing below formatting issues while converting a word doc to md= =20 >>>> format using Pandoc >>>> >>>> >>>> 1. Colored text and Highlighted Text in word is rendering as plain= =20 >>>> text >>>> 2. Alignment of text is not formatting correctly in md format. For= =20 >>>> example centered text in word is left aligning in md format >>>> 3. Missing indentation in nested list >>>> >>>> =20 >>>> Is there a way to use Pandoc to process above formatting issues? >>>> >>>> Thanks, >>>> Srikanth Neradigomma >>>> >>> --=20 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 e= mail 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/0034538a-b0e4-4a40-99aa-7ea2f4f7fd95n%40googlegroups.com. ------=_Part_5625_962209510.1632210826262 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable As of now I'm manually editing the Markdown file by placing the html elemen= ts. so wanted to know if any support from Pandoc to convert these formats.<= br>
On= Thursday, September 9, 2021 at 6:54:57 PM UTC+5:30 krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wr= ote:
The= re is distinction to be made between what is supported by source format, ta= rget format, and pandoc.

Your source supports all = the formatting you require, of course. Markdown, on the other hand, as is m= y understanding (until anyone tells I am wrong) doesnt support most of your= requirements -- doesnt suppport text centering, text coloring, but support= s text indentation. Are you using some kind of interpreter or renderer that= allows you settng those attributes to markdown text?

Dne =C4=8Dtvrtek = 9. z=C3=A1=C5=99=C3=AD 2021=C2=A0v=C2=A013:15:14 UTC+2 u=C5=BEivatel Srikan= th Neradigomma napsal:
Yes I'm converting Docx to Markdown, = main issue is, In the conversion process all the highlighted text and text = alignment is missing. I need to put manual efforts for aligning the text at= center and format the text as per docx.

Does Pandoc sup= port=C2=A0 Colored text, Centered Text and nested list ? if so can anyone share me the= syntax on how to handle these formats.

Thanks in Advance= =C2=A0
On Wednesday, September 8, 2021 at 1:13:09 PM UTC+5:30 krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
Hello,

are you converting docx (= MS Word) format to Markdown? If that is so, I dont think that markdown deal= s with colored text, its alignment or indentation. It is a very simple synt= ax, that has to be converted to a different formats to display attributes t= hat you are mentioning. At least that is to my knowledge ...

<= div class=3D"gmail_quote">
Dne pond= =C4=9Bl=C3=AD 6. z=C3=A1=C5=99=C3=AD 2021=C2=A0v=C2=A09:07:25 UTC+2 u=C5=BE= ivatel Srikanth Neradigomma napsal:
Hi,

I'= ;m facing below formatting issues while converting a word doc to md format = using Pandoc

  1. Colored text and Highlighted = Text in=C2=A0 word is rendering as plain text
  2. Alignment of text is = not formatting correctly in md format. For example centered text in word is= left aligning in md format
  3. Missing indentation in nested list
  4. =
=C2=A0
Is there a way to use Pandoc to process above fo= rmatting issues?

Thanks,
Srikanth = Neradigomma
<= /blockquote>

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/0034538a-b0e4-4a40-99aa-7ea2f4f7fd95n%40googlegroups.= com.
------=_Part_5625_962209510.1632210826262-- ------=_Part_5624_1929178262.1632210826262--