![](https://secure.gravatar.com/avatar/38944d5653a9e373103aaa7ff8562d8a.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/a5d42c1ccacf33c72fd502fe1bb5ffa9.jpg?s=120&d=mm&r=g)
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 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
![](https://secure.gravatar.com/avatar/38944d5653a9e373103aaa7ff8562d8a.jpg?s=120&d=mm&r=g)
On 9/25/05, Hans Hagen
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
![](https://secure.gravatar.com/avatar/38944d5653a9e373103aaa7ff8562d8a.jpg?s=120&d=mm&r=g)
==> 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
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/4b9d778932a4446ac76a0924a536c05b.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/38944d5653a9e373103aaa7ff8562d8a.jpg?s=120&d=mm&r=g)
On 9/26/05, Taco Hoekwater
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
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/38944d5653a9e373103aaa7ff8562d8a.jpg?s=120&d=mm&r=g)
On 9/26/05, Taco Hoekwater
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
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/38944d5653a9e373103aaa7ff8562d8a.jpg?s=120&d=mm&r=g)
On 9/26/05, Taco Hoekwater
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
participants (5)
-
Adam Lindsay
-
Albrecht Kauffmann
-
Hans Hagen
-
Taco Hoekwater
-
VnPenguin