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

nested blocks in org

2024-02-15 Thread mahmood sheikh
can you point me in the right direction of getting org mode to recognize nested blocks, like code highlighting for src blocks that are within another special block? and getting org-element-map to iterate through both a parent and its child blocks all the same? could modifying `org-block-regexp` to

Re: nested blocks in org

2024-03-05 Thread mahmood sheikh
ack to CC; please use Reply All or wide reply to keep > the discussion public ] > > mahmood sheikh writes: > > > consider the following block > > ``` > > #+begin_solution > > #+begin_src sql > > SELECT > > CONCAT(c.first_name, ' ', c.

Re: figures not exported properly by ox-latex

2024-07-05 Thread mahmood sheikh
ut to someone else where the issue is. thanks! On Fri, Feb 2, 2024 at 1:43 PM Ihor Radchenko wrote: > 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. > &g

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-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 mahmood sheikh
environment that accepts a \caption too. thanks p.s. sorry i keep hitting the "forward" button instead of the "forward all" button so you may receive duplicate emails. On Thu, Jul 11, 2024 at 11:59 AM mahmood sheikh wrote: > this is an example of what i mean: > #+beg

org-persist causes delay when terminating emacs

2025-06-20 Thread mahmood sheikh
this is related to https://lists.gnu.org/archive/html/emacs-orgmode/2025-03/msg00166.html i make heavy usage of the new org-latex-preview (not sure if its related) the profiler report upon exiting (using `(add-hook 'kill-emacs-hook 'debug 99)`) is included in this email. this isnt new, but i couldn

org doesnt recognize nested inline latex

2025-07-21 Thread mahmood sheikh
org is unable to recognize expressions of the form `\(\(math\)\)` as a single nested latex expression. even though i do vaguely recall org being able to handle this "properly". \(\text{some \code{high(x)} here, more \(x\) here}\) is a case where this could be problematic. by "recognizing" the expre