ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* First go at book with ConTeXt, questions
@ 1998-07-28 14:16 Frans Goddijn
  0 siblings, 0 replies; 14+ messages in thread
From: Frans Goddijn @ 1998-07-28 14:16 UTC (permalink / raw)


First this: finding out how to create oldstyle pagenumbers in the center
below the text, I loaded the great (in both meanings of the word) manual
in Acrobat viewer. As I find it hard to learn and act from a screen
manual, I printed the pages (61-68) dealing with the subject. Half of the
printed page is navigational screen info. I guess I must get/use another
manual file for this method? 

said Taco Hoekwater  to All:

 TH> is a feature, actually. It helps to decide whether spreads are OK

Thanks! So now I know ;=}

 TH> If you want only one page, try:
 TH> \toonkader
 TH> \tooninstellingen
 TH> \pagina

That works!

 TH> I don't know what is wrong with the cropmarks.

Talking to Hans, I learned that these margins geting pushed off the
cutting lines can happen and it's only a problem if the user wants to put
things in these margins. My *current* settings have the margins pushed
over the cutting lines on *both* sides. When the margins are shown with
\toon... then this can be distressing, but since I don't plan to put any
notes in the margins of this current book I won't worry about it for the
time being. In MAPS 20, there are several examples of the same thing
happening, for instance on page 91.

Remaining posible problem: the page as I have it currently is not
vertically centered (I think the "kopwit" is too much, compared to the
white on the bottom of the page), buit I'll play some more to see where
I'm wrong.

My current settings are:

\stelpapierformaatin[A5][A4]

% the settings from the old LaTeX doc:
%\setlength{\oddsidemargin}{19mm}
%\setlength{\evensidemargin}{19mm}
%\setlength{\topmargin}{8mm}
%\setlength{\textheight}{155mm}
%\setlength{\textwidth}{110mm}

\stelkorpsin[pos,fg,9pt]
\stellayoutin[plaats=midden,markering=aan,
              rugwit=19mm,breedte=110mm,
              hoogte=180mm
              ]
% I first forgot the comma after "110mm" which gave strange results...
% the textheight is a little too much compared to the original  
% LaTeX doc but I see how I can change that later on.

\stelachtergrondenin[pagina][kader=aan]

\toonkader
\tooninstellingen
\pagina

\starttekst
De gasten hebben in de salonboot op het benedendek gezamenlijk een
keuken, een grote huiskamer, een eetkamer met leestafel en tv. In het
hoogseizoen zal het wel een gezellige boel zijn. Op het bovendek is er

et cetera
\stoptekst

Met hartelijke groet!

 Frans Goddijn   | bbs: +31 (0)26 3217041
 Postbus 30196   | email: fg@fgbbs.iaf.nl
 6803 AD Arnhem  | tel: +31 (0)26 3219342
 The Netherlands | http://www.iaf.nl/Users/Meridian 
--
You are what you is


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

* First go at book with ConTeXt, questions
@ 1998-07-30 13:03 Frans Goddijn
  0 siblings, 0 replies; 14+ messages in thread
From: Frans Goddijn @ 1998-07-30 13:03 UTC (permalink / raw)


said Hans Hagen  to All:

 HH> Right, but Frans probably only uses oldstyle in his pagenumbers.
 HH> Frans, how is \oldstyle defined? 

In my file (custom made by Taco, thanks!) named FONT-FG.TEX it says:

[...]
\definefilesynonym [Times-RomanSC]                    [tnrexp]
\let\oldstyle\sc
[...]

"tnrexp" refers to the postscript amf/pfb file for the so called "expert
set" that I once bought at FONSHOP in Belgium for completing my existing
Times font set. 

   > Is this correct? \os takes the current font size into account,
\oldstyle
   > doesn't I believe.

I hope / trust that "my" oldstyle does grow and shrink with the current
font size ;=}

 HH> I have to admit that oldstyle is not implememented very well,
 HH> simply because I lack os fonts. I need more input on that. 

I will gladly send you mine for testing / development purposes. I also
sent them to Taco so he could see what I have / needed to get it to work
under ConTeXt.

