Re: [NTG-context] hbar (and probably some other symbols) doesn't work in latest beta
Well actually the last remark makes sense: I should have done \let\hbar\hslash On 8 January 2013 19:37, Michael Murphy wrote: > Hi all, > > thanks for your responses. > > @Hans: yes, hbar is extremely common in quantum physics, in fact I'd go as > far to say as ubiquitous. It might be considered strange that the glyph > doesn't exist, but it's actually defined in TeX as a ligature: > > \def\hbar{{\mathchar'26\mkern-9muh} > > I tried defining this but it doesn't work: I still get nothing. > > As it happens, \hslash seems to work fine, and in my opinion is a suitable > substitute so I will just > > \def\hbar\hslash > > (although actually that didn't work, I had to do \def\hbar{\hslash} for > some reason or I got an error in some tikz code I wrote). > > Michael > > -- > Michael Murphy > murphy...@gmail.com > > > On Saturday, 5 January 2013 at 04:49, Khaled Hosny wrote: > > > On Sat, Jan 05, 2013 at 02:10:50AM +0100, Hans Hagen wrote: > > > > > > It looks like hbar (LATIN SMALL LETTER H WITH STROKE 0x127) is not > > > in the math fonts. > > > > > > > > \hbar should be a glyph variant of \hslash (U+0210F), according to STIX > > people, if the font provides such a variant. > > > > Regards, > > Khaled > > > ___ > > 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 > > > ___ > > > ___ 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] hbar (and probably some other symbols) doesn't work in latest beta
Hi all, thanks for your responses. @Hans: yes, hbar is extremely common in quantum physics, in fact I'd go as far to say as ubiquitous. It might be considered strange that the glyph doesn't exist, but it's actually defined in TeX as a ligature: \def\hbar{{\mathchar'26\mkern-9muh} I tried defining this but it doesn't work: I still get nothing. As it happens, \hslash seems to work fine, and in my opinion is a suitable substitute so I will just \def\hbar\hslash (although actually that didn't work, I had to do \def\hbar{\hslash} for some reason or I got an error in some tikz code I wrote). Michael -- Michael Murphy murphy...@gmail.com On Saturday, 5 January 2013 at 04:49, Khaled Hosny wrote: > On Sat, Jan 05, 2013 at 02:10:50AM +0100, Hans Hagen wrote: > > > > It looks like hbar (LATIN SMALL LETTER H WITH STROKE 0x127) is not > > in the math fonts. > > > > \hbar should be a glyph variant of \hslash (U+0210F), according to STIX > people, if the font provides such a variant. > > Regards, > Khaled > ___ > 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 > ___ ___ 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] hbar (and probably some other symbols) doesn't work in latest beta
On Sat, Jan 05, 2013 at 02:10:50AM +0100, Hans Hagen wrote: > > It looks like hbar (LATIN SMALL LETTER H WITH STROKE 0x127) is not > in the math fonts. \hbar should be a glyph variant of \hslash (U+0210F), according to STIX people, if the font provides such a variant. Regards, Khaled ___ 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] hbar (and probably some other symbols) doesn't work in latest beta
On 1/4/2013 7:51 AM, Otared Kavian wrote: Dear Michael and Dalyoung, In order to test again and reproduce the problem you encounter I removed my texmf-cache and typeset the example: here is what I observe. --- with \enablemode[lmmath] the \hbar appears and is a math italic « h » with a bar in the top third of the vertical part of the letter --- without \enablemode[lmmath] the \hbar appears and is a roman « h » with a bar in the top third of the vertical part of the letter Your error message seems to indicate some character in texgyretermesmath-regular is not found and points to the file mkiv-base.map is this file present on your context tree? On my installation the file exists but there is no mention of texgyretermesmath-regular… So I am clueless about the issue because all three of us we have updated to LuaTeX, Version beta-0.74.0-2012122517 (rev 4541), ConTeXt ver: 2013.01.02 18:19 MKIV on Mac OS X Mountain Lion. Best regards: OK On 3 janv. 2013, at 15:26, Jeong Dal wrote: Dear Michael and Otared, After updating ConTeXt to the latest version(2013.01.02.) and run the sample code. \starttext $\hbar$ \stoptext But I also got empty page. If I add either \setupbodyfont[xits] or \enablemode[lmmath], \hbar appeared. I also use Mac OSX mountain lion 64bit, luatex beta 0.74. In the log file, I found the message "Missing character:…" % … fonts > typescripts > unknown: library 'loc' (/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/type-imp-texgyre.mkiv){/Users/graph/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} … … Missing character: There is no ħ (U+0127) in font texgyretermesmath-regular! backend > xmp > using file '/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml' … % I think that Otared doesn't have this kind of message. Do you have any idea to fix this? It looks like hbar (LATIN SMALL LETTER H WITH STROKE 0x127) is not in the math fonts. I don't know the reason. Is it a often used math / physics symbol? If so, it probably should end up in the math fonts. (I could load a merged copy of the math font with a regular one but rather not.) 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] hbar (and probably some other symbols) doesn't work in latest beta
Dear Michael and Dalyoung, In order to test again and reproduce the problem you encounter I removed my texmf-cache and typeset the example: here is what I observe. --- with \enablemode[lmmath] the \hbar appears and is a math italic « h » with a bar in the top third of the vertical part of the letter --- without \enablemode[lmmath] the \hbar appears and is a roman « h » with a bar in the top third of the vertical part of the letter Your error message seems to indicate some character in texgyretermesmath-regular is not found and points to the file mkiv-base.map is this file present on your context tree? On my installation the file exists but there is no mention of texgyretermesmath-regular… So I am clueless about the issue because all three of us we have updated to LuaTeX, Version beta-0.74.0-2012122517 (rev 4541), ConTeXt ver: 2013.01.02 18:19 MKIV on Mac OS X Mountain Lion. Best regards: OK On 3 janv. 2013, at 15:26, Jeong Dal wrote: > Dear Michael and Otared, > > After updating ConTeXt to the latest version(2013.01.02.) and run the sample > code. > >> >> \starttext >> $\hbar$ >> \stoptext > > But I also got empty page. > > If I add either \setupbodyfont[xits] or \enablemode[lmmath], \hbar appeared. > > I also use Mac OSX mountain lion 64bit, luatex beta 0.74. > > In the log file, I found the message "Missing character:…" > > % > … > fonts > typescripts > unknown: library 'loc' > (/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/type-imp-texgyre.mkiv){/Users/graph/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} > … > … > Missing character: There is no ħ (U+0127) in font texgyretermesmath-regular! > backend > xmp > using file > '/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml' > … > % > > I think that Otared doesn't have this kind of message. > > Do you have any idea to fix this? > > Thank you. > > Best regards, > > Dalyoung > ___ > 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 > ___ ___ 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] hbar (and probably some other symbols) doesn't work in latest beta
Dear Michael and Otared, After updating ConTeXt to the latest version(2013.01.02.) and run the sample code. > > \starttext > $\hbar$ > \stoptext But I also got empty page. If I add either \setupbodyfont[xits] or \enablemode[lmmath], \hbar appeared. I also use Mac OSX mountain lion 64bit, luatex beta 0.74. In the log file, I found the message "Missing character:…" % … fonts > typescripts > unknown: library 'loc' (/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/type-imp-texgyre.mkiv){/Users/graph/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} … … Missing character: There is no ħ (U+0127) in font texgyretermesmath-regular! backend > xmp > using file '/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml' … % I think that Otared doesn't have this kind of message. Do you have any idea to fix this? Thank you. Best regards, Dalyoung ___ 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] hbar (and probably some other symbols) doesn't work in latest beta
Hi Michael, I am also using Mac OS X Mountain Lion 64 bit and LuaTeX version beta-0.74.0-2012122517 (rev 4541) with ConTeXt ver: 2013.01.02 18:19 MKIV. It seems that your installation has a font problem, but I can't tell what is the origin. Could you please try your file with some other fonts such as on of the followings: %\setupbodyfont[xits,12pt] %\setupbodyfont[palatino] %\setupbodyfont[libertine,12pt] %\setupbodyfont[termes] %\setupbodyfont[times,12pt] Another issue maybe the fact that Latin Modern Math has been changed recently under mkiv, and one way to use the old Latin Modern Math is to say: \enablemode[lmmath] Best regards: OK On 2 janv. 2013, at 23:41, Michael Murphy wrote: > Hi Otared, > > Thanks, but no such luck here. I'm also using ConTeXt ver: 2013.01.02 18:19 > MKIV fmt: 2013.1.2 (the same version as you, fresh from first-setup.sh) and > LuaTeX version beta-0.74.0-2012122517 (tex live 2013/dev)(rev 4541). > Platform is OSX Mountain Lion 64 bit (Darwin). > > Could this be the issue (from output)? > > fonts > latin modern fonts are not preloaded > languages > language en is active > (hbar-test.tex{/Users/mmurphy/context/beta/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} > fonts > preloading latin modern fonts (second stage) > fonts > typescripts > unknown: library 'loc' > {/Users/mmurphy/context/beta/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/Users/mmurphy/context/beta/tex/texmf/fonts/map/dvips/lm/lm-rm.map} > fonts > fallback modern rm 12pt is loaded > > Michael > > -- > > Michael Murphy > murphy...@gmail.com > > > > On 2 Jan 2013, at 21:13, Otared Kavian wrote: > >> Hi Michael, >> >> Your code typesets without any problem on my machine with the latest beta >> ConTeXt ver: 2013.01.02 18:19 MKIV fmt: 2013.1.2. >> >> Which version on which platform are you using? >> >> Happy New Year to you and all the List! >> Best regards: OK >> >> On 2 janv. 2013, at 11:44, Michael Murphy wrote: >> >>> Minimal example: >>> >>> \starttext >>> $\hbar$ >>> \stoptext >>> >>> Michael >>> >>> -- >>> Michael Murphy >>> murphy...@gmail.com >>> >>> ___ >>> 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 >>> ___ >> >> ___ >> 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 >> ___ > > ___ > 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 > ___ ___ 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] hbar (and probably some other symbols) doesn't work in latest beta
Hi Otared, Thanks, but no such luck here. I'm also using ConTeXt ver: 2013.01.02 18:19 MKIV fmt: 2013.1.2 (the same version as you, fresh from first-setup.sh) and LuaTeX version beta-0.74.0-2012122517 (tex live 2013/dev)(rev 4541). Platform is OSX Mountain Lion 64 bit (Darwin). Could this be the issue (from output)? fonts > latin modern fonts are not preloaded languages > language en is active (hbar-test.tex{/Users/mmurphy/context/beta/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fonts > preloading latin modern fonts (second stage) fonts > typescripts > unknown: library 'loc' {/Users/mmurphy/context/beta/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/Users/mmurphy/context/beta/tex/texmf/fonts/map/dvips/lm/lm-rm.map} fonts > fallback modern rm 12pt is loaded Michael -- Michael Murphy murphy...@gmail.com On 2 Jan 2013, at 21:13, Otared Kavian wrote: > Hi Michael, > > Your code typesets without any problem on my machine with the latest beta > ConTeXt ver: 2013.01.02 18:19 MKIV fmt: 2013.1.2. > > Which version on which platform are you using? > > Happy New Year to you and all the List! > Best regards: OK > > On 2 janv. 2013, at 11:44, Michael Murphy wrote: > >> Minimal example: >> >> \starttext >> $\hbar$ >> \stoptext >> >> Michael >> >> -- >> Michael Murphy >> murphy...@gmail.com >> >> ___ >> 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 >> ___ > > ___ > 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 > ___ ___ 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] hbar (and probably some other symbols) doesn't work in latest beta
Hi Michael, Your code typesets without any problem on my machine with the latest beta ConTeXt ver: 2013.01.02 18:19 MKIV fmt: 2013.1.2. Which version on which platform are you using? Happy New Year to you and all the List! Best regards: OK On 2 janv. 2013, at 11:44, Michael Murphy wrote: > Minimal example: > > \starttext > $\hbar$ > \stoptext > > Michael > > -- > Michael Murphy > murphy...@gmail.com > > ___ > 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 > ___ ___ 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 ___