[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interactive PDF Link to Notes in Preview
From: |
Federico Bruni |
Subject: |
Re: Interactive PDF Link to Notes in Preview |
Date: |
Fri, 06 Jul 2018 18:36:04 +0200 |
Il giorno ven 6 lug 2018 alle 14:59, Aaron Hill
<address@hidden> ha scritto:
On 2018-07-05 22:35, Federico Bruni wrote:
So the question is why lilypond-invoke-editor is not considered as a
program by Windows shell.
Perhaps because it does not end with .exe? Should it be made
executable?
I don't know Windows at all...
`lilypond-invoke-editor` is intended to be interpreted by Guile; but
since it has no file extension, Windows cannot invoke an associated
program. You should be able to wrap it up with a command shell
script easily enough...
lilypond-invoke-editor.cmd:
@ECHO OFF
SETLOCAL
SET LILYPOND_BIN=C:\Program Files (x86)\LilyPond\usr\bin
"%LILYPOND_BIN%\guile" -e main
"%LILYPOND_BIN%\lilypond-invoke-editor" %*
I should warn that I have not tested this, as I do not have an
installation of LilyPond on Windows. But, the principle should be
sound.
I first tried the command on PowerShell:
PS C:\Program Files (x86)\LilyPond\usr\bin> guile.exe -e main
lilypond-invoke-editor
ERROR: In procedure dynamic-link:
ERROR: file: "libguile-srfi-srfi-1-v-3", message: "can't open the
module"
I see that this problem was already reported:
http://lilypond.1069038.n5.nabble.com/GUB-guile-fails-to-open-lilypond-invoke-editor-script-td81139.html
By default, GUILE_LOAD_PATH is not set.
If I set it in current shell:
PS C:\Users\fede> $env:GUILE_LOAD_PATH="C:\Program Files
(x86)\LilyPond\usr\share\guile\1.8"
PS C:\Users\fede> Get-ChildItem Env:GUILE_LOAD_PATH
Name Value
---- -----
GUILE_LOAD_PATH C:\Program Files
(x86)\LilyPond\usr\share\guile\1.8
I get the same error.
PS Vaguely related:
https://sourceforge.net/p/testlilyissues/issues/2279/
- Interactive PDF Link to Notes in Preview, Zone Dremik, 2018/07/03
- Re: Interactive PDF Link to Notes in Preview, Federico Bruni, 2018/07/03
- Re: Interactive PDF Link to Notes in Preview, Federico Bruni, 2018/07/03
- Re: Interactive PDF Link to Notes in Preview, Andrew Bernard, 2018/07/05
- Re: Interactive PDF Link to Notes in Preview, Federico Bruni, 2018/07/05
- Re: Interactive PDF Link to Notes in Preview, Anders Eriksson, 2018/07/05
- Re: Interactive PDF Link to Notes in Preview, Andrew Bernard, 2018/07/05
- Re: Interactive PDF Link to Notes in Preview, Federico Bruni, 2018/07/06
- Re: Interactive PDF Link to Notes in Preview, Aaron Hill, 2018/07/06
- Re: Interactive PDF Link to Notes in Preview,
Federico Bruni <=
- Re: Interactive PDF Link to Notes in Preview, Federico Bruni, 2018/07/06
Re: Interactive PDF Link to Notes in Preview, Hans Åberg, 2018/07/03
Re: Interactive PDF Link to Notes in Preview, Knut Petersen, 2018/07/04
Re: Interactive PDF Link to Notes in Preview, Ambrose Chan, 2018/07/05
Re: Interactive PDF Link to Notes in Preview, Mats Behre, 2018/07/07