I am trying to include a ledger data file from an org-babel block. I am using Windows10 and the SciMax emacs distribution.
#+begin_src ledger :cmdline bal :results output :exports results
#+RESULTS (this is all that appears regardless of the header options)
If I call the file using
!include RLbook.dat in the org-block (see below), the block produces the word
#+RESULTS but no actual numbers regardless of the header options. Using or excluding
! makes no difference.
My config file call ledgers
(ledger . t) as required. The data in the external file produces results if I copy it directly into the org-babel block or if used directly in ledger-mode so I know the data is formatted properly.
I discovered that that although I specify this path in the block
d:/Ledger/RLbook.ledger, its being interpreted as
c:/Users\Arjay\AppData\Local\Temp\babel-16324iS0\d:/Ledger\RLbook.ledger according to my Messages buffer. I cannot figure out how this extra path data is being added or how to prevent it.
How can I avoid or correct the incorrect path data being added to the path name?
Note: I rebuilt the ledger executable using the instructions from https://gist.github.com/ngleb/944346a67960776371aab74149edf38c. This fixed a problem with ledger not understanding paths when used from the cmd line in a terminal window. It did not fix this problem.