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 08:55:52 -0600 [thread overview]
Message-ID: <CA+M2ft-WWFnkjwJ6MTSaMbSzqyEBVKK6pwvOHFcZ11A4QJoRzw@mail.gmail.com> (raw)
In-Reply-To: <CAOQHXPoxeAvU7zrX79NTiemt=obOj+5sr-K33SdG1B-Lo9M8JQ@mail.gmail.com>
On Thu, Dec 3, 2015 at 3:07 AM, Xebar Saram <zeltakc@gmail.com> wrote:
> Thx John (again sorry for late response)
>
> the html block example dosent seem to work for me , i tried adding the block
> before the first header and below the first header with no success. does
> this go into the property drawer or literally as a html code block?'
Again, if I'm understanding what you want to do correctly (left-align
slides, right?), this is working for me:
#+begin_src min-config
;; set load paths
;; set load dirs and global config options
(add-to-list 'load-path "~/.elisp/org.git/lisp/")
(add-to-list 'load-path "~/.elisp/org.git/contrib/lisp")
(add-to-list 'load-path "~/.elisp/org-reveal/")
(require 'ox-reveal)
(setq org-reveal-root "file:///home/jwhendy/installed/reveal.js")
#+end_src
#+begin_src revea-test.org
#+title: org-reveal test
#+author: John Henderson
#+email:
#+reveal_hlevel: 1
#+begin_html
<style type="text/css">
.reveal .slides { text-align: left; }
.reveal .slides .section>* { margin-left: 0; margin-right: 0; }
</style>
#+end_html
* Slide 1
Some stuff
* Slide 2
Some more stuff
** Sub slide
Even more stuff!
#+end_src
Can you give that a try?
Oh wow! I just scanned below to check for differences in the html
block... So sorry! It looks like I completely missed the <style> tags,
which would probably explain why it doesn't get picked up as anything
meaningful. Really sorry, and hope the above helps out.
John
>
> best
>
> Z
>
> On Mon, Nov 23, 2015 at 4:55 AM, John Hendy <jw.hendy@gmail.com> wrote:
>>
>> On Sun, Nov 22, 2015 at 3:58 PM, Matt Price <moptop99@gmail.com> wrote:
>> >
>> >
[snip]
>>
>> I'm not sure if this is the same desired result, but I recently played
>> around with org-reveal and wanted it left-aligned, ending up finding
>> this:
>> -
>> http://stackoverflow.com/questions/21019476/how-can-i-get-left-justified-paragraphs-in-reveal-js
>>
>> So I added this before my first headline:
>>
>> #+begin_html
>> .reveal .slides { text-align: left; }
>> .reveal .slides .section>* { margin-left: 0; margin-right: 0; }
>> #+end_html
>>
>> Seems to work for my whole exported document, though again, I'm not
>> sure if that was exactly what you were trying to do (absolutely
>> everything seems to be left aligned now, title slide included).
>>
>>
>> John
>>
>>
>> > HTH,
>> > Matt
>> >
>
>
next prev parent reply other threads:[~2015-12-04 14:55 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 [this message]
2015-12-04 15:49 ` Xebar Saram
2015-12-04 18:52 ` John Hendy
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+M2ft-WWFnkjwJ6MTSaMbSzqyEBVKK6pwvOHFcZ11A4QJoRzw@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).