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
Jupyter Book supports multiple image formats by allowing a wildcard in the filename fig.* which will choose from the best appropriate available image on disk.
Proposed Solution
It would be very nice if Jupyter notebooks could support this feature as well. I.e., given files like fig.png, fig.svg, and fig.pdf on disk, the following would render:
![Figure](fig.*)
<imgsrc="fig.*"/>
etc. In the browser these would render fig.svg (probably the best? If not, fig.png) while converting to LaTeX should issue code like \includegraphics{fig} which allows LaTeX to pick the fig.pdf version.
Additional context
Inspired by CoCalc Issue #6997 which would provide a way to use their Whiteboard to generate and edit such figures.
The text was updated successfully, but these errors were encountered:
Problem
Jupyter Book supports multiple image formats by allowing a wildcard in the filename
fig.*
which will choose from the best appropriate available image on disk.Proposed Solution
It would be very nice if Jupyter notebooks could support this feature as well. I.e., given files like
fig.png
,fig.svg
, andfig.pdf
on disk, the following would render:etc. In the browser these would render
fig.svg
(probably the best? If not,fig.png
) while converting to LaTeX should issue code like\includegraphics{fig}
which allows LaTeX to pick thefig.pdf
version.Additional context
Inspired by CoCalc Issue #6997 which would provide a way to use their Whiteboard to generate and edit such figures.
The text was updated successfully, but these errors were encountered: