Re: [NTG-context] Cont 2005.08.31: problem with vietnamese utf8
On 9/26/05, Taco Hoekwater <[EMAIL PROTECTED]> wrote: > VnPenguin wrote: > >>You have to re-generate the formats, otherwise nothing will > >>change. AFAIK, something definately should change in the > >>output (not certain that it will be right, but ...) > >> > > > > Yes, after modifying the file, I ran "fmtutil --refresh", that's not enough > > ? > > Truthfully, I am not sure. > > Since teTeX 3.0 and its non-existent engine support, I always run > >texexec --make --all > > and ignore fmtutil completely. There is just no way for me to keep > my executables apart without engine support. And then there is the > separation between fmtutil-sys and fmtutil for users, so that, even > when you are root, 'fmtutil' is still not a 'system command'. > > So: perhaps you now have a format with your changed file, and > perhaps not, I really do not know. If you feel up to it, perhaps > you can send me the utf-8 document in an e-mail message (zipped > or tarred, to prevent e-mail clients' messing with it). > > Good luck, Taco > Hi Taco, You're really a guru ! It's OK now after doing your suggestion and run "texexec --make --all" (for both user & root, i'm not sure, so I run both :-)) Thank you so much, Regards, Quy -- http://vnoss.org Vietnamese Open Source Software Community ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Cont 2005.08.31: problem with vietnamese utf8
VnPenguin wrote: You have to re-generate the formats, otherwise nothing will change. AFAIK, something definately should change in the output (not certain that it will be right, but ...) Yes, after modifying the file, I ran "fmtutil --refresh", that's not enough ? Truthfully, I am not sure. Since teTeX 3.0 and its non-existent engine support, I always run texexec --make --all and ignore fmtutil completely. There is just no way for me to keep my executables apart without engine support. And then there is the separation between fmtutil-sys and fmtutil for users, so that, even when you are root, 'fmtutil' is still not a 'system command'. So: perhaps you now have a format with your changed file, and perhaps not, I really do not know. If you feel up to it, perhaps you can send me the utf-8 document in an e-mail message (zipped or tarred, to prevent e-mail clients' messing with it). Good luck, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Cont 2005.08.31: problem with vietnamese utf8
> >==> I can not found this map file in teTeX's and ConTeXt's installation :( > > > > > did you use texfont to generate the metrics > > texfont --encoding=t5 --batch type-tmf > > in that case there should be a t5-urw-palatino.map file > > otherwise, the t5-base should do the job and you can ignore the message > > can you check t5-base.map? > Hi Hans, Just test again with ConTeXt 2005.01.31, it's OK. I added also upper case accented character in my test code. All files are uploaded at: http://people.vnoss.org/~vnpenguin/pub/context/test-20050131/ I'll try build again teTeX & ConTeXt under Linux and tell you about new test. Thanks -- http://vnoss.org Vietnamese Open Source Software Community ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Cont 2005.08.31: problem with vietnamese utf8
On 9/26/05, Taco Hoekwater <[EMAIL PROTECTED]> wrote: > VnPenguin wrote: > >>This looks like a problem with with unic-030.tex file: I'd guess > >>that the > >> > >>\ifcase\numexpr#1-158\relax > >> > >>at the top should have been > >> > >>\ifcase\numexpr#1-160\relax > >> > >>(The warning about the map file is irrelevant) > >> > > Just tried this. The same wrong PDF as previous test. > > You have to re-generate the formats, otherwise nothing will > change. AFAIK, something definately should change in the > output (not certain that it will be right, but ...) > Yes, after modifying the file, I ran "fmtutil --refresh", that's not enough ? -- http://vnoss.org Vietnamese Open Source Software Community ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Cont 2005.08.31: problem with vietnamese utf8
On 9/26/05, Taco Hoekwater <[EMAIL PROTECTED]> wrote: > > > VnPenguin wrote: > > > > I do a small test with Vietnamese UTF-8 input and the PDF is very > > strange: accented characters were modified all, see the shot > > http://people.vnoss.org/~vnpenguin/pub/context/test/test-vn.png > > This looks like a problem with with unic-030.tex file: I'd guess > that the > > \ifcase\numexpr#1-158\relax > > at the top should have been > > \ifcase\numexpr#1-160\relax > > (The warning about the map file is irrelevant) > Just tried this. The same wrong PDF as previous test. Thanks, -- http://vnoss.org Vietnamese Open Source Software Community ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Cont 2005.08.31: problem with vietnamese utf8
VnPenguin wrote: This looks like a problem with with unic-030.tex file: I'd guess that the \ifcase\numexpr#1-158\relax at the top should have been \ifcase\numexpr#1-160\relax (The warning about the map file is irrelevant) Just tried this. The same wrong PDF as previous test. You have to re-generate the formats, otherwise nothing will change. AFAIK, something definately should change in the output (not certain that it will be right, but ...) Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Cont 2005.08.31: problem with vietnamese utf8
On 9/25/05, Hans Hagen <[EMAIL PROTECTED]> wrote: > VnPenguin wrote: ... > >Warning: pdfetex (file t5-urw-palatino.map): cannot open font map file > > > >==> I can not found this map file in teTeX's and ConTeXt's installation :( > > > > > did you use texfont to generate the metrics > > texfont --encoding=t5 --batch type-tmf > > in that case there should be a t5-urw-palatino.map file Do you speak about metrics files of VnTeX ? or of ConTeXt ? > otherwise, the t5-base should do the job and you can ignore the message > > can you check t5-base.map? How to check it ? I'm NULL about TeX language :-) I have uploaded it to: http://people.vnoss.org/~vnpenguin/pub/context/test/t5-base.txt (extension .map was changed by me when uploading to web server). Thanks -- http://vnoss.org Vietnamese Open Source Software Community ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Cont 2005.08.31: problem with vietnamese utf8
VnPenguin wrote: I do a small test with Vietnamese UTF-8 input and the PDF is very strange: accented characters were modified all, see the shot http://people.vnoss.org/~vnpenguin/pub/context/test/test-vn.png This looks like a problem with with unic-030.tex file: I'd guess that the \ifcase\numexpr#1-158\relax at the top should have been \ifcase\numexpr#1-160\relax (The warning about the map file is irrelevant) Greetings, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Cont 2005.08.31: problem with vietnamese utf8
Hans Hagen said this at Sun, 25 Sep 2005 23:31:32 +0200: >VnPenguin wrote: > >>I do a small test with Vietnamese UTF-8 input and the PDF is very >>strange: accented characters were modified all, see the shot >>http://people.vnoss.org/~vnpenguin/pub/context/test/test-vn.png >> >>In the log file I see: >>... >>fonts : using map file: t5-public-lm >>[1.1{/usr/local/share/texmf-local/fonts/map/pdftex/context/original- >empty.map}{ >>/usr/local/share/texmf-local/fonts/map/pdftex/context/original-base.map} >{/usr/l >>ocal/share/texmf-local/fonts/map/pdftex/context/ec-public-lm.map}{/usr/ >local/sh >>are/texmf-local/fonts/map/pdftex/context/ec-base.map}{/usr/local/share/ >texmf-lo >>cal/fonts/map/pdftex/context/original-ams-base.map}{/usr/local/share/ >texmf-loca >>l/fonts/map/pdftex/context/original-public-lm.map}{/usr/local/share/ >texmf-local >>/fonts/map/pdftex/context/t5-base.map} >>Warning: pdfetex (file t5-urw-palatino.map): cannot open font map file >> >>==> I can not found this map file in teTeX's and ConTeXt's installation :( >> >> >did you use texfont to generate the metrics > > texfont --encoding=t5 --batch type-tmf > >in that case there should be a t5-urw-palatino.map file > >otherwise, the t5-base should do the job and you can ignore the message > >can you check t5-base.map? or, can you check to see if type-dis gets loaded, and that you have: \usetypescript [berry] [t5] ? -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Cont 2005.08.31: problem with vietnamese utf8
VnPenguin wrote: I do a small test with Vietnamese UTF-8 input and the PDF is very strange: accented characters were modified all, see the shot http://people.vnoss.org/~vnpenguin/pub/context/test/test-vn.png In the log file I see: ... fonts : using map file: t5-public-lm [1.1{/usr/local/share/texmf-local/fonts/map/pdftex/context/original-empty.map}{ /usr/local/share/texmf-local/fonts/map/pdftex/context/original-base.map}{/usr/l ocal/share/texmf-local/fonts/map/pdftex/context/ec-public-lm.map}{/usr/local/sh are/texmf-local/fonts/map/pdftex/context/ec-base.map}{/usr/local/share/texmf-lo cal/fonts/map/pdftex/context/original-ams-base.map}{/usr/local/share/texmf-loca l/fonts/map/pdftex/context/original-public-lm.map}{/usr/local/share/texmf-local /fonts/map/pdftex/context/t5-base.map} Warning: pdfetex (file t5-urw-palatino.map): cannot open font map file ==> I can not found this map file in teTeX's and ConTeXt's installation :( did you use texfont to generate the metrics texfont --encoding=t5 --batch type-tmf in that case there should be a t5-urw-palatino.map file otherwise, the t5-base should do the job and you can ignore the message can you check t5-base.map? Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Cont 2005.08.31: problem with vietnamese utf8
Hi all, Just build teTeX 3.0, updated pdftex, ConTeXt and VnTeX on my FreeBSD 6.0-BETA5 box. I follow step by step the description at page http://wiki.contextgarden.net/TeTeX_3.0_installation Now I have: > texexec --version TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeX, 3.141592-1.30.3-2.2 (Web2C 7.5.5) context : ver: 2005.08.31 cont-en : ver: 2005.08.31 fmt: 2005.9.25 mes: english total run time : 1 seconds -- I do a small test with Vietnamese UTF-8 input and the PDF is very strange: accented characters were modified all, see the shot http://people.vnoss.org/~vnpenguin/pub/context/test/test-vn.png In the log file I see: ... fonts : using map file: t5-public-lm [1.1{/usr/local/share/texmf-local/fonts/map/pdftex/context/original-empty.map}{ /usr/local/share/texmf-local/fonts/map/pdftex/context/original-base.map}{/usr/l ocal/share/texmf-local/fonts/map/pdftex/context/ec-public-lm.map}{/usr/local/sh are/texmf-local/fonts/map/pdftex/context/ec-base.map}{/usr/local/share/texmf-lo cal/fonts/map/pdftex/context/original-ams-base.map}{/usr/local/share/texmf-loca l/fonts/map/pdftex/context/original-public-lm.map}{/usr/local/share/texmf-local /fonts/map/pdftex/context/t5-base.map} Warning: pdfetex (file t5-urw-palatino.map): cannot open font map file ==> I can not found this map file in teTeX's and ConTeXt's installation :( The ConTeXt code & output files of the test: http://people.vnoss.org/~vnpenguin/pub/context/test/ The latest release of VnTeX is 3.01: http://vntex.org . I dont know if it has some things related to ConTeXt's PDF. Anyone could help me please, Thank you so much, Quy NGUYEN DAI -- http://vnoss.org Vietnamese Open Source Software Community ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context