Re: [NTG-context] Bold letters in math and does tikz work

2009-08-14 Thread Curiouslearn
> You can get bold upright symbol in math fonts. There was a bug in
> math-vfu.lua, for which I gave a patch in my previous email. If you apply
> that patch to math-vfu and then regenerate formats, ${\bf A}$ will give
> upright bold math. If you do not want to patch math-vfu on your own, wait
> for the next beta by Hans.
>
> This will not work with bold greek letters or bold operators.
>
>
> Aditya
>

Thanks Aditya. I have no clue how to use the patch. I think I will wait for
the next Beta from Hans.
___
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] Bold letters in math and does tikz work

2009-08-14 Thread Aditya Mahajan

On Fri, 14 Aug 2009, Curiouslearn wrote:


Thanks again, Aditya.

Anyone, is there a way to get bold upright symbols in math for the default
Context font? If not, which font can I use that is available with the
default Context minimals installation that is a unicode font.


You can get bold upright symbol in math fonts. There was a bug in 
math-vfu.lua, for which I gave a patch in my previous email. If you apply 
that patch to math-vfu and then regenerate formats, ${\bf A}$ will give 
upright bold math. If you do not want to patch math-vfu on your own, wait 
for the next beta by Hans.


This will not work with bold greek letters or bold operators.

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] Bold letters in math and does tikz work

2009-08-14 Thread Curiouslearn
Thanks again, Aditya.

Anyone, is there a way to get bold upright symbols in math for the default
Context font? If not, which font can I use that is available with the
default Context minimals installation that is a unicode font.

Thank you.



On Thu, Aug 13, 2009 at 12:26 AM, Aditya Mahajan  wrote:

> On Wed, 12 Aug 2009, Curiouslearn wrote:
>
>  Aditya, thanks very much for your reply. Is the default font in context, a
>> unicode font. The layout of my file is
>>
>
> No. It is a virtual font created from latin modern math font.
>
>  I do NOT get bold with $ {\bf x} $ command. It is upright, but not bold.
>> Thanks for your help.
>>
>
> Hans, there is a bug in math-vfu. In all bold variants in make_fonts,
> "vector =" is missing. See the attached patch.
>
> 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] Bold letters in math and does tikz work

2009-08-13 Thread Aditya Mahajan

On Thu, 13 Aug 2009, Hans Hagen wrote:


Aditya Mahajan wrote:

On Wed, 12 Aug 2009, Curiouslearn wrote:


Aditya, thanks very much for your reply. Is the default font in context, a
unicode font. The layout of my file is


No. It is a virtual font created from latin modern math font.


I do NOT get bold with $ {\bf x} $ command. It is upright, but not bold.
Thanks for your help.


Hans, there is a bug in math-vfu. In all bold variants in make_fonts, 
"vector =" is missing. See the attached patch.


the other patch (spacing issue) how well is that tested? with/without 
whitespace and such


I did not test the other patch since I did not understand what it does. I 
will run it though my test docs and visually inspect the results.


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] Bold letters in math and does tikz work

2009-08-13 Thread Hans Hagen

Aditya Mahajan wrote:

On Wed, 12 Aug 2009, Curiouslearn wrote:

Aditya, thanks very much for your reply. Is the default font in 
context, a

unicode font. The layout of my file is


No. It is a virtual font created from latin modern math font.


I do NOT get bold with $ {\bf x} $ command. It is upright, but not bold.
Thanks for your help.


Hans, there is a bug in math-vfu. In all bold variants in make_fonts, 
"vector =" is missing. See the attached patch.


the other patch (spacing issue) how well is that tested? with/without 
whitespace and such


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] Bold letters in math and does tikz work

2009-08-12 Thread Aditya Mahajan

On Wed, 12 Aug 2009, Curiouslearn wrote:


Aditya, thanks very much for your reply. Is the default font in context, a
unicode font. The layout of my file is


No. It is a virtual font created from latin modern math font.


I do NOT get bold with $ {\bf x} $ command. It is upright, but not bold.
Thanks for your help.


Hans, there is a bug in math-vfu. In all bold variants in make_fonts, 
"vector =" is missing. See the attached patch.


