From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28779 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrew Voelkel Newsgroups: gmane.text.pandoc Subject: Re: Creating "Figure" style in docx output Date: Thu, 8 Jul 2021 16:42:35 -0700 (PDT) Message-ID: References: <27d20656-ac79-4cb4-9a69-58422c2ea32dn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_376_273141015.1625787755905" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33236"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD3L3RV5SUKRB3E2T2DQMGQEZCR4MYA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jul 09 01:42:40 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f60.google.com ([209.85.210.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1m1dfD-0008SX-Gi for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 09 Jul 2021 01:42:39 +0200 Original-Received: by mail-ot1-f60.google.com with SMTP id e7-20020a0568302007b029047bf63db9fbsf4918436otp.0 for ; Thu, 08 Jul 2021 16:42:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender: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=rbT1XAGCJtUshOy33cO5n3a28d8f82m1+6UXZHMY50A=; b=T85DyQ39/QKOaCjKJPJQDosr6+Z6a55LYOBC6ZEcqF9vXkjcn3C2V9N+FZhcE0ffxr lcWzBaCiM4QNZrJvQ/g2HT7Ukee6qBrPf3YBl2kx5faJqMkSKc6HEqfQAjbdWfep7v6Z v5tJEzhXcMsOQXKVNSmfJtacz4+CMVZ/s7tSxfuZiAw1cCAD8kuYgM1iC0JmU8otJc2f 9Znm4O8cKHgjnacUEOZawb0xyzyIxlUSPnP6WhW0gRWy2nboKqVSAta5Uof+4GLbLznC TkCAhCDTGnzSl20GwPZpMOXqou5eOcVg7lS4nS00Eclbi3lxfIYrvuKSPXDFrzAjwGOA iSHg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=rbT1XAGCJtUshOy33cO5n3a28d8f82m1+6UXZHMY50A=; b=TYd7AbMhNDjgKGuR2tYaWIbFbyUFqcPAYKEjBEsMnzNuSdVYJ9HKLlFjLDt47+H9UU 0uEhsj9aRF83IBcRRh5GSuvPI/RJ/MExCS0X2HfbjrXP1EfeTvwMpPwo7X5QrgBMEZzT o6E8RdY/Hyiwq5BgFD8sNE+WmT7TNSibQCs6RUO4Ml2JaZx2udCZhfHBInpHgsfjfcCy joZ16G4AMSvJww30u6qXdyBY2NndpwAjs126mr3BP8Y0RF4QVDhi8kmUm2LQw7iH23QQ W4az4kjCtCurwBphcWJyCz6V7u8FeYc5mwFX6bDpUl/aHXI26TInrzPhg+4qlNYTBrqb /XnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender: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=rbT1XAGCJtUshOy33cO5n3a28d8f82m1+6UXZHMY50A=; b=a03yJzyBhxIMJLWyYHqp2CmSZw6GnS0AMwjSImbZy3E4Xjfx/i7lymbry116ZVZB+j 0S+pZP8V7/LIX3PeXPJmqQJPdtwwXkgYOs2NT4ES9gLAI9MMoHY7GMunlU0n5dyAMQZc KLc0F7kSgePvxSZ9CcWGi6pvJ0EFkmg8iwyf8tQaqsNMkUYkfdTESMqVHlfro7OoKHGF hsYHjKlO3jb70vAARVAqhJqrRJha0fyXvevS1fXFwjGoWCAfZsR5gln4e1X+nIwtZRf/ Tqla0+50Yy7Eo5o5QUJTRiGK8fNqK2thH2mNEsihOQ43+ckdTs/Ea/r/ymB3/w6fctU0 UDEg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533qL5e7Or7rDZEtNSEY4npdYaVlafiW95sEBzfSZIM60oGurBWY ok5Vyh/LBo5FfWr1Gr5OCwg= X-Google-Smtp-Source: ABdhPJwaHBgXZjSGqSj+rjcha31QaxDKZyFC13WO1ntOBrtUoVyOaLB7ZlHqc4DQRGKaPn0AfH4tWA== X-Received: by 2002:a05:6830:99:: with SMTP id a25mr24700262oto.19.1625787757972; Thu, 08 Jul 2021 16:42:37 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:5f05:: with SMTP id t5ls1569710oib.3.gmail; Thu, 08 Jul 2021 16:42:36 -0700 (PDT) X-Received: by 2002:a05:6808:20a9:: with SMTP id s41mr4334518oiw.25.1625787756498; Thu, 08 Jul 2021 16:42:36 -0700 (PDT) In-Reply-To: <27d20656-ac79-4cb4-9a69-58422c2ea32dn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: jandyman.voelkel-Re5JQEeQqe8AvxtiuMwx3w@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.io gmane.text.pandoc:28779 Archived-At: ------=_Part_376_273141015.1625787755905 Content-Type: multipart/alternative; boundary="----=_Part_377_1781184364.1625787755905" ------=_Part_377_1781184364.1625787755905 Content-Type: text/plain; charset="UTF-8" UPDATE: I discovered that I can get a centered image caption by creating an Image Caption style in the docx template. That's a big relief. But I'd still like to know how to get an uncaptioned image which emits the image into the docx with the Image style instead of the Normal style. On Thursday, July 8, 2021 at 2:27:56 PM UTC-7 Andrew Voelkel wrote: > Pandoc newbie here. Very pleased with what I'm seeing for plain text > documents, including docx output using the reference-doc feature. I've also > succeeded in getting a figure in the docx output with a caption: > > ![caption](SystemDrawings.png){width=500px} > > It's problematic though since if I want a caption I want it centered like > the figure (I modified the Captioned Figure style to center, but that > doesn't center the actual caption, just the figure. It's a shame). > > So OK, I tried skipping the captions. I figured this would create a figure > with style Figure, but it doesn't, it seems to create the figure with style > Normal. Feels like I can't get there from here, but this seems like such > and obvious and normal thing to do that it surprises me. I've tried the > following, but neither works, they both create a figure with style Normal. > > ![](SystemDrawings.png){width=500px} > ![caption](SystemDrawings.png){width=500px} \ > > Is there any way to solve this issue? > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/b8286c97-446d-48d0-9fd9-f095ef9168c4n%40googlegroups.com. ------=_Part_377_1781184364.1625787755905 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

UPDATE: I discovered that I can get a centered image caption by cre= ating an Image Caption style in the docx template. That's a big relief. But= I'd still like to know how to get an uncaptioned image which emits the ima= ge into the docx with the Image style instead of the Normal style.

On Thurs= day, July 8, 2021 at 2:27:56 PM UTC-7 Andrew Voelkel wrote:
Pandoc newbie here. Very ple= ased with what I'm seeing for plain text documents, including docx outp= ut using the reference-doc feature. I've also succeeded in getting a fi= gure in the docx output with a caption:

![caption](Syste= mDrawings.png){width=3D500px}

It's problem= atic though since if I want a caption I want it centered like the figure (I= modified the Captioned Figure style to center, but that doesn't center= the actual caption, just the figure. It's a shame).

So OK, I tried skipping the captions. I figured this would create a = figure with style Figure, but it doesn't, it seems to create the figure= with style Normal. Feels like I can't get there from here, but this se= ems like such and obvious and normal thing to do that it surprises me. I= 9;ve tried the following, but neither works, they both create a figure with= style Normal.

![](SystemDrawings.png){width=3D500= px}=C2=A0
![caption](SystemDrawings.png){width=3D500px} \
=

Is there any way to solve this issue?

--
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 view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/b8286c97-446d-48d0-9fd9-f095ef9168c4n%40googlegroups.= com.
------=_Part_377_1781184364.1625787755905-- ------=_Part_376_273141015.1625787755905--