From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28420 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Becker Newsgroups: gmane.text.pandoc Subject: Re: When converting markdown tables to docx with pandoc is there way to put a border on the table in the docx file? Date: Sat, 22 May 2021 14:19:35 -0700 (PDT) Message-ID: References: <63c828cd-eaee-4d02-89e5-a5b54d98434dn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3302_1248257336.1621718375985" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16598"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCUNV74YYMKBB2PKUWCQMGQE3SOT5OA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat May 22 23:19:39 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f59.google.com ([209.85.210.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lkZ23-00048f-4k for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 22 May 2021 23:19:39 +0200 Original-Received: by mail-ot1-f59.google.com with SMTP id 96-20020a9d02e90000b02902a52d815b3bsf15941846otl.13 for ; Sat, 22 May 2021 14:19:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; 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=BJK3F+DTn6jvrV8J70+GGcJ3ryb6qnM+HkrMw76wSRg=; b=hTAZ7LQbIniMbizYGkXVIn43NmhYAxXfSfmSS2jWDP79K//ucB/6aOGr8Y2BxOExJH K1B6dMTnqT8Q2wmEgyYJ9EnW15AGfpVVVl8cBEmZQ8tJgeIkyfIr0tzTH+t+82WNBeoh Kug9SY9xD3wvMkgrCQdiUVfLmtqDRPItITDBxGbiVE3ApFSbzQrmQ78BW8iccYuzdX5J AQFQHy6ma6hIyXMM1Kk3cF5aQaAmoRvPD5FLMXvuXyvXl+v1I5C4Lk9PFuGSMuKBG28S Qae2ANB9rBCJPjwkkKA4gK5c+38qUXHrgx4uNzGMH55Bk2zbWVgcrgNRTp7G6O50cl/Q L9sQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=identitypraxis-com.20150623.gappssmtp.com; s=20150623; 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=BJK3F+DTn6jvrV8J70+GGcJ3ryb6qnM+HkrMw76wSRg=; b=L/1hLfBUXsgL7e0JFb5c/ap7H+QE9vzWVbDPEgCFSnbKpjpdY5GcygV58uJR96kumR rpX60XgSHIqH9SeWCxU/ZHxEAfEDJqa3gC+LBMnwy/f7qoguocuH5OlOyv/oqFGnr0ot 2kT7U8si1dmfVqY3ZiMxTW1N/Wtc80oxfd3uBFzOlKIZRo9xeJ+WOD4AUz4pEobVbW5c blSv6FkvW132tp9ba6zzj4pcCZ3ihlFlXbqgVoxTLrQLm0kzbcWMuZYXv0yVzI6LanNK R/vUTvhv3MFipsrYhKUobX/3xyD9XzAMYaFIE6OXBVd78FOeJzwqpua3EfzDrfNulGej u+Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; 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=BJK3F+DTn6jvrV8J70+GGcJ3ryb6qnM+HkrMw76wSRg=; b=At1zRyYCPNFwaJ48Y1vIYqENe3Qp/CD+JE3IxantUNJjTxNtDAbAT1lJ4eaAbfISvf 00hEi0t/Nm6jr/lqWmULitni4jT4Rpf3/sCKKw2gjr3VfH6ovkivqu7ij17mYeF2VEp1 0e3ChOv4GtJlaXgqCHY9QUJZEYb0npQXz1A28nmhxJ5ULI1NE0x+NUTkkEbBLzV7ZprX n1lUp7kT+sknGvlqxnvFaTboxodPtssJMzdtUhmiBsCN2tPm7rCpYWXL7a3l5HyKJF+8 tJoqoItFwRhK9+iLavVW9pp0jwjUL/MiUoW9Q8RaOEzoIdBG0WOsc6Sy76Ll76WX27MT ANqQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531kiaqXn482BjheTMWhvJMuVPTeFmATenioJXCEjcnXW5+PCI7U VMQgMLMtw7sO5HOjPY5tVSM= X-Google-Smtp-Source: ABdhPJzsa5ms8Xp8jp7S/iFM4a/GiSGW/Y/F3DpIPPLiajoRCVAhVgTqNRmoCMtYRIzsXM9thFfYuw== X-Received: by 2002:a9d:5e8c:: with SMTP id f12mr13174498otl.18.1621718378173; Sat, 22 May 2021 14:19:38 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:c401:: with SMTP id u1ls3141005oif.2.gmail; Sat, 22 May 2021 14:19:36 -0700 (PDT) X-Received: by 2002:a05:6808:13cb:: with SMTP id d11mr6424626oiw.138.1621718376488; Sat, 22 May 2021 14:19:36 -0700 (PDT) In-Reply-To: X-Original-Sender: michael-QF1XyMwE1Uwv0rdu9s6TydBPR1lH4CV8@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:28420 Archived-At: ------=_Part_3302_1248257336.1621718375985 Content-Type: multipart/alternative; boundary="----=_Part_3303_322956179.1621718375985" ------=_Part_3303_322956179.1621718375985 Content-Type: text/plain; charset="UTF-8" Thanks, Daniel, I have this and it is working perfectly for font and heading styles. I'm not sure how to set up this up for template styles in the docx file. I tried to put a table in with borders, but this did not work. Any ideas? On Saturday, May 22, 2021 at 10:42:53 AM UTC-7 DSt...-Jdbf3xiKgS8@public.gmane.org wrote: > On 5/21/21 9:02 PM, Michael Becker wrote: > > I'm successfully converting markdown to docx, including table conversion. > > > > I would like converted tables to have a border and single space line > > formatting. Is there any way to accomplish this? > > You need to have a custom docx template which has the styling on the > default table. > > Daniel T. Staal > > -- > --------------------------------------------------------------- > This email copyright the author. Unless otherwise noted, you > are expressly allowed to retransmit, quote, or otherwise use > the contents for non-commercial purposes. This copyright will > expire 5 years after the author's death, or in 30 years, > whichever is longer, unless such a period is in excess of > local copyright law. > --------------------------------------------------------------- > -- 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/cafda3f1-6d1f-468c-9cfc-3148da16a381n%40googlegroups.com. ------=_Part_3303_322956179.1621718375985 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks, Daniel, I have this and it is working perfectly for font and headin= g styles.  I'm not sure how to set up this up for template styles in t= he docx file. I tried to put a table in with borders, but this did not work= . Any ideas?
On Saturday, May 22, 2021 at 10:42:53 AM UTC-7 DSt...-Jdbf3xiKgS8@public.gmane.org wrote:=
On 5/21/21 9= :02 PM, Michael Becker wrote:
> I'm successfully converting markdown to docx, including table = conversion.
>=20
> I would like converted tables to have a border and single space li= ne=20
> formatting.=C2=A0 Is there any way to accomplish this?

You need to have a custom docx template which has the styling on the=20
default table.

Daniel T. Staal

--=20
---------------------------------------------------------------
This email copyright the author. Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes. This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------

--
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/cafda3f1-6d1f-468c-9cfc-3148da16a381n%40googlegroups.= com.
------=_Part_3303_322956179.1621718375985-- ------=_Part_3302_1248257336.1621718375985--