From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31071 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=27Kriszti=C3=A1n_Hofst=C3=A4dter=27_via_pandoc=2Ddiscuss?= Newsgroups: gmane.text.pandoc Subject: How can I use figure placement specifiers with Markdown, e.g. [p] for special place? Date: Sun, 24 Jul 2022 06:57:42 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1686_114782074.1658671062258" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24704"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCLPH74HTUARBV476WLAMGQEYDGXLWQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jul 24 15:57:47 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yb1-f191.google.com ([209.85.219.191]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oFc79-0006HA-6O for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 24 Jul 2022 15:57:47 +0200 Original-Received: by mail-yb1-f191.google.com with SMTP id z6-20020a056902054600b00670e3c8b43fsf4883766ybs.23 for ; Sun, 24 Jul 2022 06:57:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=syHKRxri4Dq0nwzK1gd2C8cAFO2HQS3I3MkfVgCX7eQ=; b=pjk/oirt7xwWJxMy4PMDMwKVp25aJwyX7ACujcdeyFkSbHf+zAP2z/+3QbwcKUhL/B g2+c2TxcYHkVp+3Ta3uCW2uP2QJKKWDJAzs5IEkVGFKqDHOfnGHeC0m7ydZ6nDhJBY/S u8XYHKAsR+RmBkfrE4yuHHiAEFhE4BnkPcJcV1X+YsizmjMHQNi9KRNlqiaSxkZqLyc/ GQGV/U53/Wtjhho/I8EPvv/3bc7pQ8m5HLTqtLZTEs+XF0PUc5uFnd5W/crQsoMpUMM6 35dO3Ibp9CXzrhMSW4gv5DUHmhPqr9n7d6gx7w9tPDskpB63xj1crUR5sXkjooyb7Bsc jexg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:message-id: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=syHKRxri4Dq0nwzK1gd2C8cAFO2HQS3I3MkfVgCX7eQ=; b=hh/oZ6xeAzFM8m4C6g1VtlmbIlk2W2mhzweRiYKQV8OUAgVdnwcFfXGO6iBgPXkhZE IQ1NUvenBVhf9a7rsHLWUMuEm800bXiV16DR4dvLliH2Ai3Ja2pClkMYRK/fIf1A9wyO McJJiJHCcxSTGRHtBPRXAoTpBFmYDHeJQ/FVnFHPgHIWrAqKfz8Y/8QMmGe5DaaYYnTS OE9Dm+OtQNROofqPg0HoHUYZIKk6GmemuwOjz3bcm8ssWy8VcjYgK8YMijeNVOEhqnVb QEU/Be3qCh+si2a1LJ1KJw+Rfdd+COktE6pHH8tHthpk8wrb+thK6St2BIsJT0EsRinu qUVQ== X-Gm-Message-State: AJIora+0CnZkx0zDlL64l5ci8FqzFDeqiIG3gGwP1bOD4UcNCw4A6aAu ZiT5cwd0WgUjgO3smPSex/U= X-Google-Smtp-Source: AGRyM1skza0wkzQ++ejJAgYaHgxdmA1ZYHoqknN0V3hlrYrIM/+3Wt0Ak0ZnpCdQQl61GkPPD42RaQ== X-Received: by 2002:a0d:d70e:0:b0:31e:7cec:933e with SMTP id z14-20020a0dd70e000000b0031e7cec933emr6743812ywd.406.1658671066139; Sun, 24 Jul 2022 06:57:46 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a0d:db83:0:b0:31c:60c5:dfa4 with SMTP id d125-20020a0ddb83000000b0031c60c5dfa4ls1096509ywe.8.-pod-prod-gmail; Sun, 24 Jul 2022 06:57:43 -0700 (PDT) X-Received: by 2002:a81:92ca:0:b0:31e:64a3:c646 with SMTP id j193-20020a8192ca000000b0031e64a3c646mr6746050ywg.517.1658671062962; Sun, 24 Jul 2022 06:57:42 -0700 (PDT) X-Original-Sender: tedor2-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org X-Original-From: =?UTF-8?Q?Kriszti=C3=A1n_Hofst=C3=A4dter?= 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:31071 Archived-At: ------=_Part_1686_114782074.1658671062258 Content-Type: multipart/alternative; boundary="----=_Part_1687_934525017.1658671062258" ------=_Part_1687_934525017.1658671062258 Content-Type: text/plain; charset="UTF-8" Hello! How can I use figure placement specifiers with Markdown, e.g. [p] for special place? When converting from Markdown to PDF the figure with the code below is rendered properly, however it is missing when converting to Word (docx). \begin{figure}[p] \includegraphics[width=\linewidth]{../assets/img/nf-rewards-2-alert.png} \caption{An alert protocol's electrode location (left)...} \label{fig:nf-alert} \end{figure} This works: ![An alert protocol's electrode location (left) ....](../assets/img/nf-rewards-2-alert.png){#fig:nf-alert} But I'd like to keep the [p] in for when I make PDFs. The terminal says this: Undefined cross-reference: fig:nf-alert Thanks! k -- 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/b4e6a305-f42f-4de3-8acc-4cebf83ed9ebn%40googlegroups.com. ------=_Part_1687_934525017.1658671062258 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello!

How can I use figure placement specifiers with Mar= kdown, e.g. [p] for special place?

When converting from = Markdown to PDF the figure with the code below is rendered properly, howeve= r it is missing when converting to Word (docx). 

<= div>
\begin{figure}[p]
\includegraphics[width=3D\linew= idth]{../assets/img/nf-rewards-2-alert.png}
\caption{An alert p= rotocol's electrode location (left)...}
\label{fig:nf-alert}
\end{figure}

This works: =

![An alert protocol's electrode location (left) ....](../= assets/img/nf-rewards-2-alert.png){#fig:nf-alert}

But I'd like to keep the [p] in for when I make PDFs. =

The terminal says this: 

Undefined cross-reference: fig:nf-alert

= Thanks! 

k

--
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/b4e6a305-f42f-4de3-8acc-4cebf83ed9ebn%40googlegroups.= com.
------=_Part_1687_934525017.1658671062258-- ------=_Part_1686_114782074.1658671062258--