public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Leonard Rosenthol <leonardr-bM6h3K5UM15l57MIdRCFDg@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Output HTML to DOCx file Tables Not Getting Formatted
Date: Sun, 24 Jul 2022 14:59:55 -0400	[thread overview]
Message-ID: <CALu=v3K2Cxk0GvfWovpNnMUh5nOzVNZyfns2d=r3ycU0rSNoPw@mail.gmail.com> (raw)
In-Reply-To: <56f6388c-72f5-41c0-9d51-2a803644b6dcn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 2599 bytes --]

BBEdit has a command line interface so that you could potentially automate
the manual commands you did in it

On Sun, Jul 24, 2022 at 2:46 PM Michael Becker <michael-QF1XyMwE1Uwv0rdu9s6TydBPR1lH4CV8@public.gmane.org>
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 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 me
> what the steps would be to get into the document.xml file, globally replace
> the style val and save it.
>
> Manually, this works every time. Now I'd like to automate the process.
>
> [image: 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 pandoc in MS
>> Word.  I'm exporting HTML from a tool called Tinderbox. I then 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 figure it
>> out. There are some that suggest going into the word XML but I'm not sure
>> 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 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/56f6388c-72f5-41c0-9d51-2a803644b6dcn%40googlegroups.com
> <https://groups.google.com/d/msgid/pandoc-discuss/56f6388c-72f5-41c0-9d51-2a803644b6dcn%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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CALu%3Dv3K2Cxk0GvfWovpNnMUh5nOzVNZyfns2d%3Dr3ycU0rSNoPw%40mail.gmail.com.

[-- Attachment #1.2: Type: text/html, Size: 3738 bytes --]

[-- Attachment #2: 2022-07-24_11-42-52.png --]
[-- Type: image/png, Size: 289228 bytes --]

  parent reply	other threads:[~2022-07-24 18:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-24 16:32 Michael Becker
     [not found] ` <b92cf565-a834-4ed0-9a2a-edd4d75710b9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-07-24 18:46   ` Michael Becker
     [not found]     ` <56f6388c-72f5-41c0-9d51-2a803644b6dcn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-07-24 18:59       ` Leonard Rosenthol [this message]
     [not found]         ` <CALu=v3K2Cxk0GvfWovpNnMUh5nOzVNZyfns2d=r3ycU0rSNoPw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-07-24 19:11           ` Michael Becker
2022-07-24 22:20       ` Anton Sharonov
     [not found]         ` <CAMoRF4k0gDFQTzKTYKPCh5Uiyp2zm2BWsKji2rE9DRfJdvAKSw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-07-24 23:05           ` Michael Becker

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='CALu=v3K2Cxk0GvfWovpNnMUh5nOzVNZyfns2d=r3ycU0rSNoPw@mail.gmail.com' \
    --to=leonardr-bm6h3k5um15l57midrcfdg@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).