public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Using package 'float' for extension 'implicit_figures' when producing pdf
@ 2017-08-09  9:22 Georg Felbinger
       [not found] ` <7da00998-ad4a-4b25-890c-2dd549409dfc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Georg Felbinger @ 2017-08-09  9:22 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1201 bytes --]

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 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/7da00998-ad4a-4b25-890c-2dd549409dfc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 2781 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Using package 'float' for extension 'implicit_figures' when producing pdf
       [not found] ` <7da00998-ad4a-4b25-890c-2dd549409dfc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-08-14 16:54   ` John MACFARLANE
  0 siblings, 0 replies; 2+ messages in thread
From: John MACFARLANE @ 2017-08-14 16:54 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-14 16:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-09  9:22 Using package 'float' for extension 'implicit_figures' when producing pdf Georg Felbinger
     [not found] ` <7da00998-ad4a-4b25-890c-2dd549409dfc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-08-14 16:54   ` John MACFARLANE

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).