ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* item bullet processing / font problem
@ 2013-06-18  2:14 hwitloc
  2013-06-18  2:23 ` Aditya Mahajan
  0 siblings, 1 reply; 11+ messages in thread
From: hwitloc @ 2013-06-18  2:14 UTC (permalink / raw)
  To: ntg-context



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
 .
 .
 fonts           > latin modern fonts are not preloaded
 languages       > language en is active
 loading         > ConTeXt User Module / Simplefonts

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

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

 fonts           > defining > forced type otf of latinmodernmath-regular not found
 fonts           > defining > font with asked name 'latinmodernmath-regular' is not found using lookup 'file'
 fonts           > defining > unknown font latinmodernmath-regular, loading aborted
 fonts           > defining > unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mr--2]
 .
 .
 fonts           > math: unset for global bodyfont simplefonts:1 at 12pt
 fonts           > math: 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: item bullet processing / font problem
  2013-06-18  2:14 item bullet processing / font problem hwitloc
@ 2013-06-18  2:23 ` Aditya Mahajan
  2013-06-18  7:34   ` Hans Hagen
  2013-06-18 11:38   ` hwitloc
  0 siblings, 2 replies; 11+ messages in thread
From: Aditya Mahajan @ 2013-06-18  2:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, 18 Jun 2013, hwitloc@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: item bullet processing / font problem
  2013-06-18  2:23 ` Aditya Mahajan
@ 2013-06-18  7:34   ` Hans Hagen
  2013-06-18 11:38   ` hwitloc
  1 sibling, 0 replies; 11+ messages in thread
From: Hans Hagen @ 2013-06-18  7:34 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: item bullet processing / font problem
  2013-06-18  2:23 ` Aditya Mahajan
  2013-06-18  7:34   ` Hans Hagen
@ 2013-06-18 11:38   ` hwitloc
  2013-06-18 21:41     ` Hans Hagen
  1 sibling, 1 reply; 11+ messages in thread
From: hwitloc @ 2013-06-18 11:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 929 bytes --]


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

----------------------------------------------------------------


[-- Attachment #2: Context Macro Compile Output Log --]
[-- Type: text/plain, Size: 21538 bytes --]

(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)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
resolvers       > modules > 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>)
fonts           > typescripts > 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}
fonts           > defining > forced type otf of latinmodernmath-regular not found
fonts           > defining > font with asked name 'latinmodernmath-regular' is not found using lookup 'file'
fonts           > defining > unknown font latinmodernmath-regular, loading aborted
fonts           > defining > unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mr--3]
fonts           > defining > forced type otf of latinmodernmath-regular not found
fonts           > defining > font with asked name 'latinmodernmath-regular' is not found using lookup 'file'
fonts           > defining > unknown font latinmodernmath-regular, loading aborted
fonts           > defining > unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mr--2]
fonts           > defining > forced type otf of latinmodernmath-regular not found
fonts           > defining > font with asked name 'latinmodernmath-regular' is not found using lookup 'file'
fonts           > defining > unknown font latinmodernmath-regular, loading aborted
fonts           > defining > unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mr--1]
fonts           > defining > forced type otf of latinmodernmath-regular not found
fonts           > defining > font with asked name 'latinmodernmath-regular' is not found using lookup 'file'
fonts           > defining > unknown font latinmodernmath-regular, loading aborted
fonts           > defining > unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mb--3]
fonts           > defining > forced type otf of latinmodernmath-regular not found
fonts           > defining > font with asked name 'latinmodernmath-regular' is not found using lookup 'file'
fonts           > defining > unknown font latinmodernmath-regular, loading aborted
fonts           > defining > unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mb--2]
fonts           > defining > forced type otf of latinmodernmath-regular not found
fonts           > defining > font with asked name 'latinmodernmath-regular' is not found using lookup 'file'
fonts           > defining > unknown font latinmodernmath-regular, loading aborted
fonts           > defining > unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mb--1]
fonts           > math: unset for global bodyfont simplefonts:1 at 12pt
fonts           > defining > forced type otf of latinmodernmath-regular not found
fonts           > defining > font with asked name 'latinmodernmath-regular' is not found using lookup 'file'
fonts           > defining > unknown font latinmodernmath-regular, loading aborted
fonts           > defining > unable to define latinmodernmath-regular.otf as [simplefonts:2-12pt-mm-mr--3]
fonts           > defining > forced type otf of latinmodernmath-regular not found
fonts           > defining > font with asked name 'latinmodernmath-regular' is not found using lookup 'file'
fonts           > defining > unknown font latinmodernmath-regular, loading aborted
fonts           > defining > unable to define latinmodernmath-regular.otf as [simplefonts:2-12pt-mm-mr--2]
fonts           > defining > forced type otf of latinmodernmath-regular not found
fonts           > defining > font with asked name 'latinmodernmath-regular' is not found using lookup 'file'
fonts           > defining > unknown font latinmodernmath-regular, loading aborted
fonts           > defining > unable to define latinmodernmath-regular.otf as [simplefonts:2-12pt-mm-mr--1]
fonts           > defining > forced type otf of latinmodernmath-regular not found
fonts           > defining > font with asked name 'latinmodernmath-regular' is not found using lookup 'file'
fonts           > defining > unknown font latinmodernmath-regular, loading aborted
fonts           > defining > unable to define latinmodernmath-regular.otf as [simplefonts:2-12pt-mm-mb--3]
fonts           > defining > forced type otf of latinmodernmath-regular not found
fonts           > defining > font with asked name 'latinmodernmath-regular' is not found using lookup 'file'
fonts           > defining > unknown font latinmodernmath-regular, loading aborted
fonts           > defining > unable to define latinmodernmath-regular.otf as [simplefonts:2-12pt-mm-mb--2]
fonts           > defining > forced type otf of latinmodernmath-regular not found
fonts           > defining > font with asked name 'latinmodernmath-regular' is not found using lookup 'file'
fonts           > defining > unknown font latinmodernmath-regular, loading aborted
fonts           > defining > unable to define latinmodernmath-regular.otf as [simplefonts:2-12pt-mm-mb--1]
fonts           > math: unset for global bodyfont simplefonts:2 at 12pt
! Math error: parameter \Umathquad\displaystyle is not set.

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

 3     \setmainfont[ipaexm]
 4     
 5     \mainlanguage[ja]
 6     
 7     \setmathfont[modern]
 8     
 9     \definesymbol[5][$\diamond$]
10     
11     \starttext
12       \startitemize[5,columns,unpacked,two,broad]
13 >>         \item 此の行にbulletを打つ。
14            \item One more column for good measure
15            \item 此れは何処に置かれるでしょうか
16        \stopitemize
17     \stoptext
18     


\47>:5 ->$\diamond $
                    
\symb_place_indeed ...name \??symbol #1\endcsname 
                                                  \relax \endgroup 
\symb_place_retry ...name \symb_place_indeed {:#1}
                                                  \else #1\fi 
\symb_place_normal_c ...lace_retry \currentsymbol 
                                                  \fi 
\symb_place_normal_b ...else \symb_place_normal_c 
                                                  \fi 
<to be read again> 
                   \else 
...
l.13        \item 此
                     の行にbulletを打つ。
? R
OK, entering \nonstopmode...
Missing character: There is no ⋄ (U+22C4) in font ipaexm!
! Math error: parameter \Umathquad\displaystyle is not set.

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

 3     \setmainfont[ipaexm]
 4     
 5     \mainlanguage[ja]
 6     
 7     \setmathfont[modern]
 8     
 9     \definesymbol[5][$\diamond$]
10     
11     \starttext
12       \startitemize[5,columns,unpacked,two,broad]
13 >>         \item 此の行にbulletを打つ。
14            \item One more column for good measure
15            \item 此れは何処に置かれるでしょうか
16        \stopitemize
17     \stoptext
18     


\47>:5 ->$\diamond $
                    
\symb_place_indeed ...name \??symbol #1\endcsname 
                                                  \relax \endgroup 
\symb_place_retry ...name \symb_place_indeed {:#1}
                                                  \else #1\fi 
\symb_place_normal_c ...lace_retry \currentsymbol 
                                                  \fi 
\symb_place_normal_b ...else \symb_place_normal_c 
                                                  \fi 
<to be read again> 
                   \else 
...
l.13        \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.

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

 4     
 5     \mainlanguage[ja]
 6     
 7     \setmathfont[modern]
 8     
 9     \definesymbol[5][$\diamond$]
10     
11     \starttext
12       \startitemize[5,columns,unpacked,two,broad]
13            \item 此の行にbulletを打つ。
14 >>         \item One more column for good measure
15            \item 此れは何処に置かれるでしょうか
16        \stopitemize
17     \stoptext
18     


\47>:5 ->$\diamond $
                    
\symb_place_indeed ...name \??symbol #1\endcsname 
                                                  \relax \endgroup 
\symb_place_retry ...name \symb_place_indeed {:#1}
                                                  \else #1\fi 
\symb_place_normal_c ...lace_retry \currentsymbol 
                                                  \fi 
\symb_place_normal_b ...else \symb_place_normal_c 
                                                  \fi 
<to be read again> 
                   \else 
...
l.14        \item O
                   ne more column for good measure
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.

Missing character: There is no ⋄ (U+22C4) in font ipaexm!
! Math error: parameter \Umathquad\displaystyle is not set.

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

 4     
 5     \mainlanguage[ja]
 6     
 7     \setmathfont[modern]
 8     
 9     \definesymbol[5][$\diamond$]
10     
11     \starttext
12       \startitemize[5,columns,unpacked,two,broad]
13            \item 此の行にbulletを打つ。
14 >>         \item One more column for good measure
15            \item 此れは何処に置かれるでしょうか
16        \stopitemize
17     \stoptext
18     


\47>:5 ->$\diamond $
                    
\symb_place_indeed ...name \??symbol #1\endcsname 
                                                  \relax \endgroup 
\symb_place_retry ...name \symb_place_indeed {:#1}
                                                  \else #1\fi 
\symb_place_normal_c ...lace_retry \currentsymbol 
                                                  \fi 
\symb_place_normal_b ...else \symb_place_normal_c 
                                                  \fi 
<to be read again> 
                   \else 
...
l.14        \item O
                   ne more column for good measure
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 15 in file bullet-problem.tex: Math error: parameter \Umathquad\displaystyle is not set ...

 5     \mainlanguage[ja]
 6     
 7     \setmathfont[modern]
 8     
 9     \definesymbol[5][$\diamond$]
10     
11     \starttext
12       \startitemize[5,columns,unpacked,two,broad]
13            \item 此の行にbulletを打つ。
14            \item One more column for good measure
15 >>         \item 此れは何処に置かれるでしょうか
16        \stopitemize
17     \stoptext
18     


\47>:5 ->$\diamond $
                    
\symb_place_indeed ...name \??symbol #1\endcsname 
                                                  \relax \endgroup 
\symb_place_retry ...name \symb_place_indeed {:#1}
                                                  \else #1\fi 
\symb_place_normal_c ...lace_retry \currentsymbol 
                                                  \fi 
\symb_place_normal_b ...else \symb_place_normal_c 
                                                  \fi 
<to be read again> 
                   \else 
...
l.15        \item 此
                     れは何処に置かれるでしょうか
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.

Missing character: There is no ⋄ (U+22C4) in font ipaexm!
! Math error: parameter \Umathquad\displaystyle is not set.

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

 5     \mainlanguage[ja]
 6     
 7     \setmathfont[modern]
 8     
 9     \definesymbol[5][$\diamond$]
10     
11     \starttext
12       \startitemize[5,columns,unpacked,two,broad]
13            \item 此の行にbulletを打つ。
14            \item One more column for good measure
15 >>         \item 此れは何処に置かれるでしょうか
16        \stopitemize
17     \stoptext
18     


\47>:5 ->$\diamond $
                    
\symb_place_indeed ...name \??symbol #1\endcsname 
                                                  \relax \endgroup 
\symb_place_retry ...name \symb_place_indeed {:#1}
                                                  \else #1\fi 
\symb_place_normal_c ...lace_retry \currentsymbol 
                                                  \fi 
\symb_place_normal_b ...else \symb_place_normal_c 
                                                  \fi 
<to be read again> 
                   \else 
...
l.15        \item 此
                     れは何処に置かれるでしょうか
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.

columns         > balanced in 1 step(s)
fonts           > math: unset for global bodyfont simplefonts:2 at 12pt
backend         > xmp > using file '/usr/local/texlive/2012/texmf-dist/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1
 )</usr/local/texlive/2012/texmf-dist/fonts/truetype/public/ipaex/ipaexm.ttf>

system          > files > start used files

used files      >    1: filename=bullet-problem.tex | foundname=bullet-problem.tex | usedmethod=direct
used files      >    2: filename=cont-new.mkiv | filetype=tex | foundname=/usr/local/texlive/2012/texmf-dist/tex/context/base/cont-new.mkiv | usedmethod=database
used files      >    3: filename=bullet-problem.top | foundname=bullet-problem.top | usedmethod=direct
used files      >    4: filename=lang-us.lua | filetype=lua | foundname=/usr/local/texlive/2012/texmf-dist/tex/context/patterns/lang-us.lua | usedmethod=database
used files      >    5: filename=t-simplefonts.mkiv | filetype=tex | foundname=/usr/local/texlive/2012/texmf-dist/tex/context/third/simplefonts/t-simplefonts.mkiv | usedmethod=database
used files      >    6: filename=t-simplefonts.mkiv | filetype=tex | format=tex | foundname=/usr/local/texlive/2012/texmf-dist/tex/context/third/simplefonts/t-simplefonts.mkiv | usedmethod=database
used files      >    7: filename=usr/local/texlive/2012/texmf-dist/tex/context/third/simplefonts/t-simplefonts.mkiv | foundname=/usr/local/texlive/2012/texmf-dist/tex/context/third/simplefonts/t-simplefonts.mkiv | usedmethod=qualified
used files      >    8: filename=t-simplefonts.lua | filetype=tex | format=tex | foundname=/usr/local/texlive/2012/texmf-dist/tex/context/third/simplefonts/t-simplefonts.lua | usedmethod=database
used files      >    9: filename=ipaexm | filetype=ttf | format=ttf | foundname=/usr/local/texlive/2012/texmf-dist/fonts/truetype/public/ipaex/ipaexm.ttf | usedmethod=database
used files      >   10: filename=lm.lfg | filetype=tex | foundname=/usr/local/texlive/2012/texmf-dist/tex/context/fonts/lm.lfg | usedmethod=database
used files      >   11: filename=lm-math.lfg | filetype=tex | foundname=/usr/local/texlive/2012/texmf-dist/tex/context/fonts/lm-math.lfg | usedmethod=database
used files      >   12: filename=lm-math.map | filetype=map | format=map | foundname=/usr/local/texlive/2012/texmf-dist/fonts/map/dvips/lm/lm-math.map | usedmethod=database
used files      >   13: filename=lm-rm.map | filetype=map | format=map | foundname=/usr/local/texlive/2012/texmf-dist/fonts/map/dvips/lm/lm-rm.map | usedmethod=database
used files      >   14: filename=mkiv-base.map | filetype=map | format=map | foundname=/usr/local/texlive/2012/texmf-dist/fonts/map/pdftex/context/mkiv-base.map | usedmethod=database
used files      >   15: filename=ipaexm.ttf | filetype=ttf | format=ttf | foundname=/usr/local/texlive/2012/texmf-dist/fonts/truetype/public/ipaex/ipaexm.ttf | usedmethod=database
used files      >   16: filename=lpdf-pdx.xml | filetype=tex | foundname=/usr/local/texlive/2012/texmf-dist/tex/context/base/lpdf-pdx.xml | usedmethod=database

system          > files > stop used files


system          > structure > start used structure

used structure  > text: bullet-problem

system          > structure > stop used structure


mkiv lua stats  > used config file          - selfautoparent:/texmfcnf.lua;selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path           - readable: '/usr/local/texlive/2012/texmf-var/luatex-cache/context/210a96fef5fbab446fd11afa77acb026' (order 1)
mkiv lua stats  > used cache path           - readable: '/home/usr/.texlive2012/texmf-var/luatex-cache/context/210a96fef5fbab446fd11afa77acb026' (order 2)
mkiv lua stats  > used cache path           - writable: '/home/usr/.texlive2012/texmf-var/luatex-cache/context/210a96fef5fbab446fd11afa77acb026'
mkiv lua stats  > resource resolver         - loadtime 0.312 seconds, 2 scans with scantime 0.000 seconds, 0 shared scans, 16 found files, scanned paths: /home/usr/.texlive2012/texmf-config /home/usr/texmf
mkiv lua stats  > stored bytecode data      - 303 modules, 65 tables, 368 chunks
mkiv lua stats  > cleaned up reserved nodes - 39 nodes, 9 lists of 446
mkiv lua stats  > node memory usage         - 3 glue, 2 penalty, 13 attribute, 28 glue_spec, 4 attribute_list
mkiv lua stats  > node list callback tasks  - 6 unique task lists, 6 instances (re)created, 1208 calls
mkiv lua stats  > used backend              - pdf (backend for directly generating pdf output)
mkiv lua stats  > loaded tex modules        - 1 requested, 1 found (*-simplefonts), 0 missing
mkiv lua stats  > loaded patterns           - en::2 ja::47
mkiv lua stats  > jobdata time              - 0.000 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks                 - 1307 direct, 1384 indirect, 2691 total
mkiv lua stats  > randomizer                - resumed with value 0.98610818478563
mkiv lua stats  > lxml preparation time     - 0.000 seconds, 0 nodes, 15 lpath calls, 0 cached calls
mkiv lua stats  > positions                 - 3 collected, 3 regulars, 0 regions, 0 unresolved regions
mkiv lua stats  > result saved in file      - bullet-problem.pdf
mkiv lua stats  > loaded fonts              - 1 files: ipaexm.ttf
mkiv lua stats  > fonts load time           - 0.578 seconds 
mkiv lua stats  > math processing time      - 5.422 seconds 
mkiv lua stats  > luatex banner             - this is luatex, version beta-0.70.2-2012062812 (tex live 2012)
mkiv lua stats  > control sequences         - 36305 of 65536 + 100000
mkiv lua stats  > current memory usage      - 41 MB (ctx: 42 MB)
mkiv lua stats  > runtime                   - 8.594 seconds, 1 processed pages, 1 shipped pages, 0.116 pages/second


[-- Attachment #3: Type: text/plain, Size: 8 bytes --]


Regards

[-- Attachment #4: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: item bullet processing / font problem
  2013-06-18 11:38   ` hwitloc
