public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Bastien DUMONT <bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Convert DOTX/DOCX reference-doc to Latex template
Date: Mon, 26 Jun 2023 12:10:44 +0000	[thread overview]
Message-ID: <ZJmARCFFwx6qyS1P@localhost> (raw)
In-Reply-To: <948d4df1-2c8e-45f6-92de-09e8fad29f61n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

> Is it possible to generate a LaTeX template from a docx/dotx file?

Technically, it is feasible, but not with Pandoc. I don't know if anyone ever created a tool to do that.

> Rather than using `--reference-doc` with an existing Word document for each
> conversion, I'd like to translate that to a latex template once and use it for
> the beginning of multiple output templates.
> 
> My organization periodically revises a branding guideline document template and
> I'd like to automate consuming/translating that into latex for the generation
> of PDF/Docx/HTML versions of my content.

A LaTeX template would only be useful to generate a PDF document via LaTeX.


      parent reply	other threads:[~2023-06-26 12:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-26 11:20 Chris Ruscio
     [not found] ` <948d4df1-2c8e-45f6-92de-09e8fad29f61n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-06-26 12:10   ` Bastien DUMONT [this message]

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=ZJmARCFFwx6qyS1P@localhost \
    --to=bastien.dumont-vwifzpto/vqstnjn9+bgxg@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).