Re: figures not exported properly by ox-latex

2024-07-11 Thread mahmood sheikh
im fairly certain that at the time i sent this email, ox-latex was failing to insert \label and \caption too after images in latex exports (like ox-html to html exports). but perhaps someone made a change that fixed that. the fact that ox-latex even inserts \caption and \label tells me that it was

Re: figures not exported properly by ox-latex

2024-07-11 Thread mahmood sheikh
this is an example of what i mean: #+begin_src org #+name: fig-switching-circuit-kmap-1 #+caption: karnaugh table of \(p\) \begin{tikzpicture} \karnaughmap[function=, defaultmap=8, omitzeros=false, omitidx, variables=xyz]{01101001} \end{tikzpicture} #+end_src i vaguely recall org mode a

Re: figures not exported properly by ox-latex

2024-07-11 Thread Karthik Chikmagalur
> it might've been fixed for figures as its been a while, but shouldnt > latex environments with #+caption: and #+name: above them be exported > as figures? because currently the user has to write \begin{figure} and > \end{figure} explicitly which would work This is not the case. The LaTeX output

Re: figures not exported properly by ox-latex

2024-07-11 Thread Ihor Radchenko
mahmood sheikh writes: > it might've been fixed for figures as its been a while, but shouldnt latex > environments with #+caption: and #+name: above them be exported as figures? > because currently the user has to write \begin{figure} and \end{figure} > explicitly which would work but may not be

Re: figures not exported properly by ox-latex

2024-07-11 Thread mahmood sheikh
it might've been fixed for figures as its been a while, but shouldnt latex environments with #+caption: and #+name: above them be exported as figures? because currently the user has to write \begin{figure} and \end{figure} explicitly which would work but may not be as practical for other ox backend

Re: figures not exported properly by ox-latex

2024-07-09 Thread Karthik Chikmagalur
> 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

Re: figures not exported properly by ox-latex

2024-07-05 Thread mahmood sheikh
hi, i made a slight change to wrap the exported latex environments in a figure environment so that the captions and labels get placed properly, this patch i created on teco's branch. i dont expect it to get accepted as it may be a naive fix and i may be missing something, but it may point out to so

Re: figures not exported properly by ox-latex

2024-02-02 Thread Ihor Radchenko
mahmood sheikh writes: > im on tecosaur's dev branch (version 9.7-pre) > i have the following in an org file: >... CCing Timothy and Karhik. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at

figures not exported properly by ox-latex

2024-02-02 Thread mahmood sheikh
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