How can I use postscript Times Roman font for entire document?
Hello, I want to use postscript Times Roman font for body text. How to do this in ConTeXt? Thanks for your help. Anand
Have a look at: http://wiki.contextgarden.net/Psnfss R S Ananda Murthy wrote:
Hello,
I want to use postscript Times Roman font for body text. How to do this in ConTeXt?
Thanks for your help.
Anand _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
R S Ananda Murthy wrote:
Hello,
I want to use postscript Times Roman font for body text. How to do this in ConTeXt?
normally, \usetypescript[postscript][\defaultencoding] \setupbodyfont[postscript,10pt] should work; it depends a bit on your system if you need to initialize more Hans
Hans, I can report it doesn't work here. And I am pretty up-to-date with GWTeX, although this makes me want to try updating today. This: % output=pdf \usetypescript[postscript][\defaultencoding] \setupbodyfont[postscript,10pt] \starttext \input tufte \stoptext Gave me this: (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)) kpathsea: Running mktextfm utmr8t mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input utmr8t This is METAFONT, Version 2.71828 (Web2C 7.5.5) kpathsea: Running mktexmf utmr8t ! I can't find file `utmr8t'. <*> ...:=ljfour; mag:=1; nonstopmode; input utmr8t Please type another input file name ! Emergency stop. <*> ...:=ljfour; mag:=1; nonstopmode; input utmr8t On Dec 21, 2005, at 5:38 AM, Hans Hagen wrote:
\usetypescript[postscript][\defaultencoding] \setupbodyfont[postscript,10pt]
On 21 Dec 2005, at 20:19, David Arnold wrote:
Hans,
I can report it doesn't work here. And I am pretty up-to-date with GWTeX, although this makes me want to try updating today. This:
% output=pdf
\usetypescript[postscript][\defaultencoding] \setupbodyfont[postscript,10pt]
\starttext
\input tufte
\stoptext
Gave me this:
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)) kpathsea: Running mktextfm utmr8t mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input utmr8t This is METAFONT, Version 2.71828 (Web2C 7.5.5)
kpathsea: Running mktexmf utmr8t ! I can't find file `utmr8t'. <*> ...:=ljfour; mag:=1; nonstopmode; input utmr8t
Please type another input file name ! Emergency stop. <*> ...:=ljfour; mag:=1; nonstopmode; input utmr8t
Map file trouble? Maybe you also need to load a map file in ConTeXt? G
Gerben Wierda wrote:
Please type another input file name ! Emergency stop. <*> ...:=ljfour; mag:=1; nonstopmode; input utmr8t
Map file trouble? Maybe you also need to load a map file in ConTeXt?
See my "urw metrics" message. This is the same problem. Taco
On 21 Dec 2005, at 21:33, Taco Hoekwater wrote:
Gerben Wierda wrote:
Please type another input file name ! Emergency stop. <*> ...:=ljfour; mag:=1; nonstopmode; input utmr8t Map file trouble? Maybe you also need to load a map file in ConTeXt?
See my "urw metrics" message. This is the same problem.
So we wait for a ConTeXt update beyond 2005.12.19? G
On 21 Dec 2005, at 21:33, Taco Hoekwater wrote:
Gerben Wierda wrote:
Please type another input file name ! Emergency stop. <*> ...:=ljfour; mag:=1; nonstopmode; input utmr8t Map file trouble? Maybe you also need to load a map file in ConTeXt?
See my "urw metrics" message. This is the same problem.
After installing type-dis and regenerating cont-en I get w-helvetica.map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/ context/ec -urw-courier.map}] systems : end file ftest at line 11 kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+0/72 --dpi 72 ptmr8r mktexpk: Running gsftopk ptmr8r 72 gsftopk(k) version 1.19.2/851 [1] [2] [3] [4] [5] [6] [7] [8] [9] [11] [12] [14] [15] [16] [17] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90] [91] [92] [93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122] [123] [124] [125] [126] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [159] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186] [187] [188] [189] [190] [191] [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203] [204] [205] [206] [207] [208] [209] [210] [211] [212] [213] [214] [215] [216] [217] [218] [219] [220] [221] [222] [223] [224] [225] [226] [227] [228] [229] [230] [231] [232] [233] [234] [235] [236] [237] [238] [239] [240] [241] [242] [243] [244] [245] [246] [247] [248] [249] [250] [251] [252] [253] [254] [255] mktexpk: /var/tmp/texfonts/pk/modeless/adobe/times/ptmr8r.72pk: successfully generated. ) Output written on ftest.pdf (1 page, 9708 bytes). Transcript written on ftest.log. return code : 0 run time : 15 seconds total run time : 16 seconds hermione-a:~/Desktop gerben$ Doesn't look good. G
Gerben Wierda wrote:
After installing type-dis and regenerating cont-en I get
w-helvetica.map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/ context/ec -urw-courier.map}] systems : end file ftest at line 11 kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+0/72 --dpi 72
That's not right either (duh). Sorry How is about the next one (attached)? Expected behaviour: It should find and use the fonts from cont-fnt.tex (and generate an error message about missing ec-ptmr8t otherwise). Taco
Hi, I've run some tests myself, and that last type-dis I posted seems to work. Attached is my test file, and the pdf looks good on my system. It would be nice if someone else can verify, so we can finally fix the core distribution afterwards. Taco Taco Hoekwater wrote:
Gerben Wierda wrote:
After installing type-dis and regenerating cont-en I get
w-helvetica.map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/ context/ec -urw-courier.map}] systems : end file ftest at line 11 kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+0/72 --dpi 72
That's not right either (duh). Sorry
How is about the next one (attached)? Expected behaviour: It should find and use the fonts from cont-fnt.tex (and generate an error message about missing ec-ptmr8t otherwise).
Taco
------------------------------------------------------------------------
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
On 12/22/05, Taco Hoekwater
Hi,
I've run some tests myself, and that last type-dis I posted seems to work.
Attached is my test file, and the pdf looks good on my system. It would be nice if someone else can verify, so we can finally fix the core distribution afterwards.
Test failed for me :( Log file: http://people.vnoss.org/~vnpenguin/pub/tmp/pos.log I'm using: 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.5-2.2 (Web2C 7.5.5) context : ver: 2005.12.19 cont-en : ver: 2005.12.19 fmt: 2005.12.22 mes: english Thanks, -- http://vnoss.org Vietnamese Open Source Software Community
VnPenguin wrote:
On 12/22/05, Taco Hoekwater
wrote: Hi,
I've run some tests myself, and that last type-dis I posted seems to work.
Attached is my test file, and the pdf looks good on my system. It would be nice if someone else can verify, so we can finally fix the core distribution afterwards.
Test failed for me :(
Log file: http://people.vnoss.org/~vnpenguin/pub/tmp/pos.log
Your pdfetex is loading the wrong map files (actually it only loads pdftex.map, nothing else), and that will not work. Perhaps you put a \pdfmapfile{pdftex.map} line in your cont-sys? Taco
On 12/22/05, Taco Hoekwater
VnPenguin wrote:
On 12/22/05, Taco Hoekwater
wrote: Hi,
I've run some tests myself, and that last type-dis I posted seems to work.
Attached is my test file, and the pdf looks good on my system. It would be nice if someone else can verify, so we can finally fix the core distribution afterwards.
Test failed for me :(
Log file: http://people.vnoss.org/~vnpenguin/pub/tmp/pos.log
Your pdfetex is loading the wrong map files (actually it only loads pdftex.map, nothing else), and that will not work.
Perhaps you put a \pdfmapfile{pdftex.map} line in your cont-sys?
Hmm, in texmf-local/tex/context/ :
find . -name "cont-sys*" ./base/cont-sys.tex ./base/cont-sys.ori ./user/cont-sys.rme
find . -name "cont-sys*" | xargs grep mapfile ./base/cont-sys.ori:\autoloadmapfilestrue ./base/cont-sys.ori:% \preloadmapfile[<...somename...>.map] ./base/cont-sys.ori:% \resetmapfiles \usetypescript [map] [base] [all] ./base/cont-sys.ori:\resetmapfiles ./base/cont-sys.ori: \loadmapfile[original-base.map] ./base/cont-sys.ori: \loadmapfile[original-ams-base.map] ./base/cont-sys.ori: \loadmapfile[original-public-lm.map] ./base/cont-sys.ori: \loadmapfile[original-base.map] ./base/cont-sys.ori: \loadmapfile[texnansi-base.map] ./base/cont-sys.ori: \loadmapfile[ec-base.map] ./base/cont-sys.ori: \loadmapfile[qx-base.map] ./base/cont-sys.ori: \loadmapfile[t5-base.map] ./base/cont-sys.ori: %loadmapfile[il2-base.map] ./base/cont-sys.ori: %loadmapfile[pl0-base.map] ./base/cont-sys.ori: \loadmapfile[8r-base.map] ./base/cont-sys.ori: \loadmapfile[original-ams-base.map] ./base/cont-sys.ori: \loadmapfile[original-ams-euler.map] ./base/cont-sys.ori: \loadmapfile[original-public-lm.map] ./base/cont-sys.ori: \loadmapfile[texnansi-public-lm.map] ./base/cont-sys.ori: \loadmapfile[ec-public-lm.map] ./base/cont-sys.ori: \loadmapfile[qx-public-lm.map] ./base/cont-sys.ori: \loadmapfile[t5-public-lm.map] ./base/cont-sys.ori: %loadmapfile[pl0-public-lm.map] ./base/cont-sys.ori: %loadmapfile[il2-public-lm.map] ./user/cont-sys.rme:\autoloadmapfilestrue ./user/cont-sys.rme:% \preloadmapfile[<...somename...>.map] ./user/cont-sys.rme:% \resetmapfiles \usetypescript [map] [base] [all] ./user/cont-sys.rme:\resetmapfiles ./user/cont-sys.rme: \loadmapfile[original-base.map] ./user/cont-sys.rme: \loadmapfile[original-ams-base.map] ./user/cont-sys.rme: \loadmapfile[original-public-lm.map] ./user/cont-sys.rme: \loadmapfile[original-base.map] ./user/cont-sys.rme: \loadmapfile[texnansi-base.map] ./user/cont-sys.rme: \loadmapfile[ec-base.map] ./user/cont-sys.rme: \loadmapfile[qx-base.map] ./user/cont-sys.rme: \loadmapfile[t5-base.map] ./user/cont-sys.rme: %loadmapfile[il2-base.map] ./user/cont-sys.rme: %loadmapfile[pl0-base.map] ./user/cont-sys.rme: \loadmapfile[8r-base.map] ./user/cont-sys.rme: \loadmapfile[original-ams-base.map] ./user/cont-sys.rme: \loadmapfile[original-ams-euler.map] ./user/cont-sys.rme: \loadmapfile[original-public-lm.map] ./user/cont-sys.rme: \loadmapfile[texnansi-public-lm.map] ./user/cont-sys.rme: \loadmapfile[ec-public-lm.map] ./user/cont-sys.rme: \loadmapfile[qx-public-lm.map] ./user/cont-sys.rme: \loadmapfile[t5-public-lm.map] ./user/cont-sys.rme: %loadmapfile[pl0-public-lm.map] ./user/cont-sys.rme: %loadmapfile[il2-public-lm.map]
I can't found pdftex.map Any ideas ? Thank you, -- http://vnoss.org Vietnamese Open Source Software Community
VnPenguin wrote:
Hmm, in texmf-local/tex/context/ :
find . -name "cont-sys*"
./base/cont-sys.tex ./base/cont-sys.ori ./user/cont-sys.rme
I can't found pdftex.map
Any ideas ?
Looks like your cont-sys.tex is out of date (because it contains no \loadmapfile lines at all). I suggest updating base/cont-sys.tex by comparing it to base/cont-sys.ori Cheers, Taco
On 12/22/05, Taco Hoekwater
Looks like your cont-sys.tex is out of date (because it contains no \loadmapfile lines at all). I suggest updating base/cont-sys.tex by comparing it to base/cont-sys.ori
Works well with my FC box at home :) I'll have a look later another box at work. Thanks, -- http://vnoss.org Vietnamese Open Source Software Community
Gerben Wierda wrote:
After installing type-dis and regenerating cont-en I get
w-helvetica.map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/ context/ec -urw-courier.map}] systems : end file ftest at line 11 kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+0/72 --dpi 72
That's not right either (duh). Sorry
How is about the next one (attached)? Expected behaviour: It should find and use the fonts from cont-fnt.tex (and generate an error message about missing ec-ptmr8t otherwise).
I tried this on the very simple test file that was posted earlier and this works. G
On 12/21/05, David Arnold
Hans,
I can report it doesn't work here. And I am pretty up-to-date with GWTeX, although this makes me want to try updating today. This:
% output=pdf
\usetypescript[postscript][\defaultencoding] \setupbodyfont[postscript,10pt]
\starttext
\input tufte
\stoptext
works OK here with 2005.12.19 :-) -- http://vnoss.org Vietnamese Open Source Software Community
I also cannot typeset this. My installation is derived from tetex3.0 + last context distribution including cont-fnt.zip. I might remark that font "\*postscript12ptrmtf*:=utmr8t at 12.0pt not loadable" Strange that looking in the font directories show the presence of urw/ times/ec-utmr8a.tfm. Is there a naming problem here? What caused it? yours sincerely, dr. H. van der Meer On Dec 21, 2005, at 21:37, VnPenguin wrote:
On 12/21/05, David Arnold
wrote: Hans,
I can report it doesn't work here. And I am pretty up-to-date with GWTeX, although this makes me want to try updating today. This:
% output=pdf
\usetypescript[postscript][\defaultencoding] \setupbodyfont[postscript,10pt]
\starttext
\input tufte
\stoptext
works OK here with 2005.12.19 :-)
-- http://vnoss.org Vietnamese Open Source Software Community _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
On 21 Dec 2005, at 21:37, VnPenguin wrote:
On 12/21/05, David Arnold
wrote: Hans,
I can report it doesn't work here. And I am pretty up-to-date with GWTeX, although this makes me want to try updating today. This:
% output=pdf
\usetypescript[postscript][\defaultencoding] \setupbodyfont[postscript,10pt]
\starttext
\input tufte
\stoptext
works OK here with 2005.12.19 :-)
Not on my system:
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)) kpathsea: Running mktextfm utmr8t mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input utmr8t This is METAFONT, Version 2.71828 (Web2C 7.5.5)
kpathsea: Running mktexmf utmr8t ! I can't find file `utmr8t'. <*> ...:=ljfour; mag:=1; nonstopmode; input utmr8t
Please type another input file name ! Emergency stop. <*> ...:=ljfour; mag:=1; nonstopmode; input utmr8t
Transcript written on mfput.log. grep: utmr8t.log: No such file or directory mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input utmr8t' failed to make utmr8t.tfm. kpathsea: Appending font creation commands to missfont.log.
! Font \*postscript12ptrmtf*:=utmr8t at 12.0pt not loadable: Metric (TFM) file not found. <to be read again> \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz...
\fontstrategy ...me \fontclass #2#3#4#5\endcsname \tryingfontfalse \fi <inserted text> ...yle \fontalternative \fontsize \fi \iftryingfont \fontstr...
\synchronizefont ...strategy \the \fontstrategies \relax \fi \iftryingfont \... <argument> \getvalue {\@style@ \fontstyle } \edef \fontstyle {\fontstyle }\if... ... l.4 \setupbodyfont[postscript,10pt]
?
If this is supposed to work on a basic ConTeXt install than on my system it doesn't. I'd like to know why not. G
participants (7)
-
David Arnold
-
Gerben Wierda
-
Hans Hagen
-
Hans van der Meer
-
R S Ananda Murthy
-
Taco Hoekwater
-
VnPenguin