SVG support -- what's wrong?

413 views
Skip to first unread message

Moritz Lenz

unread,
Aug 19, 2016, 4:11:40 PM8/19/16
to leanpub
Hi all,

I tried to include an SVG image in my book https://leanpub.com/deploy/ just the same as I would with any other image:

![The GoCD agent rans Ansible to connect to the target machines via SSH to install the desired package.](images/installation.svg)

and manuscript/images/installation.svg exists, and for example Firefox renders it just fine (it's generated by LibreOffice Draw).

However in both the preview and the published output, I only get the black triangle with white exclamation mark that indicates a missing image.

The email from publishing the newest version doesn't mention the SVG image at all, so I have no idea what went wrong.

Does anybody have any idea what I might be doing wrong? Or is this a leanpub bug?

Cheers,
Moritz

Keith Ray

unread,
Aug 19, 2016, 4:32:01 PM8/19/16
to lea...@googlegroups.com
Does leanpub support SVG?

--
You received this message because you are subscribed to the Google Groups "leanpub" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leanpub+u...@googlegroups.com.
To post to this group, send email to lea...@googlegroups.com.
Visit this group at https://groups.google.com/group/leanpub.
To view this discussion on the web visit https://groups.google.com/d/msgid/leanpub/eaae0a6d-0a25-4f36-914d-2af9a9c96713%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Len Epp

unread,
Aug 19, 2016, 4:49:37 PM8/19/16
to lea...@googlegroups.com
That's correct, currently we only support JPEG and PNG images, sorry.

Kind Regards,

Len

On Fri, Aug 19, 2016 at 1:31 PM, Keith Ray <keit...@gmail.com> wrote:
Does leanpub support SVG?

On 2016 Aug 19, at 1:11 PM, Moritz Lenz <morit...@gmail.com> wrote:

Hi all,

I tried to include an SVG image in my book https://leanpub.com/deploy/ just the same as I would with any other image:

![The GoCD agent rans Ansible to connect to the target machines via SSH to install the desired package.](images/installation.svg)

and manuscript/images/installation.svg exists, and for example Firefox renders it just fine (it's generated by LibreOffice Draw).

However in both the preview and the published output, I only get the black triangle with white exclamation mark that indicates a missing image.

The email from publishing the newest version doesn't mention the SVG image at all, so I have no idea what went wrong.

Does anybody have any idea what I might be doing wrong? Or is this a leanpub bug?

Cheers,
Moritz

--
You received this message because you are subscribed to the Google Groups "leanpub" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leanpub+unsubscribe@googlegroups.com.

To post to this group, send email to lea...@googlegroups.com.
Visit this group at https://groups.google.com/group/leanpub.
To view this discussion on the web visit https://groups.google.com/d/msgid/leanpub/eaae0a6d-0a25-4f36-914d-2af9a9c96713%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "leanpub" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leanpub+unsubscribe@googlegroups.com.

To post to this group, send email to lea...@googlegroups.com.
Visit this group at https://groups.google.com/group/leanpub.

For more options, visit https://groups.google.com/d/optout.



--
Len Epp
Co-founder, Leanpub
@lenepp

Moritz Lenz

unread,
Aug 19, 2016, 5:06:55 PM8/19/16
to leanpub


On Friday, 19 August 2016 22:32:01 UTC+2, Keith Ray wrote:
Does leanpub support SVG?

I thought they only supported JPEG and PNG.


Right, it seems I've mixed up markua (which, according to the docs, supports SVG) with leanpub-flavored markdown.

An error message about an unsupported image format would be nice though.

Thanks,
Moritz
Reply all
Reply to author
Forward
0 new messages