Re: [NTG-context] \in

2006-08-05 Thread Peter Münster
On Sat, 5 Aug 2006, Aditya Mahajan wrote: \def\myin[#1:#2]{ \expandafter\ifx\csname in#1\endcsname\relax \writestatus{warning}{referenceformat in#1 not defined} \in[#1:#2] \else \csname in#1\endcsname[#1:#2] \fi} And if you want to suppress unwanted spaces, you can

Re: [NTG-context] \in

2006-08-05 Thread Hans van der Meer
On Aug 5, 2006, at 6:10, Aditya Mahajan wrote: On Sat, 5 Aug 2006, Renaud AUBIN wrote: Hi all, Is that possible to setup the \in command to obtain: - \in[fig:fig_ref] returns figure 1.1 - \in[eq:eq_ref] returns (1.1) _ \in[sec:sec_ref] returns section 2.1 Up to now I have used: -

Re: [NTG-context] Updated My Way on math alignment

2006-08-05 Thread WN
[EMAIL PROTECTED] wrote: Hi Wim, On Fri, 4 Aug 2006, WN wrote: I have a question about \startcases .. \stopcases. I am trying to adjust the distance of the cases and the right brace, the left brace is empty, see example below. Is this possible ? It is. You can do it in

Re: [NTG-context] russian

2006-08-05 Thread Mojca Miklavec
I'm CC-ing this checklist about making new (Russian) hyphenation patterns work to the mailing list (also because a while ago I didn't manage to make them work either). Arkady Shraer wrote: Yes, I replaced files from previous mail. While texexec --make --all I saw, that lang-ru.* processed by

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

2006-08-05 Thread Mojca Miklavec
Hello, I would like to ask how difficult it would be to count the number of words in a TeX/ConTeXt document. If it's too complex, please ignore the rest of the message. Most recipes for LaTeX say that it's best to do something like pdftotext and then issue wc to count the words in the resulting

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

2006-08-05 Thread Aditya Mahajan
On Sat, 5 Aug 2006, Mojca Miklavec wrote: I would like to ask how difficult it would be to count the number of words in a TeX/ConTeXt document. If it's too complex, please ignore the rest of the message. Most recipes for LaTeX say that it's best to do something like pdftotext and then issue

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

2006-08-05 Thread Hans Hagen
Mojca Miklavec wrote: Hello, I would like to ask how difficult it would be to count the number of words in a TeX/ConTeXt document. If it's too complex, please ignore the rest of the message. the way i do such things (and worse trickery) is using pdftotext you can of course use tex, but

[NTG-context] adding an icon (flushed left) in a displayed formula with equation number

2006-08-05 Thread David Arnold
All, We have: \placeformula[eq:commonb] \startformula (1)^2+(\sqrt{4x+13})^2=(2x)^2, \stopformula This gives us a centered equation with an number pushed to the right edge of the page (I probably should say text area). What we'd like to do, just in this one example (not globally), is add

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

2006-08-05 Thread gnwiii
On 8/5/06, Mojca Miklavec [EMAIL PROTECTED] wrote: Hello, I would like to ask how difficult it would be to count the number of words in a TeX/ConTeXt document. If it's too complex, please ignore the rest of the message. It wasn't too complex for Michael Downes using LaTeX:

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

2006-08-05 Thread Mojca Miklavec
On 8/5/06, Hans Hagen wrote: Mojca Miklavec wrote: Hello, I would like to ask how difficult it would be to count the number of words in a TeX/ConTeXt document. If it's too complex, please ignore the rest of the message. the way i do such things (and worse trickery) is using pdftotext

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

2006-08-05 Thread Mojca Miklavec
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 happens, but I have to

[NTG-context] How to get rid of header

2006-08-05 Thread David Arnold
All, how do I get rid of the header on the second page of output? \setupwhitespace[medium] \setupindenting[medium,yes] \setupcolors[state=start] \setuppagenumbering [state=start, alternative=doublesided, location=, way=bytext] \definetext[chapter][footer][pagenumber] \setuphead

[NTG-context] marking files for delition in the next texutil/ctxtools --purge run

2006-08-05 Thread Mojca Miklavec
Hello, is it possible to mark the files somehow, so that they are deleted in the next run of ctxtools --purge[files]? (I create a lot of temporary files with different macros and would like to get rid of them at the end.) Thanks, Mojca ___

[NTG-context] completecontent, completeindex

2006-08-05 Thread David Arnold
All, If you use \completecontent or \completeindex, how do you manipulate the heads of these constructs? Can I change the text of the header, Contents to Table of Contents? Can I change the color? Can I change the font size and style? Can I suppress the headertext? Somewhat like