Re: [NTG-context] item bullet processing / font problem

2013-06-19 Thread Wolfgang Schuster

Am 19.06.2013 um 01:10 schrieb hwit...@gmail.com:

 
 The result of adding:
 \definetypeface[test][rm][serif][latin-modern][default]
 \definetypeface[test][mm][math] [latin-modern][default]
 
 \setupbodyfont[test]
 
 Make no difference whatsoever.
 
 Sorry, but I can't typeset math unless various parameters have
 been set. This is normally done by loading special math fonts
 into the math family slots. Your font set is lacking at least
 the parameter mentioned earlier.
 
 ! Math error: parameter \Umathquad\displaystyle is not set.
 
 system   tex  error on line 20 in file bullet-problem.tex: Math 
 error: parameter \Umathquad\displaystyle is not set ...
 
 
 
 As pointed out an arument is not being passed through to a lower level and 
 apparently in this case the argument is probably NULL or not valid.
 
 However adding:  \setmathfont[modern]   did allow normal default symbols 
 working.
 
 Only problem now is a halting compile with error messages and inability to 
 use $/diamond$ (and other symbols) as bullet shapes/characters.

I suggest to install either the context suite [1] or update your installation
to texlive 2013 (mac users can use mactex 2013 [3]).

[1] http://wiki.contextgarden.net/ConTeXt_Standalone
[2] http://www.tug.org/texlive/
[3] http://tug.org/mactex/

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] item bullet processing / font problem

2013-06-19 Thread Hans Hagen

On 6/19/2013 1:23 AM, hwit...@gmail.com wrote:



Hans Hagen pra...@wxs.nl wrote:


On 6/18/2013 1:38 PM, hwit...@gmail.com wrote:


Aditya,
 thanks for the information adding  \setmathfont[modern]   It fixed the 
problem for the default bullet symbols.  But, it did not fix the case where I'm 
trying to use the $\diamond$ symbol as the bullet, and compile time errors 
occur.  I will attach the log file.  Hopefully you can identify what is missing.

I apologize for my lack of knowledge about fonts details and handling at 
this poing, but am learning.  Here is the minimal exampple:


the names of lm math fonts have changed a few times ... if you use the
file: prefix and goodie files are loaded the logic makes sure that at
least one is found

so, the question is: does simplefonts (the one on your machine) define
the lm math font in the right way (read: adapted to the latest
fashion)

Hans



Good question.  How should I go about finding the answer to this?

Updated all TeXLive 2011 a week ago.


that one is way too old for lm math as these fonts only showed up last 
year so, either update to


- tex live 2013

or

- use the context garden distribution

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] item bullet processing / font problem

2013-06-19 Thread hwitloc

Thank you Hans and Wolfgang for all your advice and assistance.
I will learn how to and update to a newer standalone version. 

Regads

Hans Hagen pra...@wxs.nl wrote:
...
..
.
  Good question.  How should I go about finding the answer to this?
 
  Updated all TeXLive 2011 a week ago.
 
 that one is way too old for lm math as these fonts only showed up last
 year so, either update to
 
 - tex live 2013
 
 or
 
 - use the context garden distribution
 
 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] item bullet processing / font problem

2013-06-18 Thread Hans Hagen

On 6/18/2013 4:23 AM, Aditya Mahajan wrote:


Perhaps we need to add a FAQ on the wiki for this error (and maybe
change the default symbolset to text symbols rather than math symbols)


A follow up on the lm / texgyre project will add the most relevant 
symbols to the text fonts (for this purpose; the reason to trigger this 
project was that it makes no sense in these times to get symbols from 
math fonts).


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] item bullet processing / font problem

2013-06-18 Thread hwitloc

Aditya,
   thanks for the information adding  \setmathfont[modern]   It fixed the 
problem for the default bullet symbols.  But, it did not fix the case where I'm 
trying to use the $\diamond$ symbol as the bullet, and compile time errors 
occur.  I will attach the log file.  Hopefully you can identify what is missing.

  I apologize for my lack of knowledge about fonts details and handling at this 
poing, but am learning.  Here is the minimal exampple:


\usemodule[simplefonts]
\setmainfont[ipaexm]
\mainlanguage[ja]

\setmathfont[modern]

\definesymbol[5][$\diamond$]

\starttext
  \startitemize[5,columns,unpacked,two,broad]
   \item 此の行にbulletを打つ。
   \item One more column for good measure
   \item 此れは何処に置かれるでしょうか
   \stopitemize
\stoptext



(bullet-problem.tex

ConTeXt  ver: 2012.05.30 11:26 MKIV  fmt: 2013.3.17  int: english/english

system   cont-new.mkiv loaded
(/usr/local/texlive/2012/texmf-dist/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   bullet-problem.top loaded

system   options  start used options

used options % runtime options files (command line driven)
used options \unprotect
used options % feedback and basic job control
used options % handy for special styles
used options \startluacode
used options document = document or { }
used options document.arguments={
used options  [pdf]=true,
used options }
used options document.files={
used options  bullet-problem.tex,
used options }
used options \stopluacode
used options % process info
used options \setupsystem[inputfile=bullet-problem.tex]
used options \setupsystem[\c!n=1,\c!m=1]
used options % modes
used options % options (not that important)
used options \startsetups *runtime:options
used options \stopsetups
used options % styles and modules
used options \startsetups *runtime:modules
used options \stopsetups
used options % done
used options \protect \endinput

system   options  stop used options

(bullet-problem.top)
fontslatin modern fonts are not preloaded
languageslanguage en is active
resolversmodules  loaded: 'simplefonts'
(/usr/local/texlive/2012/texmf-dist/tex/context/third/simplefonts/t-simplefonts.mkiv
loading  ConTeXt User Module / Simplefonts
+ 
/usr/local/texlive/2012/texmf-dist/tex/context/third/simplefonts/t-simplefonts.lua)
fontstypescripts  unknown: library 'loc'
{/usr/local/texlive/2012/texmf-dist/fonts/map/dvips/lm/lm-math.map}{/usr/local/texlive/2012/texmf-dist/fonts/map/dvips/lm/lm-rm.map}{/usr/local/texlive/2012/texmf-dist/fonts/map/pdftex/context/mkiv-base.map}
fontsdefining  forced type otf of latinmodernmath-regular not 
found
fontsdefining  font with asked name 'latinmodernmath-regular' is 
not found using lookup 'file'
fontsdefining  unknown font latinmodernmath-regular, loading 
aborted
fontsdefining  unable to define latinmodernmath-regular.otf as 
[simplefonts:1-12pt-mm-mr--3]
fontsdefining  forced type otf of latinmodernmath-regular not 
found
fontsdefining  font with asked name 'latinmodernmath-regular' is 
not found using lookup 'file'
fontsdefining  unknown font latinmodernmath-regular, loading 
aborted
fontsdefining  unable to define latinmodernmath-regular.otf as 
[simplefonts:1-12pt-mm-mr--2]
fontsdefining  forced type otf of latinmodernmath-regular not 
found
fontsdefining  font with asked name 'latinmodernmath-regular' is 
not found using lookup 'file'
fontsdefining  unknown font latinmodernmath-regular, loading 
aborted
fontsdefining  unable to define latinmodernmath-regular.otf as 
[simplefonts:1-12pt-mm-mr--1]
fontsdefining  forced type otf of latinmodernmath-regular not 
found
fontsdefining  font with asked name 'latinmodernmath-regular' is 
not found using lookup 'file'
fontsdefining  unknown font latinmodernmath-regular, loading 
aborted
fontsdefining  unable to define latinmodernmath-regular.otf as 
[simplefonts:1-12pt-mm-mb--3]
fontsdefining  forced type otf of latinmodernmath-regular not 
found
fontsdefining  font with asked name 'latinmodernmath-regular' is 
not found using lookup 'file'
fontsdefining  unknown font latinmodernmath-regular, loading 
aborted
fontsdefining  unable to define latinmodernmath-regular.otf as 
[simplefonts:1-12pt-mm-mb--2]
fontsdefining  forced type otf of latinmodernmath-regular not 
found
fontsdefining  font with asked name 'latinmodernmath-regular' is 
not found using lookup 'file'
fontsdefining  unknown font latinmodernmath-regular, loading 
aborted

Re: [NTG-context] item bullet processing / font problem

2013-06-18 Thread Hans Hagen

On 6/18/2013 1:38 PM, hwit...@gmail.com wrote:


Aditya,
thanks for the information adding  \setmathfont[modern]   It fixed the 
problem for the default bullet symbols.  But, it did not fix the case where I'm 
trying to use the $\diamond$ symbol as the bullet, and compile time errors 
occur.  I will attach the log file.  Hopefully you can identify what is missing.

   I apologize for my lack of knowledge about fonts details and handling at 
this poing, but am learning.  Here is the minimal exampple:


the names of lm math fonts have changed a few times ... if you use the 
file: prefix and goodie files are loaded the logic makes sure that at 
least one is found


so, the question is: does simplefonts (the one on your machine) define 
the lm math font in the right way (read: adapted to the latest fashion)


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] item bullet processing / font problem

2013-06-18 Thread Wolfgang Schuster

Am 18.06.2013 um 23:41 schrieb Hans Hagen pra...@wxs.nl:

 On 6/18/2013 1:38 PM, hwit...@gmail.com wrote:
 
 Aditya,
thanks for the information adding  \setmathfont[modern]   It fixed the 
 problem for the default bullet symbols.  But, it did not fix the case where 
 I'm trying to use the $\diamond$ symbol as the bullet, and compile time 
 errors occur.  I will attach the log file.  Hopefully you can identify what 
 is missing.
 
   I apologize for my lack of knowledge about fonts details and handling at 
 this poing, but am learning.  Here is the minimal exampple:
 
 the names of lm math fonts have changed a few times ... if you use the file: 
 prefix and goodie files are loaded the logic makes sure that at least one is 
 found
 
 so, the question is: does simplefonts (the one on your machine) define the lm 
 math font in the right way (read: adapted to the latest fashion)

The simplefonts module passes the \setmathfont argument to the \definetypeface 
command
and the default setup should be similar to the following example. I already 
sent the example
once but got no answer what’s the result from it.

\definetypeface[test][rm][serif][latin-modern][default]
\definetypeface[test][mm][math] [latin-modern][default]

\setupbodyfont[test]

\starttext
Text and $math$.
\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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] item bullet processing / font problem

