Re: [NTG-context] \godown

2005-12-06 Thread Adam Lindsay

Taco Hoekwater wrote:



Adam Lindsay wrote:


Hi all,

I've been TeX-doodling with the font shown on the page below:
http://www.typography.com/catalog/hoeflertext/ornaments.html

Some of the nicer patterns are predicated on having horizontal as well 
as vertical elements smashed up next to one another. I find myself 
having to adjust for little gaps with:

 \godown[-0.029\bodyfontsize]

Does this ring a bell with anyone? 



The last time I had problems with minute offsets, it was Acrobat's
fault. Do you also have problems in DVI mode?


Hmm. I do need to examine it in different viewers... Nope. Adobe Acrobat 
gives the same results as Apple's PDF implementation.


I'm a bit stuck with DVI: dvipdfmx has trouble seeing the converted Mac 
font as a TTF font. (Once I worked through the difference in map file 
format...) Clearly there's a disagreement on which tables are required.


Thanks, though. The negative offset is not a big problem. The only weird 
thing is the feature interaction I also posted about.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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


Re: [NTG-context] \godown

2005-12-06 Thread Adam Lindsay

Hans Hagen wrote:

Adam Lindsay wrote:


having to adjust for little gaps with:
 \godown[-0.029\bodyfontsize]

Does this ring a bell with anyone? I would have thought \godown[0pt] 
was the answer, but not so, here. The font metrics seem to be right, 
adding up to 1000 in both directions (or a little more, actually, 
considering overlapping dots).


this is tex's interlinespace mechanism popping in; play a bit with

a row of things \par
\nointerlinespace
a row of things \par

or

\vbox \bgroup \offinterlinespace
 rows of ornaments
\egroup


In case anyone else is trying to follow along, those are most likely the 
\nointerlineskip / \offinterlineskip commands. I played with them the 
same night, and the results are indistinguishable from \godown[0pt].


Hmm.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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


Re: [NTG-context] \godown

2005-12-06 Thread Taco Hoekwater



Adam Lindsay wrote:

Hi all,

I've been TeX-doodling with the font shown on the page below:
http://www.typography.com/catalog/hoeflertext/ornaments.html

Some of the nicer patterns are predicated on having horizontal as well 
as vertical elements smashed up next to one another. I find myself 
having to adjust for little gaps with:

 \godown[-0.029\bodyfontsize]

Does this ring a bell with anyone? 


The last time I had problems with minute offsets, it was Acrobat's
fault. Do you also have problems in DVI mode?

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


Re: [NTG-context] \godown

2005-12-06 Thread Hans Hagen

Adam Lindsay wrote:


Hi all,

I've been TeX-doodling with the font shown on the page below:
http://www.typography.com/catalog/hoeflertext/ornaments.html

Some of the nicer patterns are predicated on having horizontal as well 
as vertical elements smashed up next to one another. I find myself 
having to adjust for little gaps with:

 \godown[-0.029\bodyfontsize]

Does this ring a bell with anyone? I would have thought \godown[0pt] 
was the answer, but not so, here. The font metrics seem to be right, 
adding up to 1000 in both directions (or a little more, actually, 
considering overlapping dots).


this is tex's interlinespace mechanism popping in; play a bit with

a row of things \par
\nointerlinespace
a row of things \par

or

\vbox \bgroup \offinterlinespace
 rows of ornaments
\egroup

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


[NTG-context] \godown

2005-12-05 Thread Adam Lindsay

Hi all,

I've been TeX-doodling with the font shown on the page below:
http://www.typography.com/catalog/hoeflertext/ornaments.html

Some of the nicer patterns are predicated on having horizontal as well 
as vertical elements smashed up next to one another. I find myself 
having to adjust for little gaps with:

 \godown[-0.029\bodyfontsize]

Does this ring a bell with anyone? I would have thought \godown[0pt] was 
the answer, but not so, here. The font metrics seem to be right, adding 
up to 1000 in both directions (or a little more, actually, considering 
overlapping dots).

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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


Re: [NTG-context] \godown to an absolute position

2005-01-12 Thread Duncan Hothersall
Hans wrote:
quick and dirty:
\setuphead[chapter][before=\vbox to 10cm\bgroup,after=\vss\egroup]
\starttext
\chapter{test} \input tufte
\chapter{test\endgraf test} \input tufte
\stoptext
there are other solutions (synchronizing stuff) but that's more complex
Great! This solution worked for me. I have added it to Sample Macros in 
the Wiki.

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


Re: [NTG-context] \godown to an absolute position

2005-01-11 Thread Hans Hagen
Duncan Hothersall wrote:
Hello. I have a style request that I haven't come across before and 
don't know how to handle in ConTeXt.

I need the first line of text following a chapter title to always start 
15 picas from the top edge of the text area. In other words, no matter 
how little space the title takes up, the first line after it should 
always start at the same vertical point.

Something like
--
\chapter{Chapter title}
\godown[to=15pc]
Start of the text of the chapter...
quick and dirty:
\setuphead[chapter][before=\vbox to 10cm\bgroup,after=\vss\egroup]
\starttext
\chapter{test} \input tufte
\chapter{test\endgraf test} \input tufte
\stoptext
there are other solutions (synchronizing stuff) but that's more complex
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


[NTG-context] \godown to an absolute position

2005-01-11 Thread Duncan Hothersall
Hello. I have a style request that I haven't come across before and 
don't know how to handle in ConTeXt.

I need the first line of text following a chapter title to always start 
15 picas from the top edge of the text area. In other words, no matter 
how little space the title takes up, the first line after it should 
always start at the same vertical point.

Something like
--
\chapter{Chapter title}
\godown[to=15pc]
Start of the text of the chapter...
--
would be ideal, but of course \godown starts from the current point and 
doesn't offer a to= option! I'm not sure that layers are the answer 
because as soon as I have moved down I'm into the running text of the 
chapter.

Can anyone help? Thanks very much.
Duncan
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context