Adityadiff --git a/math-vfu.lua b/math-vfu.lua
index 0e06d37..fa1e7de 100644
--- a/math-vfu.lua
+++ b/math-vfu.lua
@@ -1312,7 +1312,7 @@ mathematics.make_font ( "lmroman5-math", {
 { name = "msam5.tfm", vector = "tex-ma" },
 { name = "msbm5.tfm", vector = "tex-mb" },
  -- { name = "rm-lmbx5.tfm", vector = "tex-bf" } ,
-{ name = "lmroman5-bold", "tex-bf" } ,
+{ name = "lmroman5-bold", vector = "tex-bf" } ,
 { name = "lmmib5.tfm", vector = "tex-bi", skewchar=0x7F } ,
 { name = "lmsans8-regular.otf", vector = "tex-ss", optional=true },
 { name = "lmmono8-regular.otf", vector = "tex-tt", optional=true },
@@ -1333,7 +1333,7 @@ mathematics.make_font ( "lmroman6-math", {
 { name = "msam5.tfm", vector = "tex-ma" },
 { name = "msbm5.tfm", vector = "tex-mb" },
  -- { name = "rm-lmbx6.tfm", vector = "tex-bf" } ,
-{ name = "lmroman6-bold.otf", "tex-bf" } ,
+{ name = "lmroman6-bold.otf", vector = "tex-bf" } ,
 { name = "lmmib5.tfm", vector = "tex-bi", skewchar=0x7F } ,
 { name = "lmsans8-regular.otf", vector = "tex-ss", optional=true },
 { name = "lmmono8-regular.otf", vector = "tex-tt", optional=true },
@@ -1357,7 +1357,7 @@ mathematics.make_font ( "lmroman7-math", {
 { name = "msam7.tfm", vector = "tex-ma" },
 { name = "msbm7.tfm", vector = "tex-mb" },
  -- { name = "rm-lmbx7.tfm", vector = "tex-bf" } ,
-{ name = "lmroman7-bold.otf", "tex-bf" } ,
+{ name = "lmroman7-bold.otf", vector = "tex-bf" } ,
 { name = "lmmib7.tfm", vector = "tex-bi", skewchar=0x7F } ,
 { name = "lmsans8-regular.otf", vector = "tex-ss", optional=true },
 { name = "lmmono8-regular.otf", vector = "tex-tt", optional=true },
@@ -1379,7 +1379,7 @@ mathematics.make_font ( "lmroman8-math", {
 { name = "msam7.tfm", vector = "tex-ma" },
 { name = "msbm7.tfm", vector = "tex-mb" },
  -- { name = "rm-lmbx8.tfm", vector = "tex-bf" } ,
-{ name = "lmroman8-bold.otf", "tex-bf" } ,
+{ name = "lmroman8-bold.otf", vector = "tex-bf" } ,
 { name = "lmmib7.tfm", vector = "tex-bi", skewchar=0x7F } ,
 { name = "lmsans8-regular.otf", vector = "tex-ss", optional=true },
 { name = "lmmono8-regular.otf", vector = "tex-tt", optional=true },
@@ -1401,7 +1401,7 @@ mathematics.make_font ( "lmroman9-math", {
 { name = "msam10.tfm", vector = "tex-ma" },
 { name = "msbm10.tfm", vector = "tex-mb" },
  -- { name = "rm-lmbx9.tfm", vector = "tex-bf" } ,
-{ name = "lmroman9-bold.otf", "tex-bf" } ,
+{ name = "lmroman9-bold.otf", vector = "tex-bf" } ,
 { name = "lmmib10.tfm", vector = "tex-bi", skewchar=0x7F } ,
 { name = "lmsans9-regular.otf", vector = "tex-ss", optional=true },
 { name = "lmmono9-regular.otf", vector = "tex-tt", optional=true },
@@ -1426,7 +1426,7 @@ mathematics.make_font ( "lmroman10-math", {
 { name = "msam10.tfm", vector = "tex-ma" },
 { name = "msbm10.tfm", vector = "tex-mb" },
  -- { name = "rm-lmbx10.tfm", vector = "tex-bf" } ,
-{ name = "lmroman10-bold.otf", "tex-bf" } ,
+{ name = "lmroman10-bold.otf", vector = "tex-bf" } ,
 { name = "lmmib10.tfm", vector = "tex-bi", skewchar=0x7F } ,
 { name = "lmsans10-regular.otf", vector = "tex-ss", optional=true },
 { name = "lmmono10-regular.otf", vector = "tex-tt", optional=true },
@@ -1444,7 +1444,7 @@ mathematics.make_font ( "lmroman10-boldmath", {
 { name = "msam10.tfm", vector = "tex-ma" },
 { name = "msbm10.tfm", vector = "tex-mb" },
  -- { name = "rm-lmbx10.tfm", vector = "tex-bf" } ,
-{ name = "lmroman10-bold.otf", "tex-bf" } ,
+{ name = "lmroman10-bold.otf", vector = "tex-bf" } ,
 { name = "lmmib10.tfm", vector = "tex-bi", skewchar=0x7F } ,
 { name = "lmsans10-regular.otf", vector = "tex-ss", optional=true },
 { name = "lmmono10-regular.otf", vector = "tex-tt", optional=true },
@@ -1465,7 +1465,7 @@ mathematics.make_font ( "lmroman12-math", {
 { name = "msam10.tfm", vector = "tex-ma" },
 { name = "msbm10.tfm", vector = "tex-mb" },
  -- { name = "rm-lmbx12.tfm", vector = "tex-bf" } ,
-{ name = "lmroman12-bold.otf", "tex-bf" } ,
+{ name = "lmroman12-bold.otf", vector = "tex-bf" } ,
 { name = "lmmib10.tfm", vector = "tex-bi", skewchar=0x7F } ,
 { name = "lmsans12-regular.otf", vector = "tex-ss", optional=true },
 { name = "lmmono12-regular.otf", vector = "tex-tt", optional=true },
@@ -1484,7 +1484,7 @@ mathematics.make_font ( "lmroman17-math", {
 { name = "msam10.tfm", vector = "tex-ma" },
 { name = "msbm10.tfm", vector = "tex-mb" },
  -- { name = "rm-lmb

Re: [NTG-context] Bold letters in math and does tikz work

2009-08-12 Thread Mojca Miklavec
On Wed, Aug 12, 2009 at 16:54, Curiouslearn wrote:

>>> Also, does Tikz work with the latest version of context minimals?
>>
>> This needs to be fixed by Till Tantanu. There was a long email discussion
>> on this.

But I haven't heard from him for a long time. He might be on vacations.

Mojca
___
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] Bold letters in math and does tikz work

2009-08-12 Thread Curiouslearn
Aditya, thanks very much for your reply. Is the default font in context, a
unicode font. The layout of my file is

\startenvironment Layout

\setuppapersize[letter][letter]
\setuplayout[width=5.5in,height=10in,backspace=1.5in,topspace=0.5in,header=1.25in,footer=1.25in]

\setupwhitespace[medium]
\setuppagenumbering[location=]
\setupcolors[state=start]
\setupcolor[xwi]

\setupcaption[figure][headstyle=\tfx\bf,style=\tfx]
\setuphead[chapter][color=midnightblue,after=\vskip 2ex]
\setuphead[subject][color=midnightblue]
\setupitemize[stopper=),left=(]
\setupitemize[headstyle=bold]

definetextbackground[Quote]
[backgroundcolor=linen,
backgroundoffset=0.25cm,
frame=off,
location=paragraph,
before=\vskip 1ex\startnarrower,
after=\stopnarrower\vskip 2.5ex]

\def\Ex#1{{\bf Exercise #1}}
\def\Dfn#1{{\bf Definition #1}}
\def\bb#1{\blackboard{#1}}

\stopenvironment

I do NOT get bold with $ {\bf x} $ command. It is upright, but not bold.
Thanks for your help.




On Wed, Aug 12, 2009 at 10:31 AM, Aditya Mahajan  wrote:

> On Wed, 12 Aug 2009, Curiouslearn wrote:
>
>  Hello,
>>
>> Can someone please tell me how to get bold math symbols in Context. I am
>> using
>>
>> ConTeXt  ver: 2009.06.14 21:01 MKIV  fmt: 2009.7.7  int: english/english
>>
>
> ${\bi A}$ (bold italic) or with a unicode font use can also use ${\bf A}$
> (bold upright).
>
>  Also, does Tikz work with the latest version of context minimals?
>>
>
> This needs to be fixed by Till Tantanu. There was a long email discussion
> on this.
>
> 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
___


[NTG-context] Bold letters in math and does tikz work

2009-08-12 Thread Curiouslearn
Sorry for sending this again. I forgot to change the subject in the previous
email and as a result my post got tagged on to an unrelated post.

Can someone please tell me how to get bold math symbols in Context. I am
using

ConTeXt  ver: 2009.06.14 21:01 MKIV  fmt: 2009.7.7  int: english/english

Also, does Tikz work with the latest version of context minimals?

Thank you for your help.
___
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
___