[NTG-context] vertically centred
Hello, how could I centre vertically a table or a vbox? In other words, how to do the same as the following LaTeX code in ConTeXt? \documentclass{article} \begin{document} a box with a table: \fbox{\begin{tabular}[c]{l}1\\2\\3\end{tabular}}\par a mid-aligned parbox: \parbox[c]{1em}{1 2 3} \end{document} I tried with \vbox to 0pt{\vss ... \vss}, but then the vertical dimension gets lost... A related question: where are the differences between \framed[align=low,high,lohi]{...} ? TIA for any help, Peter -- http://pmrb.free.fr/contact/ _ FilmSearch engine: http://f-s.sf.net/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] getting context going
Floris van Manen [EMAIL PROTECTED] writes: i did find textools.rb in the folder C:\texlive\texmf-local\scripts\context\ruby It is not really necessary to run ConTeXt. Did you try your installation? Patrick -- ConTeXt wiki: http://contextgarden.net texshow-web: http://texshow.contextgarden.net List archive: http://archive.contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] rectangle-words (like in details.pdf)
...it is not that I am inpatient - it's curiosity: Does really nobody knows the answer to my question, or is it just that it's too trivial to answer?! Sorry for re-posting Steffen Steffen Wolfrum [EMAIL PROTECTED] wrote: Hi, maybe it's a trivial question: How do I get these black rectangle-words as they are used in Hans' details.pdf for example (see page 16 or 25)? Is this a special font - or is there a certain context command used? Thank you, Steffen ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] nath problems and patches
Giuseppe, you may or may not know about these problems already, so I decided to simply send them all. I'm using t-nath.tex 2003.12.08, updated five minutes ago from www.tug.org, ConTeXt 2004.6.26, and pdfeTeX 3.14159-1.10b-2.1 (Web2C 7.4.5). nath seems to have trouble with $$...$$-formulas. This file won't compile: \usemodule[nath] \starttext \placeformula $$a$$ \stoptext Error message: Runaway argument? \@@dollar {\to \asciiB \ExpandBothAfter \doifincsnameelse \asciiA \asciiB \ETC. ! File ended while scanning use of \convertargument. Replacing $$...$$ by \startformula...\stopformula fixes this, but the following file won't compile either: \usemodule[nath] \starttext \placeformula \startformula \sum_{i=0}^m a_i\stopformula \stoptext The culprit, it seems, is that \inlinemath uses \xdef, but \mathop@@@ puts unexpandable code into the argument of ^ and _. The following hackery seems to work: \def\mathop@@@{% \ifsp@ ^{\hbox{\edef\noexpand\!!stringa% [EMAIL PROTECTED]@toks}}% \def\noexpand\\{,\ }\noexpand\!!stringa}} \fi \ifsb@ _{\hbox{\edef\noexpand\!!stringa% [EMAIL PROTECTED]@toks}}% \def\noexpand\\{,\ }\noexpand\!!stringa}} \fi} Though I must confess I don't understand why the complexity with introducing \!!stringa is needed. The following version works for me: \def\mathop@@@{% \pushmacro\\ \def\\{\noexpand\text{, }}% \ifsp@ [EMAIL PROTECTED] \fi \ifsb@ [EMAIL PROTECTED] \fi \popmacro\\} Parentheses in display formulas don't work: \usemodule[nath] \starttext \startformula (x) \stopformula \stoptext I don't know if at some time ConTeXt placed \the\everymath inside \everydisplay, but with the current ConTeXt, you need to \appendtoks to both. I regard the output as broken, but at least it will compile. Another bug: t-nath.tex defines \savecatcode and \restorecatcode, but these names have already been used in verb-ini.tex. I have locally replaced these with \nath!savecatcode and \nath!restorecatcode, seems to work. A math problem not related to nath: \starttext \setupformulae[align=left] \startformula \eqalignno{a=b\cr c=d} \stopformula \stoptext doesn't work for me. Anyone else? Regards, Christopher Creutzig PS: I won't be able to read mails in the next four weeks. ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Is there a bug during pagination of external figures?
Stefan Wachter [EMAIL PROTECTED] writes: Hi Hans, I attach an example Context file and the included graphics. Unfortunately the example is by far not minimal. The file is just a few bytes, no need to mention... Just looking at the error message, I bet your problem is at: \setupheadertexts[text][{\tfc 8}{\tfb-3\_refkom}][] \setupheadertexts[margin][{\tfc bu}][\ifnum\pageno = 1\NamedExternalLink{../../../../bu/8/8_3_refkom/1/inhalt.pdf}{last}{\symbol[PfeilNachLinks]{} §}\else\PrevOrNextPage{/PrevPage}{\symbol[PfeilNachLinks]{} §}\fi\hskip.5em\ifnum\pageno = \lastpage{§ \symbol[PfeilNachRechts]}\else\PrevOrNextPage{/NextPage}{§ \symbol[PfeilNachRechts]}\fi] Patrick -- ConTeXt wiki: http://contextgarden.net texshow-web: http://texshow.contextgarden.net List archive: http://archive.contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context