Yes, it theoretically possible. But the problem is that the correct link to the picture (mygig.jpg) is not easy to get. What’s more, since we need to upload the picture to wp server, and I leave it to the user to modify the figure environment manually.
-
This reply was modified 9 years, 3 months ago by
Van Abel.
-
This reply was modified 9 years, 3 months ago by
Van Abel.
Let’s say the picture ‘mygig.jpg’ is already uploaded on wp server and I’ve got the absolute path to it (i.e. the full URL) ?
-
This reply was modified 9 years, 3 months ago by
sekisushai.
I mean it is hard to tell latex2html the URL of the uploaded file. But after a investigation, this is possible. So maybe in the next version (in the next few weeks), we can expect it can process the figure environment.
I have added the new feature of supporting figure environments, you can have a test as:
\begin{figure}[!htbp]
\centering
\includegraphics{myfig.png}
\caption{Just a test}
\label{myfig}
\end{figure}
From the \autoref{myfig} we can see…
Welcome to feedback!
It’s working great !
However the path to myfig.png, should be relative to the current page address. Is it possible to tweak this for an absolute url address ?
Anyway, this is great, thank you so much !
Yes, the current path for figures are the relative path, which is more reasonable. Since the users hardly need to change the code of LaTeX to make this work, they only need to upload the figures file when the post are created.
I can’t imagine any situation to change it to absolute url, but if there is, then I can set it as a new option.