Re: lilypond-book not honoring --psfonts?

2008-04-08 Thread Karl Hammar
Han-Wen:
 The recommended way to do the fonts is to have them included in
 separate .eps files.  If file size is a concern, you can use
 -dgs-load-fonts. The result will be that you have to go through a PS
 - PDF step before sending to the printer, though.

I have forgot the exact problems, but I have had som issues sending pdf 
to the printer.

 (I can recommend pdflatex anyway; the results are usually more predictable.)

What issues have you seen?

Regards,
/karl




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


lilypond-book not honoring --psfonts?

2008-04-07 Thread Trevor Bača
Hi,

Is the lilypond-book distributed with 2.11.43.2 refusing to honor --psfonts?
Or am I doing something wrong? Under Mac OS 10.5.2. Example:


$ lilypond-book --psfonts --output=out test.tex
lilypond-book (GNU LilyPond) 2.11.43
Reading test.tex...
Running latex...This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %-line parsing enabled.
entering extended mode
(/var/folders/CW/CWK9SZQvFq0wBKqR4QCuITI/-Tmp-/tmpb1LEdT.tex
LaTeX2e 2005/12/01
Babel v3.8h and hyphenation patterns for english, usenglishmax, dumylang,
noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german,
ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi,
finnish,
 french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua,
ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish,
por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian,
swedish,
turkish, ukenglish, ukrainian, loaded.

(/usr/local/texlive/2007/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/size10.clo))
No file tmpb1LEdT.aux.
textwidth=345.0pt
columnsep=10.0pt
(./tmpb1LEdT.aux) )
No pages of output.
Transcript written on tmpb1LEdT.log.
Dissecting...
Writing snippets...
Processing...
Running lilypond...GNU LilyPond 2.11.43
Processing `snippet-map--1412806531.ly'
Parsing...
Processing `test.tex'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Calculating line breaks...
Drawing systems...
Layout output to `lily-2f978e1e5c-1.eps'...
Layout output to `lily-2f978e1e5c.eps'...
Writing lily-2f978e1e5c-systems.texi...
Writing lily-2f978e1e5c-systems.tex...
Writing lily-2f978e1e5c-systems.count...

Compiling /Users/trevorbaca/Desktop/lidercfeny-preface-latex/out/test.tex...
Writing `/Users/trevorbaca/Desktop/lidercfeny-preface-latex/out/test.tex'...



Then when we list the contents of the 'out' directory ...

$ ls out
lily-2f978e1e5c-1.eps lily-2f978e1e5c.txt
lily-2f978e1e5c-systems.count snippet-map--1412806531.ly
lily-2f978e1e5c-systems.tex   snippet-names--1412806531
lily-2f978e1e5c-systems.texi  test.dep
lily-2f978e1e5c.eps   test.tex
lily-2f978e1e5c.lytmpb1LEdT.aux



But no test.psfonts.

Am I doing something wrong?

(FWIW, it looks like passing the --pdf option to lilypond-book works fine,
as described in  4.4 Invoking lilypond-book; but I haven't tested to make
sure that all the printing details are coming out correctly.)



-- 
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond-book not honoring --psfonts?

2008-04-07 Thread Karl Hammar
Trevor:
 Is the lilypond-book distributed with 2.11.43.2 refusing to honor --psfonts?
 Or am I doing something wrong? Under Mac OS 10.5.2. Example:

It seems still to be an option

  $ grep -C3 psfonts out/bin/lilypond-book 
help=_ (create PDF files for use with PDFTeX),
default=False)

  p.add_option ('', '--psfonts', action=store_true, dest=psfonts,
help=_ ('''extract all PostScript fonts into INPUT.psfonts 
for LaTeX
  must use this with dvips -h INPUT.psfonts'''),
default=None)

  p.add_option ('-V', '--verbose', help=_ (be verbose),
  $

But it is not used later in the program.

Compare to 2.10.33 which contains:

  ...
if global_options.psfonts:
fontextract.verbose = global_options.verbose
snippet_chunks = filter (lambda x: is_derived_class (x.__class__,
   Lilypond_snippet),
chunks)
  ...

So 2.11.43 honors --psfonts, but like a 'no action'.

Regards,
/Karl




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


Re: lilypond-book not honoring --psfonts?

2008-04-07 Thread Karl Hammar
Trevor:
...
 $ lilypond-book --psfonts --output=out test.tex
...
 lily-2f978e1e5c.lytmpb1LEdT.aux
 
 But no test.psfonts.
...

BTW, to generate the test.psfonts you could try
http://aspodata.se/noter/palestrina/dies_sanctificatus/lilypond-psfonts
(which is a lilypond-book cut down to only the fontextract thing),
run it as ./lilypond-psfonts test.psfonts lily-2f978e1e5c.eps

Regards,
/Karl




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


Re: lilypond-book not honoring --psfonts?

2008-04-07 Thread Han-Wen Nienhuys
The recommended way to do the fonts is to have them included in
separate .eps files.  If file size is a concern, you can use
-dgs-load-fonts. The result will be that you have to go through a PS
- PDF step before sending to the printer, though.

(I can recommend pdflatex anyway; the results are usually more predictable.)
-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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