Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access local figure for .main-img-left or .main-img-right #119

Open
joshuawlambert opened this issue Feb 11, 2020 · 2 comments
Open

Access local figure for .main-img-left or .main-img-right #119

joshuawlambert opened this issue Feb 11, 2020 · 2 comments

Comments

@joshuawlambert
Copy link

joshuawlambert commented Feb 11, 2020

I'm trying to use a .png file within a sub-directory of my posterdown project. Unfortunately, I can't seem to get the poster to knit with the figure. I am working on Rstudio Server and am using the CRAN version of posterdown.

Here is what I am using:

---
title: "Example"
author:
  - name: Josh
column_numbers: 3
logoleft_name: '![](tmp.png){.main-img-left}'
output: 
  posterdown::posterdown_html:
    self_contained: false
bibliography: packages.bib
---

Thank you.

@joshuawlambert
Copy link
Author

Update:

Installed latest version of pandoc and updated posterdown to github version. Still no luck. Going from posterdown_html to posterdown_betterland fixes the issue, although I do not want to use that layout. In the mean time, I uploaded the picture to my github and am using the url to access the file.

brentthorne added a commit that referenced this issue Feb 17, 2020
@brentthorne
Copy link
Owner

brentthorne commented Feb 18, 2020

Hi @joshuawlambert thanks for using posterdown!

I found a sneaky unwanted space for the posterdown_html left logo implementation and have fixed it here.

Thanks for the heads up on this and please let me know if this worked out for you!

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants