Re: [NTG-context] specific document layout with ConTeXt

2009-01-05 Thread richard . stephens
Aditya wrote:

 If others are interested, I can also release it on ConTeXt garden and
 provide some documentation.

 Aditya


Please, please, please can you (or someone) post on the wiki? I was looking
for a two-column layout for and IFAC conference which is very similar to
IEEE and I ended-up writing my own.  I'm not a ConTeXt programmer so it was
all done in the document itself rather than setting environments etc, so
the source code looked awful.  You example, and Wolfgang's, look much much
nicer and I cannot wait to try one of them out.

Thanks,

Richard


Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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] line spacing in frame with centered text

2009-01-05 Thread Alan STONE
Thanks a lot for the clarification Wolfgang.

I guess I was still playing with this kind of major flawed thinking coming
from WYSIWYG wordprocessors where isn't concerned thinking about these
technical aspects (what's underneath), instead type/edit as characters
appear on screen in real time, then when switching to typesetting systems
extrapolate and expect things to work in the same way.

I'll digg into the manuals' corresponding chapters to get more familiar
with these technicalities and let them sink in.

Best,
Alan
On Sun, Jan 4, 2009 at 8:54 PM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


 Am 04.01.2009 um 20:30 schrieb Alan STONE:


 On Sun, Jan 4, 2009 at 6:35 PM, Wolfgang Schuster 
 schuster.wolfg...@googlemail.com wrote:

 Am 04.01.2009 um 18:26 schrieb Alan STONE:

 \starttext

 \setbox\scratchbox\hbox{\switchtobodyfont[38pt]Text In A Frame}

 \the\htdp\scratchbox

 \stoptext

 From this example I conclude TeX does not do what you tell it to do.

 I must be missing something... ?

 What do you not understand in my example?

 From what I understand of it: asked 38pt, output 26.18pt


 The 26.18pt are only the height of the sample text, not each character
 has the height of the font size which includes the height and depth.

 You can see here the output is correct and only characters with large
 height and depth match the given fontsize.

 \starttext
 \setbox\scratchbox\hbox{\switchtobodyfont[38pt](}
 \the\htdp\scratchbox % 37.45pt
 \stoptext

 I show you in another example why you value for the interlinespace
 is to small for characters with depth.

 \starttext

 \vbox
  {\switchtobodyfont[38pt]
   \setupinterlinespace[line=30pt]
   \lineskiplimit-\maxdimen
   Big text\crlf written in\crlf three rows\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] scratchdimen mess (alpha)

2009-01-05 Thread Aditya Mahajan

On Mon, 5 Jan 2009, Peter Rolf wrote:


Hi all,

can someone test the attached example with the (latest) alpha version of 
ConTeXt?

Using mkiv I get no additional space in case of the \scratchdimen example.
I tried it with two new installations (minimals) from the scratch and also 
used several luatex versions, but the error remains. Strange...


Best wishes, Peter


MtxRun | current version: 2009.01.04 22:10
This is LuaTeX, Version snapshot-0.30.3-2008112822, build 1587
OS is Windows XP SP3


The same error is in the month old context and luatex that I have.  I 
suspect that framed or the page builder is using \scratchdimen internally, 
and that is messing things up.


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] line spacing in frame with centered text

2009-01-05 Thread Wolfgang Schuster


Am 05.01.2009 um 10:34 schrieb Alan STONE:


Thanks a lot for the clarification Wolfgang.

I guess I was still playing with this kind of major flawed thinking  
coming from WYSIWYG wordprocessors where isn't concerned thinking  
about these technical aspects (what's underneath), instead type/edit  
as characters appear on screen in real time, then when switching to  
typesetting systems extrapolate and expect things to work in the  
same way.



http://www.adobe.com/type/topics/info1.html

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] Looking for ConTeXt commands for ...

2009-01-05 Thread Aditya Mahajan

On Mon, 5 Jan 2009, Wolfgang Schuster wrote:



Am 05.01.2009 um 02:50 schrieb Aditya Mahajan:


On Mon, 5 Jan 2009, Mohamed Bana wrote:
I'am trying to convert a doc to ConTeXt, and I'm also trying to make it as 
close to the original as possible.  How do the command below translate to 
ConTeXt?


1.  \geometry{a4paper, textwidth=5.5in, textheight=8.5in, 
marginparsep=7pt, marginparwidth=.6in}


For a4 paper use

\setuppapersize[a4][a4]



Where do you got this information?

The correct setup is \setuppapersize[A4][A4].


Sorry. I always use letter paper, and was extrapolating in my head :-)

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] Looking for ConTeXt commands for ...

