1 .TH glilypond @MAN1EXT@ "@MDATE@" "groff @VERSION@"
3 glilypond \- integrate lilypond parts into groff
5 .\" glilypond - integrate 'lilypond' parts into 'groff' files
6 .\" Source file position: <groff_source_top>/contrib/glilypond.man
7 .\" Installed position: <prefix>/share/man/man1/glilypond.1
9 .\" TODO: This page needs a thorough edit by a native English speaker.
11 .\" ====================================================================
13 .\" ====================================================================
15 .\" Copyright (C) 2013-2018 Free Software Foundation, Inc.
17 .\" This file is part of glilypond, which is part of GNU groff, a free
20 .\" You can redistribute it and/or modify it under the terms of the GNU
21 .\" General Public License version 2 (GPL2) as published by the Free
22 .\" Software Foundation.
24 .\" The license text is available in the internet at
25 .\" <http://www.gnu.org/licenses/gpl-2.0.html>.
28 .\" ====================================================================
30 .\" ====================================================================
33 .ie t .ds EL \fS\N'188'\fP\"
34 .el .ds EL \&.\|.\|.\&\"
38 .\" ====================================================================
40 .\" ====================================================================
43 .RB [{ \-\-ly2eps | \-\-pdf2eps }]
59 .RB [{ \-\-ly2eps | \-\-pdf2eps }]
96 .\" ====================================================================
98 .\" ====================================================================
101 transforms sheet music written in the
104 .BR groff (@MAN7EXT@)
108 .BR groff (@MAN1EXT@)
109 can transform it into a format that can be displayed directly.
112 is available, but does on yet work with lilypond.
120 can be provided as arguments.
123 .\" ====================================================================
124 .SH "WORKING GLILYPOND"
125 .\" ====================================================================
129 .B glilypond can work only for
150 I'm not sure about the
160 it is easier to use the following device options, either
174 does not work and the
193 and is called through
195 .IR roff-file-with-lilypond .
198 .\" ====================================================================
199 .SH "OPTION OVERVIEW"
200 .\" ====================================================================
202 .\" ====================================================================
203 .SS "Breaking Options"
204 .\" ====================================================================
209 .BR \-? | \-h | \-\-help | \-\-usage
210 Print help or usage information, then leave the program.
214 Print version information.
217 .BR \-l | \-\-license
218 Print license information.
223 .\" ====================================================================
224 .SS "Options for building EPS Files"
225 .\" ====================================================================
255 .\" ====================================================================
256 .SS "Directories and Files"
257 .\" ====================================================================
260 .BR \-e | \-\-eps_dir "\fI directory_name\fP"
263 files are sent to the temporary directory.
265 With this option, you can generate your own directory, in which all useful
269 So at last, the temporary directory can be removed.
273 .BR \-p | \-\-prefix "\fI begin_of_name\fP"
274 Normally all temporary files get names that start with the
278 With this option, you can freely change this prefix.
282 .BR \-k | \-\-keep_all
283 Normally all temporary files without the
287 With this option, all generated files either by the
289 program or other format transposers are kept.
293 .BR \-t | \-\-temp_dir "\fI dir\fP"
294 With this option, you call a directory that is the base for the
297 This directory name is used as is without any extensions.
299 If this directory does not exist it is be created.
301 The temporary directory is created by Perl's security operations
302 directly under this directory.
304 In this temporary directory, the temporary files are stored.
307 .\" ====================================================================
309 .\" ====================================================================
312 .BR \-o | \-\-output "\fI file_name\fP"
315 output of this program is sent to
318 With this option, that can be changed, such that the output is stored
319 into a file named in the option argument
324 .BR \-v | \-V | \-\-verbose
325 A lot more of information is sent to STDERR.
328 .\" ====================================================================
329 .SS "Short Option Collections"
330 .\" ====================================================================
332 The argument handling of options
337 are arguments that start with a single dash
340 Such an argument can consist of arbitrary many options without option
341 argument, composed as a collection of option characters following the
346 Such a collection can be terminated by an option character that
347 expects an option argument.
349 If this option character is not the last character of the argument,
350 the following final part of the argument is the option argument.
352 If it is the last character of the argument, the next argument is
353 taken as the option argument.
357 This is the standard for
368 .BI \-kVe " some_dir"
369 is a collection of the short options
373 without option argument, followed by the short option
375 with option argument that is the following part of the argument
378 So this argument could also be written as several arguments
383 .\" ====================================================================
384 .SS "Handling of Long Options"
385 .\" ====================================================================
387 Arguments that start with a double dash
390 .I "long options" R .
392 Each double dash argument can only have a single long option.
397 have or have not an option argument.
399 An option argument can be the next argument or can be appended with an
402 to the same argument as the long option.
407 is a long option without an option argument.
410 .BI \-\-eps_dir " some_dir"
412 .BI \-\-eps_dir= some_dir
415 with the option argument
420 Moreover the program allows abbreviations of long options, as much as
428 can be abbreviated from
432 because the program does not have another
434 whose name starts with the character
439 On the other hand, the option
441 cannot be abbreviated further than
443 because there is also the
446 that can be abbreviated up to
451 An option argument can also be appended to an abbreviation.
461 Moreover the program allows an arbitrary usage of upper and lower case
473 can as well be written as
475 or even as an abbreviation like
479 .\" ====================================================================
480 .SH FILESPEC ARGUMENTS
481 .\" ====================================================================
483 An argument that is not an option or an option argument is called a
499 argument must either be the name of a readable file or a dash
502 .IR "standard input" .
504 Each input must be written in the
508 language and can include
514 Normally arguments starting with a dash
516 are interpreted as an option.
518 But if you use an argument that consists only of a doubled dash
520 all following arguments are taken as
522 argument, even if such an argument starts with a dash.
524 This is handled according to the
529 .\" ====================================================================
530 .SH "THE LILYPOND PARTS IN ROFF INPUT"
531 .\" ====================================================================
533 .\" ====================================================================
534 .SS "Integrated Lilypond Codes"
535 .\" ====================================================================
539 part within a structure written in the
541 language is the whole part between the marks
558 input can have several of these
564 When processing such a
573 .IR "lilypond mode" .
579 parts are sent into temporary
581 files with the file name extension
584 These files are transformed later on into
589 .\" ====================================================================
590 .SS "Inclusion of ly-Files"
591 .\" ====================================================================
593 An additional command line for file inclusion of
597 .BI ".lilypond include" " file_name"
607 code can be included into the
611 Arbitrarily many of these commands can be included in the
617 These include commands can only be used outside the
622 .IR "lilypond mode" ,
623 this inclusion is not possible.
626 .B ".lilypond include"
628 .IR "lilypond mode" ,
632 .BR ".lilypond end" .
637 are also transformed into
642 .\" ====================================================================
643 .SH "GENERATED FILES"
644 .\" ====================================================================
646 By the transformation process of
650 files, there are many files generated.
652 By default, these files are regarded as temporary files and as such
653 stored in a temporary directory.
657 This process can be changed by command-line options.
660 .\" ====================================================================
661 .SS "Command Line Options for Directories"
662 .\" ====================================================================
664 The temporary directory for this program is either created
665 automatically or can be named by the option
666 .BR \-t | \-\-temp_dir
673 files that are later on referred by
677 output can be stored in a different directory that can be set by the
679 .BR \-e | \-\-eps_dir
682 With this option, the temporary directory can be removed completely at
683 the end of the program.
687 The beginning of the names of the temporary files can be set by the
694 All of the temporary files except the
696 files are deleted finally.
698 This can be changed by setting the command-line option
699 .OP \-k | \-\-keep_files .
701 With this, all temporary files and directories are kept, not deleted.
707 files are stored in a temporary or
711 But they cannot be deleted by the transformation process because they
712 are needed for the display which can take a long time.
715 .\" ====================================================================
716 .SH "TRANSFORMATION PROCESSES FOR GENERATING EPS FILES"
717 .\" ====================================================================
719 .\" ====================================================================
721 .\" ====================================================================
723 This mode is the actual default and can also be chosen by the option
730 files are transformed by the
737 .BI "lilypond \-\-pdf \-\-output=" file-name
746 must be provided without the extension
749 By this process, a file
755 The next step is to transform these
766 \fR$ \fP \fBpdf2ps\fP \fIfile-name\fP \fB.pdf\fP \fIfile-name\fP \fB.ps\fP
771 The next step creates an
782 .RB "$ " "ps2eps " \fIfile-name\fP ".ps"
794 file or standard input.
798 The last step to be done is replacing all
805 .BI ".PSPIC " file-name .eps
810 .\" ====================================================================
812 .\" ====================================================================
814 In earlier time, this mode was the default.
816 But now it does not work any more, so accept the new default
819 For testing, this mode can also be chosen by the
828 files are transformed by the
830 program into many files of different formats, including
835 .BI "$ lilypond \-\-ps \-dbackend=eps \-dgs\-load\-fonts \-\-output=" file\-name
844 must be provided without an extension, its directory is temporary.
852 One having the complete transformed
855 .IB file\-name .eps \fR.\fP
861 files for each page, named
862 .IB file\-name \- digit .eps \fR.\fP
866 The last step to be done is replacing all
868 parts by the collection of the corresponding
876 .BI ".PSPIC " file-name \- digit .eps
880 .\" ====================================================================
881 .SH "THE GENERATED NEW ROFF STRUCTURE"
882 .\" ====================================================================
885 .BR groff (@MAN7EXT@)
886 structure generated by
892 sent to standard output and can there be saved into a file or piped into
893 .BR groff (@MAN1EXT@)
895 .BR groffer (@MAN1EXT@)
900 stored into a file by given the option
901 .BR \-o\ \~| \~\-\-output
905 .\" ====================================================================
907 .\" ====================================================================
910 .MT groff\-bernd.warken\-72@\:web.de
915 .\" ====================================================================
917 .\" ====================================================================
920 .BR groff (@MAN1EXT@)
921 describes the usage of the
923 command and contains pointers to further documentation of the
929 .BR groff_tmac (@MAN5EXT@)
937 briefly describes the
939 command and contains pointers to further documentation.
960 .\" ====================================================================
962 .\" ====================================================================
967 .\" vim: set filetype=groff: