Re: [NTG-context] I need bold math italic and symbols

2009-01-06 Thread Zhaopeng Xing
Thanks. I also want to know how to make euscript \mathcal like this.
www.maths.usyd.edu.au/u/SMS/texdoc/*euscript*.pdf

Since euscript is part of amsfonts now. I tried amsl module, but found no
effect. May I know how to trig euscript mathcal?

2009/1/6 Zhichu Chen zhichu.c...@gmail.com

 On Tue, Jan 6, 2009 at 6:36 AM, Aditya Mahajan adit...@umich.edu wrote:
  On Mon, 5 Jan 2009, Zhaopeng Xing wrote:
 
  Hi,
 
  Can anyone show me how to write math contents in bold and italic fonts?
  {\bf
  } can only produce upright letters. In LaTeX, we can make use of the
  command
  \pmb for this purpose. Is there any shortcut like this in Context?
 Thanks.
 
  Add
 
  \definetypeface [boldmath] [mm] [boldmath] [latin-modern] [modern]
  [encoding=texnansi]
 
  to your typescripts and then you can use \boldsymbol.
 
  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
 
 ___
 

 And check this for more information about math:
 http://wiki.contextgarden.net/Category:Math


 --
 Best Regards
 Chen
 

  Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
 No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
 tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
   | www.sinap.ac.cn
 

 ___
 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

 ___




-- 
Zhaopeng XING

Tinbergen Institute
___
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] Sample farsi file

2009-01-06 Thread Ilda Khaki
can someone send me a sample file to type farsi?
___
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] ctx files

2009-01-06 Thread Alan Stone
What tool do you use to validate ctx files ?


On Fri, Dec 19, 2008 at 6:01 PM, Alan STONE
software.list.1e...@gmail.comwrote:

 Has there been any progress regarding the issues/inquiries of this thread ?

 If none, what is/are the alternative(s) ?

 --
 Best,
 Alan

___
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] ctx files

2009-01-06 Thread Hans Hagen

Alan Stone wrote:
 
What tool do you use to validate ctx files ?


nothing (i just hit a button that runs tidy on an xml file)



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] alpha

2009-01-06 Thread Hans Hagen

Thomas A. Schmitz wrote:


On Jan 4, 2009, at 11:54 PM, Hans Hagen wrote:


Hi,

I uploaded a new alpha.

- partial rwewrite of the open type feature processor code which is 
also somewhat faster now (the most recent luatex bin is slower due to 
redundant ff code, so eventually we might geven ain a bit more speed)


- i will finish it when i run into fonts that i can use for testing

- i need to discuss some issues with idris with respect to arabic

- we might need to add some more detailed control (dus to 
interpretation  options of the otf stanmdard cq. specific fonts)


- i might make this an intermediate current (i still haven't finished 
the new structure code)


Hans


Hi Hans,

I just tried the new alpha with luatex snapshot 0.31.3 on linux. My 
typescripts break with this message:


LuaTeX error main ctx instance:1: attempt to call field 
'install_feature' (a nil value)

stack traceback:
 main ctx instance:1: in main chunk.
\doinstallfontfeature ...stall_feature(#1,#2)}


did you luatools --generate ?


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] alpha

2009-01-06 Thread Thomas A. Schmitz


On Jan 6, 2009, at 2:27 PM, Hans Hagen wrote:


Hi Hans,
I just tried the new alpha with luatex snapshot 0.31.3 on linux. My  
typescripts break with this message:
LuaTeX error main ctx instance:1: attempt to call field  
'install_feature' (a nil value)

stack traceback:
main ctx instance:1: in main chunk.
\doinstallfontfeature ...stall_feature(#1,#2)}


did you luatools --generate ?


Yes, luatools --generate followed by luatools --ini --compile cont-en
___
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] alpha

2009-01-06 Thread Hans Hagen

Thomas A. Schmitz wrote:


On Jan 6, 2009, at 2:27 PM, Hans Hagen wrote:


Hi Hans,
I just tried the new alpha with luatex snapshot 0.31.3 on linux. My 
typescripts break with this message:
LuaTeX error main ctx instance:1: attempt to call field 
'install_feature' (a nil value)

stack traceback:
main ctx instance:1: in main chunk.
\doinstallfontfeature ...stall_feature(#1,#2)}


did you luatools --generate ?


Yes, luatools --generate followed by luatools --ini --compile cont-en


ah, i see, that command is gone; just don't install the feature but use it

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] I need bold math italic and symbols

2009-01-06 Thread Zhichu Chen
Hi Zhaopeng,

I have no problem here, just \usemodule[amsl] and $\cal K$ provides a fancy $K$

On Tue, Jan 6, 2009 at 4:24 PM, Zhaopeng Xing zpx...@gmail.com wrote:
 Thanks. I also want to know how to make euscript \mathcal like this.
 www.maths.usyd.edu.au/u/SMS/texdoc/euscript.pdf

 Since euscript is part of amsfonts now. I tried amsl module, but found no
 effect. May I know how to trig euscript mathcal?

 2009/1/6 Zhichu Chen zhichu.c...@gmail.com

 On Tue, Jan 6, 2009 at 6:36 AM, Aditya Mahajan adit...@umich.edu wrote:
  On Mon, 5 Jan 2009, Zhaopeng Xing wrote:
 
  Hi,
 
  Can anyone show me how to write math contents in bold and italic fonts?
  {\bf
  } can only produce upright letters. In LaTeX, we can make use of the
  command
  \pmb for this purpose. Is there any shortcut like this in Context?
  Thanks.
 
  Add
 
  \definetypeface [boldmath] [mm] [boldmath] [latin-modern] [modern]
  [encoding=texnansi]
 
  to your typescripts and then you can use \boldsymbol.
 
  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
 
  ___
 

 And check this for more information about math:
 http://wiki.contextgarden.net/Category:Math


 --
 Best Regards
 Chen
 

  Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
 No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
 tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
   | www.sinap.ac.cn
 

 ___
 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

 ___



 --
 Zhaopeng XING

 Tinbergen Institute

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





-- 
Best Regards
Chen


  Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
 No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
 tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
   | www.sinap.ac.cn

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

2009-01-06 Thread Thomas A. Schmitz


On Jan 6, 2009, at 3:33 PM, Hans Hagen wrote:


Yes, luatools --generate followed by luatools --ini --compile cont-en


ah, i see, that command is gone; just don't install the feature but  
use it


OK, thanks. this solved the problem; my document compiled now. Will do  
more tests in the next days. I don't know if I was the only one  
experimenting with \installfontfeature, but would it be much of a  
hassle for you to just \let this command \relax in font-ini.mkiv so my  
collection of laboriously collected and hand-crafted typescripts won't  
break? (I know, I can do it in cont-sys.tex, but just in case there's  
somebody else out there in this cold cold world using this command).


All best

Thomas
___
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] I need bold math italic and symbols

2009-01-06 Thread Aditya Mahajan

On Tue, 6 Jan 2009, Zhaopeng Xing wrote:


Thanks. I also want to know how to make euscript \mathcal like this.
www.maths.usyd.edu.au/u/SMS/texdoc/*euscript*.pdf


To use euler as your main math typescript, you can use

\definetypeface[mainface][mm][math][euler][euler][encoding=texnansi]

with an appropriate roman font (usually, I use palatino for text, and 
artemisia for presentations).


If you just want to use euler caligraphic, without changing other math 
fonts (although I do not think that euler blends well with lm), you can 
modify the idea of http://wiki.contextgarden.net/rsfs



Since euscript is part of amsfonts now. I tried amsl module, but found no
effect.


I personally consider amsl module to be deprecated. Currently, context has 
alternative ways of doing most of what amsl used to do. I would suggest 
against using it.


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

2009-01-06 Thread Hans Hagen

Thomas A. Schmitz wrote:


On Jan 6, 2009, at 3:33 PM, Hans Hagen wrote:


Yes, luatools --generate followed by luatools --ini --compile cont-en


ah, i see, that command is gone; just don't install the feature but 
use it


OK, thanks. this solved the problem; my document compiled now. Will do 
more tests in the next days. I don't know if I was the only one 
experimenting with \installfontfeature, but would it be much of a hassle 
for you to just \let this command \relax in font-ini.mkiv so my 


i did that already

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] alpha

2009-01-06 Thread Wolfgang Schuster


postscript.pdf
Description: Adobe PDF document


Am 04.01.2009 um 23:54 schrieb Hans Hagen:


Hi,

I uploaded a new alpha.

- partial rwewrite of the open type feature processor code which is  
also somewhat faster now (the most recent luatex bin is slower due  
to redundant ff code, so eventually we might geven ain a bit more  
speed)


A few fonts did not appear in the right position in the output
and I get oldstyle numbers with the predefined default font feature.

Example:

\usetypescript[postscript]
\setupbodyfont[postscript]

\starttext
\rm 123456789 \input knuth\par
\ss 123456789 \input knuth\par
\stoptext

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
___


Re: [NTG-context] I need bold math italic and symbols

2009-01-06 Thread Zhaopeng Xing
2009/1/6 Aditya Mahajan adit...@umich.edu

 On Tue, 6 Jan 2009, Zhaopeng Xing wrote:

  Thanks. I also want to know how to make euscript \mathcal like this.
 www.maths.usyd.edu.au/u/SMS/texdoc/*euscript*.pdf


 To use euler as your main math typescript, you can use

 \definetypeface[mainface][mm][math][euler][euler][encoding=texnansi]

 with an appropriate roman font (usually, I use palatino for text, and
 artemisia for presentations).

This method works well for most letters, both bold and italic, but for
capital Greek \Omega \Gamma etc, bold but upright. Do you know how to make
these letters in italic?


 If you just want to use euler caligraphic, without changing other math
 fonts (although I do not think that euler blends well with lm), you can
 modify the idea of http://wiki.contextgarden.net/rsfs

As Zhichu said, \cal gives exactly euscripts.


  Since euscript is part of amsfonts now. I tried amsl module, but found no
 effect.


 I personally consider amsl module to be deprecated. Currently, context has
 alternative ways of doing most of what amsl used to do. I would suggest
 against using it.

Thanks. I will discard it, too.



 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

 ___




-- 
Zhaopeng XING

Tinbergen Institute
___
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] I need bold math italic and symbols

2009-01-06 Thread Aditya Mahajan

On Wed, 7 Jan 2009, Zhaopeng Xing wrote:


2009/1/6 Aditya Mahajan adit...@umich.edu


On Tue, 6 Jan 2009, Zhaopeng Xing wrote:

 Thanks. I also want to know how to make euscript \mathcal like this.

www.maths.usyd.edu.au/u/SMS/texdoc/*euscript*.pdf



To use euler as your main math typescript, you can use

\definetypeface[mainface][mm][math][euler][euler][encoding=texnansi]

with an appropriate roman font (usually, I use palatino for text, and
artemisia for presentations).


This method works well for most letters, both bold and italic, but for
capital Greek \Omega \Gamma etc, bold but upright. Do you know how to make
these letters in italic?


That is how Euler capital letters are supposed to look. It imitates the 
handwriting of mathematicians, which is upright and not italic. I do not 
know if there is a font that contains italic capital greek letters to 
match euler. If a font exists, it should be possible to use it in ConTeXt.


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] Sample farsi file

2009-01-06 Thread Otared Kavian

On 6 janv. 09, at 10:53, Ilda Khaki wrote:

can someone send me a sample file to type farsi?



Hi Ilda,

Here is a sample file for writing Faarsi with XeConTeXt (that is XeTeX  
+ ConTeXt).
In principle one can also use ConTeXt-mkiv, that is ConTeXt with the  
LuaTeX engine, but at this point I have not been able to solve some  
problems with the Persian fonts available.


Best regards: OK



shamse-tabrizi-xecontext.tex
Description: Binary data






shamse-tabrizi-xecontext.pdf
Description: Adobe PDF document


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