* Cont 2005.08.31: problem with vietnamese utf8
@ 2005-09-25 19:50 VnPenguin
2005-09-25 21:31 ` Hans Hagen
2005-09-26 8:24 ` Taco Hoekwater
0 siblings, 2 replies; 12+ messages in thread
From: VnPenguin @ 2005-09-25 19:50 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Cont 2005.08.31: problem with vietnamese utf8 2005-09-25 19:50 Cont 2005.08.31: problem with vietnamese utf8 VnPenguin @ 2005-09-25 21:31 ` Hans Hagen 2005-09-25 21:39 ` Adam Lindsay ` (2 more replies) 2005-09-26 8:24 ` Taco Hoekwater 1 sibling, 3 replies; 12+ messages in thread From: Hans Hagen @ 2005-09-25 21:31 UTC (permalink / raw) 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 ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Cont 2005.08.31: problem with vietnamese utf8 2005-09-25 21:31 ` Hans Hagen @ 2005-09-25 21:39 ` Adam Lindsay 2005-09-26 18:57 ` VnPenguin 2005-09-26 19:29 ` VnPenguin 2 siblings, 0 replies; 12+ messages in thread From: Adam Lindsay @ 2005-09-25 21:39 UTC (permalink / raw) 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. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Cont 2005.08.31: problem with vietnamese utf8 2005-09-25 21:31 ` Hans Hagen 2005-09-25 21:39 ` Adam Lindsay @ 2005-09-26 18:57 ` VnPenguin 2005-09-26 19:29 ` VnPenguin 2 siblings, 0 replies; 12+ messages in thread From: VnPenguin @ 2005-09-26 18:57 UTC (permalink / raw) Cc: mailing list for ConTeXt users On 9/25/05, Hans Hagen <pragma@wxs.nl> 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 ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Cont 2005.08.31: problem with vietnamese utf8 2005-09-25 21:31 ` Hans Hagen 2005-09-25 21:39 ` Adam Lindsay 2005-09-26 18:57 ` VnPenguin @ 2005-09-26 19:29 ` VnPenguin 2 siblings, 0 replies; 12+ messages in thread From: VnPenguin @ 2005-09-26 19:29 UTC (permalink / raw) Cc: mailing list for ConTeXt users > >==> 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 ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Cont 2005.08.31: problem with vietnamese utf8 2005-09-25 19:50 Cont 2005.08.31: problem with vietnamese utf8 VnPenguin 2005-09-25 21:31 ` Hans Hagen @ 2005-09-26 8:24 ` Taco Hoekwater 2005-09-26 10:31 ` hyperlink references Albrecht Kauffmann 2005-09-26 18:58 ` Cont 2005.08.31: problem with vietnamese utf8 VnPenguin 1 sibling, 2 replies; 12+ messages in thread From: Taco Hoekwater @ 2005-09-26 8:24 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 12+ messages in thread
* hyperlink references 2005-09-26 8:24 ` Taco Hoekwater @ 2005-09-26 10:31 ` Albrecht Kauffmann 2005-09-26 18:58 ` Cont 2005.08.31: problem with vietnamese utf8 VnPenguin 1 sibling, 0 replies; 12+ messages in thread From: Albrecht Kauffmann @ 2005-09-26 10:31 UTC (permalink / raw) Hi all, is it possible to insert hyperlink references in ConTeXt, in analogy to the \href command in LaTeX? With many thanks in advance Albrecht ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Cont 2005.08.31: problem with vietnamese utf8 2005-09-26 8:24 ` Taco Hoekwater 2005-09-26 10:31 ` hyperlink references Albrecht Kauffmann @ 2005-09-26 18:58 ` VnPenguin 2005-09-26 19:07 ` Taco Hoekwater 1 sibling, 1 reply; 12+ messages in thread From: VnPenguin @ 2005-09-26 18:58 UTC (permalink / raw) Cc: mailing list for ConTeXt users On 9/26/05, Taco Hoekwater <taco@elvenkind.com> 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 ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Cont 2005.08.31: problem with vietnamese utf8 2005-09-26 18:58 ` Cont 2005.08.31: problem with vietnamese utf8 VnPenguin @ 2005-09-26 19:07 ` Taco Hoekwater 2005-09-26 19:25 ` VnPenguin 0 siblings, 1 reply; 12+ messages in thread From: Taco Hoekwater @ 2005-09-26 19:07 UTC (permalink / raw) Cc: mailing list for ConTeXt users 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 ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Cont 2005.08.31: problem with vietnamese utf8 2005-09-26 19:07 ` Taco Hoekwater @ 2005-09-26 19:25 ` VnPenguin 2005-09-26 20:06 ` Taco Hoekwater 0 siblings, 1 reply; 12+ messages in thread From: VnPenguin @ 2005-09-26 19:25 UTC (permalink / raw) Cc: mailing list for ConTeXt users On 9/26/05, Taco Hoekwater <taco@elvenkind.com> 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 ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Cont 2005.08.31: problem with vietnamese utf8 2005-09-26 19:25 ` VnPenguin @ 2005-09-26 20:06 ` Taco Hoekwater 2005-09-26 20:52 ` VnPenguin 0 siblings, 1 reply; 12+ messages in thread From: Taco Hoekwater @ 2005-09-26 20:06 UTC (permalink / raw) Cc: mailing list for ConTeXt users 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 ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Cont 2005.08.31: problem with vietnamese utf8 2005-09-26 20:06 ` Taco Hoekwater @ 2005-09-26 20:52 ` VnPenguin 0 siblings, 0 replies; 12+ messages in thread From: VnPenguin @ 2005-09-26 20:52 UTC (permalink / raw) Cc: mailing list for ConTeXt users On 9/26/05, Taco Hoekwater <taco@elvenkind.com> 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 ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2005-09-26 20:52 UTC | newest] Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-09-25 19:50 Cont 2005.08.31: problem with vietnamese utf8 VnPenguin 2005-09-25 21:31 ` Hans Hagen 2005-09-25 21:39 ` Adam Lindsay 2005-09-26 18:57 ` VnPenguin 2005-09-26 19:29 ` VnPenguin 2005-09-26 8:24 ` Taco Hoekwater 2005-09-26 10:31 ` hyperlink references Albrecht Kauffmann 2005-09-26 18:58 ` Cont 2005.08.31: problem with vietnamese utf8 VnPenguin 2005-09-26 19:07 ` Taco Hoekwater 2005-09-26 19:25 ` VnPenguin 2005-09-26 20:06 ` Taco Hoekwater 2005-09-26 20:52 ` VnPenguin
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).