[NTG-context] Font and Typescript problems

2009-05-03 Thread Alan BRASLAU
I am perhaps using font typescripts incorrectly. Nevertheless, the recent 
minimals from the garden appears to have introduced a bug handling rscale.

Thanks,

Alan

Minimal example:

\definetypeface [postscript] [rm] [serif] [times] [default]
\definetypeface [postscript] [ss] [sans]  [helvetica] [default] [rscale=.9]
\definetypeface [postscript] [tt] [mono]  [courier]   [default] [rscale=1.1]
\switchtotypeface [postscript] [12pt]
\setupbodyfont [sans,12pt]

\starttext
text
\stoptext


! Missing number, treated as zero.
to be read again
   .
\relativefontsize -.
 9
\dodefinebodyfontnopxx ...umber \relativefontsize
  }{#2}{#2#1#3#4#5}
{\normalu...
\next6 #1,-\dodododefinebodyfont {ss}{4pt}{#1}
   \doprocesscommaitem
argument \relax tf=Sans sa 1,
bf=SansBold sa 1, it=SansItalic sa 1, 
sl=San...
\doprocesscommalist ...aitem \gobbleoneargument #1
  ,]\relax \global \advance 
...
...
l.2 ...] [sans]  [helvetica] [default] [rscale=.9]

___
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.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Updating bug

2009-05-03 Thread Yue Wang
when will the bug be fixed? I waited for a week, and I still cannot
update context today:(

On Tue, Apr 28, 2009 at 8:54 AM, Yue Wang yuleo...@gmail.com wrote:
 receiving incremental file list

 sent 91 bytes  received 205 bytes  53.82 bytes/sec
 total size is 4983273  speedup is 16835.38
 MTXrun | fileio: variable SELFAUTOLOC set to C:/context/bin
 MTXrun | fileio: variable SELFAUTODIR set to C:/context
 MTXrun | fileio: variable SELFAUTOPARENT set to C:
 MTXrun | fileio: variable TEXMFCNF set to 
 {$SELFAUTODIR,$SELFAUTOPARENT}{,{/shar
 e,}/texmf{-local,.local,}/web2c}
 MTXrun | fileio: no cnf files found (TEXMFCNF may not be set/known)
 MTXrun | using script: ./bin/mtx-update.lua

 'uname' is not recognized as an internal or external command,
 operable program or batch file.
 C:\context\bin\mtxrun.lua:1611: attempt to call field 'env' (a table value)

 When you want to use context, you need to initialize the tree with:

  C:\context\tex\setuptex.bat C:\context\tex

 You can associate this command with a shortcut to the cmd prompt.

 C:\context

___
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.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Updating bug

2009-05-03 Thread Mojca Miklavec
On Sun, May 3, 2009 at 14:40, Yue Wang wrote:
 when will the bug be fixed? I waited for a week, and I still cannot
 update context today:(

Can you please try if it works now? (Though the situation is soon
going to change anyway.)

Hans was not able to upload a new beta version due to internet
connection problems (beta version is used for distributing ConTeXt). I
tried to fix it several times (temporary on the garden), but the
change has always managed to be reverted again for some yet unknown
reason (maybe every time when Hans updated experimental ConTeXt the
whole repository was re-synced ...)

I don't quite understand. One way to temporary fix this would be to
fetch new version of mtxrun from
http://minimals.contextgarden.net/current/context/experimental/scripts/context/lua/,
replace the version in bin and try to resync. I synced the correct
version of mtxrun back to its place now (for windows), though I'm not
sure what circumstances might happen to revert the change again.

(You can also always download the zip from
http://www.pragma-ade.com/context/beta/cont-tmf.zip and just overwrite
the current contents, or manually rsync if installation is broken,
though in normal circumstances this should not happen.)

Also, I have temporary frozen all the auto-updating scripts on the
server due to some changes in binary building (I would like to make
sure that changes work instead of leaving completely broken
distribution for two days). I hope to be back home in some 24 hours
and then I'll change a few remaining issues and do some tests until
tuesday. I mention it mostly to let you know that even if Hans uploads
a new beta tomorrow, it probably won't be accessible from the garden
minimals until Tuesday.

Mojca


 On Tue, Apr 28, 2009 at 8:54 AM, Yue Wang yuleo...@gmail.com wrote:
 receiving incremental file list

 sent 91 bytes  received 205 bytes  53.82 bytes/sec
 total size is 4983273  speedup is 16835.38
 MTXrun | fileio: variable SELFAUTOLOC set to C:/context/bin
 MTXrun | fileio: variable SELFAUTODIR set to C:/context
 MTXrun | fileio: variable SELFAUTOPARENT set to C:
 MTXrun | fileio: variable TEXMFCNF set to 
 {$SELFAUTODIR,$SELFAUTOPARENT}{,{/shar
 e,}/texmf{-local,.local,}/web2c}
 MTXrun | fileio: no cnf files found (TEXMFCNF may not be set/known)
 MTXrun | using script: ./bin/mtx-update.lua

 'uname' is not recognized as an internal or external command,
 operable program or batch file.
 C:\context\bin\mtxrun.lua:1611: attempt to call field 'env' (a table value)

 When you want to use context, you need to initialize the tree with:

  C:\context\tex\setuptex.bat C:\context\tex

 You can associate this command with a shortcut to the cmd prompt.

 C:\context
___
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.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] FixMe

2009-05-03 Thread Wolfgang Schuster

Hi,

there is now a test file to show the usage of the module.

Wolfgang

___
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.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] URL \href ... ?

2009-05-03 Thread Mohamed Bana

Hi,

Is there macro for typesetting a URL without defining it before hand?  
E.g., something as simple as, \href{www.google.com}, it'd also be great if


\setupalign[hyphenated]
\setupurl[space=yes,style=\ss,urlalternative=]

also determined the way they are typeset.

Mohamed
___
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.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Updating bug

2009-05-03 Thread Yue Wang
Hi ,

On Mon, May 4, 2009 at 12:50 AM, Mojca Miklavec
mojca.miklavec.li...@gmail.com wrote:
 On Sun, May 3, 2009 at 14:40, Yue Wang wrote:
 when will the bug be fixed? I waited for a week, and I still cannot
 update context today:(

 Can you please try if it works now? (Though the situation is soon
 going to change anyway.)


fixed, thanks a lot, Mojca!


Yue Wang
___
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.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] URL \href ... ?

2009-05-03 Thread Yue Wang
useURL can do the first, and hyphenatedurl can do the second.

On Mon, May 4, 2009 at 6:06 AM, Mohamed Bana mbana.li...@googlemail.com wrote:
 Hi,

 Is there macro for typesetting a URL without defining it before hand?  E.g.,
 something as simple as, \href{www.google.com}, it'd also be great if

 \setupalign[hyphenated]
 \setupurl[space=yes,style=\ss,urlalternative=]

 also determined the way they are typeset.

 Mohamed
 ___
 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.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki     : http://contextgarden.net
 ___

___
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.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bug in mkii

2009-05-03 Thread Yue Wang
Hi, Hans,

The problem still remains in the latest beta's MKII.

Yue Wang

On Thu, Apr 23, 2009 at 10:18 PM, Aditya Mahajan adit...@umich.edu wrote:
 On Thu, 23 Apr 2009, Yue Wang wrote:

 hi, hans,

 this bug was introduced this year (last year's beta compiles fine).
 mkiv can produce the right result. mkii can't.

 \definemathcommand[Prob][nolop]{\mfunction{Prob}}
 \def\Pt{P_{\rm T}}
 \def\Timp{\tau_{\rm imp}}
 \def\Tp{\tau_{\rm p}}
 \def\Wt{w_{\rm T}}
 \def\Vp{V_{\rm p}^\prime}

 \starttext
 \placeformula
 \startformula
 \eqalign{
 \Pt = \Prob \left( {\Timp\over\Tp}1 \right)\cr
 =\Prob \bigg({\Wt\over\Vp}  \Tp  \bigg)\cr}
 \stopformula
 \stoptext

 Minimal example: In MkII 2009.04.17

 \starttext
 $\bigg($
 \stoptext

 gives

 ! Missing number, treated as zero.
 to be read again
                   $
 \@@dobig ...o #1\bodyfontsize {}\right @space $
                                                  }}
 l.2 $\bigg(
           $


 Aditya
 ___
 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.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki     : http://contextgarden.net
 ___

___
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.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bug in mkii

2009-05-03 Thread Aditya Mahajan

On Mon, 4 May 2009, Yue Wang wrote:


Hi, Hans,

The problem still remains in the latest beta's MKII.


Does the following fix work for you?

\unprotect
\de...@space
  {\nulldelimiterspace\zeropoint\relax \mathsurround\zeropoint}
\protect


Aditya
___
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.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bug in mkii

2009-05-03 Thread Yue Wang
Hi, Aditya:

Yes, now my documents compile smoothly. Thanks a lot.

Yue Wang

On Mon, May 4, 2009 at 10:23 AM, Aditya Mahajan adit...@umich.edu wrote:
 On Mon, 4 May 2009, Yue Wang wrote:

 Hi, Hans,

 The problem still remains in the latest beta's MKII.

 Does the following fix work for you?

 \unprotect
 \de...@space
  {\nulldelimiterspace\zeropoint\relax \mathsurround\zeropoint}
 \protect


 Aditya
 ___
 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.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki     : http://contextgarden.net
 ___

___
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.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___