3

I am using the display inline images code from this org-display-inline-images link.`

But when i run epresent-run to present it, the images are placed in top left corner. How can i place them in the page's center (i mean, centering image both horizontally & vertically)

Css code might be like this,

.centered {
 position: absolute
  top: 50%;
  left: 50%;
}
7
  • 1
    Did you try #+ATTR_HTML: :stye your-css?
    – wvxvw
    Commented Mar 1, 2015 at 12:37
  • hi wvxvwx, i inserted image using C-u, C-c, C-l, interactive prompt. and i am not able to edit this link like in a normal text file....
    – Saravana
    Commented Mar 1, 2015 at 12:41
  • 1
    This isn't exactly what I meant. You can put #+ATTR_HTML in the Org file on the line preceding the image (I believe that images aren't embedded in text, otherwise you'd not want to center them on the screen, would you?). See here: orgmode.org/worg/org-tutorials/…
    – wvxvw
    Commented Mar 1, 2015 at 12:45
  • * Picture\n #+ATTR_HTML: style="position:absolute;top:50%;left:50%;"\n [[file:Pictures/image1.jpg]photo]] it didn't help though
    – Saravana
    Commented Mar 1, 2015 at 13:17
  • That doesn't seem like a correct syntax to me. Did you look into generated HTML to make sure the style attribute was indeed added? I think it has to be #+ATTR_HTML: :style "position ...". Note the colon before the "style".
    – wvxvw
    Commented Mar 1, 2015 at 13:25

1 Answer 1

4

Above feature is not supported by epresent.

epresent-mode (derived from org-mode) doesn't export org files to html (or) any other format. It just changes how your org document is displayed. Some parts of the document such as TODO tags and property drawers are hidden, bigger fonts are used, and only one slide at a time is displayed.`

Courtesy: @tmalsburg -git-talk

1
  • 1
    Please mark your own answer as accepted if you believe it solves your question.
    – wasamasa
    Commented Aug 2, 2015 at 19:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.