Am 26.06.2013 um 19:16 schrieb Pablo Rodríguez <oi...@web.de>: > On 26/06/13 04:47, Wolfgang Schuster wrote: >> Am 26.06.2013 um 00:07 schrieb Pablo Rodríguez <oi...@web.de>: >>> 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[…]. > > Many thanks for your reply, Wolfgang. > > From what I understand, the command is basically telling ConTeXt: “don’t > make a new paragraph break after the inserted float”, isn‘t it?
No, the command tells TeX to go into horizontal mode. \starttext \ruledvbox {\ruledhbox{One} \ruledhbox{Two}} \ruledvbox {\dontleavehmode \ruledhbox{One} \ruledhbox{Two}} \stoptext 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 ___________________________________________________________________________________