Windows

注意:LilyPond 是一个 基于文本 的音乐雕版印刷软件;和一般图形界面的打谱软件相比,LilyPond 倒有点像一门编程语言。在您下载 LilyPond 之前,请先进一步了解我们的文本输入

软件包

下载

安装

  1. Locate the downloaded file and double-click on it to start the installer. Follow the instructions given to you by the installer; we recommend that you leave all the install options checked and use the default installation location. Click the ‘Finish’ button when the installer has completed. LilyPond is now installed.

卸载

To uninstall LilyPond either:

  1. Locate the LilyPond folder from the ‘Start’ menu and click on the ‘Uninstall’ icon. Click the ‘Finish’ button when the uninstaller has completed.
  2. Or from within the Control Panel, locate and select LilyPond and then choose the option to uninstall/remove the software. Click the ‘Finish’ button when the uninstaller has completed.

编译文件

注意:These instructions assume that you are using the built-in LilyPad editor. If you are using any of the programs described in Easier editing, please consult the documentation for those programs if you have any problems compiling a file.

Step 1. Create your ‘.ly’ file

Double-click the LilyPond icon on your desktop, an example file will open.

pictures/Learning_Win7_Welcome_File_Whole

From the menus that appear along the top of the example file, select File > Save as. Do not use the File > Save for the example file as this will not work until you have given it a valid LilyPond file name.

pictures/Learning_Win7_Save_Menu

Choose a name for your file, for example ‘test.ly’.

pictures/Learning_Win7_Save_File_With_Name

Step 2a. Compile (with drag-and-drop)

Depending on what you prefer, to compile your file either:

Drag-and-drop the file directly onto the LilyPond icon.

pictures/Learning_Win7_Open_Dragndrop

Right-click on the file and from the pop-up context menu choose Open with > LilyPond.

pictures/Learning_Win7_Open_Context_Menu

Step 2b. Compile (with double-clicking)

Or simply double-click the ‘test.ly’.

Step 3. View output

During the compilation of the ‘test.ly’ file, a command window will, very briefly open and then close. Three additional files will have been created during this process.

pictures/Learning_Win7_All_Files_Created

The PDF file contains the engraved ‘test.ly’ file.

pictures/Learning_Win7_Pdf_Output

Other commands

To create a new file, begin by selecting File > New from within any previously created file.

pictures/Learning_Win7_New_Menu

or File > Open to open and edit any files you have saved before.

pictures/Learning_Win7_Open_Menu

You must save any new edits you make before you compile it and if the PDF file is not created, check the log file that will have been created during the compilation attempt, for any errors.

pictures/Learning_Win7_Log_File

This log file is overwritten each time you compile your LilyPond file.

The PS file is used internally by LilyPond to create the PDF file and can be ignored. It also gets overwritten each time you compile your file.

If you are viewing your file in a PDF viewer, then you must close the PDF if you wish to make a new compilation as it may fail to create the new PDF while it is still being viewed.

在命令行中运行

注意:If you are happy with the GUI, then please ignore these instructions.

Windows 里的命令行

The most convenient way to run LilyPond is by adding the folder which contains LilyPond executable files to the environmental variable “Path”.

  1. Open your “System” on the Control Panel, select Advanced tab and click Environmental Variables button.
  2. Select the Variable “Path” from Environmental variables list and click the Edit button. You will be presented a window titled “Edit System Variable”; append to “Variable value” the name of the folder which contains LilyPond executable files like this:
    [pre-set paths];DIR\LilyPond\usr\bin
    

    注意:DIR will generally be C:\Program Files.

    and click “OK” button to close the window.

调用单独的可运行文件

LilyPond executable files – such as lilypond, lilypond-book, convert-ly, and so on – can be run from the command-line by invoking them:

lilypond test.ly

法律条文


其他语言:English, česky, deutsch, español, français, magyar, italiano, 日本語, nederlands
About automatic language selection.

Validation

非常感谢 webdev.nl 提供 lilypond.org 的主机空间。 Valid HTML 4.01 Transitional