ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Piotr Kopszak <kopszak@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: The ultimate (?) float problem
Date: Thu, 14 May 2009 11:17:17 +0200	[thread overview]
Message-ID: <d56d340e0905140217h67dde31fr377c021b1e271da1@mail.gmail.com> (raw)
In-Reply-To: <fe8d59da0905120716s57747e04x287a6b739e6b7bcd@mail.gmail.com>

I think I more or less got the idea of what is possible. But let me
describe my project. Maybe you might come up with a better solution.
I'm going to typeset a diary written and drawn by an illustrator and
graphic designer 70 years ago. What is unique, it consists of
handwritten pages which were already composed for publication. So in
fact I have to preserve both the juxtaposition of illustrations and
the text (give or take line or two). As basically the text should not
flow between pages I guess I could set the whole thing with layers
only. The biggest problem seems how to control placement of layers so
that the text inside them is set on the grid. Here is my initial setup
for a single page.

\definelayer  [figure][width=\overlaywidth,height=\overlayheight]
\defineoverlay[figure][{\directsetup{figure}\tightlayer[figure]}]
\setupcolors[state=start]
\setupbackgrounds[page][background=figure]
\setuppagenumbering[location={footer,right}]
\usetypescript[palatino]
\setupbodyfont[palatino,14pt]
\starttext
\startbuffer[zapf]
\input zapf
\stopbuffer
\startbuffer[hawking]
\input hawking
\stopbuffer

\flushlayer[figure]

\startsetups figure
\setlayerframed[figure][frame=off,x=25mm,y=43mm]{\externalfigure[cow][width=\textwidth,height=40mm]}
\setlayerframed[figure][frame=off,x=25mm,y=90mm,align=normal,width=\textwidth]{\getbuffer[zapf]}
\setlayerframed[figure][frame=off,x=80mm,y=150mm]{\externalfigure[cow][width=30mm,height=100mm]}
\setlayerframed[figure][frame=off,x=25mm,y=150mm,align=normal,width=50mm]{\getbuffer[hawking]}
\setlayerframed[figure][frame=off,x=120mm,y=150mm,align=normal,width=50mm]{\getbuffer[hawking]}
\stopsetups
\stoptext

Of course, it looks like it's going to take couple of months of rather
tedious manual work so any ideas how to make it easier are welcome.

Piotr

2009/5/12 luigi scarso <luigi.scarso@gmail.com>:
>
>
> On Tue, May 12, 2009 at 3:32 PM, Wolfgang Schuster
> <schuster.wolfgang@googlemail.com> wrote:
>>
>> Am 12.05.2009 um 15:18 schrieb Piotr Kopszak:
>>
>>> Yes, exactly.
>>
>> \setuppapersize [S6]
>> \setuptolerance [soepel,rek]
>
> better
>
> \setuppapersize [S6][S6]
> \setuptolerance [tolerant,stretch]
> --
> luigi
>
>
> ___________________________________________________________________________________
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>
>



-- 
http://okle.pl
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2009-05-14  9:17 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-12  9:22 Piotr Kopszak
2009-05-12 10:02 ` Hans Hagen
2009-05-12 10:16   ` Piotr Kopszak
2009-05-12 10:44     ` Hans Hagen
2009-05-12 10:28 ` luigi scarso
2009-05-12 11:28   ` Piotr Kopszak
2009-05-12 11:46     ` luigi scarso
2009-05-12 13:03       ` Piotr Kopszak
2009-05-12 13:11         ` luigi scarso
2009-05-12 13:18           ` Piotr Kopszak
2009-05-12 13:32             ` Wolfgang Schuster
2009-05-12 13:45               ` Piotr Kopszak
2009-05-12 14:16               ` luigi scarso
2009-05-14  9:17                 ` Piotr Kopszak [this message]
2009-05-12 13:29       ` ppchtex color Alan BRASLAU
2009-05-12 17:57         ` Hans Hagen
2009-05-12 18:07         ` Hans Hagen
2009-05-12 18:17         ` Hans Hagen
2009-05-12 20:45         ` Hans Hagen
2009-05-12 21:30         ` Alan BRASLAU
2009-05-12 21:53           ` Hans Hagen
2009-05-12 21:51         ` Alan BRASLAU
2009-05-13  8:33           ` Hans Hagen
2009-05-13  8:55             ` Alan BRASLAU
2009-05-13 11:25               ` 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=d56d340e0905140217h67dde31fr377c021b1e271da1@mail.gmail.com \
    --to=kopszak@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).