2013-06-18 Thread hwitloc

The result of adding:
 \definetypeface[test][rm][serif][latin-modern][default]
 \definetypeface[test][mm][math] [latin-modern][default]
 
 \setupbodyfont[test]

Make no difference whatsoever.

Sorry, but I can't typeset math unless various parameters have
been set. This is normally done by loading special math fonts
into the math family slots. Your font set is lacking at least
the parameter mentioned earlier.

! Math error: parameter \Umathquad\displaystyle is not set.

system   tex  error on line 20 in file bullet-problem.tex: Math 
error: parameter \Umathquad\displaystyle is not set ...



As pointed out an arument is not being passed through to a lower level and 
apparently in this case the argument is probably NULL or not valid.

However adding:  \setmathfont[modern]   did allow normal default symbols 
working.

Only problem now is a halting compile with error messages and inability to use 
$/diamond$ (and other symbols) as bullet shapes/characters.

Regards





Wolfgang Schuster schuster.wolfg...@gmail.com wrote:
 
 Am 18.06.2013 um 23:41 schrieb Hans Hagen pra...@wxs.nl:
 
  On 6/18/2013 1:38 PM, hwit...@gmail.com wrote:
  
  Aditya,
 thanks for the information adding  \setmathfont[modern]   It fixed the 
  problem for the default bullet symbols.  But, it did not fix the case 
  where I'm trying to use the $\diamond$ symbol as the bullet, and compile 
  time errors occur.  I will attach the log file.  Hopefully you can 
  identify what is missing.
  
I apologize for my lack of knowledge about fonts details and handling at 
  this poing, but am learning.  Here is the minimal exampple:
  
  the names of lm math fonts have changed a few times ... if you use the 
  file: prefix and goodie files are loaded the logic makes sure that at least 
  one is found
  
  so, the question is: does simplefonts (the one on your machine) define the 
  lm math font in the right way (read: adapted to the latest fashion)
 
 The simplefonts module passes the \setmathfont argument to the 
 \definetypeface command
 and the default setup should be similar to the following example. I already 
 sent the example
 once but got no answer what’s the result from it.
 
 \definetypeface[test][rm][serif][latin-modern][default]
 \definetypeface[test][mm][math] [latin-modern][default]
 
 \setupbodyfont[test]
 
 \starttext
 Text and $math$.
 \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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] item bullet processing / font problem

2013-06-18 Thread hwitloc


Hans Hagen pra...@wxs.nl wrote:

 On 6/18/2013 1:38 PM, hwit...@gmail.com wrote:
 
  Aditya,
  thanks for the information adding  \setmathfont[modern]   It fixed the 
  problem for the default bullet symbols.  But, it did not fix the case where 
  I'm trying to use the $\diamond$ symbol as the bullet, and compile time 
  errors occur.  I will attach the log file.  Hopefully you can identify what 
  is missing.
 
 I apologize for my lack of knowledge about fonts details and handling at 
  this poing, but am learning.  Here is the minimal exampple:
 
 the names of lm math fonts have changed a few times ... if you use the
 file: prefix and goodie files are loaded the logic makes sure that at
 least one is found
 
 so, the question is: does simplefonts (the one on your machine) define
 the lm math font in the right way (read: adapted to the latest
 fashion)
 
 Hans


Good question.  How should I go about finding the answer to this?

Updated all TeXLive 2011 a week ago.

mkiv says: contextunable to define latinmodernmath-regular.otf as 
[simplefonts:1-12pt-mm-mr--2]

And as you say 
   ! Math error: parameter \Umathquad\displaystyle is not set.
  system   tex  error on line 19 in file bullet-problem.tex: 
  Math error: parameter \Umathquad\displaystyle is not set ...
   
 
and 
  l.19\item 此
   の行にbulletを打つ。
   Sorry, but I can't typeset math unless various parameters have
   been set. This is normally done by loading special math fonts
   into the math family slots. Your font set is lacking at least
   the parameter mentioned earlier.

   ! Math error: parameter \Umathquad\displaystyle is not set.
   

The item text is getting properly placed and there is actually no problem 
there. The parsing is getting out of step, probably because of a missing 
parameter.

I don't know if this is relevant but the below produces a null output.  

$ mtxrun --locate lmmath-regular.otf
$

Ref: (read: adapted to the latest fashion)

Is there a way to ascertain version information about simplefonts if there are 
different ones floating around?

Getting to your main question:
How can I find out if simplefonts, the one here on this machine, defines a lm 
math font in the right way?





___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] item bullet processing / font problem

2013-06-17 Thread hwitloc


Setting the main font to ipaexm for Japanese characters, causes the sample 
document below to fail being typest properly.

The $\diamond$ symbol I specified as an item bullet does not get typeset and 
where is should be is blank.  Though not shown in this example, the default set 
is also affected.  When it should be a circular bullet a largish hypen - is 
displayed.

Also parsing of the document text itself is affected with Context halting in 
the middle of the first item's text.

I think all problems are due to the change in fort.  Is there anyway I can 
specify a backup font or a fort to use for only the symbols, which I believe is 
in a math font?

Any assistance it getting this working will be much appreciated.

Thank you. 

 # 1 Sample Context Macro document that causes the errors: 


\usemodule[simplefonts]
\setmainfont[ipaexm]
\definesymbol[5][$\diamond$]

\starttext
   \startitemize[5,columns,unpacked,two,broad]
   \item 此の行にbulletを打つ。
   \item One more column for good measure
   \stopitemize
\stoptext

 --- end of sample Context macro doc.


 #2  sample of the errors output by Context 
 system   cont-new.mkiv loaded ...
 system   beware: some patches loaded from cont-new.mkiv
 .
 .
 fontslatin modern fonts are not preloaded
 languageslanguage en is active
 loading  ConTeXt User Module / Simplefonts

 fontstypescripts  unknown: library 'loc'
 {/usr/local/texlive/2012/texmf-../context/mkiv-base.map}

 fontsdefining  forced type otf of latinmodernmath-regular not 
found
 fontsdefining  font with asked name 'latinmodernmath-regular' is 
not found using lookup 'file'
 fontsdefining  unknown font latinmodernmath-regular, loading 
aborted
 fontsdefining  unable to define latinmodernmath-regular.otf as 
[simplefonts:1-12pt-mm-mr--3]

 fontsdefining  forced type otf of latinmodernmath-regular not 
found
 fontsdefining  font with asked name 'latinmodernmath-regular' is 
not found using lookup 'file'
 fontsdefining  unknown font latinmodernmath-regular, loading 
aborted
 fontsdefining  unable to define latinmodernmath-regular.otf as 
[simplefonts:1-12pt-mm-mr--2]
 .
 .
 fontsmath: unset for global bodyfont simplefonts:1 at 12pt
 fontsmath: unset for global bodyfont simplefonts:1 at 12pt

 ! Math error: parameter \Umathquad\displaystyle is not set.

 system   tex  error on line 8 in file bullet-problem.tex:
Math error: parameter \Umathquad\displaystyle is not set ...
 .
 .

 ? OK, entering \nonstopmode...
 ! Math error: parameter \Umathquad\displaystyle is not set.

 system   tex  error on line 8 in file bullet-problem.tex: Math 
error: parameter \Umathquad\displaystyle is not set ...
 ! Math error: parameter \Umathquad\displaystyle is not set.

 system   tex  error on line 9 in file bullet-problem.tex: Math 
error: parameter \Umathquad\displaystyle is not set ...
 .
 .
 .
 ! Math error: parameter \Umathquad\displaystyle is not set.

 mtx-context | fatal error: return code: 1

- end of sample error output
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] item bullet processing / font problem

2013-06-17 Thread Aditya Mahajan

On Tue, 18 Jun 2013, hwit...@gmail.com wrote:




Setting the main font to ipaexm for Japanese characters, causes the sample 
document below to fail being typest properly.

The $\diamond$ symbol I specified as an item bullet does not get typeset and 
where is should be is blank.  Though not shown in this example, the default set 
is also affected.  When it should be a circular bullet a largish hypen - is 
displayed.

Also parsing of the document text itself is affected with Context halting in 
the middle of the first item's text.

I think all problems are due to the change in fort.  Is there anyway I can 
specify a backup font or a fort to use for only the symbols, which I believe is 
in a math font?

Any assistance it getting this working will be much appreciated.

Thank you. 


 # 1 Sample Context Macro document that causes the errors: 


\usemodule[simplefonts]
\setmainfont[ipaexm]


Add

\setmathfont[modern] % or something else.

Aditya


! Math error: parameter \Umathquad\displaystyle is not set.


Perhaps we need to add a FAQ on the wiki for this error (and maybe change 
the default symbolset to text symbols rather than math symbols)


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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___