Am 26.06.2013 um 00:07 schrieb Pablo Rodríguez <oi...@web.de>: > On 25/06/13 23:28, Peter Münster wrote: >> On Tue, Jun 25 2013, Pablo Rodríguez wrote: >> >>>> http://www.ntg.nl/pipermail/ntg-context/2013/072963.html >>> >>> I'm afraid I cannot get it working with the sample file I provided. >> >> Hi, >> >> Why not? >> >> This works here: > > Many thanks, Peter, it works also here. > > One more question, the file belongs in the following code: > > \startstandardmakeup[align=middle] > \typesetfile[sample-document.tex][width=10cm, frame=on] > \stopstandardmakeup > > How can I get this horizontally centered It is vertically centered, and > it should be also horizontally aligned, but I don't know why doesn't it > work.
You need \dontleavehmode, i.e. \dontleavehmode\typesetfile[…]. Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________