Met hartelijke groet!

 Frans Goddijn   | bbs: +31 (0)26 3217041
 Postbus 30196   | email: fg@fgbbs.iaf.nl
 6803 AD Arnhem  | tel: +31 (0)26 3219342
 The Netherlands | http://www.iaf.nl/Users/Meridian 
--
You are what you is


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

* Re: First go at book with ConTeXt, questions
@ 1998-07-30 12:19 Hans Hagen
  0 siblings, 0 replies; 14+ messages in thread
From: Hans Hagen @ 1998-07-30 12:19 UTC (permalink / raw)
  Cc: ntg-context

Frans Goddijn wrote:

> I had peeked in the file "font-ptm.tex" and in the big PDF manual and got
> the idea of how this works. Is it also o.k. if I do this:
> 
> \definebodyfont [14.4pt,12pt,11pt,10pt,9pt,8pt] [rm]
>   [bse=Times-Bold scaled \magstep5]
> 
> {\bse Dit is de titel}   ?

Indeed it accepts 

 at <n>pt
 scaled <number>  (\magstep returns a number)

and non tex: 

 sa <number> 

the later meaning scaled at (so:

  define...[12pt]...[  sa 2 ...] 

means 2*12pt

which is handy when you feed a list of sizes. 

>  HH> (see font-ini)
> 
> That's a remarkable file, with a manual hidden in it and exotic looking
> comands like "\dodododefinebodyfont" ;=}

All documented modules are manual sat the same time. About 50% is
documented that way. 

> Does this command wait for a next command to switch these headers/foorters
> back on or is it only effective for the one page that it was issued on?

Only one page but it canbe overruled by later settings. 

> I expect this to be an interesting but tricky trip to accomplish so I'll
> postpone that until I have several chapters ready.

Not that hard to do, just experment some time. 

> Any suggestions will be welcome in the meantime though...

Try it yourself first ... 

> I have:
> name           bytes   date      time
> ======================================
> texutil.exe    107066  16-09-97  10:45
> 
> If there's an even latester (;=}) version, I'd be much obliged if you sent
> me that one!

Ok. 

Hans

-----------------------------------------------------------------
                                              Hans Hagen | PRAGMA
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@wxs.nl
-----------------------------------------------------------------


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

* First go at book with ConTeXt, questions
@ 1998-07-30  9:40 Frans Goddijn
  0 siblings, 0 replies; 14+ messages in thread
From: Frans Goddijn @ 1998-07-30  9:40 UTC (permalink / raw)


said Hans Hagen  to All:

 HH> \definebodyfont[10pt,11pt,12pt][rm][tfe=cmr10 sa 5]
 HH> \tfe Hi Frans
 HH> (The sa 5 means scaled at 5 times the 10,11,12 pt)

I had peeked in the file "font-ptm.tex" and in the big PDF manual and got
the idea of how this works. Is it also o.k. if I do this:

\definebodyfont [14.4pt,12pt,11pt,10pt,9pt,8pt] [rm]
  [bse=Times-Bold scaled \magstep5]

{\bse Dit is de titel}   ?

 HH> (see font-ini)

That's a remarkable file, with a manual hidden in it and exotic looking
comands like "\dodododefinebodyfont" ;=}

 HH> So, if you say \def\os{\oldstyle}, you can use this. 

Thanks! Now I think I have two macros (I thought up the first one myself)
to do the trick:

\def\onum#1{{\oldstyle #1}} %  for use of \onum{123} 
\def\os{\oldstyle}          %  for use of \os{123}

The second one (from you) is clearly simpler.

> * What is the ConTeXt equivalent for \thispagestyle{empty}?

HH> The dutch one is (use wybo's script to translate):
HH>   \geenhoofdenvoetregels

Does this command wait for a next command to switch these headers/foorters
back on or is it only effective for the one page that it was issued on?

 HH> or maybe you prefer:
 HH>   \stelkopin[hoofdstuk][hoofd=leeg] % of hoofd=hoog

I'll probably enhavce the chapter command with such an option soon. I plan
to have running headers on left and right pages, the left page giving the
autor's name, the right page giving the title (all chapters in the book
are about authors and the novels they wrote, and the chapter titles have
the autor's name and the book that will be reviewed in the chapter. This
is probably good logically constant stuff to devise a macro for chapter
titles like

\hoofdstuk{
            \auteur{Maarten 't Hart}
            \boek{Een vlucht regenwulpen}
             }

which must typeset the author's name in upper caps bold, and the title of
the book in bold on a new line, pasing on the author's name for display on
the top of left sided pages and the novel's title on top of the right
sided pages, with none of these headers on the chapter's first page.

I expect this to be an interesting but tricky trip to accomplish so I'll
postpone that until I have several chapters ready.

Any suggestions will be welcome in the meantime though...

>
\hspace*{35mm}{\includegraphics[width=4cm]{c:/ourfiles/eps/lsylogo.eps}}%

 HH> I don't know what this \hspace is supposed to do. 

In tha old LaTeX file, I needed the hspace to put the logo in the middle
of the page. Now \regelmidden takes care of that nicely.

> which cloud my view... In the PDF manual an example is given which
should
> show a cow in the text, but the cow is missing... ;=}

 HH> I never noticed. 

The Siwss put bells on cows so they will notice! ;=}

About texutil.exe:

 HH> (get the latest version or let me know if I should mail it):  

I have:
name           bytes   date      time
======================================
texutil.exe    107066  16-09-97  10:45 

If there's an even latester (;=}) version, I'd be much obliged if you sent
me that one!

 HH>   texutil --figures --epspage --epstopdf yourfile

If I do

 texutil --figures --epspage --epstopdf lsylogo.eps

Then nothing seems to happen. I get the TEXUTIL screen with the options
but no files are created. I also doubt that TEXUTIL could find and fire up
a GostScript on my PC somewhere.

Meanwhile, thanks for your help and advice!

Met hartelijke groet!

 Frans Goddijn   | bbs: +31 (0)26 3217041
 Postbus 30196   | email: fg@fgbbs.iaf.nl
 6803 AD Arnhem  | tel: +31 (0)26 3219342
 The Netherlands | http://www.iaf.nl/Users/Meridian 
--
You are what you is


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

* Re: First go at book with ConTeXt, questions
@ 1998-07-30  8:13 Taco Hoekwater
  0 siblings, 0 replies; 14+ messages in thread
From: Taco Hoekwater @ 1998-07-30  8:13 UTC (permalink / raw)
  Cc: Berend de Boer, ntg-context

On Thu, 30 Jul 1998 08:54:24 +0200 Hans Hagen <pragma@wxs.nl> wrote:

> Berend de Boer wrote:
> 
> > > So, if you say \def\os{\oldstyle}, you can use this.
> > 
> > Is this correct? \os takes the current font size into account, \oldstyle doesn't I believe.
> 
> Right, but Frans probably only uses oldstyle in his pagenumbers. Frans,
> how is \oldstyle defined? 

\oldstyle is from plain.tex and basically just switches to \fam1.
\os does almost the same, but uses context's font mechanism 
(\normalizedbodysize\cm\mi). In general the following trick
works:

  \definealternativestyle [oud] [\oldstyle]  []
  \starttekst
  Er zijn \oud{7} kinderen in klas {\oud 3}.
  \stoptekst

> I have to admit that oldstyle is not implememented very well, simply
> because I lack os fonts. I need more input on that. 

Oldstyle should be part of the encoding-specific commands, just like 
the accents. Now I have had to redefine \oldstyle for Frans to get 
the above definition to work. (font-fg.tex says: \let\oldstyle\sc)

Taco

-- 
Taco Hoekwater                                        texhelp@wkap.nl
Kluwer Academic Publishers                            -- Pre Press --
Achterom 119, 3311 KB Dordrecht, The Netherlands  tel.  31-78-6392550
---------------------------------------------------------------------


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

* Re: First go at book with ConTeXt, questions
@ 1998-07-30  6:54 Hans Hagen
  0 siblings, 0 replies; 14+ messages in thread
From: Hans Hagen @ 1998-07-30  6:54 UTC (permalink / raw)
  Cc: ntg-context

