* section data-background in org-mode
@ 2015-11-07 21:12 Sam Halliday
[not found] ` <c1d66ac0-36ad-42cb-9a70-175c9e0d5562-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Sam Halliday @ 2015-11-07 21:12 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 852 bytes --]
Hi all,
I'm trying to include a data-background section in my revealjs, defined in
org-mode
#+HTML: <section id="brucelee" data-background="./images/brucelee.jpg">
but this is completely ignored and missing in the output.
I'm even trying with --parse-raw.
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/c1d66ac0-36ad-42cb-9a70-175c9e0d5562%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 1438 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: section data-background in org-mode
[not found] ` <c1d66ac0-36ad-42cb-9a70-175c9e0d5562-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-11-07 21:13 ` Sam Halliday
[not found] ` <81b3ffdc-1ce6-4b7b-b158-0fa9d1a71a0e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Sam Halliday @ 2015-11-07 21:13 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1028 bytes --]
got it! pandoc doesn't support the one line #+HTML: format, just the BEGIN_
END_ one.
On Saturday, 7 November 2015 21:12:01 UTC, Sam Halliday wrote:
>
> Hi all,
>
> I'm trying to include a data-background section in my revealjs, defined in
> org-mode
>
> #+HTML: <section id="brucelee" data-background="./images/brucelee.jpg">
>
> but this is completely ignored and missing in the output.
>
> I'm even trying with --parse-raw.
>
> 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/81b3ffdc-1ce6-4b7b-b158-0fa9d1a71a0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 1753 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: section data-background in org-mode
[not found] ` <81b3ffdc-1ce6-4b7b-b158-0fa9d1a71a0e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-11-07 21:15 ` Sam Halliday
[not found] ` <8adb42fb-db8f-4d88-a143-c0966b0590fc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Sam Halliday @ 2015-11-07 21:15 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1237 bytes --]
oh, this doesn't work at all... I want the background to be added to the
current section. This is creating a new one.
On Saturday, 7 November 2015 21:13:29 UTC, Sam Halliday wrote:
>
> got it! pandoc doesn't support the one line #+HTML: format, just the
> BEGIN_ END_ one.
>
> On Saturday, 7 November 2015 21:12:01 UTC, Sam Halliday wrote:
>>
>> Hi all,
>>
>> I'm trying to include a data-background section in my revealjs, defined
>> in org-mode
>>
>> #+HTML: <section id="brucelee" data-background="./images/brucelee.jpg">
>>
>> but this is completely ignored and missing in the output.
>>
>> I'm even trying with --parse-raw.
>>
>> 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/8adb42fb-db8f-4d88-a143-c0966b0590fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 2090 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: section data-background in org-mode
[not found] ` <8adb42fb-db8f-4d88-a143-c0966b0590fc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-11-08 18:31 ` John MacFarlane
[not found] ` <20151108183159.GB47904-jF64zX8BO08aTFSqC7bH4WZHpeb/A1Y/@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: John MacFarlane @ 2015-11-08 18:31 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
You need to get the data-background attribute onto the
section heading; the revealjs writer will then put it
on the section. I don't know how you do that in org.
+++ Sam Halliday [Nov 07 15 13:15 ]:
> oh, this doesn't work at all... I want the background to be added to
> the current section. This is creating a new one.
> On Saturday, 7 November 2015 21:13:29 UTC, Sam Halliday wrote:
>
> got it! pandoc doesn't support the one line #+HTML: format, just the
> BEGIN_ END_ one.
> On Saturday, 7 November 2015 21:12:01 UTC, Sam Halliday wrote:
>
> Hi all,
> I'm trying to include a data-background section in my revealjs, defined
> in org-mode
> #+HTML: <section id="brucelee" data-background="./images/brucelee.jpg">
> but this is completely ignored and missing in the output.
> I'm even trying with --parse-raw.
> 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 [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/8adb42fb-db8f-4d88-
> a143-c0966b0590fc%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/8adb42fb-db8f-4d88-a143-c0966b0590fc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> 4. https://groups.google.com/d/optout
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: section data-background in org-mode
[not found] ` <20151108183159.GB47904-jF64zX8BO08aTFSqC7bH4WZHpeb/A1Y/@public.gmane.org>
@ 2015-11-10 15:00 ` Matt Price
0 siblings, 0 replies; 5+ messages in thread
From: Matt Price @ 2015-11-10 15:00 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 2307 bytes --]
I don't think this is immediately supported in org, though you should
probably ask directly on the org-mode list (
http://orgmode.org/community.html). You can add a class by setting the
HTML_CONTAINER_CLASS property of the heading (in Emacs, C-c C-x p
HTML_CONTAINER_CLASS), but I don't think there's a way to set
data-background.
There's a direct reveal exporter in org: https://github.com/yjwen/org-reveal
. Using this exporter you can set a reveal_extra_attr to a heading, which
may do what you want. I tried setting it to
"data-background="./images/brucelee.jpg" and that worked; but org adds id's
automagically so that part is more complicated. Org-mode list members will
likely have helpful suggestions.
m
On Sun, Nov 8, 2015 at 1:31 PM, John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> wrote:
> You need to get the data-background attribute onto the
> section heading; the revealjs writer will then put it
> on the section. I don't know how you do that in org.
>
> +++ Sam Halliday [Nov 07 15 13:15 ]:
>
>> oh, this doesn't work at all... I want the background to be added to
>> the current section. This is creating a new one.
>> On Saturday, 7 November 2015 21:13:29 UTC, Sam Halliday wrote:
>>
>> got it! pandoc doesn't support the one line #+HTML: format, just the
>> BEGIN_ END_ one.
>> On Saturday, 7 November 2015 21:12:01 UTC, Sam Halliday wrote:
>>
>> Hi all,
>> I'm trying to include a data-background section in my revealjs, defined
>> in org-mode
>> #+HTML: <section id="brucelee" data-background="./images/brucelee.jpg">
>> but this is completely ignored and missing in the output.
>> I'm even trying with --parse-raw.
>> 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/CAN_Dec8C%2Bth0tX9dSMnumx2orKBBX_FqT9M_K%2BCb%2B0wCedO-9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #2: Type: text/html, Size: 3603 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-11-10 15:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-07 21:12 section data-background in org-mode Sam Halliday
[not found] ` <c1d66ac0-36ad-42cb-9a70-175c9e0d5562-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-11-07 21:13 ` Sam Halliday
[not found] ` <81b3ffdc-1ce6-4b7b-b158-0fa9d1a71a0e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-11-07 21:15 ` Sam Halliday
[not found] ` <8adb42fb-db8f-4d88-a143-c0966b0590fc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-11-08 18:31 ` John MacFarlane
[not found] ` <20151108183159.GB47904-jF64zX8BO08aTFSqC7bH4WZHpeb/A1Y/@public.gmane.org>
2015-11-10 15:00 ` Matt Price
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).