Re: [NTG-context] Picture before chapter-title, but on same page
On 6/4/2013 7:56 AM, H. Özoguz wrote: Hello there, I want to place a picture at the top on a page, and directly after that a chapter-title (without a page break). I tried it with the key continue, but that does not work. Here my try: \setuphead [chapter] [continue=yes] \starttext \chapter{Chapter-title} \startplacefigure [title={Some picture.}, reference=fig:demo, number=no] \externalfigure[picture][width=5cm] \stopplacefigure \stoptext How to correct it? add location=top - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Picture before chapter-title, but on same page
Hello there, I want to place a picture at the top on a page, and directly after that a chapter-title (without a page break). I tried it with the key continue, but that does not work. Here my try: \setuphead [chapter] [continue=yes] \starttext \startplacefigure [title={Some picture.}, reference=fig:demo, number=no] \externalfigure[picture][width=5cm] \stopplacefigure \chapter{Chapter-title} \stoptext How to correct it? Thanks! Huseyin ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] picture before \chapter breaking \header \footer setup
Hi all, Another question, this time about \headers and \footers. On the first page of the chapter I have the page number in the footer and on all other pages they are in the header. This works fine, as expected. However I have to include an \externalfigure *before* the \chapter command and I discovered that I have to use \startcombination because otherwise the \chapter moves to the next page. However, when I use \startcombination ... etc \chapter is not longer the first thing on the page and the special header/footer setup is not triggered (apparently \chapter has to come first for that to happen). See sample code: % sample \definetext[mychapter][footer][pagenumber] \setuphead[chapter][header=high,footer=mychapter] \showframe \starttext %\startcombination[1*1]{\externalfigure}{ % uncomment to see problem \chapter{first} %}\stopcombination % uncomment to see problem \dorecurse{20}{\input tufte \relax} \chapter{second} \dorecurse{20}{\input tufte \relax} % this works as expected \stoptext % sample Is it possible to make this work? (maybe an extra \chapter command before the combination that triggers the header-footer setup, but that is not printed after all?) Thanks for any help. Jelle ___ 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 ___
Re: [NTG-context] picture before \chapter breaking \header \footer setup
Jelle Huisman wrote: Is it possible to make this work? (maybe an extra \chapter command before the combination that triggers the header-footer setup, but that is not printed after all?) I would put the externalfigure in the before= of the chapter head, maybe wrapped in some form of \doifelse. Best wishes, Taco ___ 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 ___
Re: [NTG-context] picture before \chapter breaking \header \footer setup
Taco Hoekwater wrote: Is it possible to make this work? (maybe an extra \chapter command before the combination that triggers the header-footer setup, but that is not printed after all?) I would put the externalfigure in the before= of the chapter head, maybe wrapped in some form of \doifelse. I managed to get it working, thanks again Taco. (Once this project is finished I'll add stuff like this to the wiki.) Groeten, Jelle ___ 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 ___
Re: [NTG-context] picture before \chapter breaking \header \footer setup
On Thu, 23 Oct 2008, Jelle Huisman wrote: Hi all, Another question, this time about \headers and \footers. On the first page of the chapter I have the page number in the footer and on all other pages they are in the header. This works fine, as expected. However I have to include an \externalfigure *before* the \chapter command and I discovered that I have to use \startcombination because otherwise the \chapter moves to the next page. However, when I use \startcombination ... etc \chapter is not longer the first thing on the page and the special header/footer setup is not triggered (apparently \chapter has to come first for that to happen). See sample code: You can try to play around with \setuphead[chapter][command=\something] and make sure that \something puts a figure where you want. You will need to specify the figure by other mechanism (define a command, pass two arguments trough one argument, etc). Aditya % sample \definetext[mychapter][footer][pagenumber] \setuphead[chapter][header=high,footer=mychapter] \showframe \starttext %\startcombination[1*1]{\externalfigure}{ % uncomment to see problem \chapter{first} %}\stopcombination % uncomment to see problem \dorecurse{20}{\input tufte \relax} \chapter{second} \dorecurse{20}{\input tufte \relax} % this works as expected \stoptext % sample Is it possible to make this work? (maybe an extra \chapter command before the combination that triggers the header-footer setup, but that is not printed after all?) Thanks for any help. Jelle ___ 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 ___ ___ 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 ___
[NTG-context] picture in \chapter
How do I include a picture in the \chapter definition? I want a picture included in between the chapter number and the chapter name, and would like to control its position as well. thank you Ciro ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context