From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32875 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: Convert DOTX/DOCX reference-doc to Latex template Date: Mon, 26 Jun 2023 12:10:44 +0000 Message-ID: References: <948d4df1-2c8e-45f6-92de-09e8fad29f61n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3975"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRB2UA42SAMGQE6UFFGQY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Jun 26 14:11:27 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f58.google.com ([209.85.167.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qDl42-0000nt-Im for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 26 Jun 2023 14:11:26 +0200 Original-Received: by mail-lf1-f58.google.com with SMTP id 2adb3069b0e04-4f76712f950sf2237666e87.0 for ; Mon, 26 Jun 2023 05:11:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687781486; cv=pass; d=google.com; s=arc-20160816; b=wLPk1ksjONdj+gFPi9Fp4aKBVvXeQcViGgsRlkMFMt7TFxyePl0La2ca9MAW+JH8I/ +T3YvYdNo74Zcr7iMUrZV58EizxCjPtcMRs455rwzE7zF0udNfDuVrf+dgsx9CivQkc7 aPwJ9yeTJFb9xg/38FuznA5jOFxS9Yuuy2ecSTHdnVUtKHcoOHrrKQqJ+nKIw6r1Ja82 iSteghKdGpI9MN5HP5lrSyewqStlJTw5rkF1ndrJlyXXtLEXbTAjn34xyTt+9ShX9OI0 Y0jZ4qZR3C6r7LfUS39Y9mO92L9ieRsGqcnjPcQgVj/HhSvWNZIMvi6K1wllD8Vo1C4m esfw== 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:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :from:date:sender:dkim-signature; bh=P5csjlgJOjitlnDg4eKdB2Righ6GGfBe1yC/rVxpI5I=; b=T6WarJZ1/t7kOwYP1UopXagsfJVkjLjN3/zfWJzFpNTvkxXzsCF/ZZkmQKxLpATu8j W4Zmy69ji//Xlm/6FWxX1l6X/msgwnUlDbC95YNJl3YldmQTgeQwOIwNivjWNLwQY+Uz lJcoXNjMVIMucd1/3qiI19iUcAeKySPSZOZyYrpCOJENx/y+Ygsfm3LhH/vkW4XnTzjk Rk03eiqmjyAKcdFrVEM5StFriViVsb7lvv4CcDFvR9oy52rfvCRqViuJB61yFbEI+GAE sCeXIi6mk4O0jCaGIFxGBi2H+MqmDq+TjxkNd1LaIhAs8zMWDimTK4flxTu3PuasUQOK z3Tg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=VbTL7lMb; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1687781486; x=1690373486; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :from:date:sender:from:to:cc:subject:date:message-id:reply-to; bh=P5csjlgJOjitlnDg4eKdB2Righ6GGfBe1yC/rVxpI5I=; b=M+Yw4ya3mZyTDr9pWsHeY3Yf6w9bXuAXJ/5iJyw1Bcp8D0zjXOswC8qGOSM8vap2Fr itbv84mi9Av4gPt5kL9wdGftyItX2saXYybmB4pvJRsluHI8+KyrRmTaeQXQIM0L1Pvp 2mhXsHrS7yIkzkdZSp6Y/q1U9lTiQxekvfPWiWPwtBFon7x67rOG1titwdytvpCnVQvv RT+f3MaGEnnjSFNIwNK6ngX4yKlvKScUzYCWAd+CnbKbzShdse6hlEwhcigljQI23ojz EkNP7B1nRF7blAfz7zuZc3hx7kcgzwRWw7tWpAyfo9YRSNqPw8VFq X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687781486; x=1690373486; 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-authentication-results:x-original-sender:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :from:date:x-beenthere:x-gm-message-state:sender:from:to:cc:subject :date:message-id:reply-to; bh=P5csjlgJOjitlnDg4eKdB2Righ6GGfBe1yC/rVxpI5I=; b=bh3srJjhzVdAyLTY71mJpe0EEP3rTrxQ3oxQqjF2T3zPPz6dRSKXS6kAQgAM5p4lgs h75bvzN9qtuoJFV1fvldr3w/xkNW/0twN8Xth7flD1u8cxlxjchsTdx0dyCVrIjw0L5A pTMHbzMjB2Q/FoUXjmWG6d3QYfUWpFdFqxXZ2R3UYkY00tUvnA6qbrAUmEB4Q/TqLan5 Yju9UX/nYoY0v/TBQBtLIDowwLdVAg0BWMxTvhLk67FJaIPs3OX0tt+58ccs5Ps9 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDy9Hjy4pFJnXqgu8L97vUOcC6qdL6AWIGiKQMm9NvcIoXopjXaY g1Y3eAxMyW30CO4FxFJNF9A= X-Google-Smtp-Source: ACHHUZ6mOOUGinRtzQkSyKA11TGergwnoMMDuW2EJMEWpfyUGA1Fa13jxJ/yQfW1w8u8KHT8Or2Adw== X-Received: by 2002:a05:6512:3c81:b0:4fb:73ce:8e7d with SMTP id h1-20020a0565123c8100b004fb73ce8e7dmr1856901lfv.15.1687781485594; Mon, 26 Jun 2023 05:11:25 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6000:602:b0:313:f555:72af with SMTP id bn2-20020a056000060200b00313f55572afls161201wrb.0.-pod-prod-03-eu; Mon, 26 Jun 2023 05:11:20 -0700 (PDT) X-Received: by 2002:adf:dfd2:0:b0:313:e20c:b8df with SMTP id q18-20020adfdfd2000000b00313e20cb8dfmr4079309wrn.35.1687781480935; Mon, 26 Jun 2023 05:11:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687781480; cv=none; d=google.com; s=arc-20160816; b=Hh3RQypH2XNNyLjuX6MQuTDDH/87epXc+VVULFVjJcyLXIIyyJjfdgkrsh5gjN9Pva eQQaUHxlguyCqrc42x5eeZHLGI7FCcOieRswYXMVfQfOymi2F10zfCrW7OfeEemRUjkW Tlhjm1Ca22c2H3ZI55h838nFPhdu3EXltpCQn+H4XNzEi2Udk2UIinuxDmomeUxPF6a4 C19M/kqgF/pHZ6ijm6VsA/NeJuFvtFcfOuL9ua97gtt22N+WcYa4d6VNmEzyWVZeyBbS cZOBLtdxlq6ES+9ScqM40bZSPDcaqC784CxMp1d2I4pY7HhyoOCWlBoZIeeciERnnb9R Aprw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:dkim-signature; bh=f+AA1zxfJUcAK9qJx43NVlHiCxv8cdH6e8vcTeo/62Q=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=m9ISbeCq4XebEC61lhuKhg+GmmmKkHRTD8cwlka4ZchhiCi7pVz6IqeEFZTZ2o6Yro Bj+fQGvUQl5m61CH8h33fCuZnihpmXN58332hZbKCOEv/Ae67Gipn1FaXIU/8cu0L8A8 c7wifMZdQjbfTiXX1W8jPVChivenMNtbwUe7RgEZz53QOWokfPiY9e93lpsRGiAe/SPq 5c6a5Bnu+jcAfKS+PXFv99InMIO/KN1myynLeJlxAecXMLu70XI5pKZu8TETgyjOx7JQ YQSOHpcvM2KVPkE71WrpNpRaBwix6Nd/gXZIey/GNOZvFFp/X+OBS81sSxRiKULZcWzh gBkA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=VbTL7lMb; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Original-Received: from mout01.posteo.de (mout01.posteo.de. [185.67.36.65]) by gmr-mx.google.com with ESMTPS id bo12-20020a056000068c00b003111816630dsi274773wrb.5.2023.06.26.05.11.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jun 2023 05:11:20 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) client-ip=185.67.36.65; Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 83A0A240027 for ; Mon, 26 Jun 2023 14:11:20 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QqRX738lZz9rxM for ; Mon, 26 Jun 2023 14:11:18 +0200 (CEST) Content-Disposition: inline In-Reply-To: <948d4df1-2c8e-45f6-92de-09e8fad29f61n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=VbTL7lMb; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net 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:32875 Archived-At: > 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.