Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread luigi scarso
On Thu, Mar 4, 2010 at 3:35 AM, James Fisher wrote: > - In my humble opinion, TeXies need to get out of the habit of > 'self-documenting' TeX using TeX itself.  TeX is not some replacement for > all markup, it's for producing beautiful books (OK, and some presentations); I think that "self-docume

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread Aditya Mahajan
On Thu, 4 Mar 2010, James Fisher wrote: Right, to show I'm not just empty words, I've just spent ~90 minutes preparing the beginnings of some decent documentation. Presenting http://github.com/eegg/ConTeXt-doc : basically, I've: Interesting. (2) converted it all to reStructuredText using ht

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread James Fisher
Right, to show I'm not just empty words, I've just spent ~90 minutes preparing the beginnings of some decent documentation. Presenting http://github.com/eegg/ConTeXt-doc : basically, I've: (1) wget'ed all the English HTML from the texshow documentation (2) converted it all to reStructuredText usi

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread Aditya Mahajan
On Wed, 3 Mar 2010, James Fisher wrote: Also, re "there is only one ConTeXt developer --- Hans Hagen": I'd suggest a few reasons for this are: (1) in order to develop on a project, you first need a the high-level appreciation of the system that comes from documentation MkII is fairly well doc

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread James Fisher
Well, it's reassuring that people can at least admit this is a closed community. (But aren't churches meant to evangelize?) "For using ConTEXt, no TEX-- programming skills and no technical background are needed." (http://wiki.contextgarden.net/What_is_ConTeXt) "So why don't you grep in base/

Re: [NTG-context] setbreakpoints

2010-03-03 Thread Vyatcheslav Yatskovsky
Hi Wolfgang, To be serious, what \setbreakpoints[] do? I want to wikify this command. Vyatcheslav ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread luigi scarso
On Wed, Mar 3, 2010 at 10:19 PM, James Fisher wrote: > I'm getting the impression that there's no real-world distinction between > ConTeXt users and ConTeXt developers. true , in some sense. I mean that to use ConTeXt at its full potential one must write his own setups and macros and the best sou

Re: [NTG-context] rsfs font problem with MKIV

2010-03-03 Thread Aditya Mahajan
On Wed, 3 Mar 2010, Mehdi Omidali wrote: Hi, I followed http://wiki.contextgarden.net/rsfs and compile the sample file in this page with MKIV and got the following error: Those instructions only work for MKII. I am not sure how to incorporate RSFS with MKIV. Unicode only has type of math scr

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread Arthur Reutenauer
> (Arthur, what about your church of TeX?) I deny everything. Arthur ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.n

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread Vyatcheslav Yatskovsky
On 03.03.2010 22:41, ntg-context-requ...@ntg.nl wrote: Stymies me how people on this mailing list know this stuff -- even a Google search for "setbreakpoints", assuming I knew the command in advance, returns nada. This all is sacred knowledge, for devoted seekers :o) (Arthur, what about your

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread James Fisher
I suppose because (1) The word 'breakpoint' didn't come to mind (2) I'm used to consulting documentation rather than source code in the first instance (3) I've never worked in Turing tarpits before (4) Grepping 'breakpoint' as suggested doesn't turn up anything obvious in any case -- about 100 ins

[NTG-context] Using XeTeX results in: ! Undefined control sequence. \PDFversion ->1.\the \pdfminorversion

2010-03-03 Thread James Fisher
Somewhere in my twists and turns to get Mark IV working today, it appears XeTeX has been broken. Running `texexec --xtx' on any ConTeXt file results in: ! Undefined control sequence. \PDFversion ->1.\the \pdfminorversion All I've been able to find out is that these macros are something to do wit

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread luigi scarso
On Wed, Mar 3, 2010 at 9:41 PM, James Fisher wrote: > Certainly works -- thanks Wolfgang. > > Stymies me how people on this mailing list know this stuff -- even a Google > search for "setbreakpoints", assuming I knew the command in advance, returns > nada. So why don't you grep in base/* ? -- lu

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread James Fisher
Certainly works -- thanks Wolfgang. Stymies me how people on this mailing list know this stuff -- even a Google search for "setbreakpoints", assuming I knew the command in advance, returns nada. James On Wed, Mar 3, 2010 at 7:36 PM, Wolfgang Schuster < schuster.wolfg...@googlemail.com> wrote:

Re: [NTG-context] MetaPost bug? in MKIV

2010-03-03 Thread Wolfgang Schuster
Am 03.03.10 21:21, schrieb Troy Henderson: I hate to "beat a dead horse", but I want to understand this for certain. Is the consensus that graph.mp is incompatible with MKIV? If so, are there any plans to make it compatible? After all, graph.mp is part of the base MP distribution. \usemodu

Re: [NTG-context] MetaPost bug? in MKIV

2010-03-03 Thread Troy Henderson
I hate to "beat a dead horse", but I want to understand this for certain. Is the consensus that graph.mp is incompatible with MKIV? If so, are there any plans to make it compatible? After all, graph.mp is part of the base MP distribution. Troy

[NTG-context] rsfs font problem with MKIV

2010-03-03 Thread Mehdi Omidali
Hi, I followed http://wiki.contextgarden.net/rsfs and compile the sample file in this page with MKIV and got the following error: ! Undefined control sequence. \scr ->\fam \purefamily {scriptfamily} l.18 ${\scr ABCDEFGHIJKLMNOPQRSTUVWXYZ}$ ? __

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread Wolfgang Schuster
Am 03.03.10 20:19, schrieb James Fisher: Hi, I'm experiencing an issue where, when the width of a block of text is small, the occasional word sticks out from the otherwise flush right. I've previously seen an example of this in an image on the contextgarden wiki, but now can't find it. To

Re: [NTG-context] Super- and sub-script in text mode, or, fonts in math mode

2010-03-03 Thread James Fisher
That's better. Also, for the record, I've been working with Mark IV today, and LuaTeX doesn't seem to have XeTeX's problem with \small. On Wed, Mar 3, 2010 at 2:07 PM, Wolfgang Schuster < schuster.wolfg...@googlemail.com> wrote: > Am 03.03.10 13:04, schrieb James Fisher: > > Hi Wolfgang, >> >>

[NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread James Fisher
Hi, I'm experiencing an issue where, when the width of a block of text is small, the occasional word sticks out from the otherwise flush right. I've previously seen an example of this in an image on the contextgarden wiki, but now can't find it. To reproduce what I mean, compile this with Mark

Re: [NTG-context] no protrusion for hyphen ??

2010-03-03 Thread Steffen Wolfrum
Am 03.03.2010 um 14:04 schrieb Thomas A. Schmitz: > > On Mar 3, 2010, at 1:49 PM, Steffen Wolfrum wrote: > >> For hyphenation! >> >> Just try yourself: with "-" instead of "|-|" there is no hyphenation for >> test-text: >> >> >> \startluacode >> fonts.protrusions.vectors['stpure'] = { >>

Re: [NTG-context] Super- and sub-script in text mode, or, fonts in math mode

2010-03-03 Thread Wolfgang Schuster
Am 03.03.10 13:04, schrieb James Fisher: Hi Wolfgang, Thanks, that gets me closer (though \highlow and \lowhigh result in "undefined control sequence" here). \hilo and \lohi Wolfgang ___ If your question is of in

[NTG-context] including xml files

2010-03-03 Thread Philipp Gesang
Hi all, what is the recommended way of including an xml tree from one file in another? Right now I'm stuck with the following \startxmlsetups xml:inc \xmlprocessfile{inc}{\xmlatt{#1}{file}}{} \stopxmlsetups combined with in the xml source. But although the content of inc.xml is processed

Re: [NTG-context] no protrusion for hyphen ??

2010-03-03 Thread Thomas A. Schmitz
On Mar 3, 2010, at 1:49 PM, Steffen Wolfrum wrote: > For hyphenation! > > Just try yourself: with "-" instead of "|-|" there is no hyphenation for > test-text: > > > \startluacode > fonts.protrusions.vectors['stpure'] = { >[0x002D] = { 0, 0.50}, -- hyphen > } > fonts.protrusions.class

Re: [NTG-context] no protrusion for hyphen ??

2010-03-03 Thread Steffen Wolfrum
Am 03.03.2010 um 13:31 schrieb Thomas A. Schmitz: > > On Mar 3, 2010, at 12:44 PM, Steffen Wolfrum wrote: > >> Hi, >> >> I have read there were troubles with |-| in MkIV last year. >> >> I found another one: the hyphen set by |-| doesn't get protruded. > > Why do you need this |-| hyphen?

Re: [NTG-context] no protrusion for hyphen ??

2010-03-03 Thread Thomas A. Schmitz
On Mar 3, 2010, at 12:44 PM, Steffen Wolfrum wrote: > Hi, > > I have read there were troubles with |-| in MkIV last year. > > I found another one: the hyphen set by |-| doesn't get protruded. Why do you need this |-| hyphen? Thomas _

Re: [NTG-context] Super- and sub-script in text mode, or, fonts in math mode

2010-03-03 Thread James Fisher
Hi Wolfgang, Thanks, that gets me closer (though \highlow and \lowhigh result in "undefined control sequence" here). However, the superscripted text is not reduced in size at all. This seems to be XeTeX-specific, as using PDFTeX works fine. The same issue arises using \small{} in XeTeX, wheth

[NTG-context] no protrusion for hyphen ??

2010-03-03 Thread Steffen Wolfrum
Hi, I have read there were troubles with |-| in MkIV last year. I found another one: the hyphen set by |-| doesn't get protruded. See example below, please: \startluacode fonts.protrusions.vectors['stpure'] = { [0x002D] = { 0, 0.50}, -- hyphen } fonts.protrusions.classes['stwpure'] = {

Re: [NTG-context] doifnumberelse

2010-03-03 Thread Taco Hoekwater
Hans van der Meer wrote: > > This text suggest that the the test is on whether "string" as a whole is > a number (taken as having digits 0123456789 only, I presume) of contains > nondigits and thus isn't a number. > However, it seems the macro tests on the first character only. The wiki page

[NTG-context] doifnumberelse

2010-03-03 Thread Hans van der Meer
The macro \doifnumberelse is not behaving as I would have expected from the description in Taco Hoekwater's article "Context System Macros: part 1: General macros". There I read: The next macro executesa command depending of the outcome of a test on numerals. \doifnumberelse {string} {t