public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* relative URLs in a reveal.js output
@ 2016-01-23 18:13 Sam Halliday
       [not found] ` <520256b2-9630-4dad-a848-07ebc665812a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Sam Halliday @ 2016-01-23 18:13 UTC (permalink / raw)
  To: pandoc-discuss


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

Hi all,

I am including some relative paths to my images in an org-mode file that is 
processed by pandoc into reveal.js.

The images look like

  [[file:images/architecture.png]]

which have been generated from an org-mode ditaa run, and are processed into

<img src="file:images/architecture.png" alt="" />

is there any way to make it output 

<img src="images/architecture.png" alt="" />

or must I manually edit the RESULTS part?

Best regards,
Sam

-- 
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/520256b2-9630-4dad-a848-07ebc665812a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: relative URLs in a reveal.js output
       [not found] ` <520256b2-9630-4dad-a848-07ebc665812a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2016-01-23 22:18   ` John MacFarlane
  2016-05-08 17:00   ` Albert Krewinkel
  1 sibling, 0 replies; 3+ messages in thread
From: John MacFarlane @ 2016-01-23 22:18 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

+++ Sam Halliday [Jan 23 16 10:13 ]:
>   Hi all,
>   I am including some relative paths to my images in an org-mode file
>   that is processed by pandoc into reveal.js.
>   The images look like
>     [[file:images/architecture.png]]
>   which have been generated from an org-mode ditaa run, and are processed
>   into
>   <img src="file:images/architecture.png" alt="" />
>   is there any way to make it output
>   <img src="images/architecture.png" alt="" />
>   or must I manually edit the RESULTS part?

You could write a simple filter (or just use sed on the
output).


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

* Re: relative URLs in a reveal.js output
       [not found] ` <520256b2-9630-4dad-a848-07ebc665812a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2016-01-23 22:18   ` John MacFarlane
@ 2016-05-08 17:00   ` Albert Krewinkel
  1 sibling, 0 replies; 3+ messages in thread
From: Albert Krewinkel @ 2016-05-08 17:00 UTC (permalink / raw)
  To: pandoc-discuss


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

Sorry for the reply, I'm not following this list very regularly.  I believe 
this specific issue has been solved in PR #2691 
<https://github.com/jgm/pandoc/pull/2691>.  Things should be fine in 
version 1.17 and onwards.

On Saturday, January 23, 2016 at 7:13:23 PM UTC+1, Sam Halliday wrote:
>
> Hi all,
>
> I am including some relative paths to my images in an org-mode file that 
> is processed by pandoc into reveal.js.
>
> The images look like
>
>   [[file:images/architecture.png]]
>
> which have been generated from an org-mode ditaa run, and are processed 
> into
>
> <img src="file:images/architecture.png" alt="" />
>
> is there any way to make it output 
>
> <img src="images/architecture.png" alt="" />
>
> or must I manually edit the RESULTS part?
>
> Best regards,
> Sam
>

-- 
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/ed1d247d-9673-4474-aa93-91bb3247f00b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

end of thread, other threads:[~2016-05-08 17:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-23 18:13 relative URLs in a reveal.js output Sam Halliday
     [not found] ` <520256b2-9630-4dad-a848-07ebc665812a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-01-23 22:18   ` John MacFarlane
2016-05-08 17:00   ` Albert Krewinkel

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