-
Notifications
You must be signed in to change notification settings - Fork 74
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 tab not displaying #206
Comments
I was able to reproduce the what you described using the attached documents. Firstly, it was confusing to understand why it is that one document would show the Figures tab and the other would not show the tab. I eventually found a difference: in your Secondly, I spent a bit of time looking for why the simple If you could please take a look at the figure captions you have and whether you would be able to add paragraphs. If not, it may require some changes to the base Lens code or you may need to create some figure enhancements using the |
Actually, armed with those details I did another search and I found at least one eLife example which also does not show the Figures tab, https://lens.elifesciences.org/00639/ I would consider this a bug and not an issue with the XML itself. I will prioritise getting a code fix for this. Thanks for reporting @i-a-n-m! |
Thanks for that. However, adding However, the figures tab does appear just by adding In case that helps the bug hunting. Ian |
Looks like tags got stripped out of my post. I wanted to say that adding |
Please let me describe what I found in a different way in case it was confusing. It seems like the reason why The Figures tab did appear for file
|
OK, thanks, I understand now. Sorry for my confusing answer; the stripping out of the tags totally messed it up! |
Hi did anyone find a solution to this I'm interested in showing figures when they don't have child caption elements (ie make caption element optional) , but I'm unsure how to override the figure class to achieve this? |
Fixed in PR #223 for eLife's example. Considering the age of the original issue, I'm not sure if the original poster would like to see if it fixes their issue(s) too. I'll close this issue for now as fixed. |
lens.zip
We are experimenting with XML for one of our journals and hope to use Lens to display it. We have two test files (attached).
I01_a1.xml displays fine. I01_a2.xml also displays, but without the Figures tab even though it has three figures. I have compared both files a number of times and cannot see anything to indicate why a2 doesn't show the figures. Interestingly, if I delete the figure files for a1 (just trying many options!), the Figure tab shows in Lens, just without any images, so, it would appear not to be related to the presence or absence of the figure files.
If anyone can help work out what's going on, I would be most grateful.
Ian
The text was updated successfully, but these errors were encountered: