Re: [NTG-context] Images centered on page

2007-11-24 Thread Wolfgang Schuster
On Fri, 23 Nov 2007 22:32:46 -0700 Idris Samawi Hamid [EMAIL PROTECTED] wrote: On Fri, 23 Nov 2007 12:30:48 -0700, Wolfgang Schuster [EMAIL PROTECTED] wrote: \unprotect \def\fullpagebox {\bgroup \dowithnextbox {\!!widtha\dimexpr\paperwidth/\nextboxwd\relax

Re: [NTG-context] Images centered on page : Solved

2007-11-24 Thread Wolfgang Schuster
On Fri, 23 Nov 2007 23:50:42 +0100 luigi scarso [EMAIL PROTECTED] wrote: On Nov 23, 2007 9:39 PM, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello, Thank you all very much. I'm pleased with number and quality of solutions to my problem. Did you look in supp-box at centerbox

Re: [NTG-context] Images centered on page : Solved

2007-11-24 Thread luigi scarso
you can use \dontleavehmode in this case. yes, i know. \meaning\ \dontleavehmode gives \quitvmode \meaning\quitvmode gives \quitvmode hence \quitvmode is a primitive . \quitvmode The primitive instructs pdfTEX to quit the vertical mode and start typesetting a paragraph. \quitvmode has the same

Re: [NTG-context] Images centered on page

2007-11-23 Thread Wolfgang Schuster
On Fri, 23 Nov 2007 18:55:37 +0200 Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello, How can I center the image on a page? I want images to cover the page completely, and since they have proper size (roughly A4), I only need them to be centered. Now they are stuck to the top, leaving

Re: [NTG-context] Images centered on page

2007-11-23 Thread Wolfgang Schuster
2007/11/23, Vyatcheslav Yatskovsky [EMAIL PROTECTED]: Hello, How can I center the image on a page? I want images to cover the page completely, and since they have proper size (roughly A4), I only need them to be centered. Now they are stuck to the top, leaving a gap on bottom (and same

Re: [NTG-context] Images centered on page : Solved

2007-11-23 Thread luigi scarso
On Nov 23, 2007 9:39 PM, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello, Thank you all very much. I'm pleased with number and quality of solutions to my problem. Did you look in supp-box at centerbox definition ? it' something like \vbox to \adimension{\vfill \vfill} (well, not

Re: [NTG-context] Images centered on page

2007-11-23 Thread Idris Samawi Hamid
On Fri, 23 Nov 2007 12:30:48 -0700, Wolfgang Schuster [EMAIL PROTECTED] wrote: \unprotect \def\fullpagebox {\bgroup \dowithnextbox {\!!widtha\dimexpr\paperwidth/\nextboxwd\relax \!!widthb\dimexpr\paperheight/\nextboxht\relax \ifdim\!!widtha\!!widthb

Re: [NTG-context] Images centered on page

2007-11-23 Thread luigi scarso
amazing mailing list -- luigi ... it's new . it's powerful . it's luatex . http://www.luatex.org ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Images centered on page

2007-11-23 Thread Idris Samawi Hamid
On Fri, 23 Nov 2007 10:31:08 -0700, luigi scarso [EMAIL PROTECTED] wrote: On Nov 23, 2007 6:24 PM, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello Idris, Thank you. What is display mode? Simply \vfill\externalfigure[Image1.jpg]\vfill \vbox to

Re: [NTG-context] Images centered on page

2007-11-23 Thread Peter Münster
On Fri, 23 Nov 2007, Vyatcheslav Yatskovsky wrote: How can I center the image on a page? \setuplayout[page] \starttext \startstandardmakeup \startalignment[middle] \dontleavehmode \externalfigure[image.png] \stopalignment \stopstandardmakeup \stoptext Cheers, Peter --

Re: [NTG-context] Images centered on page

2007-11-23 Thread luigi scarso
On Nov 23, 2007 6:24 PM, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello Idris, Thank you. What is display mode? Simply \vfill\externalfigure[Image1.jpg]\vfill \vbox to \textheight{\vfill\vskip1sp\externalfigure[Image1.jpg]\vskip1sp\vfill} -- luigi

Re: [NTG-context] Images centered on page

2007-11-23 Thread Idris Samawi Hamid
On Fri, 23 Nov 2007 10:46:16 -0700, Peter Münster [EMAIL PROTECTED] wrote: On Fri, 23 Nov 2007, Vyatcheslav Yatskovsky wrote: How can I center the image on a page? \setuplayout[page] \starttext \startstandardmakeup \startalignment[middle] \dontleavehmode \externalfigure[image.png]

Re: [NTG-context] Images centered on page

2007-11-23 Thread Idris Samawi Hamid
On Fri, 23 Nov 2007 09:55:37 -0700, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello, How can I center the image on a page? I want images to cover the page completely, and since they have proper size (roughly A4), I only need them to be centered. Now they are stuck to the top,

Re: [NTG-context] Images centered on page

2007-11-23 Thread Vyatcheslav Yatskovsky
Hello Idris, Thank you. What is display mode? Simply \vfill\externalfigure[Image1.jpg]\vfill doesn't work for me. -- Best regards, Vyatcheslav Yatskovsky Hello, How can I center the image on a page? I want images to cover the page completely, and since they have proper size

Re: [NTG-context] Images centered on page

2007-11-23 Thread Idris Samawi Hamid
On Fri, 23 Nov 2007 10:24:35 -0700, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello Idris, Thank you. What is display mode? Simply \vfill\externalfigure[Image1.jpg]\vfill doesn't work for me. Try $$arg$$. I'm sure there's a ConTeXt-ish solution for this as well (in