[NTG-context] \getmyAbstract

2009-09-19 Thread David Arnold
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 introduced to

[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

[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]

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 muz...@gmail.com 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}

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

2009-09-19 Thread Hans Hagen
Barry Schwartz wrote: Hans Hagen pra...@wxs.nl 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

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?

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

2009-09-19 Thread Hans Hagen
Barry Schwartz wrote: Hans Hagen pra...@wxs.nl 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

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

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

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] 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

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

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

Re: [NTG-context] ActualText

2009-09-19 Thread Barry Schwartz
Arthur Reutenauer arthur.reutena...@normalesup.org 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

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 to

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

[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
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

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

Re: [NTG-context] ActualText

2009-09-19 Thread Barry Schwartz
Hans Hagen pra...@wxs.nl 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.

Re: [NTG-context] ActualText

2009-09-19 Thread Barry Schwartz
Barry Schwartz chemoelect...@chemoelectric.org 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