[NTG-context] Margin terminology -- badly documented, undocumented, or misdocumented

2010-02-24 Thread James Fisher
Hi all. I am trying to understand the terminology for the \definelayout and \setuplayout commands. Unfortunately the documentation at http://wiki.contextgarden.net/Layoutdoesn't correspond to the actual output I get. Nor does the 'documentation' at http://getfo.org/context_xml/page3.html , which

Re: [NTG-context] [OT] TEX line breaking algorithm in JavaScript

2010-02-24 Thread Martin Schröder
2010/2/25 Mojca Miklavec : > Maybe you can convince the author to come to DANTE meeting :) BachoTeX > would be better of course, but since he's Dutch, convincing him to > come to Dortmund might be easier to start with. Bram lives in Kopenhagen, so BachoTeX would indeed be better for him. Best

Re: [NTG-context] [OT] TEX line breaking algorithm in JavaScript

2010-02-24 Thread Mojca Miklavec
On Wed, Feb 24, 2010 at 23:59, Martin Schröder wrote: > 2010/2/24 Mojca Miklavec wrote: >> http://www.bramstein.com/projects/typeset/ > > Wow! Combine with WOFF und HZ. :-) + http://code.google.com/p/hyphenator/ (to whom we may "donate" our pattern database :) And then you already have the comple

Re: [NTG-context] [OT] TEX line breaking algorithm in JavaScript

2010-02-24 Thread Martin Schröder
2010/2/24 Mojca Miklavec : > http://www.bramstein.com/projects/typeset/ Wow! Combine with WOFF und HZ. :-) Best Martin ___ If your question is of interest to others as well, please add an entry to the Wiki! mail

Re: [NTG-context] [OT] TEX line breaking algorithm in JavaScript

2010-02-24 Thread Khaled Hosny
On Wed, Feb 24, 2010 at 11:38:11PM +0100, Mojca Miklavec wrote: > http://www.bramstein.com/projects/typeset/ > > PS: the author comes from the second nicest country in the world :) Combined with jsMath, I think we can now reimplement TeX in JS :D Regards, Khaled -- Khaled Hosny Arabic local

[NTG-context] [OT] TEX line breaking algorithm in JavaScript

2010-02-24 Thread Mojca Miklavec
http://www.bramstein.com/projects/typeset/ PS: the author comes from the second nicest country in the world :) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-co

Re: [NTG-context] [Fwd: hyphen breaking (URGENT)]

2010-02-24 Thread Bernhard Rosensteiner
Am 24.02.2010 um 23:11 schrieb Wolfgang Schuster: > Am 24.02.10 22:54, schrieb Bernhard Rosensteiner: >> for curiosity i tried the above code and it gives an error (undefined >> control sequence) >> i searched in the source and found that \structureuservariable is valid not >> \structureuservalu

Re: [NTG-context] [Fwd: hyphen breaking (URGENT)]

2010-02-24 Thread Wolfgang Schuster
Am 24.02.10 22:54, schrieb Bernhard Rosensteiner: for curiosity i tried the above code and it gives an error (undefined control sequence) i searched in the source and found that \structureuservariable is valid not \structureuservalue What do you expect, it's a very old example and i wrote

Re: [NTG-context] [Fwd: hyphen breaking (URGENT)]

