From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32676 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: ThomasH Newsgroups: gmane.text.pandoc Subject: Re: word doc to md template Date: Mon, 22 May 2023 01:43:26 -0700 (PDT) Message-ID: <0a8896ff-b031-4af9-9893-420738fbae75n@googlegroups.com> References: <19fb6e9b-8d16-4bdb-a0c5-444ecffacbc9n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_6822_259460751.1684745006758" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25105"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCOJJAXZ7EPBBL6WVSRQMGQECQNWJOY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon May 22 10:43:33 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f60.google.com ([209.85.160.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1q118c-0006Eu-Ow for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 22 May 2023 10:43:30 +0200 Original-Received: by mail-oa1-f60.google.com with SMTP id 586e51a60fabf-19a5a5c7a27sf2213313fac.2 for ; Mon, 22 May 2023 01:43:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1684745009; x=1687337009; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=GRcu8QG1ICfmz8WjD1l4IKESBKUYei2HHM4iYUKg8tY=; b=KMYa0na9xH3M/PAMXOj8RjZ3S6YuImB7ARDkQdBmidhlWyjCjYbquBW7Qj6SE7zr+a 7tWIkF0DBx1pKIOVGOh0Ah5ETWd/e0gGoZzMnQm+JCMwsngK1T/iOYOBCAfeLH7d9EfL IYk8O/PcRKc1/xnFbsJtRXqWNO6g0p9C/Ps7P6e7N6igvCfki2mFx1SqAsMz8xPGCrYV lK8IpnLNM1PVuiGqBTYPOIhYDZYL/UGUMX4jmczbyG81p6nWsVZYF7i/C6sW61jd4Z84 ofC12R9xB4khXdHS+tIxPUEj8JIMiZGjkP0qRfSOrsmQCh4NgsW2Z/1Gf23kDb8c6ano 438w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684745009; x=1687337009; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=GRcu8QG1ICfmz8WjD1l4IKESBKUYei2HHM4iYUKg8tY=; b=luJhRJY/OX510Xrf+PbHygAgIW55iNWRk89VOWOnBtheGNQslOTky1W2J0kocc5eH7 /wLS6KKiQvnKcP46ChIFuid0EylV83Z4EqPm/vq+B1WxQ1UrsQSiIsENHrfb1IVvIyfN XXZPeLD8H7AUKu6cVT2FxLfYAPXQ3WCwsx4WE8Za+N2ZzwiSbLqbsdaqFZpV8xjHIe0U s8eyqicJ5+7riMXYmkrRlmwIc/4uftDJEk5PPAtK1ghtlso6SHd1Pf+FXiTSIx/nRoEE RrkXqPFXabJHDAR5flJWt2ujNZwE5RI+3q7+Fjfd3Ho8k2C/3g+J/E5x86smK2D51sZL Enfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684745009; x=1687337009; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=GRcu8QG1ICfmz8WjD1l4IKESBKUYei2HHM4iYUKg8tY=; b=XVUNYvhkGi9+//7tArxtlwPCzMzFLHMdSvwTZcF+ota+kqZGt7V50cVFY9oxCM1b+/ OpLO6Ao7YrtfNJyKLgPXb5ovczTWhceWNPiQmR4SQeJgaTbpo1xVV8U8N+U/NnBoPIed gau09N6nW2CsLRcijE5CY+pYVDCc+X8GLl4gBOxZAMNLsKFsNuLVdKniyNVxYjpyZQ12 sTnJA+Nl7FNELY+zcNkNspZ2yql15PFy234pIRuR79F1+wEtJhglR9DgZNuNUkUH0/Th QfVu4p4LWKMvQfJ2z36XZyRf32IfnCz7f8cEjTECL0PD4TmWsK Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDxHKvIu5X2RPnzx3MJ+goS/JCcgAcYuOaQrvOOz7GZCU6wFzp59 r9rQfAQIg+oMtbXZ/AotibA= X-Google-Smtp-Source: ACHHUZ6SyEblgdZvaeC8Xm/r/zO1zAfL+95mzW/SZNYdyabDn5cBHZBlzPNwCWUimtJNUj5uTkJSVQ== X-Received: by 2002:a05:6870:956a:b0:19e:5b3b:8f4f with SMTP id v42-20020a056870956a00b0019e5b3b8f4fmr829033oal.10.1684745009687; Mon, 22 May 2023 01:43:29 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6820:1381:b0:555:2ca4:c9c with SMTP id i1-20020a056820138100b005552ca40c9cls631786oow.1.-pod-prod-06-us; Mon, 22 May 2023 01:43:27 -0700 (PDT) X-Received: by 2002:aca:d786:0:b0:398:10af:3eb7 with SMTP id o128-20020acad786000000b0039810af3eb7mr640399oig.2.1684745007327; Mon, 22 May 2023 01:43:27 -0700 (PDT) In-Reply-To: <19fb6e9b-8d16-4bdb-a0c5-444ecffacbc9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: therch-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:32676 Archived-At: ------=_Part_6822_259460751.1684745006758 Content-Type: multipart/alternative; boundary="----=_Part_6823_831081079.1684745006758" ------=_Part_6823_831081079.1684745006758 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Here is my take: 1. It really depends on what you expect from " collaborate". We have a=20 Github-like environment where we can edit .md files in the browser, make=20 changes, then create a commit. You have to edit the .md files "in source",= =20 so no fancy WYSIWYG, no extras like comments, annotations or the like. 2. I think you have to keep in mind that Markdown is not really a layout=20 format. Its strength are simplicity to mark up linear text, so you might=20 have to give up on specific layout wishes going forward to that format. 3. The same applies to styling like fonts or font sizes, as far as I know.= =20 It might seem that Markdown is not the ideal format for your needs. - I'm= =20 not sure I understand your point concerning headings, but if you look into= =20 the documentation it probably says that H1 is used for the document title= =20 and all other headings are organized beneath it (i.e. starting from H2). On Sunday, May 21, 2023 at 9:27:20=E2=80=AFPM UTC+2 Mark Pinsley wrote: > I am trying to convert from google docs, so far it looks like I need to= =20 > convert from a google doc to a word doc, and then convert again to MD > > A few questions: > 1. One of the reasons I have started playing with MD, was to write oped= =20 > and blogs it seemed like a good way to write once and then output in many= =20 > files. Now I am starting to wonder if I am just better off using google= =20 > doc. It seems difficult to collaborate online with the MD editors that ar= e=20 > available online. How are you all using it > > 2. I am trying to create a press release template. I have attached a copy= =20 > of what it looks like in Word. I tried converting it into a md template= =20 > but I can not figure out how to lay it out the same way. Also, does my=20 > image have to be in the same folder as the md? > > I used the command:=20 > pandoc -s --wrap=3Dnone input.docx -t markdown -o output.md > > But when i convert it back to a docx or HTML it doesn't look anything lik= e=20 > the original. How would you save this doc as md, and how would you deal= =20 > with the picture? > > 3. Also since in my original document I used bold and font sizes, is ther= e=20 > a way to tell it what fonts should be what kind of heading. If you look a= t=20 > the current heading of the document and convert it to markdown, the top= =20 > headers should he H1, H2, H3 but I didn't do it that way when I originall= y=20 > created the google doc. Is there a fast way to fix this? > > > > --=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/0a8896ff-b031-4af9-9893-420738fbae75n%40googlegroups.com. ------=_Part_6823_831081079.1684745006758 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Here is my take:

1. It really depends on wh= at you expect from " collaborate". We have a Github-like environment where = we can edit .md files in the browser, make changes, then create a commit. Y= ou have to edit the .md files "in source", so no fancy WYSIWYG, no extras l= ike comments, annotations or the like.

2. I thin= k you have to keep in mind that Markdown is not really a layout format. Its= strength are simplicity to mark up linear text, so you might have to give = up on specific layout wishes going forward to that format.

=
3. The same applies to styling like fonts or font sizes, as far = as I know. It might seem that Markdown is not the ideal format for your nee= ds. - I'm not sure I understand your point concerning headings, but if you = look into the documentation it probably says that H1 is used for the docume= nt title and all other headings are organized beneath it (i.e. starting fro= m H2).

On Sunday, May 21, 2023 at 9:27:20=E2=80=AFPM UTC+2 Mark Pi= nsley wrote:
= I am trying to convert from google docs, so far it looks like I need to con= vert from a google doc to a word doc, and then convert again to MD

=
A few questions:
1. One of the reasons I have started = playing with MD, was to write oped and blogs it seemed like a good way to w= rite once and then output in many files. Now I am starting to wonder if I a= m just better off using google doc. It seems difficult to collaborate onlin= e with the MD editors that are available online. How are you all using it

2. I am trying to create a press release template. = I have attached a copy of what it looks like in Word.=C2=A0 I tried convert= ing it into a md template but I can not figure out how to lay it out the sa= me way. Also, does my image have to be in the same folder as the md?
<= div>
I used the command:=C2=A0
=C2=A0pandoc -s --wr= ap=3Dnone input.docx -t markdown -o output.md

But = when i convert it back to a docx or HTML it doesn't look anything like = the original. How would you save this doc as md, and how would you deal wit= h the picture?

3. Also since in my original docume= nt I used bold and font sizes, is there a way to tell it what fonts should = be what kind of heading. If you look at the current heading of the document= and convert it to markdown, the top headers should he H1, H2, H3 but I did= n't do it that way when I originally created the google doc. Is there a= fast way to fix this?



--
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/0a8896ff-b031-4af9-9893-420738fbae75n%40googlegroups.= com.
------=_Part_6823_831081079.1684745006758-- ------=_Part_6822_259460751.1684745006758--