BUG?: org-preview-latex-default-process: imagemagick: cannot use latexmk -f pdf

2024-08-15 Thread General discussions about Org-mode.
Hi I prefer to open a new thread for this. - I set org-preview-latex-default-process --8<---cut here---start->8--- org-preview-latex-default-process is a variable defined in ‘org.el’. Its value is ‘imagemagick’ --8<---cut here-

Re: [FR] org-colview.el, add annotation for functions summary-types

2024-08-15 Thread Sławomir Grochowski
Thank you for your help Ihor. Ihor Radchenko writes: > See `help--symbol-completion-table-affixation'. It's a private function and I need only a part of it. Should I extract that part and create a new function? Like this below? (defun first-line-docstring (fun) (let* ((doc (condition-case

Re: [FR] org-colview.el, add annotation for functions summary-types

2024-08-15 Thread Ihor Radchenko
Sławomir Grochowski writes: >> See `help--symbol-completion-table-affixation'. > > It's a private function and I need only a part of it. > Should I extract that part and create a new function? Like this below? > > (defun first-line-docstring (fun) > (let* ((doc (condition-case nil (documentati

[RFC] latex preview and pdflatex-only packages (was: org-latex-preview, pNiceArray (running latex twice))

2024-08-15 Thread Ihor Radchenko
Uwe Brauer writes: >> dvipng previews expect .dvi files, not .pdf. You must use > >> ("latexmk -f -latex -output-directory=%o %f") > >> Except that latex does not produce the desired result, which indicates >> that you are using some very strange package that is not compatible with >> latex. > >

Re: [FR] org-colview.el, add annotation for functions summary-types

2024-08-15 Thread Sławomir Grochowski
Ihor Radchenko writes: > Why not applying faces? Because in case of 'annotation-function': https://www.gnu.org/software/emacs/manual/html_node/elisp/Programmed-Completion.html "...Unless this function puts own face on the annotation suffix string, the completions-annotations face is added by de

Re: [FR] org-colview.el, add annotation for functions summary-types

2024-08-15 Thread Ihor Radchenko
Sławomir Grochowski writes: > Ihor Radchenko writes: > >> Why not applying faces? > > Because in case of 'annotation-function': > https://www.gnu.org/software/emacs/manual/html_node/elisp/Programmed-Completion.html > "...Unless this function puts own face on the annotation suffix string, > the

Re: BUG?: org-preview-latex-default-process: imagemagick: cannot use latexmk -f pdf

2024-08-15 Thread Ihor Radchenko
Uwe Brauer via "General discussions about Org-mode." writes: > - Take the simple example > ... > ... > - Then I change the compiler to > ("latexmk -f -pdf -output-directory %o %f") > > But, then I receive the following error: > ... I cannot reproduce. Things work on my side. > Debu

Re: Proposal: Change publication timestamps (was: Publishing cache)

2024-08-15 Thread Ihor Radchenko
Jens Lechtenboerger writes: >> See "14.4 Triggering Publication" section of Org mode manual: >> >>Org uses timestamps to track when a file has changed. The above >> functions normally only publish changed files. You can override this >> [...] > > I propose to change caching and chec

Re: BUG?: org-preview-latex-default-process: imagemagick: cannot use latexmk -f pdf

2024-08-15 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer via "General discussions about Org-mode." > writes: >> - Take the simple example >> ... >> ... >> - Then I change the compiler to >> ("latexmk -f -pdf -output-directory %o %f") >> >> But, then I receive the following error: >> ... > I cannot

Re: How to fully control parsing of Org mode links during export

2024-08-15 Thread Robert Weiner
Thank you for the pointers on this, Ihor. That led me down a much better path that worked. In the end, I just had the export function for my specific link type and had to add a before advice on org-element--generate-copy-script since it lacks a hook at its end. I would suggest adding one as this

Re: [RFC] latex preview and pdflatex-only packages

2024-08-15 Thread Stefan Nobis
Ihor Radchenko writes: > Uwe Brauer writes: >> Well, there are a couple of packages that explicitly state that they >> only work with pdflatex, nicematrix, todonotes and ocgx for example > Are there packages that are an opposite - do not work with pdflatex, > but work with bare latex? Just to

Re: [RFC] latex preview and pdflatex-only packages

2024-08-15 Thread Stefan Nobis
Stefan Nobis writes: > More general: Out there are quite some package that support only one > of the current engines xelatex, lualatex, or pdflatex. My gut feeling > is, that the majority works with any engine and more and more packages > tend to support the more modern engines xelatex and lualat