From: John Muccigrosso <jmuccigr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Embed only local resources
Date: Wed, 3 May 2017 07:23:33 -0700 (PDT) [thread overview]
Message-ID: <ae8a3f79-e411-4164-8761-621c2dff5b4c@googlegroups.com> (raw)
In-Reply-To: <20170503100313.GD17566-BKjuZOBx5Kn2N3qrpRCZGbhGAdq7xJNKhPhL2mjWHbk@public.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 1615 bytes --]
I have to say that including only local resources would be nice for me too,
and here I mean both images and css.
On Wednesday, May 3, 2017 at 6:04:08 AM UTC-4, John MacFarlane wrote:
>
> If you just want to embed a css file, you could try using
> --include-in-header. (In this case, you'd need to include
> the <style> and </style> tags in the css file, or put them
> in separate files and use --include-in-header to include
> them all in the right order.) ALternatively you could use
> a custom template with
>
> <style>
> $mycss$
> </style>
>
> and fill the variable with
>
> pandoc --template mytemplate.html -Vmycss="$(cat mystyles.css)"
>
Is there any way to do this in the YAML or does it have to be a command
switch? (I suspect not.)
> Also see the manual under --self-contained:
>
> > Elements with the attribute `data-external="1"` will be
> > left alone; the documents they link to will not be
> > incorporated in the document.
>
Does this work for any output format then and not just ePub?
--
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/ae8a3f79-e411-4164-8761-621c2dff5b4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 2455 bytes --]
next prev parent reply other threads:[~2017-05-03 14:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-01 14:01 news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA
[not found] ` <1d0ca262-3738-4347-86d3-9349f90e89f2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-05-03 3:37 ` news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA
[not found] ` <cedd1e1e-92f0-4e4b-936f-70a58bee7015-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-05-03 10:03 ` John MacFarlane
[not found] ` <20170503100313.GD17566-BKjuZOBx5Kn2N3qrpRCZGbhGAdq7xJNKhPhL2mjWHbk@public.gmane.org>
2017-05-03 14:23 ` John Muccigrosso [this message]
2017-05-03 21:48 ` news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA
[not found] ` <9fbdd60c-e18b-4608-b995-43fd88843c6d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-05-04 9:25 ` John MacFarlane
[not found] ` <20170504092534.GB31522-BKjuZOBx5Kn2N3qrpRCZGbhGAdq7xJNKhPhL2mjWHbk@public.gmane.org>
2017-05-04 10:31 ` news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA
[not found] ` <8fcc4e38-d544-43c8-8e70-c384794ea6e8-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-05-04 11:51 ` John MacFarlane
[not found] ` <20170504115133.GA35192-BKjuZOBx5Kn2N3qrpRCZGbhGAdq7xJNKhPhL2mjWHbk@public.gmane.org>
2017-05-05 9:33 ` news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA
[not found] ` <6fb6810d-c9a6-4829-905a-95856f5bef54-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-05-05 9:41 ` John MacFarlane
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=ae8a3f79-e411-4164-8761-621c2dff5b4c@googlegroups.com \
--to=jmuccigr-re5jqeeqqe8avxtiumwx3w@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).