ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: Re: lilypond inclusion
Date: Fri, 16 Sep 2005 21:20:46 +0200	[thread overview]
Message-ID: <6faad9f0050916122013f72bf5@mail.gmail.com> (raw)
In-Reply-To: <432B142B.6060006@creutzig.de>

Christopher Creutzig wrote:
>  Yes, but those are not suitable for inclusion because they are
> full-size A4 pages.  I tried using them first, but couldn't get the
> information needed to properly clip the A4 pages to the required part.
> 
>  It means you can't include the header I copied from lilypond-book to
> get cropped output with the default backend.

I just found what I was looking for for quite some time:
    <http://www.tug.org/tex-archive/support/pdfcrop/>

I may be wrong, but I guess that the code doesn't do much more than
calling ghostscript with -sDEVICE=bbox, parsing the data and cropping
the page according to the information provided by ghostscript. I guess
that this could be integrated into scripts in ConTeXt in quite an
elegant way. Before I downloaded the pdfcrop script mentioned above, I
was dreaming about being able to say something like
    texexec --pdf --crop filename.tex
(or even texexec --png --transparent --r200 filename.tex)
for quite some time.

If cropping support would be built into ConTeXt, you wouldn't need to
ask lilypond for cropping, but ConTeXt scripts could do that for you.
(In the worst case you can still use the script mentioned above.)

Mojca


And another said information (for windows users only): if you want to
call lilypond from command line, you have to call it with the whole
path, ie: C:/prog/lilypond/usr/bin/lilypond. Developers don't know how
to fix that, so the one who needs to use lilypond under windows has to
modify path to lilypond in the module by hand. I guess there's no
trivial solution to find where a certain executable is residing (I
have "which.exe", but this is way too complicated/not worth the
effort.)

  reply	other threads:[~2005-09-16 19:20 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-15  9:49 Christopher Creutzig
2005-09-15 10:35 ` Hans Hagen
2005-09-15 13:07   ` Christopher Creutzig
2005-09-15 13:53     ` Hans Hagen
2005-09-15 14:34 ` Henning Hraban Ramm
2005-09-15 21:00   ` andrea valle
2005-09-16  0:37     ` Henning Hraban Ramm
2005-09-16 14:13       ` lilypond inclusion + pdf crop andrea valle
2005-09-16 15:25         ` [OT] " luigi.scarso
2005-09-16 15:29         ` Hans Hagen
2005-09-16 17:18           ` Willi Egger
2005-09-16 21:08           ` andrea valle
2005-09-18 19:38             ` Hans Hagen
2005-09-19  9:51               ` Taco Hoekwater
2005-09-17 11:26           ` Christopher Creutzig
2005-09-17 13:23             ` andrea valle
2005-09-16 16:23         ` lilypond inclusion + pdf crop (getting off-topic) Adam Lindsay
2005-09-16 17:37           ` Hans Hagen
2005-09-17  9:28             ` Re[2]: " Giuseppe Bilotta
2005-09-18 18:23               ` Hans Hagen
2005-09-18 19:19                 ` Re[2]: " Giuseppe Bilotta
2005-09-16 15:40     ` lilypond inclusion Christopher Creutzig
2005-09-16 16:10       ` andrea valle
2005-09-16 15:42   ` Christopher Creutzig
2005-09-16 16:39     ` Patrick Gundlach
2005-09-16 16:56 ` Mojca Miklavec
2005-09-16 17:45   ` Hans Hagen
2005-09-16 18:51   ` Christopher Creutzig
2005-09-16 19:20     ` Mojca Miklavec [this message]
2005-09-16 19:45       ` Hans Hagen
2005-09-16 20:25         ` Mojca Miklavec
2005-09-18 18:07           ` Hans Hagen
2005-09-16 20:46       ` Christopher Creutzig
2005-09-18 18:09         ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6faad9f0050916122013f72bf5@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).