@ 2013-06-18 21:41     ` Hans Hagen
  2013-06-18 21:53       ` Wolfgang Schuster
  2013-06-18 23:23       ` hwitloc
  0 siblings, 2 replies; 11+ messages in thread
From: Hans Hagen @ 2013-06-18 21:41 UTC (permalink / raw)
  To: ntg-context

On 6/18/2013 1:38 PM, hwitloc@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: item bullet processing / font problem
  2013-06-18 21:41     ` Hans Hagen
@ 2013-06-18 21:53       ` Wolfgang Schuster
  2013-06-18 23:10         ` hwitloc
  2013-06-18 23:23       ` hwitloc
  1 sibling, 1 reply; 11+ messages in thread
From: Wolfgang Schuster @ 2013-06-18 21:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen


Am 18.06.2013 um 23:41 schrieb Hans Hagen <pragma@wxs.nl>:

> On 6/18/2013 1:38 PM, hwitloc@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: item bullet processing / font problem
  2013-06-18 21:53       ` Wolfgang Schuster
@ 2013-06-18 23:10         ` hwitloc
  2013-06-19  7:54           ` Wolfgang Schuster
  0 siblings, 1 reply; 11+ messages in thread
From: hwitloc @ 2013-06-18 23:10 UTC (permalink / raw)
  To: ntg-context


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.wolfgang@gmail.com> wrote:
> 
> Am 18.06.2013 um 23:41 schrieb Hans Hagen <pragma@wxs.nl>:
> 
> > On 6/18/2013 1:38 PM, hwitloc@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: item bullet processing / font problem
  2013-06-18 21:41     ` Hans Hagen
  2013-06-18 21:53       ` Wolfgang Schuster
@ 2013-06-18 23:23       ` hwitloc
  2013-06-19  7:58         ` Hans Hagen
  1 sibling, 1 reply; 11+ messages in thread
From: hwitloc @ 2013-06-18 23:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users



Hans Hagen <pragma@wxs.nl> wrote:

> On 6/18/2013 1:38 PM, hwitloc@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: item bullet processing / font problem
  2013-06-18 23:10         ` hwitloc
@ 2013-06-19  7:54           ` Wolfgang Schuster
  0 siblings, 0 replies; 11+ messages in thread
From: Wolfgang Schuster @ 2013-06-19  7:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 19.06.2013 um 01:10 schrieb hwitloc@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: item bullet processing / font problem
  2013-06-18 23:23       ` hwitloc
@ 2013-06-19  7:58         ` Hans Hagen
  2013-06-19 13:15           ` hwitloc
  0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2013-06-19  7:58 UTC (permalink / raw)
  To: ntg-context

On 6/19/2013 1:23 AM, hwitloc@gmail.com wrote:
>
>
> Hans Hagen <pragma@wxs.nl> wrote:
>
>> On 6/18/2013 1:38 PM, hwitloc@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: item bullet processing / font problem
  2013-06-19  7:58         ` Hans Hagen
@ 2013-06-19 13:15           ` hwitloc
  0 siblings, 0 replies; 11+ messages in thread
From: hwitloc @ 2013-06-19 13:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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 <pragma@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-06-19 13:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-18  2:14 item bullet processing / font problem hwitloc
2013-06-18  2:23 ` Aditya Mahajan
2013-06-18  7:34   ` Hans Hagen
2013-06-18 11:38   ` hwitloc
2013-06-18 21:41     ` Hans Hagen
2013-06-18 21:53       ` Wolfgang Schuster
2013-06-18 23:10         ` hwitloc
2013-06-19  7:54           ` Wolfgang Schuster
2013-06-18 23:23       ` hwitloc
2013-06-19  7:58         ` Hans Hagen
2013-06-19 13:15           ` hwitloc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).