Re: [NTG-context] Learning ConTeXt from the Ground Up

2013-06-16 Thread Dmitriy Tokarev
> To gather information about ConTeXt I have > - read the ConTeXt Reference Manual (http://pmrb.free.fr/contextref.pdf) > - bought a couple of the published books by Hans Hagen > - started reading the "TeX book" by Donald Knuth In addition to the "TeX book" you might be interested in "TeX for the

[NTG-context] [***SPAM***] Shifting table header when using overlay

2013-07-14 Thread Dmitriy Tokarev
Hi All, I'm trying to get a table header with such bottom border: || I plan to use an overlay to overlap the the internal borders of the cells. But in this case, the table header somehow slightly shifted to the left relative to the body (see attachment). Is it possible to remove thi

[NTG-context] Error using xtable

2013-07-17 Thread Dmitriy Tokarev
Hello all, I experimented with xtables and found the following effect: This code is ok: \starttext \startxtable \startxrow \startxcell \input ward \stopxcell \stopxrow \stopxtable \stoptext But this compiled with an error: \starttext \startxtable %\startxtablebody \startxrow \startxcell

[NTG-context] Setup font size by dimension variable

2013-08-04 Thread Dmitriy Tokarev
Hi all, I want to set the font size by using the dimension variable, but it doesn't work. What am I doing wrong? \definemeasure[AAA][20pt] \newdimen\BBB \BBB=20pt \starttext TEXT % don't work \switchtobodyfont[\measure{AAA}] AAA % don't work \switchtobodyfont[\the\BBB] BBB % ok \switchtobody

[NTG-context] [***SPAM***] Re: Setup font size by dimension variable

2013-08-04 Thread Dmitriy Tokarev
04.08.2013, 16:49, "Philipp Gesang" : >>  the size-related arguments to \switchtobodyfont and >>  \setupbodyfont aren’t real TeX dimensions but identifiers for >>  predefined bodyfont sets. Example: >> >>    \def\mainfontsize{20pt} >>    \definebodyfontenvironment [\mainfontsize] >> >>    \starttex

[NTG-context] How to prevent moving figure on the next page?

2013-08-07 Thread Dmitriy Tokarev
Hi list, I need help to undestand this effect: If setuphead[chapter][page=no] and after figure start a new chapter, than figure is moved to the page 2, although on page 1 space is enough. Thanks. \setuppapersize[A5][A5] \setupbodyfont[10pt] \setuphead[chapter][page=no] \showframe \starttext \c

Re: [NTG-context] How to prevent moving figure on the next page?

2013-08-07 Thread Dmitriy Tokarev
I found a solution that suits me: \setuphead[chapter][page=] -- Dmitriy 07.08.2013, 15:51, "Dmitriy Tokarev" : > Hi list, > > I need help to undestand this effect: If setuphead[chapter][page=no] and > after figure start a new chapter, than figure is moved to the page 2,

[NTG-context] [***SPAM***] trouble with kerncharacters

2013-08-16 Thread Dmitriy Tokarev
Hi, I noticed that after the command \kerncharacters, I can not use the normal sequence "---" for em-dash. Is there any work around of this effect? Thanks. \starttext One monolithic symbol: --- \kerncharacters[.5] Three separate symbol: --- \stoptext -- Dmitriy __