Re: [NTG-context] \inmargin{} problems with typsetting inmargin texts

2003-10-12 Thread Bill McClain
On Sun, 12 Oct 2003 22:20:30 +0200
Willi Egger <[EMAIL PROTECTED]> wrote:

> The strange thing is, that on lefthandpages the inmargin text 
> is typset in the left (outer) margin but it is typeset on two lines, 
> indicating that the measures of the leftmargin of the righthandpage is
> used.

Does \showframe show symmetrical left and right margin areas?

I have a margin notes example on my help page. I define the right and
left margin areas explicitly like so:

\setuplayout[backspace=0.9375in, width=3.25in,
rightmargindistance=.25in, rightmargin=1.125in,
leftmargindistance=.25in, leftmargin=1.125in]
\setuppagenumbering[alternative=doublesided]

-Bill
-- 
Sattre PressCuriosities of the Sky
http://sattre-press.com/by Garrett Serviss
[EMAIL PROTECTED]http://csky.sattre-press.com/ 
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] columns and alignment at the bottom

2003-10-12 Thread Ed L Cashin
Alexander Klink <[EMAIL PROTECTED]> writes:

> Hi,
>
> I am trying to typeset a text which should look roughly like that:
>
> |-|  |-| |--|
> |text |  |text | |text  |
> | |  |-| |  |
> |-|  |  | 
>  |-| |  |
> |-|  |text | |  |
> |text |  |-| |--|
> | |  
> | |  |-| |--|
> | |  |text | |text  |
> |-|  |-| |--|  
>
> So I have a frames with some text (actually, addresses - Hans, maybe
> you remember the address booklet I showed you here in Darmstadt) in
> three columns. So I tried something like:
>
> \startcolumns[n=3]
> \framed{first address...}
> \vskip 0.5cm plus 1fill
> \framed{second address...}
> \vskip 0.5cm plus 1fill
> \framed{third address...}
> .
> .
> .
> \stopcolumns
>
> Which (obviously because I use TeX code inside ConTeXt - shame on me)
> fails, the frames are not aligned at the bottom.

This isn't so obvious, IMHO.  I tried to do the same thing back in
1998 or 1999 to create a directory for a college.  I made the glue
between the boxes very stretchable, so that context would be able to
put as much space as necessary between the directory entries in order
to have the columns line up at the bottom.

>From a user standpoint, it should work.  However, it turns out that
columns, from an implementation standpoint, are not easy at all in
tex.  It has to do with subtleties in the page output routine that I
don't really grasp.

> So I'm looking for a way to typeset them with a distance of at least
> 0.5cm and align at the bottom - the remaining space should be spread
> equally...
> I hope the question is understandable and I hope someone has already
> done something like this...

Some months ago another columns implementation came out, but if I
recall correctly, when you have columns of vboxes separated by very
stretchy glue, the new columns implementation can't bottom-align them
either.

-- 
--Ed L Cashin PGP public key: http://noserose.net/e/pgp/

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \inmargin{} problems with typsetting inmargin texts

2003-10-12 Thread Willi Egger
Hi all,

I got a text, where the left i.e. the inner margin is small (.8cm) and the 
right margin is larger (1.7cm). This layout is intended for a doublesided 
print.
On different places I have to insert a \inmargin{\bf Let op!} (i.e. pay 
attention). The strange thing is, that on lefthandpages the inmargin text 
is typset in the left (outer) margin but it is typeset on two lines, 
indicating that the measures of the leftmargin of the righthandpage is 
used. - Is this a normal behaviour or otherwise how can I instruct ConTeXt 
to use the whole width of the left i.e. outer margin?

Thanks for advising

Willi

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] columns and alignment at the bottom

2003-10-12 Thread Willi Egger
At 21:36 12.10.2003, Alex wrote:
Hi,

I am trying to typeset a text which should look roughly like that:

|-|  |-| |--|
|text |  |text | |text  |
| |  |-| |  |
|-|  |  |
 |-| |  |
|-|  |text | |  |
|text |  |-| |--|
| |
| |  |-| |--|
| |  |text | |text  |
|-|  |-| |--|
So I have a frames with some text (actually, addresses - Hans, maybe
you remember the address booklet I showed you here in Darmstadt) in
three columns. So I tried something like:
\startcolumns[n=3]
\framed{first address...}
\vskip 0.5cm plus 1fill
\framed{second address...}
\vskip 0.5cm plus 1fill
\framed{third address...}
.
.
.
\stopcolumns
Which (obviously because I use TeX code inside ConTeXt - shame on me)
fails, the frames are not aligned at the bottom.
So I'm looking for a way to typeset them with a distance of at least
0.5cm and align at the bottom - the remaining space should be spread
equally...
I hope the question is understandable and I hope someone has already
done something like this...
Greetings,
ALeX
Now I haven't. But there is another approach to this. There is an arranging 
possibility which looks as follows:

\setuppapersize [XY][A4]
 \setuppaper [topspace=5mm,backspace=5mm,dx=1mm,dy=2mm,nx=3,ny=4] %
 \setuplayout
 [page]
 [topspace=5mm,
 backspace=5mm,
 header=0pt,
 headerdistance=0pt,
 footer=0pt,
 footerdistance=0pt,
 location=middle,
 marking=on]
