From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18475 Path: news.gmane.org!.POSTED!not-for-mail From: "'Adam Mackie' via pandoc-discuss" Newsgroups: gmane.text.pandoc Subject: Re: Using YAML variables in docx Date: Wed, 1 Nov 2017 10:05:20 -0700 (PDT) Message-ID: References: <46936ce3-7335-4071-ab66-88bd60ecdf84@googlegroups.com> <20171101035147.GB19638@Johns-MacBook-Pro.local> <20171101165418.GA9384@protagoras> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_12515_1293923891.1509555920222" X-Trace: blaine.gmane.org 1509555931 25507 195.159.176.226 (1 Nov 2017 17:05:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 1 Nov 2017 17:05:31 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCIPPFOFWAFRBUH547HQKGQEHCNOFFQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Nov 01 18:05:24 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f64.google.com ([209.85.218.64]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9wS2-0005EQ-AU for gtp-pandoc-discuss@m.gmane.org; Wed, 01 Nov 2017 18:05:14 +0100 Original-Received: by mail-oi0-f64.google.com with SMTP id m198sf3126301oig.20 for ; Wed, 01 Nov 2017 10:05:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; 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=t7sBV4WtZPNF1a3F5grnOdwmCjfmU5tHd1NmGW1C5MA=; b=IBJvLoBX+To2Sgpdog8v0vD04ZoGMtN4Oj5QO9Q/bUU+9dJZh76O9/zmnPmao7ELBZ yRjhYsZuRbKLvwoQ2vUoL/W6NHhgG2MmHigBQWR9zcG2aWGu8RBie3eMUgdFMo+EMrUR swSHnc1l4r74Kc0JAe82LdemF0VKegLUrAdy2iy2TgPEGn0XVFV3o2HINmbQ6ncLNOiT myIVvpLVNWRoV/f1iEDA26g5FOZRpbZGdvO6kfKqFOpwd9wYRBzmniwpiScV7O9Njzag eV7gU9uP2i1rz/6D8h3Ld3Eb2zxCyhjv9h1GIwoiYc1Ch5SHG5F1Ocd6K8kbwWzFHLU7 TngA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=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=t7sBV4WtZPNF1a3F5grnOdwmCjfmU5tHd1NmGW1C5MA=; b=koczux+2FFNEPpSSUEe5KlNw4hdDIDeJJIT0XyfXT/zLwTbjCeSaEdEqMHhozttCEn PRqnSPkNRwUyk+MPIKhaJ8kHht7PIjA+BLhxNgfZb9t3B2YZK9FAmtY5Zcb5BlDarOBN cOTBRARP1YOZ6ADQtCqId7yVM5ty9i91Rq4AULWXKJtiqKFZ9TP2zs1fjwe/4uTPh5zp YaaLqHtpVjWQ/v5oOmkvdbHTANydLFQjks6pqyldpvJ8q20zowEKMB2iQOzooCRFBLe7 axgCQMfcKyoOFueu5/aexGdAJM5UodhqBLISupwY5AOLHX+jLHqVt3Sm0c2haVBy+HxR GwgQ== X-Gm-Message-State: AJaThX4V9Igk2UoSBWde1sjcsiAmQbU6JKr0vbg7jXe1FAzr2SElZOm1 mjMxxd1VxAfMjwn8n/czH8U= X-Google-Smtp-Source: ABhQp+R/uqcSs42IwWVMsEU2hcSFxdyxkN+JqYJejQIQyC/HbOWieDDuG2Q0bfdM+XlaQtHEeztc1g== X-Received: by 10.157.52.218 with SMTP id t26mr16704otd.10.1509555921655; Wed, 01 Nov 2017 10:05:21 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.202.79.151 with SMTP id d145ls281674oib.5.gmail; Wed, 01 Nov 2017 10:05:20 -0700 (PDT) X-Received: by 10.157.12.211 with SMTP id o19mr17262otd.0.1509555920637; Wed, 01 Nov 2017 10:05:20 -0700 (PDT) In-Reply-To: <20171101165418.GA9384@protagoras> X-Original-Sender: AMackie1-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org X-Original-From: Adam Mackie 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.org gmane.text.pandoc:18475 Archived-At: ------=_Part_12515_1293923891.1509555920222 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable So is there any way to accomplish what I want? I.e. have a file in markdown= , convert it to docx, apply reference headers and then finally MODIFY the h= eaders to have custom values as defined in a YAML block? So far it seems li= ke I can do everything up to the last step. I take it I couldn't do say, two passes, where I first apply the reference = docx and THEN use a filter to alter the headers? Or am I right in saying th= e headers will get stripped off even if going from docx to docx... --=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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/eb861fe9-af97-4e32-bc6c-75662e0846a4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_12515_1293923891.1509555920222--