Re: org-latex-preview, pNiceArray (running latex twice)

2024-08-14 Thread Uwe Brauer
> Uwe Brauer via "General discussions about Org-mode." > writes: > Karthik, may you please check if this is going to work with latex > preview branch? > You can modify `org-preview-latex-process-alist' to use latexmk. Thanks: You mean for example --8<---cut here---st

Re: org-latex-preview, pNiceArray (running latex twice)

2024-08-14 Thread Ihor Radchenko
Uwe Brauer writes: >> You can modify `org-preview-latex-process-alist' to use latexmk. > Thanks: > > You mean for example > ... > Key: :programs > Value: ("latex" "dvipng")INS DEL : > ... > ("latex -interaction nonstopmode -output-direc

Re: org-latex-preview, pNiceArray (running latex twice)

2024-08-14 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >>> You can modify `org-preview-latex-process-alist' to use latexmk. >> Thanks: >> >> You mean for example >> ... >> Key: :programs >> Value: ("latex" "dvipng")INS DEL : >> ... >> ("latex -interaction nonstopmode -output-direc

Re: org-latex-preview, pNiceArray (running latex twice)

2024-08-14 Thread Ihor Radchenko
Uwe Brauer writes: >>> ("latex -interaction nonstopmode -output-directory %o %f") > >> Yes. > > Thanks I tried > ("latexmk -f -pdf -latex -interaction=nonstopmode -output-directory=%o %f") Try to run it manually. Also, please make sure that your latex generation method of choice (png? svg?) is

Re: org-latex-preview, pNiceArray (running latex twice)

2024-08-14 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >>> ("latex -interaction nonstopmode -output-directory %o %f") >> >>> Yes. >> >> Thanks I tried >> ("latexmk -f -pdf -latex -interaction=nonstopmode -output-directory=%o %f") > Try to run it manually. What do you mean by this? > Also

Re: org-latex-preview, pNiceArray (running latex twice)

2024-08-14 Thread Ihor Radchenko
Uwe Brauer writes: >>> ("latexmk -f -pdf -latex -interaction=nonstopmode -output-directory=%o %f") > >> Try to run it manually. > > What do you mean by this? You originally provided a latex file example: > Here is a MWE: > --8<---cut here---start->8--- > \doc

Re: Org-publish and attachment links

2024-08-14 Thread Sébastien Gendre
Thank you very much. Ihor Radchenko writes: > Sébastien Gendre writes: > >> It work. Thank you very much. >> >> I didn't know that org-attach have it's own library and that it was not >> loaded with org. I found nothing about it in the Org-attach section of >> the manual. > > Right. It is indee

Re: C-c C-v C-d does not preserve capitalization

2024-08-14 Thread Ihor Radchenko
Rudolf Adamkovič writes: > REPRODUCTION STEPS: > ... >1. Capitalization is not preserved. Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=482bc31565 >2. A superfluous newline is added. > >If I remember correctly, #1 used to work in the past, about a y

Re: org-latex-preview, pNiceArray (running latex twice)

2024-08-14 Thread Uwe Brauer
> Uwe Brauer writes: > You originally provided a latex file example: > You can try running latexmk command with the above parameters on that > file and see if the results make sense. Ok, it still does not work. It seems that its really necessary to use either 1. pdflatex not latex, and

Re: org-latex-preview, pNiceArray (running latex twice)

2024-08-14 Thread Ihor Radchenko
Uwe Brauer writes: >> You originally provided a latex file example: > > >> You can try running latexmk command with the above parameters on that >> file and see if the results make sense. > Ok, it still does not work. > > It seems that its really necessary to use either > > 1. pdflatex not l

Re: org-latex-preview, pNiceArray (running latex twice)

2024-08-14 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >>> You originally provided a latex file example: >> >> >>> You can try running latexmk command with the above parameters on that >>> file and see if the results make sense. >> Ok, it still does not work. >> >>

Re: org-latex-preview, pNiceArray (running latex twice)

2024-08-14 Thread Ihor Radchenko
Uwe Brauer writes: >> I just tried > >> latexmk -f -pdf text.tex > > Confirmed. > > So I changed the setting of org-preview-latex-process-alist > > But now I receive > > > --8<---cut here---start->8--- > Debugger entered--Lisp error: (error "File \

Re: org-latex-preview, pNiceArray (running latex twice)

2024-08-14 Thread Uwe Brauer
> Uwe Brauer writes: > This is expected. > 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

Re: org-latex-preview, pNiceArray (running latex twice)

2024-08-14 Thread Uwe Brauer
> I can only suggest using "imagemagick" process to use pdf -> png > conversion, but truly that should be a bug in the latex package. I am unable to do that, it seems that org-preview-latex-process-alist only uses dvipng, with the problems reported. -- I strongly condemn Hamas heinous despic

Re: Adding text/org MIME type to jshttp/mime-db

2024-08-14 Thread Ihor Radchenko
Ihor Radchenko writes: > Joseph Turner writes: > >> Thanks! I completed the FSF copyright assignment paperwork in May 2023. I updated our records. https://git.sr.ht/~bzg/worg/commit/29c58d61 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at

Re: org-latex-preview, pNiceArray (running latex twice)

2024-08-14 Thread General discussions about Org-mode.
> Uwe Brauer writes: > This is expected. > 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 compatib