2010-02-24 Thread Bernhard Rosensteiner
Am 24.02.2010 um 22:38 schrieb Wolfgang Schuster: > Am 24.02.10 22:26, schrieb Steffen Wolfrum: > >> Perhaps I can also add comments to a writebetweenlist now? >> Can you some further example on how to use "userdata"? > > A example i wrote for Idris a while (April 2009) ago: > > \setuphead[chap

Re: [NTG-context] [Fwd: hyphen breaking (URGENT)]

2010-02-24 Thread Wolfgang Schuster
Am 24.02.10 22:26, schrieb Steffen Wolfrum: Perhaps I can also add comments to a writebetweenlist now? Can you some further example on how to use "userdata"? A example i wrote for Idris a while (April 2009) ago: \setuphead[chapter][align=middle,command=\TitleCommand] \define[2]\TitleCommand

[NTG-context] MkII to MkIV

2010-02-24 Thread Steffen Wolfrum
Hi, typesetting an old MkII written project with MkIV today gives more then 2000 "unable to resolve" warnings, like these ... !pages : flushing realpage 12, userpage 16 !backends : unable to resolve destination attribute 67 !backends : unable to resolve destination attribu

Re: [NTG-context] [Fwd: hyphen breaking (URGENT)]

2010-02-24 Thread Steffen Wolfrum
Am 23.02.2010 um 23:27 schrieb Hans Hagen: > On 23-2-2010 21:18, Steffen Wolfrum wrote: > >> The need is easily described: >> >> \placelist[chapter, section,...][file=MyFile] >> >> >> In old MkII times all information for a table of content was read from the >> ".tuo" file. >> For making man

Re: [NTG-context] [Fwd: hyphen breaking (URGENT)]

2010-02-24 Thread Steffen Wolfrum
Am 24.02.2010 um 11:31 schrieb Hans Hagen: > On 24-2-2010 8:50, Steffen Wolfrum wrote: >> >> Am 23.02.2010 um 23:27 schrieb Hans Hagen: >> >>> On 23-2-2010 21:18, Steffen Wolfrum wrote: >>> The need is easily described: \placelist[chapter, section,...][file=MyFile]

Re: [NTG-context] groupedcommand italic and upright (MkIV)

2010-02-24 Thread Steffen Wolfrum
Am 24.02.2010 um 18:10 schrieb Wolfgang Schuster: > Am 24.02.10 18:02, schrieb Steffen Wolfrum: >> Hi, >> >> in MkII the slash became set upright, in MkIV it stays italic: >> >> \def\Textit{\groupedcommand\it\/} >> \def\Textmr{\groupedcommand\mr\/} >> > \mr is for math, you want \tf Ah!

Re: [NTG-context] groupedcommand italic and upright (MkIV)

2010-02-24 Thread Wolfgang Schuster
Am 24.02.10 18:02, schrieb Steffen Wolfrum: Hi, in MkII the slash became set upright, in MkIV it stays italic: \def\Textit{\groupedcommand\it\/} \def\Textmr{\groupedcommand\mr\/} \mr is for math, you want \tf Wolfgang __

[NTG-context] groupedcommand italic and upright (MkIV)

2010-02-24 Thread Steffen Wolfrum
Hi, in MkII the slash became set upright, in MkIV it stays italic: \def\Textit{\groupedcommand\it\/} \def\Textmr{\groupedcommand\mr\/} \definetextmodediscretionary : {\prewordbreak\discretionary{\kern.05em\Textmr/}{}{\kern.05em\Textmr/}\kern.05em\prewordbreak}% ist schon Textmr = aufrecht !

Re: [NTG-context] Math in MKIV - HOWTO

2010-02-24 Thread Hans Hagen
On 24-2-2010 12:55, Zhichu Chen wrote: On Wed, Feb 24, 2010 at 6:24 PM, Hans Hagen wrote: On 24-2-2010 10:01, Hans Hagen wrote: i uploaded a beta with mkiv lbr vectors (quick and dirty conversion hackery) \usemodule[fnt-25] \starttext \setupbodyfont[lucida,12pt] \showmathfontcharacte

Re: [NTG-context] Math in MKIV - HOWTO

2010-02-24 Thread Zhichu Chen
On Wed, Feb 24, 2010 at 6:24 PM, Hans Hagen wrote: > On 24-2-2010 10:01, Hans Hagen wrote: > > i uploaded a beta with mkiv lbr vectors (quick and dirty conversion hackery) > > \usemodule[fnt-25] > > \starttext >    \setupbodyfont[lucida,12pt] >    \showmathfontcharacters > \stoptext > > up to othe

Re: [NTG-context] [dev-context] 2 columns itmize in letter module possible

2010-02-24 Thread Mojca Miklavec
On Wed, Feb 24, 2010 at 09:55, Jörg Hecke wrote: > > Brilliant. Thanks. So, I have to update to the latest minimals, or download > the latest version from contextgarden modules site, right? If you have ever used --extras=t-letter and if the update has happened on the garden, the update should hap

Re: [NTG-context] [Fwd: hyphen breaking (URGENT)]

2010-02-24 Thread Hans Hagen
On 24-2-2010 8:50, Steffen Wolfrum wrote: Am 23.02.2010 um 23:27 schrieb Hans Hagen: On 23-2-2010 21:18, Steffen Wolfrum wrote: The need is easily described: \placelist[chapter, section,...][file=MyFile] In old MkII times all information for a table of content was read from the ".tuo" fi

Re: [NTG-context] Math in MKIV - HOWTO

2010-02-24 Thread Hans Hagen
On 24-2-2010 10:01, Hans Hagen wrote: On 24-2-2010 4:15, Zhichu Chen wrote: Thanks for the guidance, I finally get my Lucida Math work. After the \showfont step, I found that I didn't have the "tex-ma" vector font, and the last two lines in math-vfu.lua should be changed to: { name = "hlcra.tfm

Re: [NTG-context] Math in MKIV - HOWTO

2010-02-24 Thread Hans Hagen
On 24-2-2010 4:15, Zhichu Chen wrote: Thanks for the guidance, I finally get my Lucida Math work. After the \showfont step, I found that I didn't have the "tex-ma" vector font, and the last two lines in math-vfu.lua should be changed to: { name = "hlcra.tfm", vector = "tex-mb" }, { nam

Re: [NTG-context] [dev-context] 2 columns itmize in letter module possible

2010-02-24 Thread Jörg Hecke
Am 23.02.2010 um 12:59 schrieb Wolfgang Schuster: > >> I am using your letter module, but it seems that I am not able to use a 2 >> column itemize environment? >> > Fixed. Brilliant. Thanks. So, I have to update to the latest minimals, or download the latest version from contextgarden module

Re: [NTG-context] \wordright and line break

2010-02-24 Thread Hans Hagen
On 21-1-2010 14:53, Andreas Harder wrote: Hello Hans, is there a reason (I’m sure there is) that \finalhyphendemerits\zerocount in the \wordright-definition is commented out? Without this line I get wrong line breaks with hyphenated words followed by \wordright{…}. \starttext \setupframedtext