Re: [NTG-context] Re: How to use PostScript font
On Friday 20 August 2004 09:40 am, Patrick Gundlach wrote: So [EMAIL PROTECTED] should report again. Still no luck!!! :-( Okay, so I got really upset with teTeX so I decided to get rid of it. Earlier I said that I was using Fedora Core 2. Now I am sitting on a SuSE 8.0 Pro machine. I did the following: 1) Uninstalled whatever TeX came with SuSE 2) Downloaded and installed from texlive2003-inst-20030928.iso 3) I chose not to install latex. Just context and pdftex alongwith whatever texlive said about anything being essential files 4) Next I wiped off whatever ConTeXt came with texlive and followed instructions on this page: http://home.salamander.com/~wmcclain/context-help.html to install the latest ConTeXt from pragma website. 5) Then I found that adobekb.tex was still NOT installed on my system---yes the latest ConTeXt from pragma-ade still does not have adobekb.tex. But as Hans suggested, I do have the file type-akb.tex. As Patrick suggested, I downloaded and installed adobekb.tex in the TeX tree. 6) So after all this, I try both type-akb and adobekb and the palatino font still refuses to cooperate. Here are the errors that I am getting: With this: \usetypescript[berry][ec] % or [8r] \usetypescript[palatino][ec] % \setupbodyfont[palatino] \starttext The quick brown fox jumps over the lazy dog. \stoptext gives me the following: [EMAIL PROTECTED]:~/Softdev texexec --pdf paltest TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003 executable : pdfetex format : cont-en inputfile : paltest output : pdftex interface : en current mode : none TeX run : 1 This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2) \write18 enabled. %-line parsing enabled. (/usr/TeX/texmf/web2c/natural.tcx) entering extended mode (./paltest.tex{/usr/TeX/texmf-var/pdftex/config/pdftex.cfg} ConTeXt ver: 2004.8.15 fmt: 2004.8.21 int: english mes: english language : language en is active protectionstate 0 system : cont-new loaded (/usr/TeX/texmf/tex/context/base/cont-new.tex systems: beware: some patches loaded from cont-new.tex! color : palette rollover is available system (E-TEX) : [line 567] system (E-TEX) : [line 622] ) system : cont-old loaded (/usr/TeX/texmf/tex/context/base/cont-old.tex loading: Context Old Macros ) system : cont-fil loaded (/usr/TeX/texmf/tex/context/base/cont-fil.tex loading: Context File Synonyms ) system : cont-sys loaded (/usr/TeX/texmf/tex/context/user/cont-sys.tex) bodyfont : 12pt rm is loaded kpathsea: Running mktextfm msam7 mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input msam7 This is METAFONT, Version 2.71828 (Web2C 7.5.2) (/usr/TeX/texmf/web2c/cp8bit.tcx) kpathsea: Running mktexmf msam7 ! I can't find file `msam7'. * ...e:=ljfour; mag:=1; nonstopmode; input msam7 Please type another input file name ! Emergency stop. * ...e:=ljfour; mag:=1; nonstopmode; input msam7 Transcript written on mfput.log. mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input msam7' failed. kpathsea: Appending font creation commands to missfont.log. ! Font \*7ptmmma*=msam7 at 7.0pt not loadable: Metric (TFM) file not found. to be read again \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \dodosetmathfamilyA ...amily \fontsize \endcsname \else \ifcsname \fontbody ... \dosetmathfamily ...athfamily \scriptscriptfont #1 \let \fontbody #3\dodosetm... inserted text ...\scriptscriptface \c!ma \empty \dosetmathfamily \mbfam \t... \synchronizemath ...athfonts \the \mathstrategies \fam \mrfam \fi ... l.1 \usetypescript[berry][ec] % or [8r] ? And this: \usetypescript[type-akb][ec] %or whatever your encoding is \setupbodyfont[pos] \starttext The quick brown fox jumps over the lazy dog. \stoptext gives me the following: [EMAIL PROTECTED]:~/Softdev texexec --pdf paltest TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003 executable : pdfetex format : cont-en inputfile : paltest output : pdftex interface : en current mode : none TeX run : 1 This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2) \write18 enabled. %-line parsing enabled. (/usr/TeX/texmf/web2c/natural.tcx) entering extended mode (./paltest.tex{/usr/TeX/texmf-var/pdftex/config/pdftex.cfg} ConTeXt ver: 2004.8.15 fmt: 2004.8.21 int: english mes: english language : language en is active protectionstate 0 system : cont-new loaded (/usr/TeX/texmf/tex/context/base/cont-new.tex
Re: [NTG-context] Re: How to use PostScript font
I found out that while trying to install the latest ConTeXt over whatever came with texlive2003-inst-20030928.iso, I screwed up somewhere and ConTeXt would not even generate me a pdf file with cmr fonts. So here is what I did. 1) I deleted everything about TeX from my system 2) Installed TeXLive from the iso with default options. I did not change anything. Just accepted the defaults. 3) I did not install the latest ConTeXt. I think I will be fine with whatever comes with TeXLive as of Sept, 2003. 4) Now I can generate a hello world pdf file with cmr fonts just fine. 5) Yes, I do have the type-akb.tex on my system. 6) On the following: \usetypescriptfile[type-akb] \usetypescript[palatino][\defaultencoding] \setupbodyfont[palatino,12pt] \starttext The quick brown fox jumps over the lazy dog. \stoptext I get the following errors: [EMAIL PROTECTED]:~/Softdev texexec --pdf paltest TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003 executable : pdfetex format : cont-en inputfile : paltest output : pdftex interface : en current mode : none TeX run : 1 This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2) %-line parsing enabled. (/usr/TeX/texmf/web2c/cp8bit.tcx) entering extended mode (./paltest.tex{/usr/TeX/texmf-var/pdftex/config/pdftex.cfg} ConTeXt ver: 2003.9.25 fmt: 2004.8.21 int: english mes: english language : language en is active protectionstate 0 system : cont-new loaded (/usr/TeX/texmf/tex/context/base/cont-new.tex systems: beware: some patches loaded from cont-new.tex! ) system : cont-old loaded (/usr/TeX/texmf/tex/context/base/cont-old.tex loading: Context Old Macros ) system : cont-fil loaded (/usr/TeX/texmf/tex/context/base/cont-fil.tex loading: Context File Synonyms ) bodyfont : 12pt rm is loaded language : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2 8:2-nl-2 loaded specials : tex,postscript,rokicki loaded system : paltest.top loaded (./paltest.top specials : loading definition file tpd (/usr/TeX/texmf/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/usr/TeX/texmf/tex/context/base/spec-fdf.tex unprotect 3 unprotect 4 system (E-TEX) : [line 1907] \ifcsname protect 4 protect 3) specials : fdf loaded unprotect 3 protect 3) specials : fdf,tpd loaded ) pdftex : needs map file: original-context-symbol.map pdftex : needs map file: pl0-ams-cmr.map pdftex : needs map file: original-vogel-symbol.map fonts : [palatino] [ec] [] (/usr/TeX/texmf/tex/context/base/type-syn.tex) (/usr/TeX/texmf/tex/context/base/type-enc.tex) (/usr/TeX/texmf/tex/context/base/type-siz.tex) (/usr/TeX/texmf/tex/context/base/type-map.tex) (/usr/TeX/texmf/tex/context/base/type-spe.tex) (/usr/TeX/texmf/tex/context/base/type-exa.tex fonts : [palatino] [rm] [serif] [palatino] fonts : [map] [ec] [] (/usr/TeX/texmf/tex/context/base/type-syn.tex) (/usr/TeX/texmf/tex/context/base/type-enc.tex) (/usr/TeX/texmf/tex/context/base/type-siz.tex) (/usr/TeX/texmf/tex/context/base/type-map.tex pdftex : needs map file: original-ams-cmr.map pdftex : needs map file: original-ams-euler.map pdftex : needs map file: ec-adobe-utopia.map pdftex : needs map file: ec-bit-charter.map pdftex : needs map file: ec-public-antp.map pdftex : needs map file: ec-public-antt.map pdftex : needs map file: ec-urw-bookman.map pdftex : needs map file: ec-urw-courier.map pdftex : needs map file: ec-urw-helvetica.map pdftex : needs map file: ec-urw-palatino.map pdftex : needs map file: ec-urw-times.map pdftex : needs map file: ec-urw-zapfchan.map pdftex : needs map file: original-youngryu-px.map pdftex : needs map file: original-youngryu-tx.map pdftex : needs map file: ec-bh-lucida.map pdftex : needs map file: fourier.map pdftex : needs map file: fourier-utopia-expert.map ) (/usr/TeX/texmf/tex/context/base/type-spe.tex) (/usr/TeX/texmf/tex/context/base/type-exa.tex) (/usr/TeX/texmf/tex/context/base/type-akb.tex) fonts : [serif] [palatino] [name,default,ec,special] (/usr/TeX/texmf/tex/context/base/type-syn.tex) (/usr/TeX/texmf/tex/context/base/type-enc.tex) (/usr/TeX/texmf/tex/context/base/type-siz.tex) (/usr/TeX/texmf/tex/context/base/type-map.tex) (/usr/TeX/texmf/tex/context/base/type-spe.tex) (/usr/TeX/texmf/tex/context/base/type-exa.tex) (/usr/TeX/texmf/tex/context/base/type-akb.tex) fonts : [serif] [default] [size] (/usr/TeX/texmf/tex/context/base/type-syn.tex) (/usr/TeX/texmf/tex/context/base/type-enc.tex) (/usr/TeX/texmf/tex/context/base/type-siz.tex) (/usr/TeX/texmf/tex/context/base/type-map.tex) (/usr/TeX/texmf/tex/context/base/type-spe.tex) (/usr/TeX/texmf/tex/context/base/type-exa.tex)
Re: [NTG-context] Re: How to use PostScript font (SOLVED)
Okay. Problem solved. The thing is that I did not ask the texlive distribution to install the extra fonts package. The palatino fonts were part of the extra fonts. Now I have another question. It seems like \setupbodyfont[palatino] produces different results than \setupbodyfont[ppl]. The former tries to use palatino in all the variations in the following example. The palatino fonts seems to be missing the serif variant, so the \ss and the normal lines look the same---i.e ConTeXt decided to use the same roman variant for both the \rm and the \ss line. Even the equation uses some sort of postscript font that I am not familiar with. The latter---\setupbodyfont[ppl]---is not very forceful---it uses palatino in the \rm, \em, and \sl lines. Everywhere else the CMR font is used. What causes this behavior? \usetypescript[berry][ec] % or [8r] \usetypescript[palatino][ec] % \setupbodyfont[palatino] %\setupbodyfont[ppl] \starttext {\rm The quick brown fox jumps over the lazy dog. 1234567890} {\em The quick brown fox jumps over the lazy dog. 1234567890} {\sl The quick brown fox jumps over the lazy dog. 1234567890} {\ss The quick brown fox jumps over the lazy dog. 1234567890} {\bf The quick brown fox jumps over the lazy dog. 1234567890} {\tt The quick brown fox jumps over the lazy dog. 1234567890} $$1+\sqrt{x^2}+\sum dx$$ \stoptext ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Cannot TeX this
Why can't I process the following from the manual? \def\HeadTitle#1#2% {\hbox to hsize {\hfill % \framed[height=1cm,width=2cm,align=left]{#1}% \framed[height=1cm,width=4cm,align=right]{#2}}} \setuphead[subsection][command=\HeadTitle] \starttext \subsection{Test}{Test} This is a test \stoptext ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Cannot TeX this (SOLVED)
On Monday 16 August 2004 10:35 pm, Salman Khilji wrote: {\hbox to hsize OOPS! Sorry about this one. Couldn't see the hsize instead of \hsize Salman ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Custom Numbering Problem
Two problems: 1) With the following: \setuphead[section][ownnumber=yes] \setupbodyfont[cmr,12pt] \starttext \completecontent \section{1a0101}{Objective} There is no objective at this moment. \stoptext There is no spacing between the text 1a0101 and Objective in the table of contents---this looks really ugly. However, what I really want is the ownnumber to apply to \title, not a \section. So if I do this: \setuphead[title][ownnumber=yes] \setupbodyfont[cmr,12pt] \starttext \completecontent \title{1a0101}{Minimum Radius Turn} \section{Objective} There is no objective at this moment. \stoptext Then the number 1a0101 does not appear right next to a title. (I only see Minimum Radius Turn as opposed to the expected 1a0101 Minimum Radius Turn. Also my \section{Objective} has numbering. I thought numbering was turned off by default on \title \section \subsection etc. ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] \CAP command does not work
Why don't I see capitals in the following example? \setupbodyfont [cmr,12pt] \starttext \startbuffer[test] The quick brown fox jumps over the lazy dog. \stopbuffer \getbuffer[test] \CAP{\getbuffer[test]} \stoptext ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] PDFTeX sources
1) I want to know the simplest way (and the minimal way) to compile PDFTeX on Windows. From the manual, I see that you have to download web-7.3.tar.gz web2c-7.3.tar.gz pdftex.tar.gz However, this assumes that you have ./configure available (means UNIX or Cygwin). While I have been using Linux for the past two years, I'm afraid, I am too incompetent, dumb, lazy, stupid, and stubborn to learn autoconf and autotools---I want to know exactly what steps are performed while compiling the program and it would be best understood if I had a simple Visual C++ project file to work with. I want to be able to compile pdfTeX from sources using an already available DSP (MS Visual C++ project file)---this means it should somehow use an already existing config.h file. I downloaded the MikTeX sources, but it comes with 65535 other files and directories that I do not need and also mandates the download of Cygwin. 2) Basically, I want to learn a little about the internals of pdfTeX to investigate if I can take the PDF specific C source code out of it and somehow use then in the TeX++ project (which is a reincarnation of CommonTeX, which was an implementation of TeX written in C from scratch by Pat Monardo). I must admit that TeX++ is a piece of cake to install and compile simply because there is no autoconf and autotools to convolute the project. I have been reading TeX, the program these days from cover to cover and comparing the source code to the TeX++ sources and the two are as close as it can get. So I suppose, one could take PDFTeX, strip it out of the web2c files, massage the rest to fit TeX++, and have an easy to compile, and extend version of TeX that produces PDF files directly. Any inputs on this matter? Salman ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Understanding registers command
From the BM, I copied the following and created a file named junk.tex. \starttext \defineregister[street][streets] \street{Ridderstraat} \placestreets \stoptext However, texexec gives me the following: ! Undefined control sequence. recently read \placestreets l.4 \placestreets ? ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Beginner problem with Itemize
I am trying to run the following example from the beginner's guide: \starttext Hasselt lies in. \startitemize \head kraamschudden \hfill (child welcoming) When a child is born \head nabuurschap (naberschop) \hfill (neighbourship) Smaller communities. \stopitemize \stoptext I get the following error: systems: begin file new at line 1 ! Argument of \complexdoitemgrouphead has an extra }. inserted text \par to be read again } \doattributes ...A \csname #1#2\endcsname \fi {#4} \dostopattributes \complexdoitemgrouphead ...leur {\ignorespaces #2} }\iftextitems \removeunwan... l.11 ? [EMAIL PROTECTED]:~/Softdev/ConTeXt pdftex --version pdfTeX (Web2C 7.4.5) 3.14159-1.10b kpathsea version 3.4.5 ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] How to read syntax descriptions
In the beginner's manual, we have for \startitemize the following: \startitemize[..,..,..][..,..=..,..] ... \stopitemize I was wondering how do you read this in english? Based on the examples, am I correct to say the following? 1) The \startitemize is optionally followed by a comma separated list of parameters enclosed in brackets. 2) Then a set of key-value pairs enclosed in brackets follows. Again this is optional. If this is correct, then what about \setupitemize?. It says \setupitemize[.1.][..,.2.,..][..,..=..,..] So again let me guess .1. stands for a number The third set could be key-value pairs What about the set in the middle? Can we have an explanation for these please. Salman ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context