On Thu, May 21, 2009 at 9:25 AM, Yue Wang <yuleo...@gmail.com> wrote: > Hi, > > I have a new book to design, but I don't know how to do page/content > conditional processing). Please help me:) > > - I want my chapter page (first page of each chapter) to be really > distinctive. that is, I define a dark color background, and want all > the text on the first page set in white. how can I do that? for > example > \chapter{hello} > \dorecurse{10}{\input zapf } % all the characters in the first page > should white, others should set in black. This must have something to do with the OTR, I'm really not good at that.
By \definecolor[black][r=1, g=1, b=1] you can get white texts which maybe useful for you. > > - I want to insert graphics and images. all the graphics are inserted > using \placeexternalfigures. I want all the pages where the insertion > happens to be quite distictive (that is, have a very narrow text > layout, and leave the large margin for the figures. However, when a > page starts, TeX does not know wheter or not an external figure will > be placed on this page, so it really has no idea whether this page > should be set narrower or not..... how can I do that? Sounds like an \insert like footnote. Good luck. > > Thanks. > > Yue Wang > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ > -- Best Regards Chen ---------------------------------------------------------------- Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ---------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________