Berend de Boer wrote:

> > So, if you say \def\os{\oldstyle}, you can use this.
> 
> Is this correct? \os takes the current font size into account, \oldstyle doesn't I believe.

Right, but Frans probably only uses oldstyle in his pagenumbers. Frans,
how is \oldstyle defined? 

I have to admit that oldstyle is not implememented very well, simply
because I lack os fonts. I need more input on that. 

Hans

-----------------------------------------------------------------
                                              Hans Hagen | PRAGMA
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@wxs.nl
-----------------------------------------------------------------


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

* RE: First go at book with ConTeXt, questions
@ 1998-07-29 17:22 Berend de Boer
  0 siblings, 0 replies; 14+ messages in thread
From: Berend de Boer @ 1998-07-29 17:22 UTC (permalink / raw)


On Wednesday, July 29, 1998 2:27 PM, Hans Hagen [SMTP:pragma@wxs.nl] wrote:

> So, if you say \def\os{\oldstyle}, you can use this. 

Is this correct? \os takes the current font size into account, \oldstyle doesn't I believe.

Groetjes,

Berend.


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

* Re: First go at book with ConTeXt, questions
@ 1998-07-29 12:27 Hans Hagen
  0 siblings, 0 replies; 14+ messages in thread
From: Hans Hagen @ 1998-07-29 12:27 UTC (permalink / raw)
  Cc: ntg-context

Frans Goddijn wrote:

> First this: I have several (MAPS) ConTeXt manuals opened
>       on a chair nearby. I'm also lucky to have an old
>       big printed manual version 960122 at hand. The MAPS
>       manuals are pleasant appatizers but not so handy for
>       looking things up. For instance, in the table of
>       contents in MAPS 19 defining commands is said to be
>       on page 85, but that page is not in that MAPS. The
>       next manual in MAPS has a new page numbering and no
>       table of contents...

I admit that this is not handy, but it was decided that the second half
should follow the maps layout. Sorry for the inconvenience. 

>       I couldn't find the ConTeXt syntax replacing my
>       familiar \Large, \Huge etcetera. Taco told me this is
>       {\tfa foobar} for a small word "foobar" and then tfb,
>       tfc etcetera for bigger characters. This \tfa...e
>       command is not in the command list in the big PDF
>       manual though. The old paper manual showed (page 111)
>       that big characters can be printed (I need those for
>       the title page), but it's not shown how that is done.
>       The example "Grote Woorden" is shown as result, but

\definebodyfont[10pt,11pt,12pt][rm][tfe=cmr10 sa 5]

\tfe Hi Frans

(The sa 5 means scaled at 5 times the 10,11,12 pt)

>  HH> \setuplayout[rugwit=19mm,breedte=midden,kopwit=8mm,hoogte=midden]
> 
> Currently I have
> 
> \stellayoutin[plaats=midden,markering=aan,hoogte=midden,
>               kopwit=2cm,
>               hoofd=0mm,
>               voet=10mm,
>               rugwit=18mm,
>               breedte=110mm
>               ]
> 
> Does that look o.k. to you as well?

Looks ok. 

> Is the order/sequence of these settings of influence on the results?

No, never. 

>  HH> Of course you must also specify
>  HH>    [header=,footer=]
> 
> Is this a "must" from the start or could I wait until I know if I want to
> have headers and/or footers, and if so, what I want to put in them?

The must was meant for your specific document. You only need to specify
what you want. The defaults automatically scale with the papersize, so 

\setuppaperformat[A5]  
\stelpapierformaatin[letter]

indeed gives an acceptable layout to start with. 

>  HH> Putting the pagenumber in the middle,
>  HH>   \stelnummeringin[plaats={voet,midden},letter=\os]
> 
> I currently have this:
> 
> \stelnummeringin[plaats={voet,midden},letter=\oldstyle]
> 
> * are \os and \oldstyle identical?

I suppose Taco defined \oldstyle for you. Actually you could have said: 

  letter=mediaeval

because this is defined as (see font-ini)

  \definealternativestyle [mediaeval] [\os]  []

