[NTG-context] Fwd: bug in switch.rb
Hi Hans, /usr/local/texlive/2013/texmf-dist/scripts/context/ruby/base/switch.rb:501: You added two lines in the latest swith.rb: #encoding: ASCII-8BIT # module: base/switch ... ... There may be no errors if the new switch.rb is used. 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] ntg-context Digest, Vol 113, Issue 2
On 11/1/2013 4:01 PM, Jeong Dal wrote: Dear Hans, After updating to the current version (mtx-context | current version: 2013.11.01 12:20), I run ConTeXt again. But I still don't have the color output. make sure you have input in triplets (no precomposed characters) What do you mean input in triplets (no precomposed characters)? indeed We type the first consonant, second vowel, and third consonant in order, then computer show one character for these input. right, and the font has the logic to to show it as composed (so, the editor must not replace the three by one) - make sure you have the right fonts - check if there is an hanbatanglvt.lfg file (loaded) Yes, there is an hanbatanglvt.lfg file. ConTeXt/tex/texmf-context/tex/context/fonts/hanbatanglvt.lfg But the installed font's name is HANBatang-LVT.ttf. So I changed the font name in your file from hanbatanglvt to HANBatang-LVT, also I copied the above lfg file as HANBatang-LVT.lfg in the same folder. context normalizes font names ... so you can leave the name as it is (works here) get other users results when they test this? Is it OK to use another Korean font? best discuss that with Chof cum suis as fonts need to have the right logic 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] ntg-context Digest, Vol 113, Issue 2
On 11/1/2013 4:16 PM, Wolfgang Schuster wrote: Am 01.11.2013 um 16:01 schrieb Jeong Dal hak...@mac.com: Yes, there is an hanbatanglvt.lfg file. ConTeXt/tex/texmf-context/tex/context/fonts/hanbatanglvt.lfg But the installed font's name is HANBatang-LVT.ttf. So I changed the font name in your file from hanbatanglvt to HANBatang-LVT, also I copied the above lfg file as HANBatang-LVT.lfg in the same folder. This change isn’t necessary, context refers from the normalized font name (lowercase and without hyphens etc.) to the real font with a table entry in the font database. Is it OK to use another Korean font? This shouldn’t be a problem, Hans needed for his example only a font which is available for all system. as long as the font has the right features ... ljmo=yes tjmo=yes vjmo=yes these are official features but not supported by all renderers (or can't be set), the ms programs handle calt by default for the korean script, so that's why calt=yes also is provided Attached is also Hans original example, this should allow you to test the feature. 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 ___ -- - 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] korean
Dear Wolfgang and Hans, context normalizes font names ... so you can leave the name as it is (works here) I checked the font name in the terminal and the result as following: MacBook:ConTeXt graph$ luatools hanbatanglvt.ttf MacBook:ConTeXt graph$ luatools hanbatanglvt.otf MacBook:ConTeXt graph$ luatools HANBatang-LVT.otf MacBook:ConTeXt graph$ luatools HANBatang-LVT.ttf /Users/graph/Library/Fonts/HANBatang-LVT.ttf Thus font call hanbatanglvt doesn't work in my macbook. So, I thought my system is different from Hans' which may affect to this font coloring. I am using Macbook with OSX 10.8 and here are the versions of ConTeXt and LuaTeX: mtx-context | current version: 2013.11.01 12:20 This is LuaTeX, Version beta-0.76.0-2013040508 (TeX Live 2013/dev)(rev 4627) get other users results when they test this? I will upload this sample file in KTUG and ask to check. As soon as I know the result of other user, I'll let you know. Is it OK to use another Korean font? I tested other Korean font and got the correct output except the coloring. best discuss that with Chof cum suis as fonts need to have the right logic 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] korean
Am 02.11.2013 um 10:16 schrieb Jeong Dal hak...@mac.com: Dear Wolfgang and Hans, context normalizes font names ... so you can leave the name as it is (works here) I checked the font name in the terminal and the result as following: MacBook:ConTeXt graph$ luatools hanbatanglvt.ttf MacBook:ConTeXt graph$ luatools hanbatanglvt.otf MacBook:ConTeXt graph$ luatools HANBatang-LVT.otf MacBook:ConTeXt graph$ luatools HANBatang-LVT.ttf /Users/graph/Library/Fonts/HANBatang-LVT.ttf Thus font call hanbatanglvt doesn't work in my macbook. So, I thought my system is different from Hans' which may affect to this font coloring. When you use luatools to search for a file context doesn’t use the font database to resolve normalized font names, the lookup happens only when you request a font with \definefont or \definefontsynonym. I am using Macbook with OSX 10.8 and here are the versions of ConTeXt and LuaTeX: mtx-context | current version: 2013.11.01 12:20 This is LuaTeX, Version beta-0.76.0-2013040508 (TeX Live 2013/dev)(rev 4627) I use a Mac as well and I have no problem with Hans example and the fonts from the link. There is a possibility that you have a older version of the fonts which is used by context instead of the files from the link, you can check which ones are used by context when you search for them in the database. Try this on the command line: mtxrun --script font --list --file hanbatang* On my system I get this output: hcrbatanglvt normal normal normal normal hcrbatanglvt /Users/wolf/Library/Fonts/HANBatang-LVT.ttfconflict: book hcrbatanglvt bold normal normal normal hcrbatanglvtbold /Users/wolf/Library/Fonts/HANBatangB-LVT.ttf 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 ___
[NTG-context] reference error
Hallo, I must do someting wrong --- \starttext \startchapter [ title={Vorwort}, reference=chap:vorwort ] Siehe \in{Kapitel}[chap:neu] \at{Seite}[chap:neu]. \stopchapter \startchapter [ title={Neu}, reference=chap:neu ] Bla. \stopchapter \stoptext --- I get an error: unknown reference '[][chap:neu]' 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] korean
Dear Wolfgang, Thank you for your suggestion. Try this on the command line: mtxrun --script font --list --file hanbatang* I tried it and got the following output in which lvt is missing from the font name. hcrbatang normal normal normal normal hcrbatang /Users/graph/Library/Fonts/HANBatang.ttfconflict: book hcrbatang bold normal normal normal hcrbatangbold /Users/graph/Library/Fonts/HANBatangB.ttf On my system I get this output: hcrbatanglvt normal normal normal normal hcrbatanglvt /Users/wolf/Library/Fonts/HANBatang-LVT.ttfconflict: book hcrbatanglvt bold normal normal normal hcrbatanglvtbold /Users/wolf/Library/Fonts/HANBatangB-LVT.ttf Is there any fix for this? How to update the database? Thank you again. 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] reference error
If you remove the space, i.e. \starttext \startchapter [ title={Vorwort}, reference=chap:vorwort] Siehe \in{Kapitel}[chap:neu] \at{Seite}[chap:neu]. \stopchapter \startchapter [ title={Neu}, reference=chap:neu] Bla. \stopchapter \stoptext it works here. /Mikael On Sat, Nov 2, 2013 at 1:49 PM, Wolfgang Werners-Lucchini w...@musensturm.de wrote: Hallo, I must do someting wrong --- \starttext \startchapter [ title={Vorwort}, reference=chap:vorwort ] Siehe \in{Kapitel}[chap:neu] \at{Seite}[chap:neu]. \stopchapter \startchapter [ title={Neu}, reference=chap:neu ] Bla. \stopchapter \stoptext --- I get an error: unknown reference '[][chap:neu]' 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 ___ ___ 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] korean
Am 02.11.2013 um 13:44 schrieb Jeong Dal hak...@mac.com: Is there any fix for this? How to update the database? You can do a manual update of the database with mtxrun —script fonts —reload 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 ___