Re: emacs and using the .info lilypond documentation

2014-12-02 Thread Hwaen Ch'uqi
Greetings Kevin,

After much experimentation in the past, this is how I solved the
problem. First, as root user, I used dired to enter the
/usr/lilypond/usr/share/info directory, where all the LilyPond info
files were placed. Then I created symbolic links for all the info
files to the directory /usr/share/info, where info files are placed by
default. This is accomplished at once by marking all files with `m'
and then applying `S'. If your installation is as mine was, the dir
file in the LilyPond info folder actually contains no entries, which
may explain why nothing appeared in the `C-h i' menu. So I created the
following set of entries and placed them in the dir files of both info
directories:

* LilyPond Changes: (lilypond-changes). New features in 2.18 since 2.16.
* LilyPond Contributor's Guide: (lilypond-contributor).
* LilyPond Essay: (lilypond-essay). Essay on automated music engraving.
* LilyPond Extending: (lilypond-extending).
* LilyPond Internals Reference: (lilypond-internals).
* LilyPond Learning Manual: (lilypond-learning).
* LilyPond Music Glossary: (music-glossary).
* LilyPond Notation Reference: (lilypond-notation).
* LilyPond Snippets: (lilypond-snippets).
* LilyPond Usage: (lilypond-usage).
* LilyPond Web: (lilypond-web).

Of course, you can tailor the explanatory annotations to suit your
needs. These steps will ensure that the entries will appear in the
main info menu, that you will be able to follow hyperlinks, and that
you will be able to view all the images. I hope this helps.

Hwaen Ch'uqi


On 12/2/14, Kevin Patrick Barry barr...@tcd.ie wrote:
 Dear lilypond users,

 My apologies in advance if the answer to this is already out there and I
 just didn't find it.

 I would like to be able to access the lilypond docs in emacs using the
 .info files.  So I downloaded the docs tarball and extracted it, and then
 made an entry in the init file to add the folder containing the `dir' file
 to the Info-default-directory-list. If I check the Info-directory-list
 variable from emacs the folder containing the `dir' file and all the
 lilypond .info files is in the list, but none of the files appears in the
 main info list (C-h i) and using the lilypond-mode command to access
 documentation just brings up the following error: `Info file lilypond does
 not exist'.

 Currently I am using a workaround (C-u C-h i, and specifying a .info file
 as the prefix) but since the documents are split up into different .info
 files it's a bit messy.

 I am using emacs 24.3 on linux mint 17 with lilypond 2.18.2.

 Thanks in advance,
 Kevin


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: emacs and using the .info lilypond documentation

2014-12-02 Thread Kevin Patrick Barry
Dear Hwaen Ch'uqi,

Thank you for your reply. All I had to do was fill the dir file with the
same contents as yours and everything works now.

Perhaps someone should patch this file? Or show me how to do it.

Kevin
On 2 Dec 2014 22:42, Hwaen Ch'uqi hwaench...@gmail.com wrote:

 Greetings Kevin,

 After much experimentation in the past, this is how I solved the
 problem. First, as root user, I used dired to enter the
 /usr/lilypond/usr/share/info directory, where all the LilyPond info
 files were placed. Then I created symbolic links for all the info
 files to the directory /usr/share/info, where info files are placed by
 default. This is accomplished at once by marking all files with `m'
 and then applying `S'. If your installation is as mine was, the dir
 file in the LilyPond info folder actually contains no entries, which
 may explain why nothing appeared in the `C-h i' menu. So I created the
 following set of entries and placed them in the dir files of both info
 directories:

 * LilyPond Changes: (lilypond-changes). New features in 2.18 since 2.16.
 * LilyPond Contributor's Guide: (lilypond-contributor).
 * LilyPond Essay: (lilypond-essay). Essay on automated music engraving.
 * LilyPond Extending: (lilypond-extending).
 * LilyPond Internals Reference: (lilypond-internals).
 * LilyPond Learning Manual: (lilypond-learning).
 * LilyPond Music Glossary: (music-glossary).
 * LilyPond Notation Reference: (lilypond-notation).
 * LilyPond Snippets: (lilypond-snippets).
 * LilyPond Usage: (lilypond-usage).
 * LilyPond Web: (lilypond-web).

 Of course, you can tailor the explanatory annotations to suit your
 needs. These steps will ensure that the entries will appear in the
 main info menu, that you will be able to follow hyperlinks, and that
 you will be able to view all the images. I hope this helps.

 Hwaen Ch'uqi


 On 12/2/14, Kevin Patrick Barry barr...@tcd.ie wrote:
  Dear lilypond users,
 
  My apologies in advance if the answer to this is already out there and I
  just didn't find it.
 
  I would like to be able to access the lilypond docs in emacs using the
  .info files.  So I downloaded the docs tarball and extracted it, and then
  made an entry in the init file to add the folder containing the `dir'
 file
  to the Info-default-directory-list. If I check the Info-directory-list
  variable from emacs the folder containing the `dir' file and all the
  lilypond .info files is in the list, but none of the files appears in the
  main info list (C-h i) and using the lilypond-mode command to access
  documentation just brings up the following error: `Info file lilypond
 does
  not exist'.
 
  Currently I am using a workaround (C-u C-h i, and specifying a .info file
  as the prefix) but since the documents are split up into different .info
  files it's a bit messy.
 
  I am using emacs 24.3 on linux mint 17 with lilypond 2.18.2.
 
  Thanks in advance,
  Kevin
 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user