Re: [NTG-context] help - spine centered figure

2005-01-30 Thread h h extern
Ciro A. Soto wrote:
I am hoping to get the version 1.  The other version
is like an exercise for me, to see how it would be
done.
well, the machinery is there, and there are several solutions, of which i show 
only one (watch further on how we enable clipping);

don't forget to submit this example to the wiki
\definelayer
  [page]
  [width=\paperwidth,
   height=\paperheight,
   offset=-\measure{page-bleed},
   doublesided=yes]
\setupbackgrounds
  [page]
  [background=page]
\setuppagenumbering
  [alternative=doublesided]
\definemeasure [page-bleed] [\dimexpr(10mm)]
\useexternalfigure
  [page-graphic]
  [cow]
  [ width=\dimexpr(2\paperwidth +2\measure{page-bleed}),
   height=\dimexpr( \paperheight+2\measure{page-bleed})]
\starttext
% cleaner here
\startstandardmakeup[doublesized=no,page={empty,left}]
\setlayer
  [page] [preset=lefttop]
  {\externalfigure[page-graphic]}
\stopstandardmakeup
\startstandardmakeup[doublesized=no,page=right]
\setlayer
  [page] [preset=righttop]
  {\externalfigure[page-graphic]}
\stopstandardmakeup
% less intuitive here
%
% \page[left]
%
% \setlayer
%   [page] [left] [preset=lefttop]
%   {\externalfigure[page-graphic]}
%
% \setlayer
%   [page] [right] [preset=righttop]
%   {\externalfigure[page-graphic]}
%
% \startstandardmakeup
%   flush a page
% \stopstandardmakeup
% to show bleeding:
\setuppapersize
  [A4][A3]
\setuplayout
  [location=middle]
\setupbackgrounds
  [page][frame=on]
% add this in order to clip
\setuplayout
  [clipoffset=\measure{page-bleed}]
\startstandardmakeup[doublesized=no,page={empty,left}]
\setlayer
  [page] [preset=lefttop]
  {\externalfigure[page-graphic]}
\stopstandardmakeup
\startstandardmakeup[doublesized=no,page=right]
\setlayer
  [page] [preset=righttop]
  {\externalfigure[page-graphic]}
\stopstandardmakeup
\stoptext
-
  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


Re: [NTG-context] help - spine centered figure

2005-01-30 Thread h h extern
Ciro A. Soto wrote:
Sorry, I made a typo error. The title of the book I am
reading is Goodbye Gutenberg by Valerie
Kirschenbaum.
A book I recommend for any person interested in 
book design, typography, history, reading, fonts, etc.
hm, i dunno that one; sounds kind of sad, this 'goodbye' -)
i wonder if it makes sense to add a biblography corner to the wiki, where users 
can enter/describe

- good books about typography
- books with special (nice) typography
so that ww have a nice 'example' bibliographic test file as well (xml version as 
well as bibtex one)

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


Re: [NTG-context] help - spine centered figure

2005-01-29 Thread Ciro A. Soto
Sorry, I made a typo error. The title of the book I am
reading is Goodbye Gutenberg by Valerie
Kirschenbaum.
A book I recommend for any person interested in 
book design, typography, history, reading, fonts, etc.
Ciro

--- Ciro A. Soto [EMAIL PROTECTED] wrote:

 Hello all,
 
 I am reading a beautifully designed book called
 'Boodbye Gutenberg, and it gave me inspiration to
 change the design of my self-published novel.
 However,
 I wonder if with my limited knowledge in Contet I
 can
 make it happen. Here it is:
 
 Version 1: The text is standard, justified both
 sides.
 
 When the reader opens the book I want him/her to see
 a
 background light-gray picture centered in the spine
 of
 the book from the top of the page to the bottom.
 (The
 picture is a guitar with the strings along the
 spine),
 I would like half of the guitar in the left page,
 and
 half in the other page. In other words,
 there would be a bleeding picture to the right of
 the
 left page, and a bleeding picture to the left of the
 right page. The text would be black, and the guitar
 would be seen as background. I know it is difficult
 to
 follow my explanation, but I hope you understand. 
 
 Version 2: The text is wrapped around the figure,
 that
 is, each line in the left page is left justified,
 but
 ends at the border of the picture. And each line in
 the right page is right justified, but begins at the
 border of the picture.
 
 I am hoping to get the version 1.  The other version
 is like an exercise for me, to see how it would be
 done.
 
 I have tried with layers for the background picture,
 and it works, but I don't know how to tell Context
 to
 use alternative pictures, one for the left pages,
 another for the right pages. My apologies for the
 length ...
 
 thank you
 
 ciro
 
 
 
 
 
 =
 ==
 Ciro A. Soto
 Author of
 The Guitar Maker. 
 An Exploration of Wisdom, Design and Love. Pub.
 Date: Dec. 2005.
 
 All problems are at the interface. Each one of them
 has a solution.
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
 

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