[NTG-context] Extra pages

2006-08-06 Thread David Arnold
All, Can anyone explain why the output of this source has two blank pages at the end? \setupwhitespace[medium] \setupindenting[medium,yes] \setupcolors[state=start] \setuppagenumbering [state=start, alternative=doublesided, location=, way=bytext]

[NTG-context] visualising evolution from one version to another

2006-08-06 Thread Peter Münster
Hello, if you know a bit MS-Word, then you have seen perhaps the feature, that permits visualising differences between 2 versions of a document: added text in red, and deleted text stroke out. I would like to make something similar with ConTeXt: making a pdf-file from doc-versionX.tex and

Re: [NTG-context] Mixed Normal and Bold Math -- Problem with Lucida

2006-08-06 Thread Taco Hoekwater
Hi, Hans Hagen wrote: it's a matter of lack of tex families; once we have bold, something else has to be dropped More precisely, here is the font family setup of ConTeXt \fam 0 math roman (with uppercase greek) 1 math italic 2 math

[NTG-context] texfont produces faked ligatures with ec encoding

2006-08-06 Thread Andreas Schneider
Hi, with the ec encoding, texfont produces faked ligatures, although the font has real fi and fl ligatures. With the texnansi encoding and the same commands, the ligatures are ok. (I checked this by compiling a simple sample file, just changing \setupencoding[default=ec] to

[NTG-context] times bolditalic in chapter

2006-08-06 Thread Steffen Wolfrum
Hi, probably very basic question. I need the chapter set in bold (and if necessary - see below - in bolditalic). How can this be done when using Times via \usetypescript[postscript] [\defaultencoding] ? \starttext \usetypescript[postscript][\defaultencoding] \setupbodyfont[postscript,10pt]

Re: [NTG-context] metafun \sometxt: should black be black or textcolor?

2006-08-06 Thread Taco Hoekwater
Mojca Miklavec wrote: Hello, Does anyone have any idea about what's going on here? I get blue text, but a black square, although both are supposed to come out black (I wouldn't mind so much, but the problem is that some text is blue and some is black - I have some other testcases where this

[NTG-context] Black and White

2006-08-06 Thread David Arnold
Hans et al, Is there switch to throw to texmfstart texexec so that interactive green links go a nice dark color when printed to black and white? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] completecontent, completeindex

2006-08-06 Thread Taco Hoekwater
David Arnold wrote: All, If you use \completecontent or \completeindex, how do you manipulate the heads of these constructs? Most answers are no. Simply use \place... and heading of your choice. (\complete. commands do not do more than that) Cheers, Taco

Re: [NTG-context] Extra pages

2006-08-06 Thread Taco Hoekwater
David Arnold wrote: All, Can anyone explain why the output of this source has two blank pages at the end? The extra extra page is caused by the next line: alternative=doublesided, location=, way=bytext] The other extra page is how it should be (the document ends on an even

Re: [NTG-context] completecontent, completeindex

2006-08-06 Thread David Arnold
Taco, Thanks. We're trying that now. See: http://msenux.redwoods.edu/IntAlgText/chapter0/chapter0.pdf On Aug 6, 2006, at 2:12 AM, Taco Hoekwater wrote: David Arnold wrote: All, If you use \completecontent or \completeindex, how do you manipulate the heads of these constructs? Most

Re: [NTG-context] How to get rid of header

2006-08-06 Thread Taco Hoekwater
David Arnold wrote: All, how do I get rid of the header on the second page of output? I would like to know a clean answer to this as well. I often use code that does something similar to James' solution (posted last week): \startsetups [chapter:before] \page[left]

Re: [NTG-context] Black and White

2006-08-06 Thread Taco Hoekwater
David Arnold wrote: Hans et al, Is there switch to throw to texmfstart texexec so that interactive green links go a nice dark color when printed to black and white? texexec --mode=paper together with: \doifnotmode{paper}{\setupinteraction[state=start]} Cheers, Taco

Re: [NTG-context] texfont produces faked ligatures with ec encoding

2006-08-06 Thread Taco Hoekwater
Andreas Schneider wrote: What do I do wrong? As far as I know, that should have worked. Did you run texexec ec-bitstrea-eleggar ? The first page should show a font table, and that may help debugging (perhaps your local ec.enc is wrong) Taco ___

Re: [NTG-context] Extra pages

2006-08-06 Thread David Arnold
Huh? What shoud it be then? On Aug 6, 2006, at 2:22 AM, Taco Hoekwater wrote: David Arnold wrote: All, Can anyone explain why the output of this source has two blank pages at the end? The extra extra page is caused by the next line: alternative=doublesided, location=,

[NTG-context] hyphenation by default off in lists ?

2006-08-06 Thread Steffen Wolfrum
Hi, is hyphenation by default off in lists? If so, why doesn't align={hyphenated,right} start the hyphening? \starttext %\setuplist[section][align={hyphenated,right}] \completecontent \section{\input tufte} \stoptext Steffen ___ ntg-context

Re: [NTG-context] visualising evolution from one version to another

2006-08-06 Thread Taco Hoekwater
Peter Münster wrote: Hello, if you know a bit MS-Word, then you have seen perhaps the feature, that permits visualising differences between 2 versions of a document: added text in red, and deleted text stroke out. I would like to make something similar with ConTeXt: making a pdf-file from

Re: [NTG-context] Extra pages

2006-08-06 Thread Taco Hoekwater
David Arnold wrote: Huh? What shoud it be then? removed. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] times bolditalic in chapter

2006-08-06 Thread Taco Hoekwater
Steffen Wolfrum wrote: Hi, probably very basic question. I need the chapter set in bold (and if necessary - see below - in bolditalic). How can this be done when using Times via \usetypescript[postscript] [\defaultencoding] ? \def\Textit{\groupedcommand\em\/} %

Re: [NTG-context] Extra pages

2006-08-06 Thread Taco Hoekwater
Taco Hoekwater wrote: David Arnold wrote: Huh? What shoud it be then? removed. (i don't know what is happening, just figured out a way to remove the symptom) Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] metafun \sometxt: should black be black or textcolor?

2006-08-06 Thread Mojca Miklavec
On 8/6/06, Taco Hoekwater wrote: Mojca Miklavec wrote: Hello, Does anyone have any idea about what's going on here? I get blue text, but a black square, although both are supposed to come out black (I wouldn't mind so much, but the problem is that some text is blue and some is black -

[NTG-context] updating ConTeXt with ctxtools

2006-08-06 Thread Alan Bowen
Gerben’s iInstaller does not seem to be picking up new versions any more, so I tried texmfstart ctxtools --update What I got in response was kpsewhich: option `--expand-var' requires an argument CtxTools | updating CtxTools | unable to change to and a return to the prompt. I

Re: [NTG-context] updating ConTeXt with ctxtools

2006-08-06 Thread Sanjoy Mahajan
kpsewhich: option `--expand-var' requires an argument See the Ubuntu installation thread a couple weeks ago (search for TEXMFLOCAL and Ubuntu). The problem is that TEXMFLOCAL isn't being evaluated properly due to quoting differences between Unix and Windows syntax (with ctxtools using the

Re: [NTG-context] metafun \sometxt: should black be black or textcolor?

2006-08-06 Thread Taco Hoekwater
Hi Mojca, Mojca Miklavec wrote: But the other \sometxt was indeed red - withcolor seems to work, but only conditionally. And I have some weird examples of two texts one after another. In some cases (if something else is drawn inbetween and a color changed twice), then the second text will

Re: [NTG-context] index (again)

2006-08-06 Thread Hans Hagen
Steffen Wolfrum wrote: It's not waterproof. See the result in the attached PDF: For example GOBReg ... 230, 230, 230�233 ... ... 273�277, 277� 279 ... And something else needs to be improved (that's why I send the PDF): See the register is not typeset in columns properly?! i cannot

Re: [NTG-context] Black and White

2006-08-06 Thread Hans Hagen
David Arnold wrote: Hans et al, Is there switch to throw to texmfstart texexec so that interactive green links go a nice dark color when printed to black and white? just disable color (see manual about automatic conversion to weighted gray scales and such) Hans

Re: [NTG-context] visualising evolution from one version to another

2006-08-06 Thread Taco Hoekwater
Peter Münster wrote: On Sun, 6 Aug 2006, Taco Hoekwater wrote: You need a way to create a merged ConTeXt document from the two separate files, perhaps using something like this: http://search.cpan.org/dist/Text-WordDiff/lib/Text/WordDiff.pm Thank you for this hint! It's exactly what

Re: [NTG-context] counting the words in a TeX document

2006-08-06 Thread Hans Hagen
Mojca Miklavec wrote: t complementary) methods that might be sensible: a) ctxtools --wordcount filename[tex|pdf] to do the wordcount for the whole document using pdftotext + ruby regexp counting words in tex docs is not that hard: it needs in addition: delete all the words starting with

Re: [NTG-context] visualising evolution from one version to another

2006-08-06 Thread Peter Münster
On Sun, 6 Aug 2006, Taco Hoekwater wrote: You need a way to create a merged ConTeXt document from the two separate files, perhaps using something like this: http://search.cpan.org/dist/Text-WordDiff/lib/Text/WordDiff.pm Thank you for this hint! It's exactly what I need. I've also found a

Re: [NTG-context] metafun \sometxt: should black be black or textcolor?

2006-08-06 Thread Mojca Miklavec
On 8/6/06, Taco Hoekwater wrote: Hi Mojca, Mojca Miklavec wrote: But the other \sometxt was indeed red - withcolor seems to work, but only conditionally. And I have some weird examples of two texts one after another. In some cases (if something else is drawn inbetween and a color

Re: [NTG-context] counting the words in a TeX document

2006-08-06 Thread Aditya Mahajan
On Sun, 6 Aug 2006, Mojca Miklavec wrote: Base on those three answers I got a more clear idea of two (different, but complementary) methods that might be sensible: a) ctxtools --wordcount filename[tex|pdf] to do the wordcount for the whole document using pdftotext + ruby regexp b)

Re: [NTG-context] texfont produces faked ligatures with ec encoding

2006-08-06 Thread Andreas Schneider
On Sun, 6 Aug 2006, Thomas A. Schmitz wrote: Sorry, I haven't followed this thread closely (so I have no idea if this has already been solved), but I had a similar symptom a while ago. It turned out that it was something with the default EC.enc that ships with tetex. Can you try to do the

Re: [NTG-context] texfont produces faked ligatures with ec encoding

2006-08-06 Thread Thomas A. Schmitz
On Aug 6, 2006, at 10:28 PM, Andreas Schneider wrote: Thanks for that hint. There is no file lm-ec.enc in my installation, but ec-var-lm.enc. If I add a --variant=var-lm to the parameters for texfont (or alternatively create a symbolic link ec.ec - ec-var-lm.enc in my private texmf

Re: [NTG-context] metafun \sometxt: should black be black or textcolor?

2006-08-06 Thread Hans Hagen
Taco Hoekwater wrote: Quick fix: You can start your MP code with an explicit color initialization. \startMPcode special 0 setgray; .. \stopMPcode A hack, I know. MetaPost should be able to distinguish between draw p and draw p withcolor (0,0,0) but

Re: [NTG-context] metafun \sometxt: should black be black or textcolor?

2006-08-06 Thread Hans Hagen
Taco Hoekwater wrote: Hi Mojca, Mojca Miklavec wrote: But the other \sometxt was indeed red - withcolor seems to work, but only conditionally. And I have some weird examples of two texts one after another. In some cases (if something else is drawn inbetween and a color changed twice),

Re: [NTG-context] texfont produces faked ligatures with ec encoding

2006-08-06 Thread Mojca Miklavec
On 8/6/06, Andreas Schneider wrote: On Sun, 6 Aug 2006, Thomas A. Schmitz wrote: Sorry, I haven't followed this thread closely (so I have no idea if this has already been solved), but I had a similar symptom a while ago. It turned out that it was something with the default EC.enc that ships

[NTG-context] indenting after section headings with before, after keyvals

2006-08-06 Thread Sanjoy Mahajan
The text after section headings is normally not indented, even if \setupindenting[yes] is given -- which looks good and was a pain to get right in my plain TeX days. But the don't indent that code seems to get confused if before= and after= values are given in the heading setup. Below is a