From: John Hendy <jw.hendy@gmail.com>
To: Xebar Saram <zeltakc@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: org-reveal questions
Date: Fri, 4 Dec 2015 12:52:36 -0600 [thread overview]
Message-ID: <CA+M2ft8fCjSPogaLuvem0a6o3DSTSm=SxP07Bena=zZrXKCg6w@mail.gmail.com> (raw)
In-Reply-To: <CAOQHXPpQoBdYGpM+Xm73X2gGGeoqZjKtihZMwxdiHp=axDJTPA@mail.gmail.com>
On Fri, Dec 4, 2015 at 9:49 AM, Xebar Saram <zeltakc@gmail.com> wrote:
> Thx John
>
> yes that works now. The issue that still stands is whether i can still
> change specific headers and or specific lines to not be left aligned while
> using the left alignment as the default presentation wide
Sorry, I missed that this was the goal. I don't know. I tried Matt's
suggestion of the :HTML_CONTAINER_CLASS: property, but I think the
problem is that not all of the ox-html stuff translates to org-reveal.
For example, when I view the page source for my generated .html from
org-reveal export, there's no class passed to the target
section/slide/headline (whatever one wants to call it).
For example, I'm using this example:
#+begin_org
* Class test
:PROPERTIES:
:HTML_CONTAINER_CLASS: test
:END:
Text here.
#+end_org
I get these results:
=C-c C-e h h= yields (note =test= class passed to div):
<div id="outline-container-orgheadline1" class="outline-2 test">
<h2 id="orgheadline1"><span class="section-number-2">1</span> Class test</h2>
<div class="outline-text-2" id="text-1">
<p>
Text here.
</p>
</div>
</div>
=C-c C-e R R= yields:
<section>
<section id="slide-orgheadline1">
<h2 id="orgheadline1"><span class="section-number-2">1</span> Class test</h2>
<p>
Text here.
</p>
</section>
</section>
There's no "test" class added to the sections in reveal export, so
none of the targeted css is going to work. Super hokey, but if you
have the whole document left-aligned as with my previous <style> code,
this works:
#+reveal_html: <center>
Test of centered text
#+reveal_html: </center>
Again, pretty lame, but it centers within a left-aligned document.
John
>
> best
>
> Z
> On Fri, Dec 4, 2015 at 4:55 PM, John Hendy <jw.hendy@gmail.com> wrote:
>>
>> John
>
>
>
next prev parent reply other threads:[~2015-12-04 18:52 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-23 5:16 org-reveal questions Xebar Saram
2015-10-23 6:18 ` Eric S Fraga
2015-10-23 6:45 ` Xebar Saram
2015-10-23 8:39 ` Eric S Fraga
2015-10-23 9:09 ` Fabrice Popineau
2015-10-23 9:20 ` Xebar Saram
2015-10-23 14:58 ` Matt Lundin
2015-10-23 16:08 ` Matt Price
2015-11-22 14:25 ` Xebar Saram
2015-11-22 15:50 ` Eric S Fraga
2015-11-22 16:47 ` Xebar Saram
2015-11-22 21:58 ` Matt Price
2015-11-23 2:55 ` John Hendy
2015-12-03 9:07 ` Xebar Saram
2015-12-04 14:55 ` John Hendy
2015-12-04 15:49 ` Xebar Saram
2015-12-04 18:52 ` John Hendy [this message]
2015-12-03 9:10 ` Xebar Saram
2015-10-23 13:27 ` Andreas Leha
2015-10-23 16:15 ` Matt Price
2015-10-25 20:46 ` Eric S Fraga
2015-10-25 22:01 ` Matt Price
2015-10-26 16:34 ` Matt Price
2015-10-27 14:41 ` Eric S Fraga
2015-10-26 15:43 ` Xebar Saram
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+M2ft8fCjSPogaLuvem0a6o3DSTSm=SxP07Bena=zZrXKCg6w@mail.gmail.com' \
--to=jw.hendy@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=zeltakc@gmail.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).