Re: [NTG-context] Thumb indexes
Henning Hraban Ramm
Perhaps describe a bit more exactly what you'd like to achieve. As far as I understood: You want a black rectangle at the margin that has no text in it, always same size, but moving position per chapter?
Yes. More precisely, chapter 1 - 5 would have a black box in the margin at the top right of each right page, then chapters 6 to whatever have the next box below, and so on. I usually do this ‘manually’ in a DTP app (by defining a set of master pages and applying them selectively to a group of ‘chapters’) but ConTeXt is clearly capable of doing it automatically. And I bet ConTeXt could also be persuaded to place white text on the box as well... I’ve read through the MetaFun manual. It’s amazing technology, but a bit too advanced for me at present.
Am 13.02.2005 um 00:12 schrieb cormullion:
Perhaps describe a bit more exactly what you'd like to achieve. As far as I understood: You want a black rectangle at the margin that has no text in it, always same size, but moving position per chapter? Yes. More precisely, chapter 1 - 5 would have a black box in the margin at the top right of each right page, then chapters 6 to whatever have the next box below, and so on. I usually do this ‘manually’ in a DTP app (by defining a set of master pages and applying them selectively to a group of ‘chapters’) but ConTeXt is clearly capable of doing it automatically. And I bet ConTeXt could also be persuaded to place white text on the box as well... I’ve read through the MetaFun manual. It’s amazing technology, but a bit too advanced for me at present.
As far as you only want rectangular boxes (even with round corners), you don't need MetaFun. I guess you should define a "part"-based "logo" with an absolute, calculated position via the "layers" mechanism. - part: even if you don't use the "part" hierarchy for other use, it would fit to chapter ranges. simply set the \part output to do nothing - logo: some element that appears on every (or every right) page is called "logo", see http://www.contextgarden.net/Logos I think that's about "how to do it The ConTeXt Way(TM)", but I can't tell you any code from heart, just try it yourself and ask again if you tried some steps - as far nobody else feels like giving you better advice. Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net
Henning Hraban Ramm
I guess you should define a "part"-based "logo" with an absolute, calculated position via the "layers" mechanism. - part: even if you don't use the "part" hierarchy for other use, it would fit to chapter ranges. simply set the \part output to do nothing - logo: some element that appears on every (or every right) page is called "logo", see http://www.contextgarden.net/Logos
Good thinking. I’ll investigate. Thanks!
participants (2)
-
cormullion
-
Henning Hraban Ramm