So, if you say \def\os{\oldstyle}, you can use this. 

> * I understand I must do {\oldstyle 123} to get 23 in oldstyle
>   but I would visually prefer a syntax like \os{123}.
>   Is this easy to accomplish?

All commands defined as alternative style act both ways! So you can say:

  \mediaeval{123}456

and 

   {\mediaeval 123}456

> * What is the ConTeXt equivalent for \thispagestyle{empty}?
>   On some pages I want no pagenumbers.

The dutch one is (use wybo's script to translate):

  \geenhoofdenvoetregels

or maybe you prefer:

  \stelkopin[hoofdstuk][hoofd=leeg] % of hoofd=hoog

> * I want to put an EPS file (the publisher's logo) on the inner title
> page.
>   If I look at page 106 of MAPS 20, I think I could do
> 
> \regelmidden{

or 

  \steluitlijnenin[midden]

  \leavevmode\externfiguur[..]

> \externfiguur
>         [c:/ourfiles/eps/lsylogo.eps] % can I specify path here?

yes, but how about adding in cont-sys.tex 

  \stelexternefigurenin[gebied=c:/ourfiles/eps]

furthermore, specifying the extension is not actually needed here, only
for metapost illustrations (which have numbers as extensions). 

>         [breedte=4cm,methode=eps]

No: [breedte=4cm] ; the method is only uses for special cases, where tex
should use the type to find the dimensions and the method to include the
graphic (in pdftex: a metapost fig is scanned as eps for dimensions and
converted by tex using a method). You could have said type=eps, but that
is default, so it can be omitted

The good news is that in the next version (which is tested by some folks
now) 
you don't need to specify types and methods etc. When you say: 

  \externalfigure[lsylogo][width=4cm]

Context starts looking for the best suit: outlines first, bitmaps last,
using several method for scanning dimensions (direct parsing,
texutil.tuf parsing or eventually calling texutil itself); multiple
directories can be searched etc etc. Figures are stored in the object
mechanism and reused when possible. 

>         % I wonder what mps means in the original example...
>         }

MetaPostEps

> The old LaTeX command was:
> \hspace*{35mm}{\includegraphics[width=4cm]{c:/ourfiles/eps/lsylogo.eps}}%
> 
> Am I right?

I don't know what this \hspace is supposed to do. 

> The other ConTeXt manuals show very advanced tricks, with text around the
> pictures, figure numbers and text under the pictures and reference info
> which cloud my view... In the PDF manual an example is given which should
> show a cow in the text, but the cow is missing... ;=}

I never noticed. 

> Furthermore, I am afraid I must convert the eps into pdf in some new way
> to be able to later generate a PDF file of the book, right? Whjat's the
> best way to do this? Send the eps to a friendly someone with Adobe's
> Distiller?

For instance. But first correct the page:

  texutil --figures --epspage yourfile 

(get the latest version or let me know if I should mail it): 

  texutil --figures --epspage --epstopdf yourfile

That one lets GhostScript do the job (using Sebastian R.'s page
correction trick). 

> PS: I enjoy this process of learning ConTeXt. It's a sort of TeX adventure
> game for me and as much fun as getting a new PC is. New possibillities!
> Hidden doors and options to be found! ;=}

You can bet on that, because many features do their work autimatically,
many are not documented yet, and many will be added. 

Hans

-----------------------------------------------------------------
                                              Hans Hagen | PRAGMA
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@wxs.nl
-----------------------------------------------------------------


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

* First go at book with ConTeXt, questions
@ 1998-07-29 10:24 Frans Goddijn
  0 siblings, 0 replies; 14+ messages in thread
From: Frans Goddijn @ 1998-07-29 10:24 UTC (permalink / raw)


Long message with a batch of ordered questions...

