From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/22084 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: BPJ Newsgroups: gmane.text.pandoc Subject: Re: Trouble with custom styles for docx output Date: Tue, 12 Feb 2019 14:11:38 +0100 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000013f6ee0581b22b9a" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="57873"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Phil To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBF4MRPRQKGQEWSEC7NQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Feb 12 14:11:56 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-wr1-f63.google.com ([209.85.221.63]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gtXqq-000Eqy-Bm for gtp-pandoc-discuss@m.gmane.org; Tue, 12 Feb 2019 14:11:52 +0100 Original-Received: by mail-wr1-f63.google.com with SMTP id o5sf979392wrh.7 for ; Tue, 12 Feb 2019 05:11:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1549977111; cv=pass; d=google.com; s=arc-20160816; b=j2YoccLVgjeOpFDntKQEuzlzeuTVK9sMD+C/kKM+mldrx2qJphPEQgWHyeVL6Z+rs8 Gy0oGs9RdFdu9wo7U6gKFT4KSuoRDSBJBf85SFtFXiL22XeGLkXZJ757iB/k3L/Q5OEk TOWLO/+cTVBY+VfVWLp9OMC8/Yn1noG85FJDZs9m9dKxaj+LQAwNk2/0i3VZ4USsR72u BBPiM7M5J77Sq1/ijBax5uJd3nBMjkGWAUFsdR6sjplVTeLrjpzkvyOfDOI9m4qNeWBD tAWPdCcSVgCFUDXEC7vGOX4hc8Mn1TW8nkrGK4JUt7vGSTe4LfmmP4yiO2/zNbJBKBu0 8S7A== 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:cc:to:subject:message-id :date:from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=UDAR180WH1BaSFMlKmHesvDtR4eZo2weQzKcYQGnMS0=; b=X4itxy1SObPYKcnlRS9/EMEnzQ+7YAfyGNWXCL7A6a0orT+Y2Sy7DGXH/4uBwFM29y wt9zEiHnEdiBPNgsVCBR+BOg3lo75M/iNg7ELVw9B4N5Ymi/8Kiy0ReROupmqsIGrtTD catY/K8jeOpmkhcy+FiCLdZogPB0HbnaANWwYooKQTY+cat5JedUXZr337z1WA4hhnxX BpDhHrBTYjTsVLwZGHNcLmVEC0lwGas1/e5sH3EEEhiWm26p4XMQfpl54GdIYpC7lNeV yg47f4pzDn2zipn481MGNxq4n8WchuPVzRIGPFzwbDdfiUGaxT9+ZqNnIqgkxOw0kWT2 OIyQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PkZn6yXg; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::42f as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to:cc: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=UDAR180WH1BaSFMlKmHesvDtR4eZo2weQzKcYQGnMS0=; b=TmU3jrq7oOLnvwyjB4SXGvPCc3h2UzByiOoa9EXQq1UBkWNORGxLV5ZasJzPX/p2Mm kD16LI2+jEtFxmYsg9Ve7GkoneqZ8/u0di8b/+SVeq4qSzFmmW0t8cODcOK7fetDHhZj 5ZEk0d3HvvJM3xXPfSh/uyw9+vv7GrrgEK245oBDC9h/ZF+CFkyjqd54IGb22It2Iua1 DPzi6gCmbENnZdT1AupGerQUi9dp/hpmbODeegqnjBA0WvzYVJKCcfDfwYiygfqfhTvL M2R/milqI7xqYJbBsjuid6Jwy43SuIX1XKyx8933RTcyDRrxkB7dyVdtrn0cFxtqIGDw XMPg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc: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=UDAR180WH1BaSFMlKmHesvDtR4eZo2weQzKcYQGnMS0=; b=a8QKFH4EFYMSNJ8YBeQKQ1hLTuAfHOD926c5f7Ow5cfGV1suq8JPACguJZh19CnyNC wLPzqxrwVDXmU09EaWdqDbm4Puk4m9KRqZyVHp9Mdi1Zi49lr4XU3z/g2HQ6UCdPbj23 H5r1XbZr7AOuvJSMjvCWFGUl70LujsBE+3Cak1ycwb7V5s4m1GmaSq7d6zdsR0YNUN9S XXvTFZyqk4zFNrV23lXvFCzkvH9TzuIm6B//kjIngsIE2gwLYMB8Qn4iut2GiVw21nD4 HlTC2W2cFCQl7IesP9u40RgkUqUZHVbHH4AAPKUqckUASfjDOWJARq4LbIWnuMOPKacA QPDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to:cc: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=UDAR180WH1BaSFMlKmHesvDtR4eZo2weQzKcYQGnMS0=; b=XZnFcRwdX6icbiJe8HQf0s71Ode9cSI0Ve0Kq4y+QEUBx41ZOWHZv02qLDCAhVOJuN Cwc4h2s0iqHjroIu7PHLEdU/tu4tT60M3MHOyxrJG4ElUkvhBAVL7LOueOMbihtR1VJ1 Zck0xuEEju0lIvhSl/dznpQJJMMYNCAC9hkzfPiOVK7YLTV5lY3SgWbyUUr+B5FmV65m hPaAObgt0eCl80t8DNqxaly+7lYTETVzKyBFoMdgJtCxExnr2ucIu+CS3muy0L55y0ii tdIGyOWbc8korUb+XjhKTU4lTb9TCWBNecTMCozBaWRotPUjJxOmPvJ+OxvpNQUCVcbb OL/g== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHQUAuYcYGXZmux4W3fiQVSTLBiQQQpbN0tQOsFGBomDhuNmOdWn26q3 szdEsdPXvl/5fzTcd7hnpk0= X-Google-Smtp-Source: AHgI3IaGNa7nbObcJGYv1+h6OtmIvYaKPtAjbTDboXTBs9EU/VFcWzS4BgPaVo6dnNXJYl5XWrNbPQ== X-Received: by 2002:adf:83c6:: with SMTP id 64mr25517wre.2.1549977111845; Tue, 12 Feb 2019 05:11:51 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a7b:ce8d:: with SMTP id q13ls378615wmj.12.canary-gmail; Tue, 12 Feb 2019 05:11:50 -0800 (PST) X-Received: by 2002:a7b:c207:: with SMTP id x7mr283558wmi.5.1549977110853; Tue, 12 Feb 2019 05:11:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549977110; cv=none; d=google.com; s=arc-20160816; b=VHoA1hOtFy7QLKuZpU5qs+VN+1+2IUDRbxwIhDSxQAkDYg5edvEZH+PM1079Ag2Iwm 7csudnyodHGMOIEAXBttJphPYdwRJvquKWMMb3T9r94S0gg/mRoEmIxBi1suRLge9VnL RKS6+9GjcRXiXIlxqcS5+x5bCHzMyS4YDQcZr3FLoLgRSSJ+YlfQiHT3TRe16fwHA5go 9QI0bzo/ny53qKJITOiuqTuWXOSLlObjD+oTLmVdft5cg7+06dBYacv33UBKuQY/2N6v 2NIWHBxLWqr4PjVcylChuo/aQj2oBjFg+Xw78gO5hxF2UfNdedczd2F18h+DyNYUA+Kw MYxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=RnZxjUaxQEW9WHCqU8jZvmD8yD0x8ySN+/eT/8vKUwQ=; b=pgAXmJweijI2yDyvmQJhh3wP6Di4DIRqBLBq8gaP1G8/HdcJYwSvY65deDluOJdEL+ AsyRurAgt7dk7Gn2Ut8YdQPRGFvatCHW5lgeZCixM47JE/Iv9dbHaDn7n6//RzisVdcs RNZ8boF7rjpzA/zmzt5awEsREFPetlc5VSoIfmUYjD3Xrwif166RySL5tH2yw2ybu94h G4nG5aWn33AmY/xOJa2u5+ZH8TGoTf06und0a+0DVS1pYqZkLhTzlGQQJ2Re2LR2un1p Q7UixioP4i3ofJ9Wr9j5fKf6xgXTlGClPbMPQ/p1I3DozMAjznhM/EHSaRj+bc01Nh/P RWdw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PkZn6yXg; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::42f as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com. [2a00:1450:4864:20::42f]) by gmr-mx.google.com with ESMTPS id t11si242577wrv.4.2019.02.12.05.11.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Feb 2019 05:11:50 -0800 (PST) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::42f as permitted sender) client-ip=2a00:1450:4864:20::42f; Original-Received: by mail-wr1-x42f.google.com with SMTP id x10so2598343wrs.8 for ; Tue, 12 Feb 2019 05:11:50 -0800 (PST) X-Received: by 2002:adf:ef8a:: with SMTP id d10mr2927676wro.321.1549977110442; Tue, 12 Feb 2019 05:11:50 -0800 (PST) In-Reply-To: X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PkZn6yXg; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::42f as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:22084 Archived-At: --00000000000013f6ee0581b22b9a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Phil, have you defined both a character style and a paragraph style for your custom style in your reference docx file? You have to do that because paragraph styles and character styles are distinct entities even if they have the same name and the same visual effect. Den m=C3=A5n 11 feb. 2019 17:50 skrev John MacFarlane : > Phil writes: > > > Thank you for the reply, John, and for this awesome tool. > > > > Originally, I was not using the styles extension because the User Guide > > makes it seem like that extension is used when docx is input, not outpu= t. > > > > Regardless, I have tried now again with -t docx+styles as you suggest > and > > am getting the same results. I have also tried adding the styles to my > > input: -f markdown+styles but get the same results. Side question, does > it > > matter whether extensions are added to the -f or -t formats? > > Answer to side question is yes. Extensions can be > applied separately to reader and writer formats. > > As for the main question, perhaps someone who uses > custom styles could answer better than I. > > -- > 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 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/yh480kftsufexq.fsf%40joh= nmacfarlane.net > . > For more options, visit https://groups.google.com/d/optout. > --=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/CADAJKhB9RJvN%2BXraZKUGvAKjdKN0jep7WONuX5D%3DbFF7mjXvkA%40ma= il.gmail.com. For more options, visit https://groups.google.com/d/optout. --00000000000013f6ee0581b22b9a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Phil, have you defined both a character style and a parag= raph style for your custom style in your reference docx file? You have to d= o that because paragraph styles and character styles are distinct entities = even if they have the same name and the same visual effect.

