Re: [NTG-context] Itemize not breaking across pages?

2011-03-10 Thread Hans Hagen
On 10-3-2011 8:10, Alasdair McAndrew wrote: I am setting up notes and exercises for my students. Each set of exercises is in an itemize environment, and each \item consists of a table of problems. The trouble is, the itemize doesn't break across pages - I have to put manual page breaks in.

[NTG-context] extra line in tabulate headers

2011-03-10 Thread Florian Wobbe
Hi, how can I suppress the extra line in the header of the example on contextgarden (http://wiki.contextgarden.net/Tabulate#Headers)? Removing header=repeat from \setuptabulate helps but I'd like to keep header repetition. Thanks, Florian

Re: [NTG-context] extra line in tabulate headers

2011-03-10 Thread Philipp Gesang
On 2011-03-10 11:08:22, Florian Wobbe wrote: Hi, how can I suppress the extra line in the header of the example on contextgarden (http://wiki.contextgarden.net/Tabulate#Headers)? Removing header=repeat from \setuptabulate helps but I'd like to keep header repetition. Hi Florian, wrapping

Re: [NTG-context] extra line in tabulate headers

2011-03-10 Thread Florian Wobbe
how can I suppress the extra line in the header of the example on contextgarden (http://wiki.contextgarden.net/Tabulate#Headers)? Removing header=repeat from \setuptabulate helps but I'd like to keep header repetition. Hi Florian, wrapping it into a “\placetable”-float seems to get rid

Re: [NTG-context] extra line in tabulate headers

2011-03-10 Thread Philipp Gesang
On 2011-03-10 11:53:11, Florian Wobbe wrote: how can I suppress the extra line in the header of the example on contextgarden (http://wiki.contextgarden.net/Tabulate#Headers)? Removing header=repeat from \setuptabulate helps but I'd like to keep header repetition. Hi Florian,

Re: [NTG-context] extra line in tabulate headers

2011-03-10 Thread Florian Wobbe
how can I suppress the extra line in the header of the example on contextgarden (http://wiki.contextgarden.net/Tabulate#Headers)? Removing header=repeat from \setuptabulate helps but I'd like to keep header repetition. Hi Florian, wrapping it into a “\placetable”-float seems to get rid

Re: [NTG-context] Compile script

2011-03-10 Thread Philipp A.
2011/3/3 Cecil Westerhof cldwester...@gmail.com I have been asking a lot of questions lately and getting very speedy replies. Time to give something back. ;-} I attached a script I made to easily compile ConTeXt files in the current directory. Default it looks if there are tex files where

Re: [NTG-context] Acrobat JavaScript in ConTeXt

2011-03-10 Thread Hans Hagen
1) how to deal with commas in strings? MyAlert{Hello, World} displays only Hello. does {{Hello, World}} work? 2) is it possible to get international charcters (such as čćžšđ) in strings? I don't know if javascript does utf

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread Steffen Wolfrum
Am 06.03.2011 um 11:56 schrieb Steffen Wolfrum: --on page 1 there is section 1.1 one and you get the header entry 1.1 one - on page 3 there is still section 1.1 one and you get the header entry 1.2 one (- ?!) - on page 5 there is section 1.2 two and you get the header entry 1.2 two

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread luigi scarso
On Thu, Mar 10, 2011 at 2:38 PM, Steffen Wolfrum cont...@st.estfiles.de wrote: Am 06.03.2011 um 11:56 schrieb Steffen Wolfrum: --on page 1 there is section 1.1 one and you get the header entry 1.1 one - on page 3 there is still section 1.1 one and you get the header entry 1.2 one (- ?!) -

[NTG-context] \startsetups amd \startJSpreamble

2011-03-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, just to confirm - the role of the text after \start*: \startsetups thumbs - on http://wiki.contextgarden.net/Thumb_index and \startJSpreamble MyStuff used later - in the last mails between Vedran and Hans. Do I understand well that thumbs and MyStuff used later in both cases are

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread Willi Egger
I agree with Luigi, after using different length and \page I was able to produce correct output. According to me your example is probably a border case. Willi On 10 Mar 2011, at 14:59, luigi scarso wrote: On Thu, Mar 10, 2011 at 2:38 PM, Steffen Wolfrum cont...@st.estfiles.de wrote: Am

Re: [NTG-context] \startsetups amd \startJSpreamble

2011-03-10 Thread Wolfgang Schuster
Am 10.03.2011 um 15:13 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: I fell a bit confused as normally such names are enclosed in brackets; thus I'd rather expect syntax like: \startsetups[thumbs] ... \stopsetups You can write \startsetups[long name with spaces] ... \stopsetups or

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread Wolfgang Schuster
Am 06.03.2011 um 11:56 schrieb Steffen Wolfrum: Hi, please run the minimal example attached: --on page 1 there is section 1.1 one and you get the header entry 1.1 one - on page 3 there is still section 1.1 one and you get the header entry 1.2 one (- ?!) - on page 5 there is

Re: [NTG-context] \startsetups amd \startJSpreamble

2011-03-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Thanks for the explanation. You can write \startsetups[long name with spaces] ... \stopsetups or \startsetups shortname ... \stopsetups Wolfgang I guess the same approach in general, so also: \startJSpreamble[MyStuff used later] Best regards, Lukas -- Ing. Lukáš Procházka

[NTG-context] \setuppublications problem

2011-03-10 Thread Jean Magnan de Bornier
Hi all, Using the last mkiv from the minimals, \setuppublications seems out of order. If I write: .. \setupbibtex [database=/home/jean/biblio] \setuppublications[alternative=apa] \starttext {\bf Bibliography} \nocite[foo, bla, blu] \placepublications \stoptext

Re: [NTG-context] \startsetups amd \startJSpreamble

2011-03-10 Thread Wolfgang Schuster
Am 10.03.2011 um 15:32 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: I guess the same approach in general, so also: \startJSpreamble[MyStuff used later] No, you need braces here, e.g. \startJSpreamble {Mystuff used later} ... Wolfgang

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread Steffen Wolfrum
Am 10.03.2011 um 15:26 schrieb Wolfgang Schuster: Am 06.03.2011 um 11:56 schrieb Steffen Wolfrum: Hi, please run the minimal example attached: --on page 1 there is section 1.1 one and you get the header entry 1.1 one - on page 3 there is still section 1.1 one and you get the

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread Steffen Wolfrum
Of course, manually tweaking helps. Only, one needs to see that here is a page where tweaking is needed! And this is the problem: The head says 1.2 one, but it should be 1.1 one! First I trusted the automated head entries, then I realized it can be wrong and now I skim typeset books before

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread Wolfgang Schuster
Am 10.03.2011 um 15:48 schrieb Steffen Wolfrum: Sure, but why does TeX write 1.2 one? The second part one is correct ... Why can't both parts be synchronized (correctly of course!)?? It’s because \headnumber is macro expansion which happens when TeX collects material for the page and

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread Wolfgang Schuster
Am 10.03.2011 um 15:55 schrieb Steffen Wolfrum: Isn't there a command that gets the number that belongs to the text of \getmarking[section] \getmarking[sectionnumber] % partnumber, chapternumber etc. Wolfgang

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread luigi scarso
On Thu, Mar 10, 2011 at 3:59 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 10.03.2011 um 15:55 schrieb Steffen Wolfrum: Isn't there a command that gets the number that belongs to the text of \getmarking[section] \getmarking[sectionnumber] % partnumber, chapternumber etc.

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread Steffen Wolfrum
Am 10.03.2011 um 15:59 schrieb Wolfgang Schuster: Am 10.03.2011 um 15:55 schrieb Steffen Wolfrum: Isn't there a command that gets the number that belongs to the text of \getmarking[section] \getmarking[sectionnumber] % partnumber, chapternumber etc. Yes! \getmarking[sectionnumber]

[NTG-context] ConTeXt in MiKTeX

2011-03-10 Thread Carlos Breton Besnier
Hello. I need ConTeXt Mark IV environment on a USB stick because I don´t have administrative rights over the computer. The operating system is windows. I downloaded MiKTex 2.9 portable (Texworks) and ConTeXt package but I can not get it run. I've searched on the web how configurate Texworks but I

[NTG-context] Line spacing on a cover page

2011-03-10 Thread John Haltiwanger
To me the space between 'Freed' and 'by' looks awkward: \starttext \startalignment[left] \bgroup \switchtobodyfont[72pt] {\ss Freed \par by \par Design} \egroup \stoptext -- Should I be using \start..\stoplines ? or is this a bug?

Re: [NTG-context] ConTeXt in MiKTeX

2011-03-10 Thread Mojca Miklavec
On Thu, Mar 10, 2011 at 18:26, Carlos Breton Besnier wrote: Hello. I need ConTeXt Mark IV environment on a USB stick because I don´t have administrative rights over the computer. The operating system is windows. I downloaded MiKTex 2.9 portable (Texworks) and ConTeXt package but I can not get

Re: [NTG-context] Line spacing on a cover page

2011-03-10 Thread Vedran Miletić
2011/3/10 John Haltiwanger john.haltiwan...@gmail.com To me the space between 'Freed' and 'by' looks awkward: \starttext \startalignment[left] \bgroup \switchtobodyfont[72pt] {\ss Freed \par by \par Design} \egroup \stoptext -- Should I be using

Re: [NTG-context] ConTeXt in MiKTeX

2011-03-10 Thread Carlos Breton Besnier
2011/3/10 Mojca Miklavec mojca.miklavec.li...@gmail.com On Thu, Mar 10, 2011 at 18:26, Carlos Breton Besnier wrote: Hello. I need ConTeXt Mark IV environment on a USB stick because I don´t have administrative rights over the computer. The operating system is windows. I downloaded MiKTex

Re: [NTG-context] Line spacing on a cover page

2011-03-10 Thread Wolfgang Schuster
Am 10.03.2011 um 18:28 schrieb John Haltiwanger: \startalignment[left] \bgroup \switchtobodyfont[72pt] {\ss Freed \par by \par Design} \egroup \startlines[align=flushright,style={\switchtobodyfont[72pt,ss]}] Freed by Design \stoplines Wolfgang

Re: [NTG-context] Line spacing on a cover page

2011-03-10 Thread John Haltiwanger
Thanks Verdan and Wolfgang. As I suspected, \startlines was the way to go. On Thu, Mar 10, 2011 at 6:56 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 10.03.2011 um 18:28 schrieb John Haltiwanger: \startalignment[left] \bgroup \switchtobodyfont[72pt]

Re: [NTG-context] +tlig fails sometimes in mkiv

2011-03-10 Thread Hans Hagen
On 5-3-2011 5:24, Ulrike Fischer wrote: On c.t.t. there was a discussion about the TeX-ligatures -- and --- for endash and emdash. It seems that the luaotfload/context code fails for some font/mode combination: For some fonts +tlig works with both modes, some works only with mode=base, and

Re: [NTG-context] fonts.enc.reencodings works with latex but not with context

2011-03-10 Thread Hans Hagen
On 9-3-2011 5:34, Ulrike Fischer wrote: I'm now trying to find out how to setup things so that context users could also benefit from the reencoding. But the equivalent code of the code working with latex doesn't work in context this feature is indeed not part of context Hans

[NTG-context] Am not getting Roman numeral page numbers in MKIV

2011-03-10 Thread Tom
The following code is intended to produce lower-case Roman numeral page numbers for the first 3 pages before switching to Hindu-Arabic numerals starting with the Introduction. However, I get Hindu-Arabic numerals instead of the lower-case Roman numerals page numbers. \definehead [intro][chapter]

[NTG-context] \copypages and friends

2011-03-10 Thread Willi Egger
Hello Hans, I believe that there is a bug or something has changed from Context version 14 february and version 25 february. While in the older version the commands \insertpages and \copypages work as expected, the newest beta simply ignores the commands. There is no error message. Kind

[NTG-context] Verbatim text: intext colors (mkiv)

2011-03-10 Thread Reviczky, Adam
Hi, When using verbatim text (for source code) in mkiv: Line numbers in the text as well as /BTEX … /ETEX (for colors) don't work. It is fine using mkii. Attached the two minimal examples. Adam \setupcolors[state=start] \starttext %% SC colors %% \definecolor [SCwhite] [r=1.0, g=1.0, b=1.0]

[NTG-context] Roman numeral page numbers produced in MKII

2011-03-10 Thread Tom
After posting the message about the following code not generating lower-case Roman numeral page numbers, I tested the code with MKII and it works fine. There must be a difference in how page number conversion is done between MKII and MKIV. \definehead [intro][chapter] \setuphead

Re: [NTG-context] Itemize not breaking across pages?

2011-03-10 Thread Alasdair McAndrew
The trouble arises when I put my tables into narrower, framedtext so as to be able to force proper indentation: \starttext \startitemize[n] \dorecurse{20}{\item This is a test \startnarrower[left] \startframedtext[frame=off,offset=overlay] \starttables[|l|l|l|l|l|l|l|l|] \NC (a) \NC

Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV

2011-03-10 Thread Jeong Dalyoung
Dear Tom, Please add following lines in the preamble, then you will get roman numerals. \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][numbers] Also I use \startstructureblockenvironment[backpart] instead of