First this: I have several (MAPS) ConTeXt manuals opened 
      on a chair nearby. I'm also lucky to have an old 
      big printed manual version 960122 at hand. The MAPS 
      manuals are pleasant appatizers but not so handy for 
      looking things up. For instance, in the table of 
      contents in MAPS 19 defining commands is said to be 
      on page 85, but that page is not in that MAPS. The 
      next manual in MAPS has a new page numbering and no 
      table of contents...
      I couldn't find the ConTeXt syntax replacing my 
      familiar \Large, \Huge etcetera. Taco told me this is 
      {\tfa foobar} for a small word "foobar" and then tfb, 
      tfc etcetera for bigger characters. This \tfa...e 
      command is not in the command list in the big PDF 
      manual though. The old paper manual showed (page 111) 
      that big characters can be printed (I need those for 
      the title page), but it's not shown how that is done. 
      The example "Grote Woorden" is shown as result, but 
      without the macro prividing that result. 
      (In de PDF version of the manual, clicking on the 
      left green marginal marker for page 102 showed the 
      command, though!) 
      So, perseverance helps ;=}

said Hans Hagen to me:

 HH> \setuplayout[rugwit=19mm,breedte=midden,kopwit=8mm,hoogte=midden] 

Currently I have

\stellayoutin[plaats=midden,markering=aan,hoogte=midden,
              kopwit=2cm,
              hoofd=0mm,
              voet=10mm,
              rugwit=18mm,
              breedte=110mm
              ]

Does that look o.k. to you as well?
Is the order/sequence of these settings of influence on the results?

 HH> Of course you must also specify
 HH>    [header=,footer=] 

Is this a "must" from the start or could I wait until I know if I want to
have headers and/or footers, and if so, what I want to put in them?  

 HH> Putting the pagenumber in the middle,
 HH>   \stelnummeringin[plaats={voet,midden},letter=\os]  

I currently have this:

\stelnummeringin[plaats={voet,midden},letter=\oldstyle]

* are \os and \oldstyle identical?

* I understand I must do {\oldstyle 123} to get 23 in oldstyle 
  but I would visually prefer a syntax like \os{123}. 
  Is this easy to accomplish?

* What is the ConTeXt equivalent for \thispagestyle{empty}? 
  On some pages I want no pagenumbers. 

* I want to put an EPS file (the publisher's logo) on the inner title
page. 
  If I look at page 106 of MAPS 20, I think I could do

\regelmidden{
\externfiguur
        [c:/ourfiles/eps/lsylogo.eps] % can I specify path here?
        [breedte=4cm,methode=eps]
        % I wonder what mps means in the original example...
        }

The old LaTeX command was:
\hspace*{35mm}{\includegraphics[width=4cm]{c:/ourfiles/eps/lsylogo.eps}}%

Am I right?

The other ConTeXt manuals show very advanced tricks, with text around the
pictures, figure numbers and text under the pictures and reference info
which cloud my view... In the PDF manual an example is given which should
show a cow in the text, but the cow is missing... ;=}

Furthermore, I am afraid I must convert the eps into pdf in some new way
to be able to later generate a PDF file of the book, right? Whjat's the
best way to do this? Send the eps to a friendly someone with Adobe's
Distiller?

PS: I enjoy this process of learning ConTeXt. It's a sort of TeX adventure
game for me and as much fun as getting a new PC is. New possibillities!
Hidden doors and options to be found! ;=}

Met hartelijke groet!

 Frans Goddijn   | bbs: +31 (0)26 3217041
 Postbus 30196   | email: fg@fgbbs.iaf.nl
 6803 AD Arnhem  | tel: +31 (0)26 3219342
 The Netherlands | http://www.iaf.nl/Users/Meridian 
--
You are what you is


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

* Re: First go at book with ConTeXt, questions
@ 1998-07-28 15:18 Hans Hagen
  0 siblings, 0 replies; 14+ messages in thread
From: Hans Hagen @ 1998-07-28 15:18 UTC (permalink / raw)
  Cc: ntg-context

Frans Goddijn wrote:

