Git Product home page Git Product logo

Comments (3)

deb75 avatar deb75 commented on June 27, 2024

Solved. This was a deprecation warning with nodejs.

I changed :

(setq org-latex-impatient--process
        (make-process
         :name "org-latex-impatient"
         :buffer org-latex-impatient--output-buffer
         :command (append (list org-latex-impatient-tex2svg-bin
                                tex-string)
                          (when org-latex-impatient--is-inline
                            '("--inline")))

into

 (setq org-latex-impatient--process
        (make-process
         :name "org-latex-impatient"
         :buffer org-latex-impatient--output-buffer
         :command (append org-latex-impatient-tex2svg-bin
                          (list tex-string)
                          (when org-latex-impatient--is-inline
                            '("--inline")))

That is to say I changed org-latex-impatient-tex2svg-bin from a string to a list :

(defconst local/org-latex-impatient-tex2svg-bin (list "/path/to/node.exe" "--no-warnings" "/path/to/tex2svg"))

This means also that a previous check on this variable has to be adapted.

Could it be possible to update the repository with this change ?

Regards

from org-latex-impatient.

yangsheng6810 avatar yangsheng6810 commented on June 27, 2024

Thanks for all your efforts!
I will take a look this weekend. After a quick glance, I will probably add a customizable variable, e.g. org-latex-impatient-tex2svg-arguments.

from org-latex-impatient.

deb75 avatar deb75 commented on June 27, 2024

I appreciate.

Another reason to change is that on windows11 text2svg is not always recognized as an executable, unlike on linux. So, I initially had to change org-latex-impatient-tex2svg-bin from a string to a list with first element being the real executable (node.exe).

Regards

from org-latex-impatient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.