label, caption and eps in figures?
Hello, I am struggling to get something equivalent to this in ConTeXt: --------------------------------------------------------------------- \begin{figure} \resizebox{\hsize}{!}{\includegraphics[scale=1,bb=0 0 0 0,clip] {MyFigure.eps}} \caption{My Caption \label{fig.mylabel} } \end{figure} --------------------------------------------------------------------- I am especially having difficulties with caption (I would need a bold "Fig. 1" on it) and with the label. \ref{fig.mylabel} is not recognised (see below). Also, texexec seems to not understand the eps format The closest I have got is this: --------------------------------------------------------------------- \placeexternalfigure{\externalfigure[MyFigure][label=fig.mylabel,factor=broad,method=eps] \addlegendentry{My Caption} } --------------------------------------------------------------------- Any help will be appreciated a lot Pau
Pau wrote:
Hello,
I am struggling to get something equivalent to this in ConTeXt:
--------------------------------------------------------------------- \begin{figure} \resizebox{\hsize}{!}{\includegraphics[scale=1,bb=0 0 0 0,clip] {MyFigure.eps}} \caption{My Caption \label{fig.mylabel} } \end{figure} ---------------------------------------------------------------------
I am especially having difficulties with caption (I would need a bold "Fig. 1" on it) and with the label. \ref{fig.mylabel} is not recognised (see below).
\starttext \placefigure {My Caption} {\externalfigure[MyFigure.eps][factor=broad]} \stoptext by default pdftex is used; if you use eps, best convert them to pdf first (once) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Pau