Giter VIP home page Giter VIP logo

Comments (5)

cscheid avatar cscheid commented on August 25, 2024

I don't personally use windows so I can't attest either way, but I certainly believe you. I would very much appreciate a community PR on this!

from quarto-emacs.

mlindsk avatar mlindsk commented on August 25, 2024

Just a confirmation; I have no problems whatsoever on Windows 11!

from quarto-emacs.

kwstat avatar kwstat commented on August 25, 2024

For some reason, RStudio is not adding quarto to the PATH for me. Here's what I did:
Open RStudio, then open a command shell terminal (NOT a git terminal) and type where quarto. This gave me:

C:/Users/wrightkevi/AppData/Local/Programs/RStudio/bin/quarto/bin/quarto.cmd

Then I modified the quarto-poly-markdown-exporter function in quarto-mode.el by adding the full path to quarto and adding %i for the input file.

;; the following is the original line of code
;; "quarto render --to=%t --output=%o"))
;; the following is the new line of code
"C:/Users/wrightkevi/AppData/Local/Programs/RStudio/bin/quarto/bin/quarto.cmd render %i --to=%t --output=%o"))

Probably I should have just modified the PATH, but note also the inclusion of %i. Without %i I was getting an error that this was not a quarto project.

from quarto-emacs.

cscheid avatar cscheid commented on August 25, 2024

@kwstat Let me make sure I have this right: your installation of quarto is the one included in RStudio. Is that right? In that case, RStudio definitely does not add quarto to your path -- and it shouldn't.

But that's not a quarto-emacs bug either, I think it's just that you need to set your PATH environment variable appropriately.

from quarto-emacs.

sgutreuter avatar sgutreuter commented on August 25, 2024

Byte-compiling and loading .emacs fails with (require 'quarto-mode), and returns the message ".emacs:91:1:Error: Symbol’s function definition is void: defvar-1". Quarto is installed and my path includes c:\Program Files\Quarto\bin. quarto-mode.elc is located in .emacs.d/site-lisp and .emacs.d/quarto-mode-20221005.1632. Yet it seems that emacs is not finding quarto-mode.elc. Any suggestions?

from quarto-emacs.

Related Issues (19)

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.