\setuppagenumbering[state=stop]
\setuparranging [XY]
\setupframedtexts
[frame=off,
leftframe=on,
bottomframe=on,
align=middle,
location=middle,
width=broad]
%\showframe

\startbuffer[Addresse1]
\startframedtext
...
\stopframedtext
\page
\stopbuffer
\startbuffer[Addresse2]
\startframedtext
...
\stopframedtext
\page
\stopbuffer
\starttext
\dorecurse{6}{\getbuffer[Addresse\recurselevel]}%between first braces 
number of addresses you have in buffers
\stoptext

You will have to play with the different option parameters.
It is usefull to start texshow  :-)
Gruss Willi



___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] columns and alignment at the bottom

2003-10-12 Thread Alexander Klink
Hi,

I am trying to typeset a text which should look roughly like that:

|-|  |-| |--|
|text |  |text | |text  |
| |  |-| |  |
|-|  |  | 
 |-| |  |
|-|  |text | |  |
|text |  |-| |--|
| |  
| |  |-| |--|
| |  |text | |text  |
|-|  |-| |--|  

So I have a frames with some text (actually, addresses - Hans, maybe
you remember the address booklet I showed you here in Darmstadt) in
three columns. So I tried something like:

\startcolumns[n=3]
\framed{first address...}
\vskip 0.5cm plus 1fill
\framed{second address...}
\vskip 0.5cm plus 1fill
\framed{third address...}
.
.
.
\stopcolumns

Which (obviously because I use TeX code inside ConTeXt - shame on me)
fails, the frames are not aligned at the bottom.
So I'm looking for a way to typeset them with a distance of at least
0.5cm and align at the bottom - the remaining space should be spread
equally...
I hope the question is understandable and I hope someone has already
done something like this...

Greetings,
ALeX

P.S.: Hans, thanks again for the tutorial in Darmstadt - now I know
about the layer and overlay stuff, I use it extensively :-)

-- 
... Alexander Klink  ...   undergraduate in Mathematics with Computer Science
...  [EMAIL PROTECTED]  ...at Darmstadt University of Technology
...  [EMAIL PROTECTED]
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: \usepath[...] \usesubpath[...] ???

2003-10-12 Thread Patrick Gundlach
Bernd Militzer <[EMAIL PROTECTED]> writes:

> it ist not possible to use the text-blocks form student.tex in test.tex

if you are using the \defineblock... \hideblocks... mechanism: the do
not look for paths from \usepath.

Patrick
-- 
You are your own rainbow!
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \usepath[...] \usesubpath[...] ???

2003-10-12 Thread Bernd Militzer
Hi Hans,

thanks for Your help, but I am sorry  \usepath[...] \usesubpath[...]
do not work in that way I thought.

I start in /home/bmi/import/TestConTeXt/blocks/
with four files:
demo.tex= the project-file
eniro.tex   = the enviroment
student.tex = a data-file with two text-blocks
test.tex= a work-file, which will use text-blocks from student.tex

all things are pretty good -- in test.tex I can use the text-blocks from
student.tex (student.tub).

When I separate the dat-file = student.tex 
and the work-file  work-file = test.text in different subdirs
it ist not possible to use the text-blocks form student.tex in test.tex

~/import/TestConTeXt/blocks/data/student.tex
with all help-files -- all things are ok

~/import/TestConTeXt/blocks/work/test.tex
running texexec test.tex,  no text-block from student.tex 

In file test.tmp:
% test.top
\unprotect
\setupsystem[\c!gebied={/home/bmi/}]
\setupsystem[\c!n=1]
\setupsystem[inputfile=test.tex]
\protect

How have I to set up the path?
\usepath[/import/TestConTeXt/blocks/] or
\usepath[/home/bmi/import/TestConTeXt/blocks/] ???
\usesubpath[dat, work] or
\usesubpath[dat/, work/] ???

I have no idea -- please give me a hint to stop my frustation!


thanks 

Bernd


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: uncompatibility?

2003-10-12 Thread Patrick Gundlach
Hi,

> I should describe it more precisely. I use installations (2 at the moment)
> based on TL distributions. 

With the supplied ConTeXt versions?

> Anyway, I'm aware, that
> ConTeXt is developing quite fast and I probably shouldn't expect,
> that 2002.524 and 2003.10.5 versions gives the same output

IMO you should be allowed to expect that your old documents still
work. But that is not the way it is.

> . Could you give me a recipe to spy changes? I'm sure they are
> documented, but don't know how to get them.

I don't know of any other source then the source itself. Taco once
did maintain a list of changes, but this is looong ago.

Patrick
-- 
You are your own rainbow!
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: font mystery

2003-10-12 Thread Thomas A . Schmitz
\startembarrassment
I found out what caused the strange behavior. I was testing the font in 
a directory where there was also an old instance of the .tfm-file. So 
Context would search the working directory, find everything it needed 
to produce the font, and thus neglect all the new stuff I had modified 
and installed into $home/texmf. Performing the tests in a different 
directory removed all the unexplicable behavior.
\stopembarrassment
Thanks to all for looking into this, and sorry for the confusion I 
created.
On an unrelated note: please forgive if I seem sluggish in responding 
to posts. For some reason I can't figure out (and Erik looked into this 
and tried to help), some of my posts take three days or even longer 
before they get posted.

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context