> im on tecosaur's dev branch (version 9.7-pre) > i have the following in an org file: > ```org > #+name: fig-switching-circuit-1 > #+caption: implementation of \(p\) > [[attachment:circuit.svg]] > ``` > it gets turned into this > ``` > \includesvg[width=.9\linewidth]{/home/mahmooz/brain/notes/data/9e/5ba2ce-c383-4396-a2cb-891465f14d51/circuit}\\[0pt] > ```
Cannot reproduce. I get the following: \begin{figure}[htbp] \centering \includesvg[width=.9\linewidth]{/tmp/circuit} \caption{\label{fig-switching-circuit-1}implementation of \(p\)} \end{figure} Perhaps you have customized the LaTeX export process in some way? Also note that we don't touch any of the LaTeX generation code in ox-latex except the parts handling LaTeX preview images. Karthik