ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: lilypond inclusion
Date: Fri, 16 Sep 2005 21:45:23 +0200	[thread overview]
Message-ID: <432B20D3.1020401@wxs.nl> (raw)
In-Reply-To: <6faad9f0050916122013f72bf5@mail.gmail.com>

Mojca Miklavec wrote:

>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.
>  
>
newpstopdf  --method=crop yourfile.ps

(raw crop bounded)

it also supports svg to pdf conversion, downsampling, subpaths etc

(see earlier mail about the manual on manipulations on how this can be 
done from within context -)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

  reply	other threads:[~2005-09-16 19:45 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
2005-09-16 19:45       ` Hans Hagen [this message]
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=432B20D3.1020401@wxs.nl \
    --to=pragma@wxs.nl \
    --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).