From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31079 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Becker Newsgroups: gmane.text.pandoc Subject: Re: Output HTML to DOCx file Tables Not Getting Formatted Date: Sun, 24 Jul 2022 12:11:08 -0700 Message-ID: <6cb0eb20-db92-4213-90e8-4a6aa3b88004@Spark> References: <56f6388c-72f5-41c0-9d51-2a803644b6dcn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="62dd9951_6aa78f7f_18210" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12474"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCUNV74YYMKBBVFS62LAMGQEQ4BWEFA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jul 24 21:11:20 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f62.google.com ([209.85.160.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oFh0a-00039w-4n for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 24 Jul 2022 21:11:20 +0200 Original-Received: by mail-oa1-f62.google.com with SMTP id 586e51a60fabf-101be2b197dsf4985609fac.4 for ; Sun, 24 Jul 2022 12:11:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658689879; cv=pass; d=google.com; s=arc-20160816; b=g43Fdu1tO7IrzHsohKZ0P0qkSpCbd+NmarMoYEjHYFvTrJxv+9UnS6yQJvPt7P0rH6 uvusn3HaYOnQvBj0UBeEftBeXFhe88G0j3Z+taCoH3GIzoVllFVpFBQcRMoohOD+5lSx oiMWlSswBeELLrPa4j3vx7IQb13QcsKYUbspvvRGKU04DX7hF0fc9YYmrqXTYLjVHeg5 NcBrHzTKsMhXVebHdbH1BbRbd5Kbnng0IeF9a0axgzrw8W9ZFvw+ZvutezDNKYrqo7+w OE+NsSCRHBI5aKKA57N7bTCFAhNr3bEqRCbLiw5t5q2dQhoLEtw7LgHQu8a9Y/Z50a6A BQZg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version:subject :references:in-reply-to:message-id:to:from:date:sender :dkim-signature; bh=L56nKjqvHkKJ0TC/AtlDCR3YBmFItmvSG5ASpZlRqHs=; b=iDNj6AuILXjZ9zSRuMaRJb9ZE+Cx7I+yo+jPlF4xHpGVKUkiNl/SGl7r4JpF2jyNgY KY8CFaD8zgFuZX6erEzd1MDGF7K4Z3GyYP/t0/2sKY4aJoEnwyHG8NLaimcYN5xl+KhP bfG1ZeGGLaWAn4dR2zzzGwDVv/L512abTdPuF1wvppZ2n4Ep9L00Uf0zuiaLVZIquaqG dkOWRGr45FI9Sg8wh1ZO4kL3JEh0jux22QYuE9IJ0gJ8M5puqtJ4Z1Ti/nqt55aPNW6Y 38JrKJolb0ubIFQPlG5sbLDZ2XLWQ2jY3+Bb7UUJo3KwttMPnqQRrh4dNAS+L4hFp0dP WlBA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@identitypraxis-com.20210112.gappssmtp.com header.s=20210112 header.b=TUuuiNFC; spf=neutral (google.com: 2607:f8b0:4864:20::430 is neither permitted nor denied by best guess record for domain of michael-QF1XyMwE1Uwv0rdu9s6TydBPR1lH4CV8@public.gmane.org) smtp.mailfrom=michael-QF1XyMwE1Uwv0rdu9s6TydBPR1lH4CV8@public.gmane.org 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:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=L56nKjqvHkKJ0TC/AtlDCR3YBmFItmvSG5ASpZlRqHs=; b=Km8GC0hV9EhZKRjCpvc7Bma/JKKq/3WIlIDbnqC/yEgxPd1Pr+4/jdOGkw8AWGoeWl EuFh9bVr/QzD2TbVu4GxIMDGF8+5WBqfMxe1Sve8YH4aykfLYp0hq3kXlbETtJkmtHUq 1tFow0ZfRs0nCoZz2DtuYbsAAj4I83UNo+IBuIjCU+G8lZQfTTM51igZJR8a+7TRoN5P tlO/AlFLNle5gnf48Y8RHkjWwwVnttB7EBYzbUFGVy27MLL2jOY3OShERwuGVzswD24o SOqZTRhnnO4BO4BImqTHW+VKERvwuptk6XlrP6KdmLAvcS/UKk3zgIk+QZLEkkL2Dgty 7OZA== 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 :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=L56nKjqvHkKJ0TC/AtlDCR3YBmFItmvSG5ASpZlRqHs=; b=v76hVPk3FZpEIVJzGO1zdWTvBuethCS22shl76XN3HFGWwqiK+RmcgOZHWDRYPHZJl I7Xrd0iLngNOX5kQveHwbmCzNOlMFLGimzdD9/6Uo64VJiY/i8f8YpDiVtUnity6Jrwr G0ci9P8X/1+Alv+0HkqtWdCU848+6B/W1lTcqkITIaM1lFTTS2KrhxSu/WEqH8ZfXh6I 8TgTtHLo0chphAR4LlYDV0ajBGR9XUwKSv4wLzHdli78Ho0YPBT+8I0dCqWUtS1tVl+1 vz/BmJsm1VBkcdfA9Abjoib9JpnLXKyGVBXX8pKZHNUgdn4w9L3WIiMAQTLKuOUB7Wc/ tS4Q== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora/YR2AJ5p48TcliUtNEEx8bx5P8G0iwILKaEKz3EriZA+f+pfAG B6HNMWaJL4QyTjR6ZlaHxGM= X-Google-Smtp-Source: AGRyM1saq55vLwGO+Jrj2bKmXZ7jQECIHZCQSrtNkd/SuMrHSIi8uDac/fREv51miejPbSnEbCK/Eg== X-Received: by 2002:a05:6870:f71c:b0:10d:c1a1:565 with SMTP id ej28-20020a056870f71c00b0010dc1a10565mr5835309oab.120.1658689878984; Sun, 24 Jul 2022 12:11:18 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:202a:b0:33a:322:8c2e with SMTP id q42-20020a056808202a00b0033a03228c2els1063740oiw.0.-pod-prod-gmail; Sun, 24 Jul 2022 12:11:16 -0700 (PDT) X-Received: by 2002:a05:6808:302b:b0:2f9:eeef:f03 with SMTP id ay43-20020a056808302b00b002f9eeef0f03mr11254198oib.128.1658689876360; Sun, 24 Jul 2022 12:11:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658689876; cv=none; d=google.com; s=arc-20160816; b=U/4hW3TrqyKpfbjwE00eDGC+LDaVO1/LyvAH8BKAt9OUsT7hzr4Lcg2vsqwOPsQZjY rCnzuZCGiya5w3gb5IL4pXodHwBHtP4p8XKOn5g+Ctuckg5tIqDn8WT6wDsRsVdJSZMR HSorT0ekgq4QTOgpOs4cyrdZY0aDXivpt9Tbp/t43AznYUIveOuZZy4ynDpyVgAEoxmA qe59+tQP6Ww1GsL+UjEQz2qGFtezl7HdDu9QSpays28xOMvjmVcuDVQx7PKjpSymwhKK sigSryrBTFXALPsWmZSEYkFJOOsLgvlxjTBaXl563WHEUmm6AB5m6M9T9CsR+ajz6UTY JxEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:subject:references:in-reply-to:message-id:to:from:date :dkim-signature; bh=Uh3bn84tMwiIFl3PIKX4QDD89NYJBd7l1/ir1Q/+1zo=; b=eqrgw8O4jBgf5a116lZKPVQGpWjC0Mc1BmAa9JA769Qc0OtaxDqljviIuq9t1nNEYZ ojMOTkppDyMjDunol8SdgogkMojF9CmS+YVlES0O2RxlkQY4TARjtzQTVJKVXaMaCW6Q zLgEp4c1wvvE7jVnolS9ci1CEJzJBhMkaPfSnYP9BU5sgzes157l7p8MuNYlEK9+qULc Rny8d9YBeqvWgvqObmwdgtLmgU6bMO+dIwgjtFs1lxspGpcOtCEXvEUDkqTsU4pKIT+t zT0+nUey3Ftz6RsvjcYR5HfUagA6nMfYdf/9X9B1Mn0pRtbhmHq2JQJx0Mh3K3KCoZc8 m6Mg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@identitypraxis-com.20210112.gappssmtp.com header.s=20210112 header.b=TUuuiNFC; spf=neutral (google.com: 2607:f8b0:4864:20::430 is neither permitted nor denied by best guess record for domain of michael-QF1XyMwE1Uwv0rdu9s6TydBPR1lH4CV8@public.gmane.org) smtp.mailfrom=michael-QF1XyMwE1Uwv0rdu9s6TydBPR1lH4CV8@public.gmane.org Original-Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com. [2607:f8b0:4864:20::430]) by gmr-mx.google.com with ESMTPS id e184-20020acab5c1000000b0033a8986c20csi557233oif.2.2022.07.24.12.11.16 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 24 Jul 2022 12:11:16 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:4864:20::430 is neither permitted nor denied by best guess record for domain of michael-QF1XyMwE1Uwv0rdu9s6TydBPR1lH4CV8@public.gmane.org) client-ip=2607:f8b0:4864:20::430; Original-Received: by mail-pf1-x430.google.com with SMTP id o12so8609513pfp.5 for ; Sun, 24 Jul 2022 12:11:16 -0700 (PDT) X-Received: by 2002:a63:8bc8:0:b0:413:9952:6059 with SMTP id j191-20020a638bc8000000b0041399526059mr8010489pge.61.1658689875509; Sun, 24 Jul 2022 12:11:15 -0700 (PDT) Original-Received: from [172.24.1.231] ([98.45.176.123]) by smtp.gmail.com with ESMTPSA id g200-20020a6252d1000000b0052521fd273fsm7786971pfb.218.2022.07.24.12.11.14 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Jul 2022 12:11:15 -0700 (PDT) In-Reply-To: X-Readdle-Message-ID: 6cb0eb20-db92-4213-90e8-4a6aa3b88004@Spark X-Original-Sender: michael-QF1XyMwE1Uwv0rdu9s6TydBPR1lH4CV8@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@identitypraxis-com.20210112.gappssmtp.com header.s=20210112 header.b=TUuuiNFC; spf=neutral (google.com: 2607:f8b0:4864:20::430 is neither permitted nor denied by best guess record for domain of michael-QF1XyMwE1Uwv0rdu9s6TydBPR1lH4CV8@public.gmane.org) smtp.mailfrom=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:31079 Archived-At: --62dd9951_6aa78f7f_18210 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks.=C2=A0=C2=A0I=E2=80=99m working my way through this. I=E2=80=99m not= a coder, not clear to me yet. Michael J. Becker CEO Identity Praxis, Inc. michael-QF1XyMwE1Uwv0rdu9s6TydBPR1lH4CV8@public.gmane.org M: +1-408-242-5733 https://www.linkedin.com/in/privacyshaman/ Check my availability & schedule a meeting with me:=C2=A030 MIN=C2=A0or=C2= =A060 MIN On Jul 24, 2022, 12:00 -0700, Leonard Rosenthol , w= rote: > BBEdit has a command line interface so that you could potentially automat= e the manual commands you did in it > > > On Sun, Jul 24, 2022 at 2:46 PM Michael Becker wrote: > > > Hi there, I have found a way to manually do this with BBEDIT. After e= xporting the file I Open the doxc file with BBEDIT (no zip or unzip require= d).=C2=A0 I can then do a global replace and replace the table style I want= word to use, e.g. replace "Table" with "MyTable". > > > > > > Here is my question. Does anyone know of a list to terminal commands = that I could write that would automatically go into the docx file and make = the changes I want. Tinderbox can trigger runCommands. It is not clear to m= e what the steps would be to get into the document.xml file, globally repla= ce the style val and save it. > > > > > > Manually, this works every time. Now I'd like to automate the process= . > > > > > > <2022-07-24_11-42-52.png> > > > > On Sunday, July 24, 2022 at 9:32:07 AM UTC-7 Michael Becker wrote: > > > > > I'm really struggling with outputting formatted tables using pand= oc in MS Word.=C2=A0 I'm exporting HTML from a tool called Tinderbox. I the= n convert the clean HTML to a docx file with pandoc. The tables always come= through with NO styling, even after I've modified the default table style = in the the reference.docx file. > > > > > > > > > > I read tons of post on this, but for the life of me I can't figur= e it out. There are some that suggest going into the word XML but I'm not s= ure how to automate this. I'm on maxOS Silicon Anyone of any idea on how to= make this work? > > > -- > > > You received this message because you are subscribed to the Google Gr= oups "pandoc-discuss" group. > > > To unsubscribe from this group and stop receiving emails from it, sen= d 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/56f6388c-72f5-41c0-9d51-2a803644b6dcn%40googlegroups.c= om. > -- > You received this message because you are subscribed to a topic in the Go= ogle Groups "pandoc-discuss" group. > To unsubscribe from this topic, visit https://groups.google.com/d/topic/p= andoc-discuss/KoGYWQGhRm8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to pando= c-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/CALu%3Dv3K2Cxk0GvfWovpNnMUh5nOzVNZyfns2d%3Dr3ycU0rSNoPw%40= mail.gmail.com. --=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/6cb0eb20-db92-4213-90e8-4a6aa3b88004%40Spark. --62dd9951_6aa78f7f_18210 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Thanks.  I=E2=80=99m working my way through thi= s. I=E2=80=99m not a coder, not clear to me yet. 


