public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: jeremy theler <jeremy-24em0bpozeFWk0Htik3J/w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Q: How do I preserve image order
Date: Wed, 13 Apr 2022 09:37:13 -0300	[thread overview]
Message-ID: <CAK0LiynQoux-7W7FUjGjLtP1mx83NbO=XVFjYZxXqEJybY93aw@mail.gmail.com> (raw)
In-Reply-To: <0a1b7f7f-6a14-43cd-8348-3dbe2202bd51n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2439 bytes --]

Issue a \clearpage command before opening a new section

On Mon, Apr 11, 2022, 07:57 PowerUser <blakelysnorth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> Hello fellow pandoc users and developers!
>
> I am using pandoc to compile markdown files to PDF files for an
> engineering class I'm taking. For all of our work, we have to adhere to
> certain standards. Two of the things we are required to do are:
>
> a) Label and caption figures like this- "*Figure N: Description*"
> b) Keep things in the correct sections of the document
>
> The problem is, I can only figure out how to do one of these things at a
> time with pandoc, and I was wondering if I could get some help doing both
> of them at once.
>
>
> Here's what I'm doing:
>
> To get captions, I just embed the image like so:
> ![*Multi-meter wired in parallel for measuring volts*](./volts.svg)
>
> However, if I do it like this, pandoc groups the images together and puts
> them on their own page at the end of the document, violating rule b.
>
> If I want to not violate rule b, I have discovered (thanks to
> stackoverflow <https://stackoverflow.com/a/61486059>) I can compile the
> document with the -f markdown-implicit_figures option. The problem with
> this is it deletes the captions, so I violate rule a.
>
>
> Is there a way I can embed images in my PDF while having them appear where
> I embed them in markdown file and keep their captions?
>
> Thanks,
> Blake
>
> --
> 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/0a1b7f7f-6a14-43cd-8348-3dbe2202bd51n%40googlegroups.com
> <https://groups.google.com/d/msgid/pandoc-discuss/0a1b7f7f-6a14-43cd-8348-3dbe2202bd51n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAK0LiynQoux-7W7FUjGjLtP1mx83NbO%3DXVFjYZxXqEJybY93aw%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 4102 bytes --]

      parent reply	other threads:[~2022-04-13 12:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-11 10:57 PowerUser
     [not found] ` <0a1b7f7f-6a14-43cd-8348-3dbe2202bd51n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-04-11 11:11   ` AW: " denis.maier-NSENcxR/0n0
2022-04-13 12:37   ` jeremy theler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAK0LiynQoux-7W7FUjGjLtP1mx83NbO=XVFjYZxXqEJybY93aw@mail.gmail.com' \
    --to=jeremy-24em0bpozefwk0htik3j/w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).