ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Martin Kolařík" <martin@mii.cz>
Subject: RE: PDF bounding box problem?
Date: Thu, 10 Feb 2005 10:29:52 +0100	[thread overview]
Message-ID: <FDEFJKLKHEOCDJPCFCIJCEBOCCAA.martin@mii.cz> (raw)
In-Reply-To: <420B2518.2050203@wxs.nl>

[-- Attachment #1: Type: text/plain, Size: 2189 bytes --]

Hi all,

I have problem with paragraph background in columnset environment:

\definetextbackground
  [TXBG]
  [frame=no,offset=0.25em,location=paragraph]

\definecolumnset[main][n=2]

\startcolumnset[main]
...
\starttextbackground[TXBG]
  \typebuffer[BUFFER]
\stoptextbackground
...
\stopcolumnset

Using the background in left column (as the text flows) causes shifting
whole column down }(including both text and properly placed background).

Sorry, I have no minimal example now, as the source is XML. But the mapping
macros lead into the code described above.

Are there some problems with backs in columnsets?

Thank you,

Martin

-----Original Message-----
From: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl]On
Behalf Of Hans Hagen
Sent: Thursday, February 10, 2005 10:11 AM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] PDF bounding box problem?


cormullion wrote:
> Hans Hagen <pragma@wxs.nl> said on 2005-02-09, 18:20 (+0100 GMT):
> 
> 
>>>To my untutored eye it looks like the MediaBox is being
>>>used - at least, the graphic takes up  an area about
>>>Letter size.  Is there  some setting I’ve missed that
>>>lets me get the bounds of the graphics rather than the
>>>file?
>>
>>\externalfigure[whatever.pdf][width=10cm,size=artbox]
> 
> 
> Great! I didn’t spot the artbox option...

it's a rather new option, because pdftex only supports it in later versions

Hans

ps. be aware of the fact that sometimes those boxes are wrong; has to do
with 
illustrator defaults and such (there is a technote on that on our site)

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
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 2708 bytes --]

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2005-02-10  9:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-09 16:34 cormullion
2005-02-09 16:41 ` Matthias Weber
2005-02-09 17:20 ` Hans Hagen
2005-02-09 22:51   ` cormullion
2005-02-10  9:10     ` Hans Hagen
2005-02-10  9:29       ` Martin Kolařík [this message]
2005-02-10 16:20         ` 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=FDEFJKLKHEOCDJPCFCIJCEBOCCAA.martin@mii.cz \
    --to=martin@mii.cz \
    --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).