Re: [NTG-context] about Noto Sans CJK font problem
There may be another problem which I don’t know. I have tested your source by installing NotoSansCJKkr-Regular.otf etc. It seems to work OK. Note that I'm using .otf fonts, not .ttf ones. I attach cjkkrtest.tar.gz in which there are k.tex and k.pdf. Best, Akira cjkkrtest.tar.gz Description: GNU Zip compressed data ___ 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] Metafun standalone and fonts
Hello! I have an mp file that I use with success in my document with mprun. But if I try to generate the figure alone with this command: mpost --mem=metafun myfigure.mp I obtain this error: ! Font cmr10 not usable: TFM file not found. thelabel-...ture(EXPR3):infont.defaultfont.scaled .defaultscale.fi;(p.shifte ... l.22 label.ulft($\vec{k}$, point infinity of p4) ; This is with my ConTeXt installation with only mkiv. The ConTeXt installation with both mkiv and mkii, the error is: Warning: cannot open font map file psfonts.map ] Missing character: There is no 226 in font cmr10! I tried to set: defaultfont:=latinmodernmath; Which is in the list of: mtxrun --script fonts --list --all --pattern= but it doesn't found the TFM file either. I know I can use the: \startMPpage \input myfigure.mp \stopMPpage But the point is I want to generate an svg file, not a pdf. (mpost -s 'outputformat=svg;prologues:=3' --mem=metafun myfigure.mp) Note that with mpost command, it use metafun.mpii, while with mprun, it use metafun.mpiv. Thanks ___ 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] Automatic reference prefixing in heads with prefix=+
Hi, Various documents mention a namespace feature for references by setting prefix=+. This is a really cool feature but I cannot get it to work. Why does the following example not work: \setupinteraction[state=start] \setuphead[chapter][prefix=+] \starttext \startchapter[reference=chap1,title={First Chapter}] \startsection[reference=sec1,title={First Section in First Chapter}] Reference \type{sec1} is \about[sec1].\par Reference \type{chap2:sec1} is \about[chap2:sec1].\par \stopsection \stopchapter \startchapter[reference=chap2,title={Second Chapter}] \startsection[reference=sec1,title={First Section in Second Chapter}] Reference \type{sec1} is \about[sec1].\par Reference \type{chap1:sec1} is \about[chap1:sec1].\par \stopsection \stopchapter \stoptext Any help is appreciated. Christoph Reller ___ 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] about Noto Sans CJK font problem
However the resulting PDF shows incorrect characters. Incorrect characters are in Hirakana and Katakana. The incorrect Japanese characters are also shown in the case of SourceHanSans-Regular.otf, the same feature in the case of NotoSansCJKjp-Regular.otf. On the other hand, if I use SourceHanSansJP-Regular.otf, all characters seem to be correct. All fonts are version 1.001. In the case of XeTeX with the latest xdvipdfmx in the TL repository, SourceHanSans-Regular.otf, SourceHanSansJP-Regular.otf, and NotoSansCJKjp-Regular.otf give the same correct results. Best, Akira ___ 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] about Noto Sans CJK font problem
On 9/27/2014 12:07 PM, Akira Kakuto wrote: However the resulting PDF shows incorrect characters. Incorrect characters are in Hirakana and Katakana. The incorrect Japanese characters are also shown in the case of SourceHanSans-Regular.otf, the same feature in the case of NotoSansCJKjp-Regular.otf. On the other hand, if I use SourceHanSansJP-Regular.otf, all characters seem to be correct. All fonts are version 1.001. \starttext \definefont[testa][file:notosanscjk-regular.otf at 14pt] \definefont[testb][file:sourcehansansjp-regular.otf at 14pt] \startTEXpage[offset=10pt] \testa 日本語のテスト。 \par \testb 日本語のテスト。 \stopTEXpage \stoptext gives the same output here (runs ok with your native ms bins, crashes with mingw experimental) In the case of XeTeX with the latest xdvipdfmx in the TL repository, SourceHanSans-Regular.otf, SourceHanSansJP-Regular.otf, and NotoSansCJKjp-Regular.otf give the same correct results. Best, Akira ___ 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 ___ -- - 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 - font.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Metafun standalone and fonts
On 9/27/2014 10:21 AM, Pol Stra wrote: Hello! I have an mp file that I use with success in my document with mprun. But if I try to generate the figure alone with this command: mpost --mem=metafun myfigure.mp that will never work with metafun in mkiv as we have extensions just run context myfigure.mp or do: \starttext \startMPpage mp code \stopMPpage \stoptext and run that. 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 ___
[NTG-context] about Noto Sans CJK font problem
Hi Hans, ... ... gives the same output here. You must be testing with the 1.000 fonts. Yes, version 1.000 fonts worked with the ConTeXt. Best, Akira ___ 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] about Noto Sans CJK font problem
On Sat, Sep 27, 2014 at 12:19 PM, Hans Hagen pra...@wxs.nl wrote: On 9/27/2014 12:07 PM, Akira Kakuto wrote: However the resulting PDF shows incorrect characters. Incorrect characters are in Hirakana and Katakana. The incorrect Japanese characters are also shown in the case of SourceHanSans-Regular.otf, the same feature in the case of NotoSansCJKjp-Regular.otf. On the other hand, if I use SourceHanSansJP-Regular.otf, all characters seem to be correct. All fonts are version 1.001. \starttext \definefont[testa][file:notosanscjk-regular.otf at 14pt] \definefont[testb][file:sourcehansansjp-regular.otf at 14pt] \startTEXpage[offset=10pt] \testa 日本語のテスト。 \par \testb 日本語のテスト。 \stopTEXpage \stoptext gives the same output here (runs ok with your native ms bins, crashes with mingw experimental) With $ context --version mtx-context | ConTeXt Process Management 0.61 mtx-context | mtx-context | main context file: /opt/luatex/standalone-mkiv-new-I/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2014.09.26 11:42 under linux 64bit luatex crashes with error message mtx-context | fatal error: no return code, message: luatex: execution interrupted luatex experimental is ok and gives that same result as u.pdf Under WINE (linux) mingw 64bit, luatex.exe Version beta-0.79.1 (TeX Live 2014/W32TeX) (rev 5041) is ok luatex.exe experimental is also also ok and both give the same result of u.pdf Hans reported that the most recent luatex.exe mingw64 experimental is also ok for him, so probably it was an old mingw64; we are seeing it just now. The font used is NotoSansCJKjp-Regular.otf, ver 1.001 -- luigi ___ 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] Metafun standalone and fonts
Le samedi 27 septembre 2014, 12:23:47 Hans Hagen a écrit : On 9/27/2014 10:21 AM, Pol Stra wrote: Hello! I have an mp file that I use with success in my document with mprun. But if I try to generate the figure alone with this command: mpost --mem=metafun myfigure.mp that will never work with metafun in mkiv as we have extensions just run context myfigure.mp or do: \starttext \startMPpage mp code \stopMPpage \stoptext and run that. 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 - Ah, nice about directly use the context command! Unfortunately, this only solve half of my problem: this outputs one pdf with all figures, while I try to output all figures in separated svg files. My workaround is to put only one figure per file and convert the pdf with pdf2svg. I hoped there where a more direct way to do it. Regards ___ 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] Metafun standalone and fonts
On 9/27/2014 2:28 PM, Pol Stra wrote: Unfortunately, this only solve half of my problem: this outputs one pdf with all figures, while I try to output all figures in separated svg files. that would not give you the benefits of the context run (fonts and so) ... just use mudraw to convert the bunch to individual svg images My workaround is to put only one figure per file and convert the pdf with pdf2svg. I hoped there where a more direct way to do it. Regards ___ 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 ___ -- - 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] about Noto Sans CJK font problem
On 9/27/2014 12:27 PM, Akira Kakuto wrote: Hi Hans, ... ... gives the same output here. You must be testing with the 1.000 fonts. Yes, version 1.000 fonts worked with the ConTeXt. new beta ... it took me quite some tracing and time to figure out that we can better ignore the Identity cidmap .. 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] Metafun error
Hi Otared, thank you for this! - I do not understand correctly what has happened here. Now after rebooting it works again….. ;-( Thanks! Willi On 26 sep. 2014, at 23:09, Otared Kavian ota...@gmail.com wrote: Hi Willi, I just updated to ConTeXt ver: 2014.09.26 11:42 MKIV beta fmt: 2014.9.26 int: english/english and tested again your example: everything works as expected here… So probably there is something strange happening on your side. Best regards: OK On 26 Sep 2014, at 16:22, Willi Egger cont...@boede.nl wrote: Hi Otared, As mentioned in my first post I tested on ConTeXt ver: 2014.08.29 20:57 ConTeXt ver: 2014.09.26 11:42. strange! Willi On 26 sep. 2014, at 15:23, Otared Kavian ota...@gmail.com wrote: Hi Willi, I tested your example file: it works fine here with ConTeXt ver: 2014.09.25 18:58 MKIV beta fmt: 2014.9.25 int: english/english Which version are using? Best regards: OK On 26 Sep 2014, at 15:17, Willi Egger cont...@boede.nl wrote: Hello! Today I wanted to use an older tex file…. I get the same error as in the following test. \startuniqueMPgraphic{test} path p; p := fullcircle scaled 5cm; draw p; label.bot(textext(Centre), center p); \stopuniqueMPgraphic \starttext \startTEXpage \useMPgraphic{test} \stopTEXpage \stoptext ___ 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] about Noto Sans CJK font problem
new beta ... it took me quite some tracing and time to figure out that we can better ignore the Identity cidmap .. Thank you very much. The PDF is correct now with 1.001 HanSans CJK fonts. Best regards, Akira ___ 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] about Noto Sans CJK font problem
On Sat, Sep 27, 2014 at 4:08 PM, Akira Kakuto kak...@fuk.kindai.ac.jp wrote: new beta ... it took me quite some tracing and time to figure out that we can better ignore the Identity cidmap .. Thank you very much. The PDF is correct now with 1.001 HanSans CJK fonts. At page 98 (of the pdf) http://www.pragma-ade.nl/general/manuals/about.pdf it's explained why currently luajittex is slower than luatex for big (=many glyphs) fonts (the 65636 limit of nested tables) Unfortunately this is case of NotoSansCJKjp-Regular.otf . -- luigi ___ 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] about Noto Sans CJK font problem
I have tested your source by installing NotoSansCJKkr-Regular.otf etc. It seems to work OK. Note that I'm using .otf fonts, not .ttf ones. I attach cjkkrtest.tar.gz in which there are k.tex and k.pdf. Your output is perfect. But I still get an error message which is as same as Luigi mentioned. Would you please send K.log file to compare with mine? luatex crashes with error message mtx-context | fatal error: no return code, message: latex: execution interrupted Under WINE (linux) mingw 64bit, luatex.exe Version beta-0.79.1 (TeX Live 2014/W32TeX) (rev 5041) is ok luatex.exe experimental is also also ok and both give the same result of u.pdf My version of latex is This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) But it is not ok for me. Anyway, there is some problem in my TeX system rather than in the font. I’ll check it. I am using ConTeXt standalone in Mac Maveric. 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] about Noto Sans CJK font problem
On Sat, Sep 27, 2014 at 6:51 PM, Jeong Dal hak...@me.com wrote: I have tested your source by installing NotoSansCJKkr-Regular.otf etc. It seems to work OK. Note that I'm using .otf fonts, not .ttf ones. I attach cjkkrtest.tar.gz in which there are k.tex and k.pdf. Your output is perfect. But I still get an error message which is as same as Luigi mentioned. Would you please send K.log file to compare with mine? luatex crashes with error message mtx-context | fatal error: no return code, message: latex: execution interrupted Under WINE (linux) mingw 64bit, luatex.exe Version beta-0.79.1 (TeX Live 2014/W32TeX) (rev 5041) is ok luatex.exe experimental is also also ok and both give the same result of u.pdf My version of latex is This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) I guess that this version is not ok, only the experimental version seems to work luatex --version This is LuaTeX, Version beta-0.79.1 (TeX Live 2015/dev) Unfortunately I cannot (still) compile an experimental version for Mac, only for linux windows But soon experimental will become trunk. -- luigi ___ 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] about Noto Sans CJK font problem
But I still get an error message which is as same as Luigi mentioned. Here the TeX Live 2014 version: 0.79.1 (rev 4971) does not work with the NotoSansCJKkr-Regular.otf. I'm using the current trunk version: 0.79.1 (rev 5041). Experimental version (rev 5057) will be better. Best, Akira ___ 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 ___