Hi gang, I have a problem on my system with the Palatino font. In type-enc, it's mapped to \definefontsynonym [Palatino] [\typescriptthree-uplr8a] [encoding=\typescriptthree] However, on my system (Gerben Wierda's installation), there is no texnansi- or EC- or whatever-uplr8a. Palatino works flawlessly with LaTeX, mapped to pplr8t, and of course, it works with ConTeXt if I create the tfms myself with texfont, but I thought there was some default support for Palatino. Am I missing something? Best Thomas
Hello Thomas, [...]
create the tfms myself with texfont, but I thought there was some default support for Palatino. Am I missing something?
Yes.... go to the garden and search for palatino. You'll find: http://contextgarden.net/Psnfss Patrick -- ConTeXt wiki: http://contextgarden.net
Patrick Gundlach said this at Fri, 11 Mar 2005 10:57:16 +0100:
Yes.... go to the garden and search for palatino. You'll find:
And, IIRC, the \defaultencoding most appropriate for gwTeX, is 8r. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Hello, I recently reported a performance degrading on with gwTeX/ConTeXt under MacOS X after upgrading to the most recent gwTeX. I upgraded two other machines and did some further tests. For each run, I renamed the TeX source file, and performed 3 runs: i) old TeX ii) new TeX, 1st run iii) new TeX 2nd run (still with a new filename) While ii takes about 10% longer, iii was consistently about as fast as i. My guess is that some of the files in the new TeX installation (I moved to TeXLive 2005) need to be 'broken in' so that subsequent runs of TeX should be faster. At least it looks as if TeX didn't really slow down after upgrading as I first thought. Matthias
Hi Patrick, the setup in contextgarden is the one that I'm referring to. It doesn't work here. Thomas On Mar 11, 2005, at 10:57 AM, Patrick Gundlach wrote:
Hello Thomas,
[...]
create the tfms myself with texfont, but I thought there was some default support for Palatino. Am I missing something?
Yes.... go to the garden and search for palatino. You'll find:
http://contextgarden.net/Psnfss
Patrick -- ConTeXt wiki: http://contextgarden.net _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
At 11:36 +0100 11/03/05, Thomas A.Schmitz wrote:
Hi Patrick,
the setup in contextgarden is the one that I'm referring to. It doesn't work here.
Thomas
Hi Thomas, I am also one of the "fonts-challenged" people... However, thanks to Patrick, using contextgarden when I do the following (see below) everything works here (Mac OS X 10.3.8, withe Gerben Wierda's installation of TexLive 2005) Cheers: OK %% testing-fonts.tex \usetypescript [adobekb][\defaultencoding] \setupbodyfont[pos] \usetypescript[palatino][\defaultencoding] \setupbodyfont[palatino,12pt] %% for times uncomment this %\usetypescript[times][\defaultencoding] %\setupbodyfont[times,12pt] \starttext \input knuth \bigskip And this is some maths with PostScript fonts. \startformula {a \over b} = {c \over d} \iff ad - bc = 0, \qquad \int_0^{2\pi} \sin(x)^2dx =\pi, \qquad {\rm e}^{{\rm i}\pi} + 1 = 0. \stopformula \stoptext
Sorry everybody, and thanks Otared. I wasn't aware that you need {\em both} the \setupbodyfont[pos] and the setupbodyfont[palatino] lines. Works now! Sorry for the noise. Best Thomas On Mar 11, 2005, at 12:36 PM, Otared Kavian wrote:
\usetypescript [adobekb][\defaultencoding] \setupbodyfont[pos] \usetypescript[palatino][\defaultencoding] \setupbodyfont[palatino,12pt]
Hello, I am not desperate to use new fonts right now, but whenever I see somebody with a success I'll give it a try. Here is what happens to me when trying to use palatino (or any of the other fonts) with the sample file (Mac OS X, most recent gwTeX)
%% testing-fonts.tex \usetypescript [adobekb][\defaultencoding] \setupbodyfont[pos] \usetypescript[palatino][\defaultencoding] \setupbodyfont[palatino,12pt]
%% for times uncomment this %\usetypescript[times][\defaultencoding] %\setupbodyfont[times,12pt]
\starttext \input knuth \bigskip
And this is some maths with PostScript fonts. \startformula {a \over b} = {c \over d} \iff ad - bc = 0, \qquad \int_0^{2\pi} \sin(x)^2dx =\pi, \qquad {\rm e}^{{\rm i}\pi} + 1 = 0. \stopformula
\stoptext
It gives me the plain text in the right font, but as a bitmap font, which reminds me of the bad old times when one looked at TeX output without the Adobe Type Manager in OS 7-9... I get the warning (which I wouldn't be able to fix)
Warning: pdfetex (file ec-urw-palatino.map): cannot open font map file {/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original- youngryu- px.map}]
The math part uses the computer modern fonts as usual. Any clues what I'm missing? Matthias On Mar 11, 2005, at 4:57 AM, Patrick Gundlach wrote:
Hello Thomas,
[...]
create the tfms myself with texfont, but I thought there was some default support for Palatino. Am I missing something?
Yes.... go to the garden and search for palatino. You'll find:
http://contextgarden.net/Psnfss
Patrick -- ConTeXt wiki: http://contextgarden.net _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Hi, your file works fine here. Can you post your log file? Or try \setupencoding[default=ec]. But this shouldn't make any differences. Patrick -- ConTeXt wiki: http://contextgarden.net
Hi Patrick,
thanks for looking into this.
Log file follows,
\setupencoding[default=ec] has no effect.
Matthias
TeXExec 5.2.5 - ConTeXt / PRAGMA ADE 1997-2005
executable : pdfetex
format : cont-en
inputfile : Untitled-2
output : pdftex
interface : en
current mode : none
TeX run : 1
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
(/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
entering extended mode
(./Untitled-2.tex
ConTeXt ver: 2005.03.02 fmt: 2005.3.4 int: english mes: english
language : language en is active
Or try \setupencoding[default=ec]. But this shouldn't make any differences.
Patrick -- ConTeXt wiki: http://contextgarden.net _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Hi, ok, you are already using ec encoding as default, \setupencoding[default=ec] has of course no effect then. [...]
pxex.pfb rpxmi.pfb uplr8a.pfb pxsy.pfb rpxr.pfb uplri8a.pfb>
These look ok.
There it is. There must be something wrong with your map file. How does your cont-sys.tex (in your case: cont-sys.rme) look like? Do you have something like: \autoloadmapfilestrue \loadmapfile[ec-base.map] in there? What happens if if you use \loadmapfile[ec-base.map] at the beginning of your test document? Patrick -- ConTeXt wiki: http://contextgarden.net
My cont-sys.rme is in /usr/local/teTeX/share/texmf.local/tex/context/user/cont-sys.rme and has the two lines you mention (I attach the file below, it looks kind of old (1995). Also, if I add
\loadmapfile[ec-base.map]
nothing changes --- I tried to locate ec-base.map, but couldn't find it. Is this a regular file somewhere in the TeX tree? Matthias On Mar 16, 2005, at 11:11 AM, Patrick Gundlach wrote:
Hi,
ok, you are already using ec encoding as default, \setupencoding[default=ec] has of course no effect then.
[...]
pxex.pfb rpxmi.pfb uplr8a.pfb pxsy.pfb rpxr.pfb uplri8a.pfb>
These look ok.
There it is. There must be something wrong with your map file. How does your cont-sys.tex (in your case: cont-sys.rme) look like?
Do you have something like:
\autoloadmapfilestrue \loadmapfile[ec-base.map]
in there? What happens if if you use \loadmapfile[ec-base.map] at the beginning of your test document?
Patrick -- ConTeXt wiki: http://contextgarden.net _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Sorry, forgot to attach cont-sys.rme - see below Matthias ------ %D \module %D [ file=cont-sys, %D version=1995.10.10, %D title=\CONTEXT\ Miscellaneous Macros, %D subtitle=System Specific Setups, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA / Hans Hagen \& Ton Otten}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. \unprotect % Speed up typescript loading, but at the cost of much memory: % % \preloadtypescripts % Occasionally we will support both A4 and letter in % styles. If you want letter size paper to be the default, % uncomment: % % \enablemode[\systemmodeprefix letter] % % If you always want to default to letter, you may uncomment % the following line, but beware: it makes your documents less % portable: % % \setuppapersize[letter][letter] % If you want some extras, just uncomment the following % line: % % \usemodule[plus] % experimental code % % Here you can take care of overloading some (style) % defaults. What goes here, depends on your local system. % The following commands sets the default font encoding: % % \setupencoding [\s!default=texnansi] % % or: \setupencoding [\s!default=ec] % If you want the default berry names: % % \usetypescript [berry] [\defaultencoding] % % or, if you also want other encodings: \usetypescript [berry] [\defaultencoding,t5,8r] % texnansi is never present % If you run into missing font metrics kind of problems, % you may want to uncomment: % % \usetypescript[adobekb] [\defaultencoding] % You can let \CONTEXT\ load the map files for \PDFTEX. \autoloadmapfilestrue % (1) you can prevent loading with: % % \preloadmapfile[<...somename...>.map] % % (2) otherwise, use this if you have a fast machine % % \resetmapfiles \usetypescript [map] [base] [all] % % (3) or this if it's a slow one: \resetmapfiles \donefalse \ifx\pdftexversion\undefined \else \ifnum\number\pdftexversion>119 \donetrue \fi \fi \ifdone \loadmapfile[original-base.map] \loadmapfile[original-ams-base.map] \loadmapfile[original-public-lm.map] \else \loadmapfile[original-base.map] \loadmapfile[texnansi-base.map] \loadmapfile[ec-base.map] \loadmapfile[qx-base.map] \loadmapfile[t5-base.map] %loadmapfile[il2-base.map] %loadmapfile[pl0-base.map] \loadmapfile[8r-base.map] \loadmapfile[original-ams-base.map] \loadmapfile[original-ams-euler.map] \loadmapfile[original-public-lm.map] \loadmapfile[texnansi-public-lm.map] \loadmapfile[ec-public-lm.map] \loadmapfile[qx-public-lm.map] \loadmapfile[t5-public-lm.map] \loadmapfile[pl0-public-lm.map] \loadmapfile[il2-public-lm.map] \fi % When you have your own fonts installed, you may want to predefine: % % \usetypescriptfile[type-buy] % Some styles default to Lucida Bright. You can overload % Lucida by Times cum suis. Watch out, the pos collection % is not scaled relatively. % % \definetypescriptsynonym [lbr] [pos] % Compensate for missing files: % % \definefontsynonym [gbhei] [gbsong] % \definefontsynonym [gbheisl] [gbsong] % \definefontsynonym [gbheisl] [gbsong] % Setting up a global figure path % % \setupexternalfigures [\c!directory={e:/fig/eps,t:/mine/figs}] % % Loading a specific special driver: % % \setupoutput [dviwindo] % Changing language defaults % % \setuplanguage % [nl] % [\c!leftquote=\upperleftsinglesixquote, % \c!leftquotation=\upperleftdoublesixquote] % Loading local preferences, for example % % \input prag-gen % company styles % \input prag-log % more company styles % % Enabling run time \METAPOST\ (also enable \write18 in % texmf.cnf): % \runMPgraphicstrue % \runMPTEXgraphicstrue % This saves some runtime, but needs a format, which you can % make with 'texexec --make --alone metafun'. Make sure that % the mem files are moved to the used web2c path (locate with % 'kpsewhich plain.mem'). \useMETAFUNformattrue % Enabling nested pretty printing \newprettytrue % This can be a way to get things working on system with % name clashes. (Some \TeX's tend do search system wide.) \protectbufferstrue % You can enable a more extensive figure searching, but % normally this is not really needed and even annoying. % % \runutilityfiletrue % So far.
[...]
I tried to locate ec-base.map, but couldn't find it. Is this a regular file somewhere in the TeX tree?
It should be in texmf/fonts/map/pdftex/context/ec-base.map ConTeXt ships this file. "kpsewhich ec-base.map" does not give you any result? What distribution are you using? Patrick -- ConTeXt wiki: http://contextgarden.net
[...] kpsewhich ec-base.map returns /usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/ec-base.map and there it is indeed -- I had used locate beforfe. I am using Gerben's TeX installation via iinstaller, without any own changes. Matthias On Mar 16, 2005, at 11:45 AM, Patrick Gundlach wrote:
[...]
I tried to locate ec-base.map, but couldn't find it. Is this a regular file somewhere in the TeX tree?
It should be in texmf/fonts/map/pdftex/context/ec-base.map
ConTeXt ships this file. "kpsewhich ec-base.map" does not give you any result?
What distribution are you using?
Patrick
-- ConTeXt wiki: http://contextgarden.net _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Hi, [...]
kpsewhich ec-base.map
returns
/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/ec-base.map
oh, stupid me! It was already mentioned in the log file. Sorry.
I am using Gerben's TeX installation via iinstaller, without any own changes.
Can you copy the cont-sys.rme to cont-sys.tex and comment out the lines with the mapfile related commands? Is there somebody else out there using Gerben's TeXstuff? (I know there is at least one :-)) I can only guess. Or get a fresh cont-sys.tex (www.pragma-ade.com/system/tex/texmf-local/tex/context/user/cont-sys.tex) and play with that one. Patrick -- ConTeXt wiki: http://contextgarden.net
Hi, I replaced my cont-sys.rme with the one at www.pragma-ade.com/system/tex/texmf-local/tex/context/user/cont-sys.rme Everything appears to be ok now -- the difference between the two files seems to be the following if-statement in the OLD file: \donefalse \ifx\pdftexversion\undefined \else \ifnum\number\pdftexversion>119 \donetrue \fi \fi \ifdone \loadmapfile[original-base.map] \loadmapfile[original-ams-base.map] \loadmapfile[original-public-lm.map] \else \loadmapfile[original-base.map] etc So I guess this file should have been updated but wasn't for some reason. Thanks Patrick! Matthias On Mar 16, 2005, at 12:32 PM, Patrick Gundlach wrote:
Hi,
[...]
kpsewhich ec-base.map
returns
/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/ec- base.map
oh, stupid me! It was already mentioned in the log file. Sorry.
I am using Gerben's TeX installation via iinstaller, without any own changes.
Can you copy the cont-sys.rme to cont-sys.tex and comment out the lines with the mapfile related commands?
Is there somebody else out there using Gerben's TeXstuff? (I know there is at least one :-)) I can only guess. Or get a fresh cont-sys.tex (www.pragma-ade.com/system/tex/texmf-local/tex/context/user/cont- sys.tex) and play with that one.
Patrick -- ConTeXt wiki: http://contextgarden.net _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Hello Matthias,
Everything appears to be ok now --
Good News! Now I can go out and celebrate St. Patrick's Day tomorrow :-))
So I guess this file should have been updated but wasn't for some reason.
Perhaps other GWTEX users should check that as well? Patrick -- ConTeXt wiki: http://contextgarden.net
Hello, could those of you who use Gerben's TeX installation under OS X check whether the following file produces nice postscript Palatino or ugly bitmap Palatino? %% testing-fonts.tex \usetypescript [adobekb][\defaultencoding] \setupbodyfont[pos] \usetypescript[palatino][\defaultencoding] \setupbodyfont[palatino,12pt] %% for times uncomment this %\usetypescript[times][\defaultencoding] %\setupbodyfont[times,12pt] \starttext \input knuth \bigskip And this is some maths with PostScript fonts. \startformula {a \over b} = {c \over d} \iff ad - bc = 0, \qquad \int_0^{2\pi} \sin(x)^2dx =\pi, \qquad {\rm e}^{{\rm i}\pi} + 1 = 0. \stopformula \stoptext If the latter is the case, you can fix this (thanks to Patrick) by overwriting /usr/local/teTeX/share/texmf.local/tex/context/user/cont-sys.rme with http://www.pragma-ade.com/system/tex/texmf-local/tex/context/user/cont- sys.rme Also in that case we need a corrected gwConTeXt. Thanks again to Patrick! Matthias
Hello,
could those of you who use Gerben's TeX installation under OS X check whether the following file produces nice postscript Palatino or ugly bitmap Palatino?
%% testing-fonts.tex \usetypescript [adobekb][\defaultencoding] \setupbodyfont[pos] \usetypescript[palatino][\defaultencoding] \setupbodyfont[palatino,12pt]
%% for times uncomment this %\usetypescript[times][\defaultencoding] %\setupbodyfont[times,12pt]
\starttext \input knuth \bigskip
And this is some maths with PostScript fonts. \startformula {a \over b} = {c \over d} \iff ad - bc = 0, \qquad \int_0^{2\pi} \sin(x)^2dx =\pi, \qquad {\rm e}^{{\rm i}\pi} + 1 = 0. \stopformula
\stoptext
If the latter is the case, you can fix this (thanks to Patrick) by overwriting
/usr/local/teTeX/share/texmf.local/tex/context/user/cont-sys.rme
This one only exists if you have installed the ConTeXt Updater i-Package. The basic ConTeXt is in the teTeX tree: /usr/local/teTeX/share/texmf.tetex/tex/context/user/cont-sys.rme
with
http://www.pragma-ade.com/system/tex/texmf-local/tex/context/user/cont- sys.rme
Also in that case we need a corrected gwConTeXt.
Basically you can always install the most recent ConTeXt (now 2005.03.16) with the ConTeXt updater package. But a big caveat: you will need to install new Latin Modern by hand because the latest ConTeXt beta depends on having the latest Latin Modern. G
Patrick Gundlach wrote:
Is there somebody else out there using Gerben's TeXstuff? (I know there is at least one :-)) I can only guess. Or get a fresh cont-sys.tex (www.pragma-ade.com/system/tex/texmf-local/tex/context/user/cont-sys.tex) and play with that one.
when no cont-sys.tex is found (or when you delete it) context will use cont-sys.rme instead 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 -----------------------------------------------------------------
Matthias Weber wrote:
[...]
pxex.pfb rpxmi.pfb uplr8a.pfb pxsy.pfb rpxr.pfb uplri8a.pfb>
These look ok.
i wonder why in some cases uplr is used and in other situations pplr. - maybe palatino px does not go well with the adobekb file? - maybe some magick auto-name-remapping via the aliases file? (maybe it's time to drop mapfiles completely) 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 -----------------------------------------------------------------
Hello,
i wonder why in some cases uplr is used and in other situations pplr.
- maybe palatino px does not go well with the adobekb file?
Probably, but I've got mine typeset correctly, so I still wonder why.
- maybe some magick auto-name-remapping via the aliases file?
Mystery, not magic ;-)
(maybe it's time to drop mapfiles completely)
+1 from me Patrick -- ConTeXt wiki: http://contextgarden.net
Matthias Weber wrote:
/teTeX/share/texmf.local/fonts/map/pdftex/context/original-public- lm.map} Warning: pdfetex (file ec-urw-courier.map): cannot open font map file
Warning: pdfetex (file ec-urw-helvetica.map): cannot open font map file
Warning: pdfetex (file ec-urw-times.map): cannot open font map file {/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original- youngryu- tx.map} Warning: pdfetex (file ec-urw-palatino.map): cannot open font map file {/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original- youngryu- px.map}]
smells like missing files
that's the first time i've seen a palatino bitmap come by; i wonder what generates them and from what 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 -----------------------------------------------------------------
On Mar 16, 2005, at 11:32 AM, Hans Hagen wrote:
Matthias Weber wrote:
/teTeX/share/texmf.local/fonts/map/pdftex/context/original-public- lm.map} Warning: pdfetex (file ec-urw-courier.map): cannot open font map file Warning: pdfetex (file ec-urw-helvetica.map): cannot open font map file Warning: pdfetex (file ec-urw-times.map): cannot open font map file {/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/ original- youngryu- tx.map} Warning: pdfetex (file ec-urw-palatino.map): cannot open font map file {/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/ original- youngryu- px.map}]
smells like missing files
that's the first time i've seen a palatino bitmap come by; i wonder what generates them and from what
It looks really ugly :), as it is only 44k, I attach it for your amusement. I'll be happy to try anything to find the cause. Up to now, I was under the impression to have a very clean (i.e. untouched by myself...) TeX tree on my machine. Should I wipe the whole TeX installation and reinstall everything? (and if yes, what needs to be removed? [using gwTeX]) Matthias
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
[...]
that's the first time i've seen a palatino bitmap come by; i wonder what generates them and from what
It looks really ugly :), as it is only 44k, I attach it for your amusement.
/me is loughing! That looks gross.
a very clean (i.e. untouched by myself...) TeX tree on my machine. Should I wipe the whole TeX installation and reinstall everything? (and if yes, what needs to be removed? [using gwTeX])
If it works OK now, I wouldn't touch it (unless you are bored...) Patrick -- ConTeXt wiki: http://contextgarden.net
Hi Mathias, your example runs smoothly here, using: pdfeTeXk, Version 3.141592-1.20a-2.2 ConTeXt ver: 2005.01.26 fmt: 2005.1.26 1. Which version of ContTeXt do you run? A new version requires the map-files to be placed in ...\fonts\map. 2. Niew versions of pdftex do nomore use a pdftex.cfg file. So the mapfiles must be loaded explicitely with \loadmapfile[...] or must be lodaed automatically - see also cont-usr.tex Kind regards Willi Matthias Weber wrote:
Hello,
I am not desperate to use new fonts right now, but whenever I see somebody with a success I'll give it a try.
Here is what happens to me when trying to use palatino (or any of the other fonts) with the sample file (Mac OS X, most recent gwTeX)
%% testing-fonts.tex \usetypescript [adobekb][\defaultencoding] \setupbodyfont[pos] \usetypescript[palatino][\defaultencoding] \setupbodyfont[palatino,12pt]
%% for times uncomment this %\usetypescript[times][\defaultencoding] %\setupbodyfont[times,12pt]
\starttext \input knuth \bigskip
And this is some maths with PostScript fonts. \startformula {a \over b} = {c \over d} \iff ad - bc = 0, \qquad \int_0^{2\pi} \sin(x)^2dx =\pi, \qquad {\rm e}^{{\rm i}\pi} + 1 = 0. \stopformula
\stoptext
It gives me the plain text in the right font, but as a bitmap font, which reminds me of the bad old times when one looked at TeX output without the Adobe Type Manager in OS 7-9...
I get the warning (which I wouldn't be able to fix)
Warning: pdfetex (file ec-urw-palatino.map): cannot open font map file {/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original- youngryu- px.map}]
The math part uses the computer modern fonts as usual.
Any clues what I'm missing?
Matthias
On Mar 11, 2005, at 4:57 AM, Patrick Gundlach wrote:
Hello Thomas,
[...]
create the tfms myself with texfont, but I thought there was some default support for Palatino. Am I missing something?
Yes.... go to the garden and search for palatino. You'll find:
http://contextgarden.net/Psnfss
Patrick -- ConTeXt wiki: http://contextgarden.net _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
On Mar 16, 2005, at 2:01 PM, Willi Egger wrote:
Hi Mathias,
your example runs smoothly here, using: pdfeTeXk, Version 3.141592-1.20a-2.2 ConTeXt ver: 2005.01.26 fmt: 2005.1.26
Thanks for looking at this, but :) pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) ConTeXt ver: 2005.03.02 fmt: 2005.3.4 int: english mes: english Patrick tracked this down do an old cont-sys.rme, and my guess is that it is erroneously being distributed with Gerben Wiebe's TeX installation (which I use). Matthias
1. Which version of ContTeXt do you run? A new version requires the map-files to be placed in ...\fonts\map.
2. Niew versions of pdftex do nomore use a pdftex.cfg file. So the mapfiles must be loaded explicitely with \loadmapfile[...] or must be lodaed automatically - see also cont-usr.tex
Kind regards
Willi
Seeing this thread, I wonder now if there's any more interest in helping ship a cont-sys.tex and a texexec.ini (before it goes away) that is tuned to gwTeX? adam On 16 Mar 2005, at 19:08, Matthias Weber wrote:
Patrick tracked this down do an old cont-sys.rme, and my guess is that it is erroneously being distributed with Gerben Wiebe's TeX installation (which I use).
I am not even sure where the problem lies, as I am not at all familiar with what gets changed for the Mac distribution. I only noted that with the Mac gwTeX beta for ConTeXT, i) the font test file with palatino etc doesn't work properly, ii) replacing the cont-sys.rme in the beta distribution tree with the one from pragma makes it work, iii) re-installing the ConTeXt beta via gwTeX breaks it again (so it wasn't me unconsciously messing around with the TeX tree) I am happy to help testing things, but I probably won't be of any use when it comes to OS-specific TeXnicalities. Matthias On Mar 17, 2005, at 12:40 PM, Adam Lindsay wrote:
Seeing this thread, I wonder now if there's any more interest in helping ship a cont-sys.tex and a texexec.ini (before it goes away) that is tuned to gwTeX?
adam
On 16 Mar 2005, at 19:08, Matthias Weber wrote:
Patrick tracked this down do an old cont-sys.rme, and my guess is that it is erroneously being distributed with Gerben Wiebe's TeX installation (which I use).
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Adam Lindsay wrote:
Seeing this thread, I wonder now if there's any more interest in helping ship a cont-sys.tex and a texexec.ini (before it goes away) that is tuned to gwTeX?
just a thought: if we have context/base/gwtex/cont-sys.tex and some clever search path in texmf.cnf that locates that one first ... ; or maybe context/base/$distribution/$engine/cont-sys.tex or maybe even context/$distribution/$engine/cont-sys.tex 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 -----------------------------------------------------------------
Hi all, I used \digits and this is the result: ===== ! Missing $ inserted. <inserted text> $ <to be read again> _ \next ...savedigit \collecteddigits @\else \if #1_ \savedigit \collecteddigit... \doCurrency ...{\thinspace CHF}]\BF \digits #1\AF \relax ===== Is this known problem? Something with catcodes, I think, have a nice day, Martin
Martin Kolaøík wrote:
Hi all,
I used \digits and this is the result:
=====
! Missing $ inserted. <inserted text> $ <to be read again> _ \next ...savedigit \collecteddigits @\else \if #1_ \savedigit \collecteddigit...
\doCurrency ...{\thinspace CHF}]\BF \digits #1\AF \relax
=====
Is this known problem? Something with catcodes, I think,
it works ok here; can you make a test file? 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 -----------------------------------------------------------------
OK, it works in my office too (context 02.07.) -- so probably there is a problem in my home installation. But I have found the next problem: \starttext \setupTABLE[column][1][aligncharacter=yes,alignmentcharacter={,},width=5cm,align=middle] \bTABLE \bTR \bTD 115,3\eTD \eTR \bTR \bTD 11,53\eTD \eTR \bTR \bTD 1153,0000\eTD \eTR \eTABLE \stoptext does not align numbers by comma -- should I setup something more? Thank you, Martin -----Original Message----- From: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl]On Behalf Of Hans Hagen Sent: Thursday, March 17, 2005 10:24 AM To: martin@mii.cz; mailing list for ConTeXt users Subject: Re: [NTG-context] problem with \digits Martin Kolaøík wrote:
Hi all,
I used \digits and this is the result:
=====
! Missing $ inserted. <inserted text> $ <to be read again> _ \next ...savedigit \collecteddigits @\else \if #1_ \savedigit \collecteddigit...
\doCurrency ...{\thinspace CHF}]\BF \digits #1\AF \relax
=====
Is this known problem? Something with catcodes, I think,
it works ok here; can you make a test file? 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
Martin Kolaøík wrote:
But I have found the next problem:
\starttext
\setupTABLE[column][1][aligncharacter=yes,alignmentcharacter={,},width=5cm,align=middle]
\bTABLE \bTR \bTD 115,3\eTD \eTR \bTR \bTD 11,53\eTD \eTR \bTR \bTD 1153,0000\eTD \eTR \eTABLE
\stoptext
seems like some setting got lost when going low level english: \long\def\doTBLcharalign#1#2% column data {\edef\alignmentclass{#1}% \edef\alignmentcharacter{\tbltblalignmentcharacter}% \ifcase\TBLpass\or \setfirstpasscharacteralign\checkalignment{#2}% {\strut#2\unskip}% \fi % force hsize, so always a second \setsecondpasscharacteralign \checkalignment{#2}% {\strut#2\unskip}% \ignorespaces} \starttext \setupTABLE[column][1][aligncharacter=yes,alignmentcharacter={,},width=5cm,align=middle] \bTABLE \bTR \bTD 115,3 \eTD \eTR \bTR \bTD 11,53 \eTD \eTR \bTR \bTD 1153,0000 \eTD \eTR \eTABLE % \starttabulate[|cg{.}|cg{,}|cg{,}|] % \NC period \NC comma \NC comma \NC\NR % \NG 100.000,00 \NG 100.000,00 \NG 100,00 \NC\NR % \NG 10.000,00 \NG 10.000,00 \NG 1000,00 \NC\NR % \NG 100,00 \NG 100,00 \NG 10,00 \NC\NR % \NG 100,00 \NG 100,00 \NG 10,00 \NC\NR % \NG 10\\ \NG 10\\ \NG 0,00 \NC\NR % \NG 10 \NG 10 \NG 0,00 \NC\NR % \NG 10 \NG 10 \NG 0,00 \NC\NR % \stoptabulate \stoptext ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (9)
-
Adam Lindsay
-
Gerben Wierda
-
Hans Hagen
-
Martin Kolaøík
-
Matthias Weber
-
Otared Kavian
-
Patrick Gundlach
-
Thomas A.Schmitz
-
Willi Egger