From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/22068 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Trouble with custom styles for docx output Date: Sun, 10 Feb 2019 07:29:13 -0800 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="198327"; mail-complaints-to="usenet@blaine.gmane.org" To: Phil , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBVUGQHRQKGQEHMQTSHA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Feb 10 16:29:29 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pl1-f187.google.com ([209.85.214.187]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gsr2u-000pRb-MH for gtp-pandoc-discuss@m.gmane.org; Sun, 10 Feb 2019 16:29:29 +0100 Original-Received: by mail-pl1-f187.google.com with SMTP id 59sf5613601plc.13 for ; Sun, 10 Feb 2019 07:29:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1549812567; cv=pass; d=google.com; s=arc-20160816; b=OLvKlHYlkxYPHcPPAJNzvwj9WoNLR3pAfGb3aC8Mx03ajeMnPuJVW6uiREJhxM0JYW EgfnQi3xp4OVmesap6EOQQ2EWulZY5Ar7Y3GHcI3vxhWjbCa0JwhFYKuJdbyJucJTWR0 5fqptxskXSgkMxiFpsYwGEAsiELTKZiW9WTPU0ijCCSUxpDQmvZzqNp0P6uS7MgZkkik k4ps6u8DbZiMPqqQocZMpdbLEZBRNkHujbTsY/tjFO5YNOTYFqFACP8TXUeLNqfn2a5N Czfk53iY+dCxzWC6x2hiyouEZF6Lj1QfkY1HHccwHijNbarnPXdijU51UZrueiEjZm4Y olog== 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:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=y4y2bJ8MyqOBsYkMW2fdhtyCnkV3+z/lijxnC0w4x1M=; b=vFWDIQjBUZL2oFbmaIvxrB1sZ/XAmkr418O99HK1mZX9Lo+skKkcpWT8Ibuc2wua+N tAa/YQEN46UK6Fo5XR1XvQT8E1zJeOeVcKa1baSe/hpRRRx1Y3okv4ahynysbDP+0rcs 4Z4NZ9Fw81z60Vgz608hXhHfJr9Bypk680XIYe48ae1bwEmmfvPH3v2yx2ia7IbiD/Yz tQXTxTrvvv5TVLqiJ8Ch5sDeGOTKs4XDlc+S3GGu7tvwQQLjlRQ0zoSauYmNeibTBlq4 WLkg447Zi9DAqwL57iTljMqu12oNoXOrgf9/UWcw7fxCGxXoCdJHmCBniQ29S2pRY31n MBqQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b="amL1M/Gb"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::443 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version: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=y4y2bJ8MyqOBsYkMW2fdhtyCnkV3+z/lijxnC0w4x1M=; b=dqqWTGiqlIGu+4y+X2avG8fH8b2sMJnkXWJuxMd//2o3WD9uOkLgg2kZuotxO1q8O/ ZLz7A/PWfD8fl55XapeVcKmOdAl+lY3sb98CIEuiNQ6BU6OTdufcmat0LqbFDjbfnyR+ W/p4M3hT6ONr/PMZBxsnJeUzPsz4WgvDbwU/yM5aYIzqXvF5FJdYna1EzrKUH3MzJ5Ar pXT5Mdx60pjey9/wLXJJnwI/gyAF/6HU7JNvq5FYvGv1ONN7/5YdISnISimAK8VKXdc8 fxMJ1GhqOVz7FzOb4X7u/S9X1wuJVNpBT9ycJQF6m7VdnB+dEXnT+ph80RNTTt0Aj6tc Ezsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version: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=y4y2bJ8MyqOBsYkMW2fdhtyCnkV3+z/lijxnC0w4x1M=; b=RLW7ZMgoaWQKeR/zkfUd8ZKVwboXw/sWqNrHibCZHmAviNTaVGR8+PVvU2vC+qldqH 5X4jLrIGntsR/NeGL6kKzUWc33g6xHy9eovzd0GukYKmiTS1qUIXtAqxAOtey+6Q8H0C CyFMJYOzMDfwVOJzXJJYZ0hlSPOb4fgnehidZRZRE/ShGoGWv0uX9eonLCaOEXN0HJuD 5ZjKc6cBlbB6Vl24F4ZsFGlYx7CAxl8OVcxGu0qI5t+kw+oVP0ax7l7co2SjU3vKckVC 4B+xW/33Mf/gjCSYt3u+au+HNWBK1jmrfvuir+IU6GbAqdx7acLFqeUhyD0ojqId0cae UH/A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHQUAuby2Gxr6W0CzRLaMYVqOnE6Z+MGWZoYLhbsdCWUD97sudaSBDEX PsUv2mOp+U8TW8O98L7Sjz8= X-Google-Smtp-Source: AHgI3IZsOmxKiaDrdYPRPAGiBhCHVxOkuFsP9M7B666Cwkr5vjSfgTYPXdJuYiySku9Dd9iZQOkBiA== X-Received: by 2002:a17:902:8201:: with SMTP id x1mr27153pln.0.1549812567094; Sun, 10 Feb 2019 07:29:27 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:902:1a6:: with SMTP id b35ls5570840plb.6.gmail; Sun, 10 Feb 2019 07:29:26 -0800 (PST) X-Received: by 2002:a17:902:768a:: with SMTP id m10mr1638054pll.103.1549812566250; Sun, 10 Feb 2019 07:29:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549812566; cv=none; d=google.com; s=arc-20160816; b=qQ1V5wpClpy6880fqfPM61JEFywLn+xJZZmAZBiKxkxPhtLG/beIpuyZDb8oS9KDmL OSrYv4l2vzFXzn/apjbsPxPvStPJzcOTxIvajthl0V3bhHGokvypeSLO7xpeL5CLavs/ Aipr9hklS6UEH3gDQksVI7QmkHnNHVJGQ9ip7NML55FJsnfQdfuSd6iKlCEdKdTXuJJj MRM+jCaxbqVbumMfGsRdGjE09cIPKsYjS7bwvv4LbWG/ga81Y8AWYzdtP1/34Ydkq80t olFx+DwEHzLz6VmbUWr+9Uz9KmgbxVz2nmG1h8ooh3xMi4mrvnNQI+3ud5i7Y2a05D09 U1gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=K2B6txYSofBdpQ7JKJ1cnH1I1rfFwN14iWxgN9k5rqg=; b=jHZmYJyPU975YjqYaogevsHfrsyy47XYw34sK8dIBGoTbqAiOQg5345h+qWDpdpV+z LhZoQWf8TTGu3k1QUpQowvg6jo+7JqgTd0mExx5BO0NYdMjX/0bl2OO1YFHHmcjm8bEC 3l2dPA5BTGYJsZZ1c82trRX41MZSrDozjSOo4i8p/BMCm71/92VT7NUvqi/V5EeOPOhV MMFLtJPvAPsobAJSengO4Rk/4bPdb5yKZ/4IOPPgooEwIlBLVjn/4HmrfNyGLIGwtdzo EEkJyDh7e5eh/ntGq7yY8WkxP+RxlpDL6F/6Nr2F8Dus7r42B2GEPLh35tWSVsPedOFk Rdmw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b="amL1M/Gb"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::443 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com. [2607:f8b0:4864:20::443]) by gmr-mx.google.com with ESMTPS id g25si358818pfe.1.2019.02.10.07.29.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Feb 2019 07:29:26 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::443 as permitted sender) client-ip=2607:f8b0:4864:20::443; Original-Received: by mail-pf1-x443.google.com with SMTP id j18so4039208pfe.1 for ; Sun, 10 Feb 2019 07:29:26 -0800 (PST) X-Received: by 2002:a65:514c:: with SMTP id g12mr29539628pgq.169.1549812565441; Sun, 10 Feb 2019 07:29:25 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id m188sm2404756pfm.53.2019.02.10.07.29.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 10 Feb 2019 07:29:24 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id AF62CA177; Sun, 10 Feb 2019 10:29:13 -0500 (EST) In-Reply-To: X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b="amL1M/Gb"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::443 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org 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:22068 Archived-At: Did you specify the styles extension (-t docx+styles) on the command line? Phil writes: > On Pandoc 2.6, I am converting from markdown to docx. I am trying to learn > and use the custom styles for docx output and am getting some odd behavior. > I am using the examples text straight from the Pandoc User Guide. I have > only substituted the name of my custom style that is defined in my > reference.docx. > > Just placing the following in my markdown file results in no styled text: > [Get out]{custom-style="greyBackground"}, he said. > > But placing this in my markdown file results in styled text: > ::: {custom-style="greyBackground"} > | A Bird came down the Walk--- > | He did not know I saw--- > ::: > > And placing both of the following contiguously in my markdown file results > in neither having the styled text: > [Get out]{custom-style="greyBackground"}, he said. > > ::: {custom-style="greyBackground"} > | A Bird came down the Walk--- > | He did not know I saw--- > ::: > > Am I doing something wrong with the bracketed span style? Not sure what it > could be since I am copying nearly directly from the example in the user > guide. Is this a bug, or is there some trick or consideration I am not > getting? > > Thanks. > Phil > > -- > 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/b8fd20bf-bb08-46e5-a6d7-7decfd41e91a%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout.