public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MACFARLANE <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Using package 'float' for extension 'implicit_figures' when producing pdf
Date: Mon, 14 Aug 2017 09:54:11 -0700	[thread overview]
Message-ID: <20170814165411.GB66286@protagoras.berkeley.edu> (raw)
In-Reply-To: <7da00998-ad4a-4b25-890c-2dd549409dfc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

Currently there's no way to do this.  In principle we could
make the output sensitive to a 'float-position' attribute,
so you could do

     ![this is the caption](path/to/image){float-position=H}

or something like that.  But this would require a code
change.

+++ Georg Felbinger [Aug 09 17 02:22 ]:
>   Hello,
>   I am using the 'implicit_figures' extension to insert image figures
>   into an pdf document, like so:
>
>     ![this is the caption](path/to/image)
>
>   As expected, pandoc generates latex code like this:
>
>     \begin{figure}
>
>     \centering
>
>     \includegraphics{path/to/image}
>
>     \caption{this is the caption}
>
>     \end{figure}
>
>   Now I want to use the package 'float' to add the 'H' option to the
>   figure for positioning purposes. Is there a way to add options to an
>   image, to produce latex code like this?
>
>     \begin{figure}[H]
>     \centering
>     \includegraphics{path/to/image}
>     \caption{this is the caption}
>     \end{figure}
>
>   Thanks in advance,
>   Georg
>
>   --
>   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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To view this discussion on the web visit
>   [3]https://groups.google.com/d/msgid/pandoc-discuss/7da00998-ad4a-4b25-
>   890c-2dd549409dfc%40googlegroups.com.
>   For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
>   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   3. https://groups.google.com/d/msgid/pandoc-discuss/7da00998-ad4a-4b25-890c-2dd549409dfc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>   4. https://groups.google.com/d/optout


      parent reply	other threads:[~2017-08-14 16:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-09  9:22 Georg Felbinger
     [not found] ` <7da00998-ad4a-4b25-890c-2dd549409dfc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-08-14 16:54   ` John MACFARLANE [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=20170814165411.GB66286@protagoras.berkeley.edu \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@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).