lilypond-devel
[Top][All Lists]
Advanced

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

Re: -dbackend=svg ... warning: missing stencil expression `embedded-ps'


From: josé henrique padovani
Subject: Re: -dbackend=svg ... warning: missing stencil expression `embedded-ps'
Date: Sat, 05 Jun 2010 09:11:27 -0300
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; pt-BR; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4

Em 04/06/10 17:01, Patrick McCarty escreveu:
2010/6/4 josé henrique padovani<address@hidden>:
I am trying to generate svg files of my score, where I use some \postscript
markups. Everything goes ok, except those markups...
I get this warning and the svg file comes without the postcript drawings...
"warning: missing stencil expression `embedded-ps'"

Is this a bug? If not, is there some work-around?
It's not a bug.  :-)

The \postscript command is one of the few commands that uses native
PostScript code in the output.  Since SVG doesn't support embedded
PostScript, there is no easy way to support \postscript in the SVG
backend.

If your PostScript code is simple enough, you could try trying
creating custom figures with the 'embedded-svg routine.  This permits
entering native SVG code that can be used with the SVG backend.  For
an example, see this code:

   http://uoregon.edu/~pmccarty/svg/src/embedded-svg/embedded-svg.ly

Note that 'embedded-svg will not work with the PostScript/PDF output.

Another option is to use the 'path routine.  This isn't documented yet
and is a little cumbersome to use, but you can find an example that
uses 'path in this snippet:

   http://lsr.dsi.unimi.it/LSR/Item?id=623

In other words, there is no *easy* workaround... yet.

-Patrick

Thank you for the tips Patrick... (I'm new to lilypond with svg...)
I will take a look on the path routine.

josé

--
http://zepadovani.info




reply via email to

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