Re: [NTG-context] Color Lost when Using 'texexec' vs 'context'
Mojca, Wolfgang, Thank you for explaining that. I had read about the two different versions MkII and MkIV, but did not realise that 'texexec' is the former while 'context' is the latter.
How old was the manual that you were reading?
I got that from the "Context Manual" ("Context Manual (cont-eni).pdf"), Section 1.4, which I downloaded quite recently from the website (I have been using Context for less than 2 months). It is dated November 2001, so quite old, you're right. What should I be reading instead? Is there something newer? The reason I switched to "texexec" was this (from the "Context Manual": "During the processing of itemizations the number of items is counted. This is the case with all versions. The next pass this information is used to determine the optimal location to start a new page. So do not despair when at the first parse your itemizations do not look the way you expected. When using TEXexec this is all taken care of." Is this still a problem with "context" or is this problem somehow solved with MkIV anyway? Thank you for all your help; this mailing-list proves very helpful to a novice like me. Regards, Malte. On 17/03/2012, at 20:03, ntg-context-request@ntg.nl wrote:
Hi all,
I am using some darkgray in my documents, as in
?\color[darkgray] foo...
which was working out well as long as I was processing my documents with the 'context' command. I recently started using 'texexec' instead, as in
?texexec --pdf definitions-acronyms-and-abbreviations.tex
(which, I understand is preferable) and strangely, all of my darkgray text is now rendered black. Any ideas why the command makes a difference and what to do about it?
You can either use ConTeXt MKII (with pdftex, invoked with "texexec") or ConTeXt MKIV (with luatex, invoked with "context"). How old was the manual that you were reading?
In MKII you need \setupcolors[state=start] to get the colors working.
MKII is not really preferable, except when you are looking for slightly more stability or when you don't need some advanced features. It is more stable, older and uses pdftex instead of luatex. But it also lacks many nice features and bugs from ConTeXt MKIV :).
The reason I switched to "texexec" was this (from the "Context Manual": "During the processing of itemizations the number of items is counted. This is the case with all versions. The next pass this information is used to determine the optimal location to start a new page. So do not despair when at the first parse your itemizations do not look the way you expected. When using TEXexec this is all taken care of."
Is this still a problem with "context" or is this problem somehow solved with MkIV anyway?
ConTeXt needs two passes for itemize when you use the “fit” option to determine the width for the numbers or when you use reversed or random numbers but this works in MkII and MkIV. Page breaks before/between items can be controlled by a few keywords (intro, loose etc.) but ConTeXt doesn’t use twopass information for this. Wolfgang
participants (2)
-
Malte Stien
-
Wolfgang Schuster