2009-01-05 Thread Mohamed Bana

! Undefined control sequence.
\CVTITLE ...\ss \bfa #1} \blank [medium]{\ss \tfe
  #2} }\blank [2*big]
l.139 \CVTITLE{}{CV}

?

\tfe doesn't seem to work, the others do.


$ context --version
MtxRun | main context file: 
/home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex

MtxRun | current version: 2008.11.10 21:40

ConTeXt  ver: 2008.11.10 21:40 MKIV  fmt: 2008.12.15  int: english/english

$ luatex --version
This is LuaTeX, Version snapshot-0.30.3-2008112812, build unknown

Aditya Mahajan wrote:

On Mon, 5 Jan 2009, Mohamed Bana wrote:
I'am trying to convert a doc to ConTeXt, and I'm also trying to make 
it as close to the original as possible.  How do the command below 
translate to ConTeXt?


1.  \geometry{a4paper, textwidth=5.5in, textheight=8.5in, 
marginparsep=7pt, marginparwidth=.6in}


For a4 paper use

\setuppapersize[a4][a4]

For setting geometry, see \setuplayout.


2.  \scriptsize = \tfxx?

3.  \LARGE and \Large

4.  \Huge and \HUGE


Semantically, \scriptsize = \tfxx, \Large et. al. are \tfa \tfb \tfc 
\tfd \tfe, but that may not give you visually the same appearance due to 
different defaults in Latex and Context. In Latex, these sizes are set 
as part of the documentclass, or size10.clo, size12.clo, etc. So, the 
most reliable way to reconstruct the visual appearance will be to figure 
out what sizes they correspond to in latex, and then set the context 
font environmet to match the latex values.


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] specific document layout with ConTeXt

2009-01-05 Thread Aditya Mahajan

On Mon, 5 Jan 2009, richard.steph...@converteam.com wrote:


Aditya wrote:


If others are interested, I can also release it on ConTeXt garden and
provide some documentation.

Aditya



Please, please, please can you (or someone) post on the wiki? I was looking
for a two-column layout for and IFAC conference which is very similar to
IEEE and I ended-up writing my own.  I'm not a ConTeXt programmer so it was
all done in the document itself rather than setting environments etc, so
the source code looked awful.  You example, and Wolfgang's, look much much
nicer and I cannot wait to try one of them out.


I will merge the code from Wolfgang's and my examples and put it into a 
module in a week or so.


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
___


[NTG-context] scratchdimen mess (alpha)

2009-01-05 Thread Peter Rolf

Hi all,

can someone test the attached example with the (latest) alpha version of 
ConTeXt?

Using mkiv I get no additional space in case of the \scratchdimen example.
I tried it with two new installations (minimals) from the scratch and 
also used several luatex versions, but the error remains. Strange...


Best wishes, Peter


MtxRun | current version: 2009.01.04 22:10
This is LuaTeX, Version snapshot-0.30.3-2008112822, build 1587
OS is Windows XP SP3

\starttext

\def\Space#1#2%
  
