From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Bleeding pictures as floats?
Date: Thu, 30 Jul 2015 15:49:37 +0600 [thread overview]
Message-ID: <6C8E04FC-E1B9-4742-A81D-07D74018E3A5@fiee.net> (raw)
In-Reply-To: <7DFC1ED6-009A-4B73-9775-1A3757468F1E@gmail.com>
Hi, finally coming back to this project.
Am 2015-05-11 um 17:53 schrieb Wolfgang Schuster <schuster.wolfgang@gmail.com>:
>> \definemeasure[Bleed][3mm]
>> \definemeasure[maxWidth][\dimexpr \paperwidth + \measure{Bleed}\relax]
>
> You don’t have to use \dimexpr because the measure macros already us it.
Ok, thanks
>> \definefloat[bleedfigure][figure]
>> \setupfloat[bleedfigure][
>> outermargindistance=-2\measure{Bleed},
>> %leftmargindistance=-2\measure{Bleed},
>> %rightmargindistance=-2\measure{Bleed},
>> maxwidth=\measure{maxWidth}
>> ]
>
> There is only a “outermargin” key but not “outermargindistance”.
Ok, thanks
>> With this (perhaps not minimal) example I get nearly what I want, but the image starts with the paper and is centered (x/y -1,5mm/0mm) where I want it to start on -3mm/-3mm on a left page, 0mm/-3mm on a right page. I thought my definitions should do that…
>
> The space before the image isn’t fixed when you use \setuplayout[grid=yes] because ConTeXt has to change it to ensure the text after the floats stays on the page.
>
> %\setuplayout[grid=yes] % uncomment to see how the space before the images changes
Ah, never had thought of that, thanks for the pointer!
But I want my pictures starting at that fixed position AND my (body) text keeping the grid.
Is that possible?
Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2015-07-30 9:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-04 10:53 Henning Hraban Ramm
2015-05-04 11:10 ` Wolfgang Schuster
2015-05-04 11:54 ` Henning Hraban Ramm
2015-05-04 20:59 ` Wolfgang Schuster
2015-05-06 5:06 ` Henning Hraban Ramm
2015-05-11 11:53 ` Wolfgang Schuster
2015-07-30 9:49 ` Henning Hraban Ramm [this message]
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=6C8E04FC-E1B9-4742-A81D-07D74018E3A5@fiee.net \
--to=texml@fiee.net \
--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).