acl-org / acl-style-files

Official style files for papers submitted to venues of the Association for Computational Linguistics
700 stars 173 forks source link

Cannot add svg images due to no inkscape #36

Closed quang-anh-nguyen closed 8 months ago

quang-anh-nguyen commented 8 months ago

Hello, I would like to insert an SVG image using the following code

\begin{figure}[t]
    \centering
    \includesvg[width=\columnwidth]{figs/prelim.svg}
    \caption{ABC}
    \label{fig:1}
\end{figure}

But the log shows error as following

See the svg package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.257 ...esvg[width=\columnwidth]{figs/prelim.svg}

Did you run the export with Inkscape? There's no file
`./svg-inkscape/prelim_svg-tex.pdf'
although `figs/prelim.svg' was found.

It seems that this is because inkscape is not installed. How can I fix this please ? I am using overleaf and not on local tex.

quang-anh-nguyen commented 8 months ago

I have found the errors, it was my fault after all, do not mind it.