{\framed[width=#1,height=#2,frame=on,framecolor=green,rulethickness=.25pt,offset=overlay]{}}

\scratchdimen\dimexpr3cm\relax
\newdimen\MYscratchdimA
\MYscratchdimA\dimexpr3cm\relax

A dummy placeholder to skip \Space\scratchdimen{1ex} some space.

A dummy placeholder to skip \Space\MYscratchdimA{1ex} some space.

\stoptext



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


Re: [NTG-context] scratchdimen mess (alpha)

2009-01-05 Thread Peter Rolf

Hans Hagen schrieb:

Peter Rolf wrote:

Hi all,

can someone test the attached example with the (latest) alpha version 
of ConTeXt?
Using mkiv I get no additional space in case of the \scratchdimen 
example.
I tried it with two new installations (minimals) from the scratch and 
also used several luatex versions, but the error remains. Strange...


well, you can never rely on scratchdimen not being used inside the 
macro that you call (in this case it's used right at the start of 
\framed)



i forgot for one second, that context is evolving...  :)
for mkiv i now use a local scratchdimen but you can not rely on that 
to happen fro all places where i use scratcdimen myself


no need to change things on your side. i already use private 
(scratchdimen) registers in nearly all of my macros, so i'll simply fix 
the remaining ones.




\def\Space#1#2%
 {\expanded
{\framed
   [width=\the\dimexpr#1\relax,
height=\the\dimexpr#1\relax,
frame=on,
framecolor=green,
rulethickness=.25pt,
offset=overlay]}
   {}}

or so is another solution



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





___
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] scratchdimen mess (alpha)

2009-01-05 Thread Peter Rolf

Wolfgang Schuster schrieb:


Am 05.01.2009 um 14:27 schrieb Peter Rolf:


Hi all,

can someone test the attached example with the (latest) alpha version 
of ConTeXt?
Using mkiv I get no additional space in case of the \scratchdimen 
example.
I tried it with two new installations (minimals) from the scratch and 
also used several luatex versions, but the error remains. Strange...


\scratchdimen is a internal value and redefined in the \framed macro,
you get different results in MkII and MkIV because both use their own
definition of \framed.


ok. So the mess was on my side. :)

Thanks Wolfgang !


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
___ 





___
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] scratchdimen mess (alpha)

2009-01-05 Thread Hans Hagen

Peter Rolf wrote:

Hi all,

can someone test the attached example with the (latest) alpha version of 
ConTeXt?

Using mkiv I get no additional space in case of the \scratchdimen example.
I tried it with two new installations (minimals) from the scratch and 
also used several luatex versions, but the error remains. Strange...


well, you can never rely on scratchdimen not being used inside the macro 
that you call (in this case it's used right at the start of \framed)


for mkiv i now use a local scratchdimen but you can not rely on that to 
happen fro all places where i use scratcdimen myself



\def\Space#1#2%
 {\expanded
{\framed
   [width=\the\dimexpr#1\relax,
height=\the\dimexpr#1\relax,
frame=on,
framecolor=green,
rulethickness=.25pt,
offset=overlay]}
   {}}

or so is another solution



-
  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] line spacing in frame with centered text

2009-01-05 Thread Alan STONE
Indeed, I goofed big time...

It was most useful to refresh my (lack of) understanding about how
TeX's interline spacing works. grin

Alan

On Mon, Jan 5, 2009 at 10:34 AM, Alan STONE
software.list.1e...@gmail.comwrote:

 Thanks a lot for the clarification Wolfgang.

 I guess I was still playing with this kind of major flawed thinking coming
 from WYSIWYG wordprocessors where isn't concerned thinking about these
 technical aspects (what's underneath), instead type/edit as characters
 appear on screen in real time, then when switching to typesetting systems
 extrapolate and expect things to work in the same way.

 I'll digg into the manuals' corresponding chapters to get more familiar
 with these technicalities and let them sink in.

 Best,
 Alan
   On Sun, Jan 4, 2009 at 8:54 PM, Wolfgang Schuster 
 schuster.wolfg...@googlemail.com wrote:


 Am 04.01.2009 um 20:30 schrieb Alan STONE:


 On Sun, Jan 4, 2009 at 6:35 PM, Wolfgang Schuster 
 schuster.wolfg...@googlemail.com wrote:

 Am 04.01.2009 um 18:26 schrieb Alan STONE:

 \starttext

 \setbox\scratchbox\hbox{\switchtobodyfont[38pt]Text In A Frame}

 \the\htdp\scratchbox

 \stoptext

 From this example I conclude TeX does not do what you tell it to do.

 I must be missing something... ?

 What do you not understand in my example?

 From what I understand of it: asked 38pt, output 26.18pt


 The 26.18pt are only the height of the sample text, not each character
 has the height of the font size which includes the height and depth.

 You can see here the output is correct and only characters with large
 height and depth match the given fontsize.

 \starttext
 \setbox\scratchbox\hbox{\switchtobodyfont[38pt](}
 \the\htdp\scratchbox % 37.45pt
 \stoptext

 I show you in another example why you value for the interlinespace
 is to small for characters with depth.

 \starttext

 \vbox
  {\switchtobodyfont[38pt]
   \setupinterlinespace[line=30pt]
   \lineskiplimit-\maxdimen
   Big text\crlf written in\crlf three rows\par}

 \stoptext


 Wolfgang




-- 
Best,
Alan

* TeX engine = LuaTeX
*ConTeXt minimals ver: 2008.11.10 21:40 MKIV  fmt: 2008.11.21  int:
english/english
* Ubuntu 8.04 Hardy Heron
___
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] Looking for ConTeXt commands for ...

2009-01-05 Thread Hans Hagen

Mohamed Bana wrote:

! Undefined control sequence.
\CVTITLE ...\ss \bfa #1} \blank [medium]{\ss \tfe
  #2} }\blank [2*big]
l.139 \CVTITLE{}{CV}

?

\tfe doesn't seem to work, the others do.


because tfe is not defined by default

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] Looking for ConTeXt commands for ...

2009-01-05 Thread Wolfgang Schuster


Am 05.01.2009 um 19:36 schrieb Mohamed Bana:


! Undefined control sequence.
\CVTITLE ...\ss \bfa #1} \blank [medium]{\ss \tfe
 #2} }\blank [2*big]
l.139 \CVTITLE{}{CV}

?

\tfe doesn't seem to work, the others do.


Only sizes upto \tfd are predefined but you could define more.

\definefontsize[e]
\definefontsize[f]

\definebodyfontenvironment
  [default]
  [e=2.488,
   f=2.986]

\starttext
\tf  tf  \par
\tfa tfa \par
\tfb tfb \par
\tfc tfc \par
\tfd tfd \par
\tfe tfe \par
\tff tff \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] Looking for ConTeXt commands for ...

2009-01-05 Thread Wolfgang Schuster


Am 05.01.2009 um 02:50 schrieb Aditya Mahajan:


On Mon, 5 Jan 2009, Mohamed Bana wrote:
I'am trying to convert a doc to ConTeXt, and I'm also trying to  
make it as close to the original as possible.  How do the command  
below translate to ConTeXt?


1.  \geometry{a4paper, textwidth=5.5in, textheight=8.5in,  
marginparsep=7pt, marginparwidth=.6in}


For a4 paper use

\setuppapersize[a4][a4]



Where do you got this information?

The correct setup is \setuppapersize[A4][A4].

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] scratchdimen mess (alpha)

2009-01-05 Thread Wolfgang Schuster


Am 05.01.2009 um 14:27 schrieb Peter Rolf:


Hi all,

can someone test the attached example with the (latest) alpha  
version of ConTeXt?
Using mkiv I get no additional space in case of the \scratchdimen  
example.
I tried it with two new installations (minimals) from the scratch  
and also used several luatex versions, but the error remains.  
Strange...


\scratchdimen is a internal value and redefined in the \framed macro,
you get different results in MkII and MkIV because both use their own
definition of \framed.

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

2009-01-05 Thread Zhaopeng Xing
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.

-- 
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-05 Thread Aditya Mahajan

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
___


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

2009-01-05 Thread Zhichu Chen
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
___


Re: [NTG-context] alpha

2009-01-05 Thread Yue Wang
Hi, Hans:

context --make did not give me the fmt file.

?:0: attempt to index global 'trackers' (a nil value)
LuaTools | creating initialization file: cont-en
LuaTools | using library path:
/usr/home/yue/context/tex/texmf-context/tex/context/base
LuaTools | using lua libraries: l-string.lua l-lpeg.lua l-table.lua
l-boolean.lua l-number.lua l-set.lua l-unicode.lua l-md5.lua l-os.lua
l-io.lua l-file.lua l-url.lua l-dir.lua l-utils.lua l-dimen.lua
luat-lib.lua luat-inp.lua luat-env.lua luat-tmp.lua luat-zip.lua
luat-tex.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-string.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-lpeg.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-table.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-boolean.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-number.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-set.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-unicode.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-md5.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-os.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-io.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-file.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-url.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-dir.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-utils.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-dimen.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/luat-lib.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/luat-inp.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/luat-env.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/luat-tmp.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/luat-zip.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/luat-tex.lua
LuaTools | saving merge from cont-en.lua
LuaTools | using compiled initialization file: cont-en.luc
LuaTools | using lua initialization file: cont-en.luc
LuaTools | running command: luatex --ini --lua=cont-en.luc
/usr/home/yue/context/tex/texmf-context/tex/context/base/cont-en.tex
\\dump

LuaTools |
LuaTools | runtime: 0.206 seconds

?:0: attempt to index global 'trackers' (a nil value)
LuaTools | creating initialization file: cont-nl
LuaTools | using library path:
/usr/home/yue/context/tex/texmf-context/tex/context/base
LuaTools | using lua libraries: l-string.lua l-lpeg.lua l-table.lua
l-boolean.lua l-number.lua l-set.lua l-unicode.lua l-md5.lua l-os.lua
l-io.lua l-file.lua l-url.lua l-dir.lua l-utils.lua l-dimen.lua
luat-lib.lua luat-inp.lua luat-env.lua luat-tmp.lua luat-zip.lua
luat-tex.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-string.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-lpeg.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-table.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-boolean.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-number.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-set.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-unicode.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-md5.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-os.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-io.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-file.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-url.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-dir.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-utils.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/l-dimen.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/luat-lib.lua
LuaTools | merging library
/usr/home/yue/context/tex/texmf-context/tex/context/base/luat-inp.lua
LuaTools | merging library

Re: [NTG-context] alpha

2009-01-05 Thread GAOFengnan

What about using these two commands:

luatools --selfupdate
mtxrun --selfupdate

The new version didn't work for me at first, but after the selfupdate of these 
two, the version works for me now. Maybe you can try it. 

Fengnan
 
 context --make did not give me the fmt file.
 
 ?:0: attempt to index global 'trackers' (a nil value)
 LuaTools | creating initialization file: cont-en
 LuaTools | using library path:
 /usr/home/yue/context/tex/texmf-context/tex/context/base
 LuaTools | using lua libraries: l-string.lua l-lpeg.lua l-table.lua
 l-boolean.lua l-number.lua l-set.lua l-unicode.lua l-md5.lua l-os.lua
 l-io.lua l-file.lua l-url.lua l-dir.lua l-utils.lua l-dimen.lua
 luat-lib.lua luat-inp.lua luat-env.lua luat-tmp.lua luat-zip.lua
 luat-tex.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-string.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-lpeg.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-table.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-boolean.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-number.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-set.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-unicode.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-md5.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-os.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-io.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-file.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-url.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-dir.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-utils.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-dimen.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/luat-lib.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/luat-inp.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/luat-env.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/luat-tmp.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/luat-zip.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/luat-tex.lua
 LuaTools | saving merge from cont-en.lua
 LuaTools | using compiled initialization file: cont-en.luc
 LuaTools | using lua initialization file: cont-en.luc
 LuaTools | running command: luatex --ini --lua=cont-en.luc
 /usr/home/yue/context/tex/texmf-context/tex/context/base/cont-en.tex
 \\dump
 
 LuaTools |
 LuaTools | runtime: 0.206 seconds
 
 ?:0: attempt to index global 'trackers' (a nil value)
 LuaTools | creating initialization file: cont-nl
 LuaTools | using library path:
 /usr/home/yue/context/tex/texmf-context/tex/context/base
 LuaTools | using lua libraries: l-string.lua l-lpeg.lua l-table.lua
 l-boolean.lua l-number.lua l-set.lua l-unicode.lua l-md5.lua l-os.lua
 l-io.lua l-file.lua l-url.lua l-dir.lua l-utils.lua l-dimen.lua
 luat-lib.lua luat-inp.lua luat-env.lua luat-tmp.lua luat-zip.lua
 luat-tex.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-string.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-lpeg.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-table.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-boolean.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-number.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-set.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-unicode.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-md5.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-os.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-io.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-file.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-url.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-dir.lua
 LuaTools | merging library
 

Re: [NTG-context] alpha

2009-01-05 Thread GAOFengnan

Sorry I forget to mention that Mojca taught me those two commands .

Fengnan

 Date: Tue, 6 Jan 2009 05:45:19 +
 From: yuleo...@gmail.com
 To: ntg-context@ntg.nl
 Subject: Re: [NTG-context] alpha
 
 Hi, Hans:
 
 context --make did not give me the fmt file.
 
 ?:0: attempt to index global 'trackers' (a nil value)
 LuaTools | creating initialization file: cont-en
 LuaTools | using library path:
 /usr/home/yue/context/tex/texmf-context/tex/context/base
 LuaTools | using lua libraries: l-string.lua l-lpeg.lua l-table.lua
 l-boolean.lua l-number.lua l-set.lua l-unicode.lua l-md5.lua l-os.lua
 l-io.lua l-file.lua l-url.lua l-dir.lua l-utils.lua l-dimen.lua
 luat-lib.lua luat-inp.lua luat-env.lua luat-tmp.lua luat-zip.lua
 luat-tex.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-string.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-lpeg.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-table.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-boolean.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-number.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-set.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-unicode.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-md5.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-os.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-io.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-file.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-url.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-dir.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-utils.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-dimen.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/luat-lib.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/luat-inp.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/luat-env.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/luat-tmp.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/luat-zip.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/luat-tex.lua
 LuaTools | saving merge from cont-en.lua
 LuaTools | using compiled initialization file: cont-en.luc
 LuaTools | using lua initialization file: cont-en.luc
 LuaTools | running command: luatex --ini --lua=cont-en.luc
 /usr/home/yue/context/tex/texmf-context/tex/context/base/cont-en.tex
 \\dump
 
 LuaTools |
 LuaTools | runtime: 0.206 seconds
 
 ?:0: attempt to index global 'trackers' (a nil value)
 LuaTools | creating initialization file: cont-nl
 LuaTools | using library path:
 /usr/home/yue/context/tex/texmf-context/tex/context/base
 LuaTools | using lua libraries: l-string.lua l-lpeg.lua l-table.lua
 l-boolean.lua l-number.lua l-set.lua l-unicode.lua l-md5.lua l-os.lua
 l-io.lua l-file.lua l-url.lua l-dir.lua l-utils.lua l-dimen.lua
 luat-lib.lua luat-inp.lua luat-env.lua luat-tmp.lua luat-zip.lua
 luat-tex.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-string.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-lpeg.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-table.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-boolean.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-number.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-set.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-unicode.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-md5.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-os.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-io.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-file.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-url.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-dir.lua
 LuaTools | merging library
 /usr/home/yue/context/tex/texmf-context/tex/context/base/l-utils.lua
 LuaTools |