You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Continuation of #60, the syntax for side-by-side subfigures only works when there are more than one row.
This works:
# Figures
<div id="fig:latex">
![cool caption](/tmp/LaTeX_logo.svg.png){#fig:logo1 width=40%}
![cooler caption](/tmp/LaTeX_logo.svg.png){#fig:logo2 width=40%}
![cool caption](/tmp/LaTeX_logo.svg.png){#fig:logo3 width=40%}
![cooler caption](/tmp/LaTeX_logo.svg.png){#fig:logo4 width=40%}
Copies of the LaTeX logo
</div>
Those logos are different I swear. Especially [@fig:logo1] and [@fig:logo2].
But this doesn't (I only deleted the second row of images, notice how the refs are now broken):
# Figures
<div id="fig:latex">
![cool caption](/tmp/LaTeX_logo.svg.png){#fig:logo1 width=40%}
![cooler caption](/tmp/LaTeX_logo.svg.png){#fig:logo2 width=40%}
Copies of the LaTeX logo
</div>
Those logos are different I swear. Especially [@fig:logo1] and [@fig:logo2].
The workaround I use now is to insert no-op latex $\text{}$ as a second paragraph, although it seems a HTML comment <!-- hack --> does the trick too:
# Figures
<div id="fig:latex">
![cool caption](/tmp/LaTeX_logo.svg.png){#fig:logo1 width=40%}
![cooler caption](/tmp/LaTeX_logo.svg.png){#fig:logo2 width=40%}
$\text{}$
Copies of the LaTeX logo
</div>
Those logos are different I swear. Especially [@fig:logo1] and [@fig:logo2].
Here's the command I'm using to convert from markdown to pdf:
Hi! Thanks for the report! You've actually stumbled upon a bug introduced when updating to pandoc 3.0 format. I've pushed a commit that should fix this to master. I'll try to push out a release in a bit. If you need it ASAP, you could grab artefacts from https://github.com/lierdakil/pandoc-crossref/actions/runs/4460009114 once that's done (should be within the next hour or so)
Continuation of #60, the syntax for side-by-side subfigures only works when there are more than one row.
This works:
But this doesn't (I only deleted the second row of images, notice how the refs are now broken):
The workaround I use now is to insert no-op latex
$\text{}$
as a second paragraph, although it seems a HTML comment<!-- hack -->
does the trick too:Here's the command I'm using to convert from markdown to pdf:
I'm using pandoc v3.1 and pandoc-crossref v0.3.15.1a.
The text was updated successfully, but these errors were encountered: