[NTG-context] letter module: Missing number, treated as zero.

2009-09-19 Thread Peter Münster
Hello, Here a minimal test file, to reproduce the problem with latest MKIV: \let\defineblankmethod\definevspacingamount \usemodule[letter] \starttext \startletter Test. \stopletter \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

Re: [NTG-context] ActualText

2009-09-19 Thread Barry Schwartz
Barry Schwartz skribis: > In practice what I see with my method is that discretionary hyphens > always get an ActualText, and if the font is older and has names like > "Asmall" or "ffl" (which I don't bother handling specially) then the > substituted stuff gets an ActualText. I could look at the f

Re: [NTG-context] ActualText

2009-09-19 Thread Barry Schwartz
Hans Hagen skribis: > > put an ActualText tag on anything that happens not to match what you > > would get from the ToUnicode mapping. > > hm, if one knows the character (say c) then why not adapt the tounicode > vector The same glyph could correspond to different Unicode in the source. This is

Re: [NTG-context] ctxtools error

2009-09-19 Thread Hans Hagen
Wolfgang Werners-Lucchini wrote: Hallo, I had to install a new ruby and get errors with ctxtools now: - ConTeXt ver: 2009.06.14 21:01 MKII fmt: 2009.8.15 int: english/english ruby --version ruby 1.9.1p129 (2009-05-12 revisio

Re: [NTG-context] ActualText

2009-09-19 Thread Hans Hagen
Barry Schwartz wrote: Also, I noticed when playing around with the examples from the "Th" ligature discussion that searching and extraction didn't work with small caps, though it did work with the ligature. With ActualText tags hm, mkiv has an analyser for names->unicode and afaik small caps s

[NTG-context] ctxtools error

2009-09-19 Thread Wolfgang Werners-Lucchini
Hallo, I had to install a new ruby and get errors with ctxtools now: - ConTeXt ver: 2009.06.14 21:01 MKII fmt: 2009.8.15 int: english/english >ruby --version ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mswin32] >texmfstart

Re: [NTG-context] ActualText

2009-09-19 Thread Hans Hagen
Arthur Reutenauer wrote: can you explain in mode detail what you mean with 'actual text tags' ? He means "ActualText tags" :-) See the PDF spec section 14.9.4, page 623. It's a more generic way to support searching than ToUnicode vectors: you just specify the actual string of underlying Unic

Re: [NTG-context] ActualText

2009-09-19 Thread Arthur Reutenauer
> Heiko Oberdiek wrote the accsupp package to use ActualText in LaTeX, > why shouldn't it be then possible to use it in LuaTeX (and ConTeXt)? Right, you don't need additional engine support, you can use \pdfliteral in pdfTeX, and in LuaTeX as well. Heiko's package should be quite easy to port t

Re: [NTG-context] ActualText

2009-09-19 Thread Barry Schwartz
Arthur Reutenauer skribis: > He means "ActualText tags" :-) See the PDF spec section 14.9.4, page 623. > It's a more generic way to support searching than ToUnicode vectors: you just > specify the actual string of underlying Unicode characters. The PDF spec uses > hyphenated "ck" in German as

Re: [NTG-context] ActualText

2009-09-19 Thread Wolfgang Schuster
Am 19.09.2009 um 19:10 schrieb Arthur Reutenauer: Anyway, this needs support at the engine level and I don't think there is; actually it would be nice to add that to LuaTeX. Heiko Oberdiek wrote the accsupp package to use ActualText in LaTeX, why shouldn't it be then possible to use it in L

Re: [NTG-context] ActualText

2009-09-19 Thread Arthur Reutenauer
> can you explain in mode detail what you mean with 'actual text tags' ? He means "ActualText tags" :-) See the PDF spec section 14.9.4, page 623. It's a more generic way to support searching than ToUnicode vectors: you just specify the actual string of underlying Unicode characters. The PDF s

Re: [NTG-context] further bib tests

2009-09-19 Thread Hans Hagen
Thomas A. Schmitz wrote: Hi Hans and all, I did some more tests with the new bib mechanism in mkiv and hit a problem: the refcommand=authornum is broken. Minimal example: ok, i can replicate the bug, commenting % \setuppublications[state=start,refcommand=authornum] gives a grouping error he

Re: [NTG-context] \getmyAbstract

2009-09-19 Thread Hans Hagen
David Arnold wrote: \getmyAbstract ->\dodoprocessTEXbuffer btw, i don't see that command in my version (mkii nor mkiv) so it must be an old bug then - Hans Hagen | PRAGMA ADE

Re: [NTG-context] \getmyAbstract

2009-09-19 Thread Hans Hagen
David Arnold wrote: All, At one time I had a style file that handled my abstract. \definebuffer[myAbstract] \startmyAbstract In this activity you will learn how to solve systems of linear equations using LU decomposition, with both forward and back substitution. In addition, you will also be i

Re: [NTG-context] ActualText

2009-09-19 Thread Hans Hagen
Barry Schwartz wrote: Please tell me this isn't in a FAQ. :) Is there support for ActualText tags so that searching and extraction will work with OpenType fonts and Unicode? If so, do discretionary hyphens get treated as 00AD instead of 002D? can you explain in mode detail what you mean with 'a

Re: [NTG-context] Small caps problem/bug with some fonts

2009-09-19 Thread Hans Hagen
Barry Schwartz wrote: Hans Hagen skribis: but even then, if a font is not clear about issues, then one can get unwanted side effects (the frac feature for instance is often quite bugged and can only be applied selectively) Yeah, I think trying to be fancy with contextual substitutions is a b

Re: [NTG-context] further bib tests

2009-09-19 Thread Hans Hagen
Thomas A. Schmitz wrote: Hi Hans and all, I did some more tests with the new bib mechanism in mkiv and hit a problem: the refcommand=authornum is broken. Minimal example: ! TeX capacity exceeded, sorry [parameter stack size=6000]. \namedlistparameter #1#2-> mkii? mkiv? small bib file? hug

Re: [NTG-context] Small caps problem/bug with some fonts

2009-09-19 Thread Hans Hagen
Barry Schwartz wrote: Hans Hagen skribis: Barry Schwartz wrote: If base mode uses the traditional TeX mechanism for ligatures, I don't see any way the font can be blamed. Ant does the same thing, I believe, using the OT tables and heuristics to run the TeX processor. That's okay, as long as

Re: [NTG-context] How to reset the chapter number

2009-09-19 Thread Derek CORDEIRO
On Sat, Sep 19, 2009 at 4:13 PM, Joshua Lee wrote: > Hi Guys, > Here's a little example, > \setupcolors[state=start] > \setuphead[chapter][sectionsegments=2:100] > \starttext > > \completecontent > \part{First Part} > \chapter{First Chapter} > \chapter{Second Chapter} > \part{Second Par

[NTG-context] further bib tests

2009-09-19 Thread Thomas A. Schmitz
Hi Hans and all, I did some more tests with the new bib mechanism in mkiv and hit a problem: the refcommand=authornum is broken. Minimal example: \setuppublicationlist[samplesize={{{The}}24},totalnumber=1] \startpublication[k=silktragedytragic,t=book, a={{Silk}},y=1996, n=1855,s=Sil96] \edit

[NTG-context] How to reset the chapter number

2009-09-19 Thread Joshua Lee
Hi Guys, Here's a little example, \setupcolors[state=start] \starttext \completecontent \part{First Part} \chapter{First Chapter} \chapter{Second Chapter} \part{Second Part} \chapter{Third Chapter} \chapter{Chapter 4} \stoptext I would like to show the chapter number 1,2,3,4.. instead