Den m=C3=A5n 11 feb. 2019 17:50 skrev= John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>:
Phil <phillipruppe= rt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Thank you for the reply, John, and for this awesome tool.
>
> Originally, I was not using the styles extension because the User Guid= e
> makes it seem like that extension is used when docx is input, not outp= ut.
>
> Regardless, I have tried now again with -t docx+styles as you suggest = and
> am getting the same results. I have also tried adding the styles to my=
> input: -f markdown+styles but get the same results. Side question, doe= s it
> matter whether=C2=A0 extensions are added to the -f or -t formats?

Answer to side question is yes.=C2=A0 Extensions can be
applied separately to reader and writer formats.

As for the main question, perhaps someone who uses
custom styles could answer better than I.

--
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 pandoc-discuss+unsubscribe@googlegroups.= com.
To post to this group, send email to pandoc-discuss@googlegrou= ps.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/p= andoc-discuss/yh480kftsufexq.fsf%40johnmacfarlane.net.
For more options, visit https://groups.google.com/d/op= tout.

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://gro= ups.google.com/d/msgid/pandoc-discuss/CADAJKhB9RJvN%2BXraZKUGvAKjdKN0jep7WO= NuX5D%3DbFF7mjXvkA%40mail.gmail.com.
For more options, visit http= s://groups.google.com/d/optout.
--00000000000013f6ee0581b22b9a--