> Remaining posible problem: the page as I have it currently is not
> vertically centered (I think the "kopwit" is too much, compared to the
> white on the bottom of the page), buit I'll play some more to see where
> I'm wrong.
> 
> My current settings are:
> 
> \stelpapierformaatin[A5][A4]
> 
> % the settings from the old LaTeX doc:
> %\setlength{\oddsidemargin}{19mm}
> %\setlength{\evensidemargin}{19mm}
> %\setlength{\topmargin}{8mm}
> %\setlength{\textheight}{155mm}
> %\setlength{\textwidth}{110mm}
> 
> \stelkorpsin[pos,fg,9pt]
> \stellayoutin[plaats=midden,markering=aan,
>               rugwit=19mm,breedte=110mm,
>               hoogte=180mm

\setuplayout[rugwit=19mm,breedte=midden,kopwit=8mm,hoogte=midden]

Of course you must also specify

   [header=,footer=] 

Putting the pagenumber in the middle,

  \stelnummeringin[plaats={voet,midden},letter=\os]  

Hans

-----------------------------------------------------------------
                                              Hans Hagen | PRAGMA
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@wxs.nl
-----------------------------------------------------------------


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

* Re: First go at book with ConTeXt, questions
@ 1998-07-28 11:58 Hans Hagen
  0 siblings, 0 replies; 14+ messages in thread
From: Hans Hagen @ 1998-07-28 11:58 UTC (permalink / raw)
  Cc: Frans Goddijn, ntg-context

Taco Hoekwater wrote: 

> I don't know what is wrong with the cropmarks.

Nothing. When you show the layout (pageframe) the margins can stick into
right edge, which is ok. The simples way to get a symmetrical page is: 

\setuplayout[backspace=2cm,width=middle]

Hans

-----------------------------------------------------------------
                                              Hans Hagen | PRAGMA
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@wxs.nl
-----------------------------------------------------------------


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

* Re: First go at book with ConTeXt, questions
@ 1998-07-28 11:18 Hans Hagen
  0 siblings, 0 replies; 14+ messages in thread
From: Hans Hagen @ 1998-07-28 11:18 UTC (permalink / raw)
  Cc: ntg-context

Frans Goddijn wrote:

> I'm running into the expected problems sooner than I expected. I use crop
> marks and the page that's displayed when I print the DVI file (using DVIPS
> from the 4TEX CD) shows that the crop marks are too far to the right. the
> page falls off the crop marks about 4mm to the left (page gets cut off)
> and it fails to meet the crop mark's right cutting line by about 3mm.

Frans phoned me about this problem, and here is what we discussed. 

When setting up a page, the margins don't count in the calculations!
Their dimensions are only used in backgrounds, breaking margin text,
alignment etc. 

The main dimensions are: backspace/topspace (rugwit/kopwit etc), width
and height.  

Use \showframe (\toonkader) for showing the page layout. Beware not to
confuse the margins with the backspace!

> Also, I wonder why I get 4 identical pages showing the layout with the
> test-tect on the 5th page with the following input file:
> 
> \stelpapierformaatin[A5][A4]
> \stelkorpsin[pos,fg,9pt]    % switch to times incl expert set,
>                             % thanks Taco!
> \stellayoutin[plaats=midden,markering=aan]
> \toonlayout               % this causes 4 identical pages

Right. I show four pages because one should be able to check:

single sided output 
double sided output 
double sided output with single sided layout

The four pages make sense on a duplex printer, where one should be able
to see a spread too.

I have to admit that I never use \showlayout, I always use \showframe. 

Hans

-----------------------------------------------------------------
                                              Hans Hagen | PRAGMA
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@wxs.nl
-----------------------------------------------------------------


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

* Re: First go at book with ConTeXt, questions
@ 1998-07-28 11:09 Taco Hoekwater
  0 siblings, 0 replies; 14+ messages in thread
From: Taco Hoekwater @ 1998-07-28 11:09 UTC (permalink / raw)
  Cc: ntg-context

> Also, I wonder why I get 4 identical pages showing the layout with the
> test-tect on the 5th page with the following input file:

This is a feature, actually. It helps to decide whether spreads are 
OK. If you want only one page, try:

\toonkader
\tooninstellingen
\pagina

instead of \toonlayout

I don't know what is wrong with the cropmarks.

Taco
-- 
Taco Hoekwater                                        texhelp@wkap.nl
Kluwer Academic Publishers                            -- Pre Press --
Achterom 119, 3311 KB Dordrecht, The Netherlands  tel.  31-78-6392550
---------------------------------------------------------------------


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

* First go at book with ConTeXt, questions
@ 1998-07-28  9:39 Frans Goddijn
  0 siblings, 0 replies; 14+ messages in thread
From: Frans Goddijn @ 1998-07-28  9:39 UTC (permalink / raw)


After producing a number of books using 4TEX/LaTeX I want to make a fresh
start and go at it with ConTeXt for the next book. This is a collection of
interviews and reviews bundled under the title "De kunst van het
schrijven" which, in translation, would be "The art of writing" which
coincides nicely with the title of Knuth's Art...

I'm running into the expected problems sooner than I expected. I use crop
marks and the page that's displayed when I print the DVI file (using DVIPS
from the 4TEX CD) shows that the crop marks are too far to the right. the
page falls off the crop marks about 4mm to the left (page gets cut off)
and it fails to meet the crop mark's right cutting line by about 3mm.

Also, I wonder why I get 4 identical pages showing the layout with the
test-tect on the 5th page with the following input file:

\stelpapierformaatin[A5][A4]
\stelkorpsin[pos,fg,9pt]    % switch to times incl expert set, 
                            % thanks Taco!
\stellayoutin[plaats=midden,markering=aan]
\toonlayo            ut     % this causes 4 identical pages

\starttekst    % just a test-text, garbage.
De gasten hebben in de salonboot op het benedendek gezamenlijk een
keuken, een grote huiskamer, een eetkamer met leestafel en tv. In het
hoogseizoen zal het wel een gezellige boel zijn. Op het bovendek is er
een ruime slaapkamer (voor de kapitein, met een ruim tweepersoonsbed) en
een stuk of twaalf hutten met elk twee smalle korte britsen langs de
wand en een wastafeltje annex opklapbaar tafeltje ertussenin. De
patrijspoort heeft een hor, wat vast wel handig is tegen de muggen in de
zomer. Helaas heb ik te weinig slaapmuts gedronken, want ik slaap
slecht. De andere gasten pitten lekker, te horen aan het innig tevreden
gesnurk dat zich in de loop van de nacht een weg door de wanden zaagt
--- het lijkt steeds dichterbij te komen. Bovendien is er in een van de
aangrenzende gebouwen iemand erg boos over iets dat hem is aangedaan. Of
zit er iemand in de kiel vast, per ongeluk ingesloten? Ik hoor doffe
klappen die ons gestrande schip doen schudden. Af en toe lijkt de
gevangene zich te kunnen bevrijden, het gebouw geeft kreunend toe, maar
dan houdt het stampen op. Een halfuur later echter vat de onbekende weer
moed, de sloopwerkzaamheden beginnen opnieuw en er klinken harde,
sombere dreunen. `Wuthering Heights' op de Veluwe... De volgende ochtend
hoor ik hetzelfde geluid als ik het aanpalende stallengebouw binnenga.
Dat is het dus: een ontevreden paard!
\stoptekst

Met hartelijke groet!

 Frans Goddijn   | bbs: +31 (0)26 3217041
 Postbus 30196   | email: fg@fgbbs.iaf.nl
 6803 AD Arnhem  | tel: +31 (0)26 3219342
 The Netherlands | http://www.iaf.nl/Users/Meridian 
--
You are what you is


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

end of thread, other threads:[~1998-07-30 13:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-07-28 14:16 First go at book with ConTeXt, questions Frans Goddijn
  -- strict thread matches above, loose matches on Subject: below --
1998-07-30 13:03 Frans Goddijn
1998-07-30 12:19 Hans Hagen
1998-07-30  9:40 Frans Goddijn
1998-07-30  8:13 Taco Hoekwater
1998-07-30  6:54 Hans Hagen
1998-07-29 17:22 Berend de Boer
1998-07-29 12:27 Hans Hagen
1998-07-29 10:24 Frans Goddijn
1998-07-28 15:18 Hans Hagen
1998-07-28 11:58 Hans Hagen
1998-07-28 11:18 Hans Hagen
1998-07-28 11:09 Taco Hoekwater
1998-07-28  9:39 Frans Goddijn

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