-
Notifications
You must be signed in to change notification settings - Fork 77
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
Extra dot at the end of the figure caption #421
Comments
I found my answer here /issues/225 although I don’t have subfigures, div are used for them, so I didn’t immediately pay attention to this. |
There's no :::{#fig:foo}
![Caption 1](img.png){#fig:bar}
Caption2
::: What's this? A figure with caption "Caption2" and identifier Divs with figures are interpreted as a subfigure environment. You can set some options to make it look less like a subfigure, but you'll likely have issues converting to LaTeX. IDK what you're using to generate images from |
If you're using https://github.com/timofurrer/pandoc-plantuml-filter, then something like this should work: ```{#fig:figure1 .plantuml caption="Complex diagram!"}
@startuml
[producer] -> [consumer]: data
@enduml
``` |
I use filter https://github.com/mikewootc/pandoc-plantuml-filter-ng. |
Yeah, pandoc-plantuml-filter-ng always inserts a figure with an empty caption and identifier, as is evident from looking at the code. You can try creating an issue there, it's a relatively easy fix 🤷 |
I generate a doc file via pandoc and use the crossref filter to link to pictures. For a regular drawing I get a signature without a dot.
But sometimes I link to images that I get through UML transformation.
Example 2:
The signature is inserted, but at the end I get a dot. Why is there such a problem with div signatures? I don't need a dot. How can I remove it?
The text was updated successfully, but these errors were encountered: