ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Gridsetting
       [not found] <20030614094151.27963.47244.Mailman@ref.ntg.nl>
@ 2003-06-14 12:55 ` Matthias Vogel
  2003-06-15 20:40   ` Gridsetting Hans Hagen
  2003-06-14 12:59 ` Improving the Documentation of Context Matthias Vogel
  2003-06-14 13:21 ` centered Chapter-Headings Matthias Vogel
  2 siblings, 1 reply; 7+ messages in thread
From: Matthias Vogel @ 2003-06-14 12:55 UTC (permalink / raw)



Hi,
I'm new to this list and have quite a lot of questions.
(Questions of course I can not answer after reading the
contributions to the list.) I'll start with three of them
in individual threads.

Its funny that the ability to set gridfitting text, is often
characterized as something that belongs in the domain of
wordprocessors or DTP programs. For me it is an essential
feature of typesetting since my publisher demands it---for
good reasons: When printing on thin paper (paperback) one would
see the lines of the backside of the paper inbetween the lines
of its frontside---destroying a good contrast of the text.

Beside of its general structure the announced ability to set
to grid (dt.: Registerhaltig) is one of reasons for me to get
into Context. But after a while of testing I'm not sure
whether Context does what I want it to do. Here  are my
expectations. If you got something like this:

normaltext text text text text text text text text texttext text
text texttext texttext texttext texttext texttext text
---in 9dd, line: 10dd
text text text texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext text

\startcitation

smalltext text text texttext texttext texttext texttext text
text text text texttext texttext texttext texttext text
---text in 8dd, line: 9dd
text texttext texttext texttext texttext texttext text

\stopcitation

normaltext text text texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext text
---in 9dd line 10dd
text texttext texttext texttext texttext texttext text...

we are loosing the grid because of the smaller lineskip
in citation. I would like to modify the definition of
citation (and other stuff, that causes deviations from the
grid (headings)) in a way that the following text will
adjust to the grit again. Is that possible?  As far
as I can see "\moveongrid" does not work in cases like
the given example.

Thanks in advance

Matthias Vogel 

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

* Improving the Documentation of Context
       [not found] <20030614094151.27963.47244.Mailman@ref.ntg.nl>
  2003-06-14 12:55 ` Gridsetting Matthias Vogel
@ 2003-06-14 12:59 ` Matthias Vogel
  2003-06-15  4:20   ` Matthew Huggett
  2003-06-14 13:21 ` centered Chapter-Headings Matthias Vogel
  2 siblings, 1 reply; 7+ messages in thread
From: Matthias Vogel @ 2003-06-14 12:59 UTC (permalink / raw)


I think it would be nice to have the manuals improved in the
following not very costly way (??? indicates my ignorance):

\setuplayout[..,..=..,..]
width             dimension fit middle .....    width, ??? and orientation 
of main text
height            dimension fit middle .....    height of main text
backspace         dimension
topspace          dimension
margin            dimension
nx                number.....................   ???
ny                number.....................   ???
dx                dimension..................   ???
dy                dimension..................   ???
lines             number.....................   number of lines on the page
                                                 [I don't know the relation 
to height]
grid              yes no.....................   invoking setting to grit

Since the manual doesn't even mention all those options, even a very
short hint is much better than just trying around to get an idea what's
the idea of an option.

Greetings

M. Vogel













At 11:41 14.06.2003 +0200, you wrote:
Send ntg-context mailing list submissions to
         ntg-context@ntg.nl

To subscribe or unsubscribe via the World Wide Web, visit
         http://www.ntg.nl/mailman/listinfo/ntg-context
or, via email, send a message with subject or body 'help' to
         ntg-context-request@ntg.nl

You can reach the person managing the list at
         ntg-context-admin@ntg.nl

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ntg-context digest..."


Today's Topics:

    1. Re: texexec (Raimund Kohl)
    2. Re: XML attributes (Jedrzej Nasiadek)
    3. Re: encodings (Morten =?iso-8859-1?Q?H=F8gholm?=)
    4. texexec (Raimund Kohl-Fuechsle)
    5. Re: texexec (Raimund Kohl-Fuechsle)
    6. Re: XML attributes (Hans Hagen)
    7. Double bar means hyphen? (John Culleton)
    8. Re: Double bar means hyphen? (Phil Rooke)
    9. Re: Double bar means hyphen? (wmcclain@salamander.com)
   10. Re: Double bar means hyphen? (Ed L Cashin)
   11. Re: Re: encodings (Giuseppe Bilotta)
   12. Re: Double bar means hyphen? (Adam Lindsay)
   13. Re: Double bar means hyphen? (Adam Lindsay)
   14. Re: Double bar means hyphen? (Hans Hagen)
   15. Re: Runtime graphics (Hans Hagen)
   16. Re: differences of table modes (Hans Hagen)

--__--__--

Message: 1
From: Raimund Kohl <Raimund.Kohl@freenet.de>
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] texexec
Date: Fri, 13 Jun 2003 18:00:23 +0200
Reply-To: ntg-context@ntg.nl

On Thursday 12 June 2003 15:18, Raimund Kohl wrote:

On Thursday 12 June 2003 15:18, Raimund Kohl wrote:

 > I run Debian Woody 3.01r and if I call
 >
 > texexec --make de
 >
 > it says
 >
 > "warning : texexec.ini not found; try 'texexec --verbose'
 >
 > TeXExec 2.5 -ConTeXt / PRAGMA ADE 1997 - 2001
 >
 > locating ini file : not found by kpsewhich
 > locating ini file : not found by searching
 > locating ini file : no environment variable set
 > locating ini file : not found in own path
 >
 > so, what am I going to do?  I found "texexec" in
 > /usr/share/texmf/context/config ... am I to make a link? Let's say to
 > /home/user/texmf?

ok, I made a link to /home/user/texmf.  Running texexec now works ...
seemingly.  But if I process Testfile.tex

\starttex
Hallo Hallo
\stoptext

with texexec Testfile the message is:

TexExec 2.5 ConTeXt / PRAGMA ADE ...
   executable : pdftex
          format : cont-en
        inputfile : Testtex
          output : standard
       interface : en
current mode : all
        TeX run : 1

This is pdfTex, Version 3.14159-1.00-pretest-20011114-ojmw-2.1 (Web2C 7.3.7)
Sorry, I can't find the format 'cont-en.efmt'; will try 'context.efmt'. I
can't find the format file 'context.efmt'!

How do I deal with that?

ray


--__--__--

Message: 2
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] XML attributes
From: Jedrzej Nasiadek <jnasiade@ia.pw.edu.pl>
Date: 06 Jun 2003 22:55:27 +0200
Reply-To: ntg-context@ntg.nl


 > \defineXMLenvironment [var]
 >     {\xdef\varname{\XMLpar{var}{name}{blah}} \NC \varname \NC }
 >     {\NC\NR }

Hah!  Now it works like charm :-) Thanks Simon!

Jedrzej

--__--__--

Message: 3
To: ntg-context@ref.ntg.nl
From: Morten =?iso-8859-1?Q?H=F8gholm?= <moho01ab@cheesy.student.cbs.dk>
Date: Wed, 11 Jun 2003 05:14:52 +0200
Subject: [NTG-context] Re: encodings
Reply-To: ntg-context@ntg.nl

Giuseppe Bilotta wrote:
 >
 > Saturday, June 7, 2003 Johannes Hüsing wrote:
 >
 >
 > JH> allallallallallong long li long long long
 >
 > Those are the lyrics of a song, which I know I've heard. Would
 > you mind reminding me which song it was?
 >
It's called "Sweat (A La La La La Long)" and it's by the band "Inner
Circle" from their 1993 album "Bad Boys".

Haven't heard this song since I was fifteen -- it is indeed a la la la
la long li long long long time ago...
-- 
Morten Høgholm.

Beware of my cheesy address!

www.student.cbs.dk/moho01ab


--__--__--

Message: 4
From: Raimund Kohl-Fuechsle <ray@nabuli.de>
To: ntg-context@ntg.nl
Date: Thu, 12 Jun 2003 15:04:28 +0200
Subject: [NTG-context] texexec
Reply-To: ntg-context@ntg.nl

Hello there,

I love working with ConTeXt, and never had to think about it much since SuSE
makes it realy easy ... but now I switched to Debian, and all of a sudden
have to face some trouble :-))

I run Debian Woody 3.01r and if I call

texexec --make de

it says

"warning : texexec.ini not found; try 'texexec --verbose'

TeXExec 2.5 -ConTeXt / PRAGMA ADE 1997 - 2001

locating ini file : not found by kpsewhich
locating ini file : not found by searching
locating ini file : no environment variable set
locating ini file : not found in own path

so, what am I going to do?  I found "texexec" in
/usr/share/texmf/context/config ... am I to make a link? Let's say to
/home/user/texmf?

Thanks in advance

ray


--__--__--

Message: 5
From: Raimund Kohl-Fuechsle <ray@nabuli.de>
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] texexec
Date: Fri, 13 Jun 2003 17:57:10 +0200
Reply-To: ntg-context@ntg.nl

On Thursday 12 June 2003 15:18, Raimund Kohl wrote:

 > I run Debian Woody 3.01r and if I call
 >
 > texexec --make de
 >
 > it says
 >
 > "warning : texexec.ini not found; try 'texexec --verbose'
 >
 > TeXExec 2.5 -ConTeXt / PRAGMA ADE 1997 - 2001
 >
 > locating ini file : not found by kpsewhich
 > locating ini file : not found by searching
 > locating ini file : no environment variable set
 > locating ini file : not found in own path
 >
 > so, what am I going to do?  I found "texexec" in
 > /usr/share/texmf/context/config ... am I to make a link? Let's say to
 > /home/user/texmf?

ok, I made a link to /home/user/texmf.  Running texexec now works ...
seemingly.  But if I process Testfile.tex

\starttex
Hallo Hallo
\stoptext

with texexec Testfile the message is:

TexExec 2.5 ConTeXt / PRAGMA ADE ...
   executable : pdftex
          format : cont-en
        inputfile : Testtex
          output : standard
       interface : en
current mode : all
        TeX run : 1

This is pdfTex, Version 3.14159-1.00-pretest-20011114-ojmw-2.1 (Web2C 7.3.7)
Sorry, I can't find the format 'cont-en.efmt'; will try 'context.efmt'. I
can't find the format file 'context.efmt'!

How do I deal with that?

ray


--__--__--

Message: 6
Date: Fri, 13 Jun 2003 18:18:57 +0200
To: ntg-context@ntg.nl
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: [NTG-context] XML attributes
Reply-To: ntg-context@ntg.nl

At 22:55 06/06/2003 +0200, you wrote:

 > > \defineXMLenvironment [var]
 > >     {\xdef\varname{\XMLpar{var}{name}{blah}} \NC \varname \NC }
 > >     {\NC\NR }
 >
 >Hah!  Now it works like charm :-) Thanks Simon!

or better:

    \defineXMLenvironment [var] {\expanded {\NC \XMLpar {var} {name}} \NC}
{\NC \NR}

since you need the expanded value in a collected content like tabulate

Hans
-------------------------------------------------------------------------
                                    Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                        Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                         information: http://www.pragma-ade.com/roadmap.pdf
                      documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


--__--__--

Message: 7
From: John Culleton <john@wexfordpress.com>
To: "Context-nl" <ntg-context@ntg.nl>
Date: Fri, 13 Jun 2003 15:31:41 -0400
Subject: [NTG-context] Double bar means hyphen?
Reply-To: ntg-context@ntg.nl

In some of the sample texts that come with Context (Zapf etc.) the double=
  bar=20
is used to indicate a hyphen, perhaps an unbreakable hyphen. In pdftex it=
=20
translated to an em? dash instead.

Is this combination documented somewhere?  ||
--=20
John Culleton
Able Typesetters and Indexers

--__--__--

Message: 8
From: "Phil Rooke" <phil.rooke@yax.org.uk>
To: <ntg-context@ntg.nl>
Subject: Re: [NTG-context] Double bar means hyphen?
Date: Fri, 13 Jun 2003 20:43:03 +0100
Reply-To: ntg-context@ntg.nl


 > Is this combination documented somewhere?  ||


There is some discussion in the reference manual Section 7.8 p. 133



--__--__--

Message: 9
Date: Fri, 13 Jun 2003 14:50:53 -0500
From: wmcclain@salamander.com
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] Double bar means hyphen?
Reply-To: ntg-context@ntg.nl

On Fri, 13 Jun 2003 15:31:41 -0400
John Culleton <john@wexfordpress.com> wrote:

 > In some of the sample texts that come with Context (Zapf etc.) the
 > double bar is used to indicate a hyphen, perhaps an unbreakable
 > hyphen. In pdftex it translated to an em? dash instead.
 >
 > Is this combination documented somewhere?  ||

The default is supposed to be an en-dash, but this can be changed. See
section 7.8 "Composed words" in "ConTeXt the Manual".

-Bill
-- 
Sattre Press                                      Pagan Papers
http://sattre-press.com/                  by Kenneth Grahame
info@sattre-press.com              http://pp.sattre-press.com/

--__--__--

Message: 10
Date: Fri, 13 Jun 2003 17:12:13 -0400
From: Ed L Cashin <ecashin@uga.edu>
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] Double bar means hyphen?
Reply-To: ntg-context@ntg.nl

On Fri, Jun 13, 2003 at 02:50:53PM -0500, wmcclain@salamander.com wrote:
 > On Fri, 13 Jun 2003 15:31:41 -0400
 > John Culleton <john@wexfordpress.com> wrote:
 >
 > > In some of the sample texts that come with Context (Zapf etc.) the
 > > double bar is used to indicate a hyphen, perhaps an unbreakable
 > > hyphen. In pdftex it translated to an em? dash instead.
 > >
 > > Is this combination documented somewhere?  ||
 >
 > The default is supposed to be an en-dash, but this can be changed. See
 > section 7.8 "Composed words" in "ConTeXt the Manual".

I always use explicit hyphen like this:

   Don't second|-|guess me.

-- 
--Ed L Cashin            |   PGP public key:
   ecashin@uga.edu        |   http://noserose.net/e/pgp/

--__--__--

Message: 11
Date: Fri, 13 Jun 2003 19:20:33 +0200
From: Giuseppe Bilotta <gip.bilotta@iol.it>
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] Re: encodings
Reply-To: ntg-context@ntg.nl

Wednesday, June 11, 2003 Morten H=F8gholm wrote:

MH> Giuseppe Bilotta wrote:
 >>=20
 >> Saturday, June 7, 2003 Johannes H=FCsing wrote:
 >>=20
 >>=20
 >> JH> allallallallallong long li long long long
 >>=20
 >> Those are the lyrics of a song, which I know I've heard. Would
 >> you mind reminding me which song it was?
 >>=20
MH> It's called "Sweat (A La La La La Long)" and it's by the band "Inn=
er
MH> Circle" from their 1993 album "Bad Boys".=20

MH> Haven't heard this song since I was fifteen -- it is indeed a la l=
a la
MH> la long li long long long time ago...

Thank you :)

--=20
Giuseppe "Oblomov" Bilotta



--__--__--

Message: 12
From: "Adam Lindsay" <atl@comp.lancs.ac.uk>
To: <ntg-context@ntg.nl>
Subject: Re: [NTG-context] Double bar means hyphen?
Date: Fri, 13 Jun 2003 23:14:18 +0100
Reply-To: ntg-context@ntg.nl

The character is a compoundhyphen, actually created by mashing two
hyphens together. Look at the definition in supp-lan.tex.
It really doesn't work well in certain fonts where the hyphen is subtly
shaped.

cheers,
adam

John Culleton said this at Fri, 13 Jun 2003 15:31:41 -0400:

 >In some of the sample texts that come with Context (Zapf etc.) the
double bar
 >is used to indicate a hyphen, perhaps an unbreakable hyphen. In pdftex it
 >translated to an em? dash instead.
 >
 >Is this combination documented somewhere?  ||
 >--
 >John Culleton
 >Able Typesetters and Indexers
 >_______________________________________________
 >ntg-context mailing list
 >ntg-context@ntg.nl
 >http://www.ntg.nl/mailman/listinfo/ntg-context

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Adam T. Lindsay                      atl@comp.lancs.ac.uk
  Computing Dept, Lancaster University   +44(0)1524/594.537
  Lancaster, LA1 4YR, UK             Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


--__--__--

Message: 13
From: "Adam Lindsay" <atl@comp.lancs.ac.uk>
To: <ntg-context@ntg.nl>, "Ed L Cashin" <ecashin@uga.edu>
Subject: Re: [NTG-context] Double bar means hyphen?
Date: Fri, 13 Jun 2003 23:21:34 +0100
Reply-To: ntg-context@ntg.nl

Ed L Cashin said this at Fri, 13 Jun 2003 17:12:13 -0400:

 >I always use explicit hyphen like this:
 >
 >  Don't second|-|guess me.

If it really is always, you can save a little effort with:

\setuphyphenmark[sign=-]

(This relates to an issue I mentioned earlier: anyone notice how these
compound word marks *don't* interact well with font handling/hanging?)

adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Adam T. Lindsay                      atl@comp.lancs.ac.uk
  Computing Dept, Lancaster University   +44(0)1524/594.537
  Lancaster, LA1 4YR, UK             Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


--__--__--

Message: 14
Date: Sat, 14 Jun 2003 10:57:13 +0200
To: ntg-context@ntg.nl
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: [NTG-context] Double bar means hyphen?
Reply-To: ntg-context@ntg.nl

At 23:21 13/06/2003 +0100, you wrote:
 >Ed L Cashin said this at Fri, 13 Jun 2003 17:12:13 -0400:
 >
 > >I always use explicit hyphen like this:
 > >
 > >  Don't second|-|guess me.
 >
 >If it really is always, you can save a little effort with:
 >
 >\setuphyphenmark[sign=-]
 >
 >(This relates to an issue I mentioned earlier: anyone notice how these
 >compound word marks *don't* interact well with font handling/hanging?)

yes, sometimes they are boxed thingies and they don't hang; for this the
concept of hanging should be extended (something \hangme {left} {right}
{material}); i discussed this long ago with thanh but it didn't (yet) end
up in pdftex -)

Hans
-------------------------------------------------------------------------
                                    Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                        Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                         information: http://www.pragma-ade.com/roadmap.pdf
                      documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


--__--__--

Message: 15
Date: Sat, 14 Jun 2003 11:06:11 +0200
To: ntg-context@ntg.nl
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: [NTG-context] Runtime graphics
Reply-To: ntg-context@ntg.nl

At 01:34 13/06/2003 -0400, you wrote:

 >  Hi,
 >
 >        I run this simple test file test.tex :
 >
 >%&cont-en
 >\setupoutput[pdftex]
 >\runMPgraphicstrue
 >\starttext
 >\startMPrun
 >   input graphserieA
 >\stopMPrun
 >\externalfigure[mprun.1]
 >\externalfigure[mprun.2]
 >%
 >\startMPrun
 >   input graphserieB
 >\stopMPrun
 >\externalfigure[mprun.1]
 >\externalfigure[mprun.2]
 >\stoptext
 >\end .
 >
 >   In the logfile, I got the messages :
 >
 >figures        : figureobject test-mprun.1 is reused
 >figures        : figureobject test-mprun.2 is reused
 >
 >  and twice the figures of graphserieA.mp on test.pdf.
 >
 >  Is there a way to avoid the re-use of test-mprun.1 and test-mprun.2, I mean
 >a way to overwrite the files test-mprun.1 and test-mprun.2 ?
 >
 >  Or a way to get different names for each metapost output as, for example,
 >graphserieA-mprun.1, graphserieA-mprun.2 and graphserieB-mprun.1,
 >graphserieB-mprun.2 ?
 >
 >  I could also give a different number to each of the figures in all of the
 >*.mp files, but this solution is not pacticable since I have plenty of
 >metapost files to process, each of it containing a lot of figures already
 >numbered with almost the same numbers. Moreover, those numbers can not be
 >modified because the figures are elsewhere referenced by their number and by
 >the name of the metapost file.

You can redefine:

    \def\MPrunfile#1{\bufferprefix mprun.#1}

to for instance

    \def\MPrunfile#1{\bufferprefix \MyMpRunFile.#1}

    \def\MyMpRunFile{mprun}


and them change the definition of \MyMpRunFile whenever you want

Hans
-------------------------------------------------------------------------
                                    Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                        Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                         information: http://www.pragma-ade.com/roadmap.pdf
                      documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


--__--__--

Message: 16
Date: Sat, 14 Jun 2003 11:15:56 +0200
To: ntg-context@ntg.nl
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: [NTG-context] differences of table modes
Reply-To: ntg-context@ntg.nl

At 18:32 12/06/2003 +0200, you wrote:
 >Ahoi!
 >
 >I just reviewed my german ConTeXt tutorial and tried to tell the truth
 >about all the table modes. Please correct me if I'm wrong:
 >
 >* tabulate
 >- can break over several pages
 >- [start|stop]tabulate[head|tail] should define a repeated head/tail,
 >   but it doesn't work

works here

\starttext

\starttabulatehead
    \NC left \NC right \NC \NR
\stoptabulatehead

\starttabulate[|l|r|]
    \NC l \NC r \NC \NR
\stoptabulate

\stoptext


 >- documented in the manual (cont-en[i|p])

- handles (multiple) paragraphs with the "p" template entry
- works well with grids
- supports text backgrounds


 >* table
 >- cannot break
 >- based on Wichura's TaBlE (others not)
 >- can be used as float (others not?)

all can be used as floats

 >- documentation commercial at pctex.com (39 $),
 >   partly docs in "ConTeXt - an excursion" (m[s|p]-cb-en)
 >
 >* tables
 >- same as table, but can break over several pages
 >- [start|stop]table[head|tail] works
 >- nowhere documented?

in my still to be included chapter if the manual it is -)

 >* TABLE
 >- didn't try page breaks yet; should it work?

yes, if split is set to yes

 >- [b|e]TABLE works; should [start|stop]TABLE also?

no, at least not yet; has to do with grabbing

 >- docs: up-to-date 8 (no link on HP!), enattab
 >
 >* new table mode?
 >I remember Hans wrote about a new enhanced table
 >mode, but can't find the mail.

core-ltb: line tables, auto break vertically and horizontally across pages,
repeated rows / columns, etc

will be documented

Hans
-------------------------------------------------------------------------
                                    Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                        Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                         information: http://www.pragma-ade.com/roadmap.pdf
                      documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------



--__--__--

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


End of ntg-context Digest

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

* centered Chapter-Headings
       [not found] <20030614094151.27963.47244.Mailman@ref.ntg.nl>
  2003-06-14 12:55 ` Gridsetting Matthias Vogel
  2003-06-14 12:59 ` Improving the Documentation of Context Matthias Vogel
@ 2003-06-14 13:21 ` Matthias Vogel
  2 siblings, 0 replies; 7+ messages in thread
From: Matthias Vogel @ 2003-06-14 13:21 UTC (permalink / raw)


Hi,

when I set up the Chapter in the following
way  (*** indicating the relevant option)

\setuphead[chapter] [style={\switchtobodyfont[15pt]},
                      grid=bottom,
                      number=yes,
                      ownnumber=no,
                      page=no,
                      continue=yes,
                      header=empty,
                      footer=empty,
                      align=left,
***                  alternative=middle,
                      textstyle=normal,
                      placehead=yes,
                      indentnext=no
                      after={\blank[2\ZEILE,flexible]}]

I get the following:

                  1
      The Structure of the World

How can I get the number and the text in one (centered)
line? There must be a default that only effect chapters,
since section do not show this behavior.

Thank you

Matthias Vogel

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

* Re: Improving the Documentation of Context
  2003-06-14 12:59 ` Improving the Documentation of Context Matthias Vogel
@ 2003-06-15  4:20   ` Matthew Huggett
  2003-06-15 17:59     ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Matthew Huggett @ 2003-06-15  4:20 UTC (permalink / raw)


Matthias Vogel wrote:

> I think it would be nice to have the manuals improved in the
> following not very costly way (??? indicates my ignorance):
>
> \setuplayout[..,..=..,..]
> width             dimension fit middle .....    width, ??? and 
> orientation of main text
> height            dimension fit middle .....    height of main text
> backspace         dimension
> topspace          dimension
> margin            dimension
> nx                number.....................   ???
> ny                number.....................   ???
> dx                dimension..................   ???
> dy                dimension..................   ???
> lines             number.....................   number of lines on the 
> page
>                                                 [I don't know the 
> relation to height]
> grid              yes no.....................   invoking setting to grit
>
> Since the manual doesn't even mention all those options, even a very
> short hint is much better than just trying around to get an idea what's
> the idea of an option.

I usually find the "etexshow" mode for Emacs helpful.   It gives you 
easy access to the details of ConTeXt commands.

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

* Re: Improving the Documentation of Context
  2003-06-15  4:20   ` Matthew Huggett
@ 2003-06-15 17:59     ` Hans Hagen
  0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2003-06-15 17:59 UTC (permalink / raw)


At 13:20 15/06/2003 +0900, you wrote:
>Matthias Vogel wrote:
>
>>I think it would be nice to have the manuals improved in the
>>following not very costly way (??? indicates my ignorance):
>>
>>\setuplayout[..,..=..,..]
>>width             dimension fit middle .....    width, ??? and 
>>orientation of main text
>>height            dimension fit middle .....    height of main text
>>backspace         dimension
>>topspace          dimension
>>margin            dimension
>>nx                number.....................   ???
>>ny                number.....................   ???
>>dx                dimension..................   ???
>>dy                dimension..................   ???
>>lines             number.....................   number of lines on the page
>>                                                 [I don't know the 
>> relation to height]
>>grid              yes no.....................   invoking setting to grit
>>
>>Since the manual doesn't even mention all those options, even a very
>>short hint is much better than just trying around to get an idea what's
>>the idea of an option.
>
>I usually find the "etexshow" mode for Emacs helpful.   It gives you easy 
>access to the details of ConTeXt commands.

as soon as i have a couple of thinsg up and running, the setup xml files 
will be extended with such extra info

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

* Re: Gridsetting
  2003-06-14 12:55 ` Gridsetting Matthias Vogel
@ 2003-06-15 20:40   ` Hans Hagen
  2003-06-16 18:01     ` Gridsetting Maarten Sneep
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2003-06-15 20:40 UTC (permalink / raw)


At 14:55 14/06/2003 +0200, Matthias Vogel wrote:

>normaltext text text text text text text text text texttext text
>text texttext texttext texttext texttext texttext text
>---in 9dd, line: 10dd
>text text text texttext texttext texttext texttext text
>text texttext texttext texttext texttext texttext text
>
>\startcitation
>
>smalltext text text texttext texttext texttext texttext text
>text text text texttext texttext texttext texttext text
>---text in 8dd, line: 9dd
>text texttext texttext texttext texttext texttext text
>
>\stopcitation
>
>normaltext text text texttext texttext texttext texttext text
>text texttext texttext texttext texttext texttext text
>---in 9dd line 10dd
>text texttext texttext texttext texttext texttext text...
>
>we are loosing the grid because of the smaller lineskip
>in citation. I would like to modify the definition of
>citation (and other stuff, that causes deviations from the
>grid (headings)) in a way that the following text will
>adjust to the grit again. Is that possible?  As far
>as I can see "\moveongrid" does not work in cases like
>the given example.

ah ... grid and automated typesetting ... only to be used by those who are 
aware of the problems -)

one wat of dealing with this is:

\snaptogrid\vbox\bgroup

your smaller text

\egroup

but this does not break across pages. One way out is the following (put the 
macro defs in your local cont-new.tex)

\unprotect

\newcounter\currentgridsync

\def\gridsynctag{grs:\currentgridsync}

\def\synchronizegrid
   {\doglobal\increment\currentgridsync
    \par\prevdepth\zeropoint
    \nointerlineskip
    \hpos\gridsynctag{\strut}\par
    \vskip-\lineheight
    \nointerlineskip
    % top of text
    \scratchdimen\MPy{\v!tekst:\MPp\gridsynctag}%
    \advance\scratchdimen\MPh{\v!tekst:\MPp\gridsynctag}%
    % move to first baseline
    \advance\scratchdimen-\topskip
    % subtract wrong baseline
    \advance\scratchdimen-\MPy\gridsynctag
    % get minimal number of lines
    \advance\scratchdimen\lineheight
    \getnoflines\scratchdimen
    % calculate difference
    \advance\scratchdimen-\noflines\lineheight\relax
    \scratchdimen-\scratchdimen
    \ifdim\scratchdimen>\zeropoint
      \nointerlineskip
      \advance\scratchdimen-\lineheight
      \vskip\scratchdimen \strut
      \par
    \fi}

\protect

% test

\setuplayout[grid=yes,lines=42] \showgrid \showstruts

\starttext

\input tufte

\snaptogrid\vbox{\switchtobodyfont[small] \input tufte \par}

\input tufte

{\switchtobodyfont[small] \input tufte \par}

\synchronizegrid \input tufte

\stoptext

beware: this is tricky and if it starts oscillating, try to force page 
breaks here and there

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

* Re: Gridsetting
  2003-06-15 20:40   ` Gridsetting Hans Hagen
@ 2003-06-16 18:01     ` Maarten Sneep
  0 siblings, 0 replies; 7+ messages in thread
From: Maarten Sneep @ 2003-06-16 18:01 UTC (permalink / raw)



On Sunday, June 15, 2003, at 10:40 PM, Hans Hagen wrote:
> ah ... grid and automated typesetting ... only to be used by those who 
> are aware of the problems -)
>
> one wat of dealing with this is:
[snip]

I guess I was asking for trouble when deciding to typeset on a grid ;-)

I noticed that my bibliography is not set on the grid; the first item 
is on the grid, but the distance between the items is smaller than the 
grid would dictate. I tried to include the macro detailed in the 
previous post, but I guess I didn't know where to put it.

Ideas?

Maarten

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

end of thread, other threads:[~2003-06-16 18:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030614094151.27963.47244.Mailman@ref.ntg.nl>
2003-06-14 12:55 ` Gridsetting Matthias Vogel
2003-06-15 20:40   ` Gridsetting Hans Hagen
2003-06-16 18:01     ` Gridsetting Maarten Sneep
2003-06-14 12:59 ` Improving the Documentation of Context Matthias Vogel
2003-06-15  4:20   ` Matthew Huggett
2003-06-15 17:59     ` Hans Hagen
2003-06-14 13:21 ` centered Chapter-Headings Matthias Vogel

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