How to prevent image unit conversion? #6235
-
DescriptionIs there a simple way of preventing the getting converted to inches in latex: \begin{figure}[t]
{\centering \includegraphics[width=\textwidth,height=1.5in]{empty.pdf}}
\caption{\label{fig-fig1}This is the sample figure caption.}
\end{figure} The motivation is getting a latex template that is identical to the journal's provided template. These small changes, although not semantically different, do make an automatic file comparison between templates a lot more difficult. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
This is Pandoc doing the conversion
and I believe because |
Beta Was this translation helpful? Give feedback.
-
Done: jgm/pandoc#8957. |
Beta Was this translation helpful? Give feedback.
-
It seems next Pandoc will support Point and Pica as units: jgm/pandoc@ce6ef5c |
Beta Was this translation helpful? Give feedback.
Learnt something thanks !
Then you should open an issue in Pandoc about this, so that this units is kept around for LaTeX outputs. https://github.com/jgm/pandoc/issues