=
Michael J. Becker
CEO<= br style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" /> Identity Pr= axis, Inc. 
michael@ide= ntitypraxis.com
M: +1-408-2= 42-5733
https://www.linkedin.com/in/privacysham= an/

Check my av= ailability & schedule a meeting with me: 30= MIN= 60;or 60 MIN

On Jul 24, 2022, 12:00 -0700, Leonard Ros= enthol <leonardr-bM6h3K5UM15l57MIdRCFDg@public.gmane.org>, wrote:
BBEdit has a command line interface so that you could pot= entially automate the manual commands you did in it

On Sun, Jul 24, 2022 at 2:46 PM Micha= el Becker <michael@identit= ypraxis.com> wrote:
Hi there, I have found a way to manually do = this with BBEDIT. After exporting the file I Open the doxc file with BBEDIT= (no zip or unzip required).  I can then do a global replace and repla= ce the table style I want word to use, e.g. replace "Table" with "MyTable".=  

Here is my question. Does anyone know of a list to terminal commands t= hat I could write that would automatically go into the docx file and make t= he changes I want. Tinderbox can trigger runCommands. It is not clear to me= what the steps would be to get into the document.xml file, globally replac= e the style val and save it. 

Manually, this works every time. Now I'd like to automate the process.=  

<2022-07-24_11-42-52.png>
On Sunday, July 24, 2022 at 9:32:07 = AM UTC-7 Michael Becker wrote:
I'm really struggling with outp= utting formatted tables using pandoc in MS Word.  I'm exporting HTML f= rom a tool called Tinderbox. I then convert the clean HTML to a docx file w= ith pandoc. The tables always come through with NO styling, even after I've= modified the default table style in the the reference.docx file. 

I read tons of post on this, but for the life of me I can't figure it = out. There are some that suggest going into the word XML but I'm not sure h= ow to automate this. I'm on maxOS Silicon Anyone of any idea on how to make= this work?

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https= ://groups.google.com/d/msgid/pandoc-discuss/56f6388c-72f5-41c0-9d51-2a80364= 4b6dcn%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Goog= le Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d= /topic/pandoc-discuss/KoGYWQGhRm8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pandoc-discuss+unsu= bscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https:/= /groups.google.com/d/msgid/pandoc-discuss/CALu%3Dv3K2Cxk0GvfWovpNnMUh5nOzVN= Zyfns2d%3Dr3ycU0rSNoPw%40mail.gmail.com.

--
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/pando= c-discuss/6cb0eb20-db92-4213-90e8-4a6aa3b88004%40Spark.
--62dd9951_6aa78f7f_18210--