Re: [NTG-context] bug with active :!;?

2005-08-31 Thread Hans Hagen
BILLET Olivier wrote: By the way, does this include the possibility to treat the character in different ways depending on the current mode (math/text)? Because, in the current setting, if you request for 3cm before `:' and then define a mathematical function $f : R \to Z$ you'll end up with a

Re: [NTG-context] bug with active :!;?

2005-08-31 Thread Taco Hoekwater
Hans Hagen wrote: BILLET Olivier wrote: By the way, does this include the possibility to treat the character in different ways depending on the current mode (math/text)? Because, in the current setting, if you request for 3cm before `:' and then define a mathematical function $f : R \to Z$

[NTG-context] ConTeXt and OSX / PDFsearch / sync

2005-08-31 Thread Steffen Wolfrum
Hi, this one is to all of us using ConTeXt on a Mac: At MacOSX-TeX mailing list I recently saw the following post: Bob Kerstetter [EMAIL PROTECTED] wrote: On May 18, 2005, at 11:57 AM, Richard Koch wrote: TeXShop 2.03 is available at http://www.uoregon.edu/~koch/texshop Wow! I

[NTG-context] Setting header texts

2005-08-31 Thread Jilani Khaldi
Hi All, Having set this header text: \setupheadertexts [\vbox{\hbox{AAA}} \hbox{BBB}}}] [{CCC}] the result is: AAA in the top left corner, BBB just under AAA CCC in the top right corner with the page number in the center What I want to have is: 1. AAA in the top left corner, 2. BBB just under

Re: [NTG-context] Setting header texts (second)

2005-08-31 Thread Hans Hagen
Jilani Khaldi wrote: Hi All, Having set this header text: \setupheadertexts [\vbox{\hbox{AAA}} \hbox{BBB}}}] [{CCC}] the result is: AAA in the top left corner, BBB just under AAA CCC in the top right corner with the page number in the center What I want to have is: 1. AAA = the title of the

Re: [NTG-context] ConTeXt and OSX / PDFsearch / sync

2005-08-31 Thread Hans Hagen
Steffen Wolfrum wrote: Does someone know if this also works with ConTeXt's project structure (\component etc.)? At practed 2005 Dick asked me about the context way of loading files and told me that he would implement support fo rit, so maybe it works; otherwise, just ask him Hans

[NTG-context] Register page ranges

2005-08-31 Thread Duncan Hothersall
Bug or feature? In a register (such as the index), a command like \index[key]{entry} creates an index entry sorted as 'key', and there exists also \startregister[key]{entry} ... \stopregister[key] which creates a page range. As far as I can tell, the [key] here plays two roles - the ID of the

Re: [NTG-context] Problem installing ConTeXt jedit syntax

2005-08-31 Thread Elliot Clifton
Hans, Sorry about taking a long time to get back to you. I checked the syntax of the ConTeXt mode files. They seem to be consistent with the syntax in modes that are known to work. The delegate syntax doesn't seem to have changed. I don't recieve XML validation errors for any other parts of the

Re: [NTG-context] Setting header texts (second)

2005-08-31 Thread Jilani Khaldi
Hi All, Having set this header text: \setupheadertexts [\vbox{\hbox{AAA}} \hbox{BBB}}}] [{CCC}] the result is: AAA in the top left corner, BBB just under AAA CCC in the top right corner with the page number in the center What I want to have is: 1. AAA = the title of the chapter 2. BBB = the

[NTG-context] Re: Setting header texts (second)

2005-08-31 Thread Duncan Hothersall
Hi. \getmarking[chapter][current] should give you the title of the current chapter. Similarly \getmarking[section][current], etc. In order to rid yourself of the default pagenumber in the middle of the top header, use \setuppagenumbering[location=], or add location= to your existing

Re: [NTG-context] Help with \setuplayout[grid=yes]

2005-08-31 Thread Randall Skelton
Many thanks for the suggestion Vit. In this case, however, I've split the \starttable and \stoptable commands in the \startAuthors and \stopAuthors definitions which may well be the root of my problem. This means that I cannot easily wrap the whole table with \placeongrid{ }. I cannot see a way of

[NTG-context] Elided page numbers in registers

2005-08-31 Thread Duncan Hothersall
Another question on registers (just getting into indexing!). I have a book which numbers its pages by chapter, and so page numbers are 1/1, 1/2 ... for the pages of chapter 1, and then 2/1, 2/2 ... for the pages of chapter 2. I have page ranges in my index, such as 1/1-1/3, or 2/24-2/26. I

Re: [NTG-context] Help with \setuplayout[grid=yes]

2005-08-31 Thread Taco Hoekwater
This should do the trick: \def\startAuthors{% \placeongrid\bgroup .. } \def\stopAuthors{% .. \egroup } Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Help with \setuplayout[grid=yes]

2005-08-31 Thread Vit Zyka
Randall Skelton wrote: Many thanks for the suggestion Vit. In this case, however, I've split the \starttable and \stoptable commands in the \startAuthors and \stopAuthors definitions which may well be the root of my problem. This means that I cannot easily wrap the whole table with

Re: [NTG-context] Elided page numbers in registers

2005-08-31 Thread Vit Zyka
Duncan Hothersall wrote: Another question on registers (just getting into indexing!). I have a book which numbers its pages by chapter, and so page numbers are 1/1, 1/2 ... for the pages of chapter 1, and then 2/1, 2/2 ... for the pages of chapter 2. I have page ranges in my index, such as

Re: [NTG-context] Re: Setting header texts (second)

2005-08-31 Thread Jilani Khaldi
\getmarking[chapter][current] should give you the title of the current chapter. Similarly \getmarking[section][current], etc. In order to rid yourself of the default pagenumber in the middle of the top header, use \setuppagenumbering[location=], or add location= to your existing

[NTG-context] Relative font scaling

2005-08-31 Thread Olivier
Hi, I'm experiencing issues with rscale. When using: \starttypescript [MyFnt] \definetypeface [MyFnt] [rm] [serif] [rfont] [default] [encoding=ec] \definetypeface [MyFnt] [mm] [math] [mfont] [default] [rscale=0.99,encoding=default] \definetypeface [MyFnt] [tt] [mono] [tfont] [default]

Re: [NTG-context] Help with \setuplayout[grid=yes]

2005-08-31 Thread Randall Skelton
One more quick question. When using a grid, I gather that I should wrap all floating content (tables figures in my case) with \placeongrid to ensure \snaptogrid is being used. Does this also apply to formulae? i.e. should I be using: \placeformula \placeongrid{% \startformula ...

Re: [NTG-context] Relative font scaling

2005-08-31 Thread Adam Lindsay
Olivier said this at Wed, 31 Aug 2005 16:53:56 +0200: moreover the math font is correctly rscaled) but the tt font isn't rscaled at all. Any idea where the issue might come from? I suspect it's in your local specifics. As we don't have access to your rfont/mfont/tfont typescripts, here's a

Re: [NTG-context] Relative font scaling

2005-08-31 Thread Hans Hagen
Olivier wrote: Hi, I'm experiencing issues with rscale. When using: \starttypescript [MyFnt] \definetypeface [MyFnt] [rm] [serif] [rfont] [default] [encoding=ec] \definetypeface [MyFnt] [mm] [math] [mfont] [default] [rscale=0.99,encoding=default] \definetypeface [MyFnt] [tt] [mono] [tfont]

Re: [NTG-context] Help with \setuplayout[grid=yes]

2005-08-31 Thread Hans Hagen
Randall Skelton wrote: One more quick question. When using a grid, I gather that I should wrap all floating content (tables figures in my case) with \placeongrid to ensure \snaptogrid is being used. Does this also apply to formulae? i.e. should I be using: no, actually most environments

Re: [NTG-context] Setting header texts (second)

2005-08-31 Thread Mojca Miklavec
Jilani Khaldi wrote: Hi All, Having set this header text: \setupheadertexts [\vbox{\hbox{AAA}} \hbox{BBB}}}] [{CCC}] the result is: AAA in the top left corner, BBB just under AAA CCC in the top right corner with the page number in the center What I want to have is: 1. AAA =

Re: [NTG-context] Relative font scaling

2005-08-31 Thread Olivier
Quoting Hans Hagen : -- was [EMAIL PROTECTED] on Aug 31, 2005 at 05:53:45PM -- Olivier wrote: Hi, I'm experiencing issues with rscale. When using: \starttypescript [MyFnt] \definetypeface [MyFnt] [rm] [serif] [rfont] [default] [encoding=ec] \definetypeface [MyFnt] [mm] [math]

Re: [NTG-context] Relative font scaling

2005-08-31 Thread Olivier
Quoting Adam Lindsay : -- was [EMAIL PROTECTED] on Aug 31, 2005 at 04:44:35PM -- Olivier said this at Wed, 31 Aug 2005 16:53:56 +0200: moreover the math font is correctly rscaled) but the tt font isn't rscaled at all. Any idea where the issue might come from? I suspect it's in your

Re: [NTG-context] Relative font scaling

2005-08-31 Thread Adam Lindsay
Olivier said this at Wed, 31 Aug 2005 18:03:57 +0200: Quoting Adam Lindsay : -- was [EMAIL PROTECTED] on Aug 31, 2005 at 04:44:35PM -- Olivier said this at Wed, 31 Aug 2005 16:53:56 +0200: moreover the math font is correctly rscaled) but the tt font isn't rscaled at all. Any idea where

Re: [NTG-context] Relative font scaling

2005-08-31 Thread Olivier
I got the guilty lines: \definebodyfont[13pt] \definebodyfont[11.6pt] \definebodyfont[8.3pt] \definebodyfont[8.2pt] \definebodyfont[6pt] \definebodyfont[5.8pt] \setupbodyfontenvironment[11.6pt] [text=11.6pt, script=8.3pt, scriptscript=5.8pt, x=8.2pt,

Re: [NTG-context] Relative font scaling

2005-08-31 Thread Olivier
Actually, those lines \definebodyfont[13pt] \definebodyfont[11.6pt] \definebodyfont[8.3pt] \definebodyfont[8.2pt] \definebodyfont[6pt] \definebodyfont[5.8pt] \setupbodyfontenvironment[11.6pt] [text=11.6pt, script=8.3pt, scriptscript=5.8pt, x=8.2pt,