Hello, Is there an easy way to make ConTeXt use the Concrete Computer Modern font for normal text and the AMS Euler font for math -- like in Knuth's book "Concrete Mathematics"? -- Emil Hedevang Lohse http://home.imf.au.dk/emil/ Alle spørgsmål er lige dumme. Og spørgsmålet "Kan ænder flyve?" er ikke dumt.
I have no idea how to get Concrete to work. But you remind me that I have a modified version of the Euler macros that I should finish up and release. I'll try to get to that sometime soon... Cheers, adam Emil Hedevang Lohse said this at Wed, 12 Mar 2003 10:58:44 +0100:
Hello,
Is there an easy way to make ConTeXt use the Concrete Computer Modern font for normal text and the AMS Euler font for math -- like in Knuth's book "Concrete Mathematics"?
-- Emil Hedevang Lohse http://home.imf.au.dk/emil/
Alle spørgsmål er lige dumme. Og spørgsmålet "Kan ænder flyve?" er ikke dumt. _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay atl@comp.lancs.ac.uk Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Is there an easy way to make ConTeXt use the Concrete Computer Modern font for normal text and the AMS Euler font for math -- like in Knuth's book "Concrete Mathematics"?
Good noon. Some time ago I typeset my PhD thesis with Concrete. You may use my way. (AMS Euler I don't know, sorry). You need the file font-csc.tex (included in this mail). Then you have to declare it in your document like this: \setupbodyfont[csc,11pt] And the Concrete is used. But allas! It's bitmapped font, i.e. you can't use in electronic document (it looks awfully). Many greetings. M.K. P.S. This way of declaring fonts may be stupid. Don't tell it to Mr. Hagen. :-)
Michal Kvasnicka
Is there an easy way to make ConTeXt use the Concrete Computer Modern font for normal text and the AMS Euler font for math -- like in Knuth's book "Concrete Mathematics"?
Good noon.
Some time ago I typeset my PhD thesis with Concrete. You may use my way. (AMS Euler I don't know, sorry). You need the file font-csc.tex (included in this mail). Then you have to declare it in your document like this: \setupbodyfont[csc,11pt] And the Concrete is used. But allas! It's bitmapped font, i.e. you can't use in electronic document (it looks awfully).
Thanks, but I can't make it work. I created a file called test.tex containing the lines \setupbodyfont[csc,11pt] \starttext Test \stoptext and placed font-csc.tex in the same directory, and then I ran 'texexec test' but got the following error. ! Emergency stop. <to be read again> \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...ame #1\csname #2#3#4#5\endcsname \tryingfontfalse \fi <inserted text> ...yle \fontalternative \fontsize \fi \iftryingfont \fontstr... \synchronizefont ...strategy \the \fontstrategies \relax \fi \ifskipfontchar... <argument> \getvalue {\@style@ \fontstyle } \edef \fontstyle {\fontstyle }\if... ... l.1 \setupbodyfont[csc,11pt] I don't know what to do. Here is the log file: /Emil -- Emil Hedevang Lohse http://home.imf.au.dk/emil/ Alle spørgsmål er lige dumme. Og spørgsmålet "Kan ænder flyve?" er ikke dumt.
Emil Hedevang Lohse wrote:
Is there an easy way to make ConTeXt use the Concrete Computer Modern font for normal text and the AMS Euler font for math
On the assumption that a partial solution is better than none, here's what I came up with. You'll notice when you use the \tt font switch the script does f*ck-all -- it just ignores my rscale parameter. The first script I've called type-concrete.tex and have installed it in the directory ./texmf/tex/context/user/ and then updated my filenames datebase. % -type-concrete.tex ---- \starttypescript [concreteTT] \definetypeface [concreteTT] [tt] [mono] [computer-modern] [default] [rscale=1.1] \stoptypescript \starttypescript [ccr] \usetypescript [serif] [concrete] [name,size] \usetypescript [mono] [concreteTT] [name] \usetypescript [mono] [default] [size] \usetypescript [math] [euler] [name,size] \stoptypescript % ---------- The second script is a test file: % ---------- \usetypescriptfile [type-concrete] \usetypescript [ccr] \setupbodyfont [serif,10pt] \starttext \input tufte {\tt \input knuth } $$ 10\mu + 20\Gamma = 30 $$ \stoptext % ---------
Oops. I'm stupid. I'm not using Concrete, but the Czech version of Concrete (accents are added). You have to replace cscr10 in the font-csc.tex with ccr10 etc. -- for all fonts. Then it should work. (Or you may install the Czech one.) :-) Sorry once more. Have a nice day, M.K.
participants (4)
-
Adam Lindsay
-
Emil Hedevang Lohse
-
Guy Worthington
-
Michal Kvasnicka