-
Notifications
You must be signed in to change notification settings - Fork 31
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
missing example-image.pdf #49
Comments
Hello @marc-medley, this exploits a special feature of TeX: if an image is not present in the current directory, TeX will search the TeX distribution using the kpathsea library. Loading LaTeX document classes and packages uses the same mechanism. As suggested by the image title, the image |
@Witiko Hmm... Interesting TeX feature. Works ok on my TeX setup. Although, not originally expect to be missing when previewing in a couple different markdown editors. Suggestion: It would be generally helpful to a have a brief explanation (like a summary of the above reply) added to As an aside, I found that MacDown would render the Thanks for the info. |
Hello I want to ask if there is a way to add captions in the figure, markdown does not natively support captions and working with html creates a mess and do not render figures only displays the raw text. I want fo include my figures created in markdown in the \listoffigures |
Hello @rafaelzemog, markdown supports image titles and the default LaTeX image renderer uses image titles for figure captions. The only disadvantage is that you cannot format the captions (e.g. use emphasis, code spans, or any other inline markup): \documentclass{article}
\usepackage{markdown}
\begin{document}
\begin{markdown}
![example image](example-image.pdf "An example image from Martin Scharrer's mwe package")
\end{markdown}
\end{document} As we discussed in #32, you can prevent the images from floating as follows: \usepackage{float}
\makeatletter
\renewcommand*{\fps@figure}{H}
\makeatother In the future, please consider creating your own issue if no related issue is open. This will make it easier for other users to find an answer to the same question. 😉 |
Thankyou for your support |
The file
example-image.pdf
referenced byexamples/example.md
is not present in/markdown/master/examples
. Not sure if intentional or an oversight.see https://raw.githubusercontent.com/Witiko/markdown/master/examples/example.md
The text was updated successfully, but these errors were encountered: