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

Figure/Table Caption Number Error when $body$ is placed within a <div> #62

Closed
brentthorne opened this issue Feb 3, 2019 · 2 comments
Closed

Comments

@brentthorne
Copy link
Contributor

Hello,

I am working on some new templates to possibly add to pagedown and noticed that figure and table caption numbering does not work when $body$ is placed inside of a <div> html tag. I have tested this with the pagedown::poster_jacobs. The change to the html file is minimal:

<div class='poster-body'>
$body$
</div>

This results in only the fig/tab label plus it's number missing, the caption itself is still working as intended. I would like to use this to format CSS options dynamically and while being able to differentiate the poster body from the poster title.

Looking forward to feedback thanks!

@RLesur
Copy link
Collaborator

RLesur commented Feb 4, 2019

Hello @brentthorne ,

I haven't understood how to reproduce the issue: I tried several things and wasn't able to get the issue.
Could you post a reproducible example, please?

Thanks!

@brentthorne
Copy link
Contributor Author

Hmm this is odd, I am not able to reproduce the problem either. Not sure why it was happening yesterday but I guess for now it is not a problem!

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