lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: preferred extention for lilypond-book?


From: Mats Bengtsson
Subject: Re: preferred extention for lilypond-book?
Date: Fri, 30 Jul 2004 10:36:02 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616

As is mentioned in the lilypond-book manual, .lytex is one proposed
extension for LaTeX documents with embedded LilyPond code. Another
possibility that is recognized by lilypond-book is .tex, but in that
case you have to specify a separate output directory to avoid that
the processed file overwrites the input.
You can actually use any extension you wish if you use the --format
option.

   /Mats

Graham Percival wrote:
What extension should I give to my lilypond-book files? I can't find one that lilypond-book likes.

I normally use --output for my bigger lilypond-book projects, but what if I want to have a simple lilypond-book project that resides in a single directory? It's not happy with .tex, .latex, .ly, or .lybook

If there isn't a preferred extention (something like .lybook would nice nice, IMO), then would it be a good idea to make one?

Still using fink 2.3.8

Cheers,
- Graham


spark-daemonology-net:~/tmp gperciva$ lilypond-book debug.tex
lilypond-book (GNU LilyPond) 2.3.8
lilypond-book: error: Output would overwrite input file; use --output.
spark-daemonology-net:~/tmp gperciva$ lilypond-book debug.latex
lilypond-book (GNU LilyPond) 2.3.8
lilypond-book: error: cannot determine format for: debug.latex
Traceback (most recent call last):
  File "/sw/bin/lilypond-book", line 1056, in ?
    main ()
  File "/sw/bin/lilypond-book", line 1053, in main
    do_file (files[0])
  File "/sw/bin/lilypond-book", line 905, in do_file
    output_filename = input_base + format2ext[format]
KeyError: 0
spark-daemonology-net:~/tmp gperciva$ lilypond-book debug.ly
lilypond-book (GNU LilyPond) 2.3.8
lilypond-book: error: cannot determine format for: debug.ly
Traceback (most recent call last):
  File "/sw/bin/lilypond-book", line 1056, in ?
    main ()
  File "/sw/bin/lilypond-book", line 1053, in main
    do_file (files[0])
  File "/sw/bin/lilypond-book", line 905, in do_file
    output_filename = input_base + format2ext[format]
KeyError: 0



_______________________________________________
lilypond-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-devel

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

[Prev in Thread] Current Thread [Next in Thread]