ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* nice friends-book with ConText
@ 2011-10-13 12:13 Jan Heinen
  2011-10-13 18:39 ` Willi Egger
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Heinen @ 2011-10-13 12:13 UTC (permalink / raw)
  To: ntg-context

Hello,

I hope the answer is easier than the question :-)

I am a ConText-Newby and am struggeling with the huge amount 
of ConText-commands.

I want to make a little book with infos and fotos of our 
friends - and I am afraid, the nice layout I have in mind is 
to complicated or impossible with ConText - at least for me.

The book will have 40 pages and every page with the same 
layout. I have posted the layout I want to use as a .png to 
http://www.imagebanana.com/view/f4o3un2c/Entwurffriends.png

Which ConText-commands do I need for this layout? I tried 
\inmargin - without success.
\definelayer and \setlayerframed worked (a littlebit) - 
though the running text (beneath the headline) runs through 
the layer.

What seems the easiest way? layers, columns, ?

Maybe someone here has a little example which I can finetune.

Which hints can be given? I would be very happy about a 
rough structure of the context-code - I think then I am able 
to do the finetuning with the manuals.

I am working with Linux - so Indesign is no alternative for 
me :-)

Regards
Jannis

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nice friends-book with ConText
  2011-10-13 12:13 nice friends-book with ConText Jan Heinen
@ 2011-10-13 18:39 ` Willi Egger
  0 siblings, 0 replies; 5+ messages in thread
From: Willi Egger @ 2011-10-13 18:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Jan,

I would say that in this case the answer might be more elaborate than you think. Still, looking at your design I would advise to go for layers. If I understand your comments correctly, then the problems may be caused by the definitions you used. 

I have here a small application for producing CD/DVD labels, booklets and jewel-case inlays. 
I send you the files directly. May be this helps to get grip on the matter.

Kind regards

Willi
On 13 Oct 2011, at 14:13, Jan Heinen wrote:

> Hello,
> 
> I hope the answer is easier than the question :-)
> 
> I am a ConText-Newby and am struggeling with the huge amount of ConText-commands.
> 
> I want to make a little book with infos and fotos of our friends - and I am afraid, the nice layout I have in mind is to complicated or impossible with ConText - at least for me.
> 
> The book will have 40 pages and every page with the same layout. I have posted the layout I want to use as a .png to http://www.imagebanana.com/view/f4o3un2c/Entwurffriends.png
> 
> Which ConText-commands do I need for this layout? I tried \inmargin - without success.
> \definelayer and \setlayerframed worked (a littlebit) - though the running text (beneath the headline) runs through the layer.
> 
> What seems the easiest way? layers, columns, ?
> 
> Maybe someone here has a little example which I can finetune.
> 
> Which hints can be given? I would be very happy about a rough structure of the context-code - I think then I am able to do the finetuning with the manuals.
> 
> I am working with Linux - so Indesign is no alternative for me :-)
> 
> Regards
> Jannis
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nice friends-book with ConText
  2011-10-13 22:56   ` Jan Heinen
@ 2011-10-13 23:05     ` Wolfgang Schuster
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2011-10-13 23:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 14.10.2011 um 00:56 schrieb Jan Heinen:

> With the change to [strut=no,offset=overlay] the result looks a litlebit better. Though there is still whitespace to the left and to the right.
> 
> \definelayer[Kontaktdaten][x=50mm,y=150mm,width=30mm,height=40mm,state=start] % size is ignored!
> \setupbackgrounds[paper][setups=ALayer,background=Kontaktdaten,state=start]
> \starttext
> \strut
> \setlayerframed[Kontaktdaten][frame=on,hoffset=0mm,voffset=0mm][strut=no,offset=overlay]   % <==== look here
> {
>  {\externalfigure[jkopp][width=30mm][height=40mm]}
> }

You have a space here between the first two left braces and also one between the two right braces, remove the outer braces and write

  \setlayerframed[…][…][…]
    {\externalfigure[…]}

to get rid of the spaces.

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nice friends-book with ConText
       [not found] ` <CALBOmsb0getiMX4ukXMsQakhUxfsuOC1mZ0x5tDd7QMCZKQEfg@mail.gmail.com>
@ 2011-10-13 22:56   ` Jan Heinen
  2011-10-13 23:05     ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Heinen @ 2011-10-13 22:56 UTC (permalink / raw)
  To: ntg-context

With the change to [strut=no,offset=overlay] the result 
looks a litlebit better. Though there is still whitespace to 
the left and to the right.

\definelayer[Kontaktdaten][x=50mm,y=150mm,width=30mm,height=40mm,state=start] 
% size is ignored!
\setupbackgrounds[paper][setups=ALayer,background=Kontaktdaten,state=start]
\starttext
\strut
\setlayerframed[Kontaktdaten][frame=on,hoffset=0mm,voffset=0mm][strut=no,offset=overlay]   
% <==== look here
{
   {\externalfigure[jkopp][width=30mm][height=40mm]}
}
\stoptext

Look here: 
http://www.imagebanana.com/view/ksjzn63e/FotoinLayer.png

Janis



Am 14.10.2011 00:22, schrieb Mojca Miklavec:
>> \setlayerframed[Kontaktdaten][frame=on,hoffset=0mm,voffset=0mm,align=left]
> strut=no,offset=overlay
>
> align=left doesn't do what you want it to do.
>
> Mojca
>

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nice friends-book with ConText
@ 2011-10-13 21:54 Jan Heinen
       [not found] ` <CALBOmsb0getiMX4ukXMsQakhUxfsuOC1mZ0x5tDd7QMCZKQEfg@mail.gmail.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Heinen @ 2011-10-13 21:54 UTC (permalink / raw)
  To: ntg-context

Step by Step I'm going forward.

This shuld be the result, when I am ready: 
http://www.imagebanana.com/view/f4o3un2c/Entwurffriends.png

At the moment I try to get the foto into a layer.
Though the layer is definded as 30x40mm and the foto as well 
- the foto does not fit into the layer: the layer is a bit 
bigger.

See here: 
http://www.imagebanana.com/view/29611n9s/FotoinLayer.png

And here is what I did:

\definelayer[Kontaktdaten][x=50mm,y=150mm,width=30mm,height=40mm,state=start] 
% size is ignored!
\setupbackgrounds[paper][setups=ALayer,background=Kontaktdaten,state=start]
\starttext
\strut
\setlayerframed[Kontaktdaten][frame=on,hoffset=0mm,voffset=0mm,align=left]
{
   {\externalfigure[jkopp][width=30mm][height=40mm]}
}
\stoptext


How can I fit the foto exactly into the layer?
Jannis



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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-10-13 23:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-13 12:13 nice friends-book with ConText Jan Heinen
2011-10-13 18:39 ` Willi Egger
2011-10-13 21:54 Jan Heinen
     [not found] ` <CALBOmsb0getiMX4ukXMsQakhUxfsuOC1mZ0x5tDd7QMCZKQEfg@mail.gmail.com>
2011-10-13 22:56   ` Jan Heinen
2011-10-13 23:05     ` Wolfgang Schuster

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