Windows

Note: LilyPond は テキスト ベース の楽譜作成プログラムです。グラフィカルな楽譜編集プログラムよりも、むしろプログラミング言語に似ています。LilyPond をダウンロードする前に、テキスト入力 を読んでください。

パッケージ

ダウンロード

インストール

  1. ダウンロードしたファイルをダブルクリックして、インストールを開始してください。インストーラの指示に従ってインストールしてください。すべてのインストール オプションにチェックを入れて、デフォルトのインストール場所にインストールすることをお勧めします。インストールが完了したら、‘Finish’ ボタンをクリックしてください。これで LilyPond はインストールされています。

アンインストール

アンインストールする方法は 2 つあります –

  1. スタート メニューから LilyPond を選択し、そこから “Uninstall” アイコンをクリックしてください。アンインストールが完了したら、‘Finish’ ボタンをクリックしてください。
  2. あるいは、コントロール パネルの “プログラムの追加と削除” を開き、LilyPond までスクロールして、“削除” ボタンをクリックしてください。

ファイルをコンパイルする

Note: 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.

コマンドラインから実行する

Note: GUI 環境の方を好むのであれば、以下の説明は無視してください。

Windows のコマンドライン

LilyPond を実行する最も簡便な方法は、LilyPond 実行可能のファイルを保持しているフォルダを、環境変数 “Path” に追加することです。

  1. コントロール パネルの “システム” を開き、“詳細設定” タブを選択し、“環境変数” ボタンをクリックします。
  2. “システム環境変数” リストから変数 “Path” を選択し、編集ボタンをクリックします。“システム変数の編集” というタイトルのウィンドウが表示されます。“変数値” の最後に、LilyPond の実行可能ファイルを保持しているフォルダを、以下のように付け加えます:
    [既存の Path];DIR\LilyPond\usr\bin
    

    Note: DIR は、一般には C:Program Files です。

    “OK” ボタンをクリックしてウィンドウを閉じます。

個々の実行可能ファイルを呼び出す

lilypond, lilypond-book, convert-ly などの LilyPond 実行可能ファイルをコマンドラインから呼び出すことによって、実行することができます:

lilypond test.ly

法律用語


他の言語: English, česky, deutsch, español, français, magyar, italiano, nederlands, 中文

Validation

lilypond.org をホスティングしてくれている webdev.nl に感謝します。 Valid HTML 4.01 Transitional