Context-minimal installation problem.
Tried to install context minimals including the steps mktexlsr texexec --make --all No errors at this point. But when I tried to run pdftex I get the error message I can't find the format file `pdftex.fmt!' That file is not anywhere in my personal directory. It is however in my bigger texlive 2008 installation. The set command shows: TEXMFCACHE=/home/safer/context/tex/texmf-cache TEXMFOS=/home/safer/context/tex/texmf-linux TEXROOT=/home/safer/context/tex so that part is OK. Any hints? -- John Culleton Create Book Covers with Scribus/e-book $5.95 http://www.booklocker.com/books/4055.html
On Tue, Aug 18, 2009 at 6:15 PM, John Culleton
Tried to install context minimals including the steps mktexlsr texexec --make --all No errors at this point. But when I tried to run pdftex I get the error message I can't find the format file `pdftex.fmt!' Did you source setuptex ?
Under linux I do . setuptext in tex dir -- luigi
This is the install script I am using. It might be a starting point for you: #!/bin/bash CONTEXTVERSION="beta" CONTEXTDIRECTORY=$HOME/TeX/context/$CONTEXTVERSION rm -R $CONTEXTDIRECTORY mkdir -p $CONTEXTDIRECTORY/tex cd $CONTEXTDIRECTORY ln -s $HOME/Library/texmf tex/texmf-local #cp -R $HOME/Library/texmf/* tex/texmf-local curl -o first-setup.sh http://minimals.contextgarden.net/setup/first-setup.sh sh ./first-setup.sh >first-setup.log cd tex echo "installation context $CONTEXTVERSION minimals done" Hans van der Meer On 18 aug 2009, at 18:55, luigi scarso wrote:
On Tue, Aug 18, 2009 at 6:15 PM, John Culleton
wrote: Tried to install context minimals including the steps mktexlsr texexec --make --all No errors at this point. But when I tried to run pdftex I get the error message I can't find the format file `pdftex.fmt!' Did you source setuptex ?
Under linux I do . setuptext in tex dir
-- luigi ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
On Tuesday 18 August 2009 12:55:02 pm luigi scarso wrote:
On Tue, Aug 18, 2009 at 6:15 PM, John Culleton
wrote: Tried to install context minimals including the steps mktexlsr texexec --make --all No errors at this point. But when I tried to run pdftex I get the error message I can't find the format file `pdftex.fmt!'
Did you source setuptex ?
Under linux I do . setuptext in tex dir
I set up the folloiwng in my .bashrc: source /home/safer/context/tex/setuptex ---which gave me the "set" values quoted before: TEXMFCACHE=/home/safer/context/tex/texmf-cache TEXMFOS=/home/safer/context/tex/texmf-linux TEXROOT=/home/safer/context/tex Without that line I just default to my texlive installation. There is no pdftex.fmt file in my context-minimal install, anywhere. -- John Culleton Create Book Covers with Scribus/e-book $5.95 http://www.booklocker.com/books/4055.html
On Aug 18, 2009, at 6:15 PM, John Culleton wrote:
Tried to install context minimals including the steps mktexlsr texexec --make --all No errors at this point. But when I tried to run pdftex I get the error message I can't find the format file `pdftex.fmt!'
That file is not anywhere in my personal directory. It is however in my bigger texlive 2008 installation. The set command shows: TEXMFCACHE=/home/safer/context/tex/texmf-cache TEXMFOS=/home/safer/context/tex/texmf-linux TEXROOT=/home/safer/context/tex so that part is OK.
Any hints?
You are using ConTeXt minimals. You are using texexec to generate the ConTeXt formats (cont-en.fmt etc.). Why would you expect a format file for pure pdftex to be produced? Thomas
You are using ConTeXt minimals. You are using texexec to generate the ConTeXt formats (cont-en.fmt etc.). Why would you expect a format file for pure pdftex to be produced?
puff ... true .
I was confused with plain.fmt ....
I'm getting older, nothing to say.
John, pdftex.fmt is a matter of something like
$> pdftex -ini
On Tuesday 18 August 2009 01:48:09 pm Thomas A. Schmitz wrote:
On Aug 18, 2009, at 6:15 PM, John Culleton wrote:
Tried to install context minimals including the steps mktexlsr texexec --make --all No errors at this point. But when I tried to run pdftex I get the error message I can't find the format file `pdftex.fmt!'
That file is not anywhere in my personal directory. It is however in my bigger texlive 2008 installation. The set command shows: TEXMFCACHE=/home/safer/context/tex/texmf-cache TEXMFOS=/home/safer/context/tex/texmf-linux TEXROOT=/home/safer/context/tex so that part is OK.
Any hints?
You are using ConTeXt minimals. You are using texexec to generate the ConTeXt formats (cont-en.fmt etc.). Why would you expect a format file for pure pdftex to be produced?
Thomas _________________________________________________________________ __________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net _________________________________________________________________ __________________
OK, so I can't use Context-minimals and still use pdftex. I discovered years ago that many plain pdftex files would work with texexec because Context is really an elaborate set of macros depending on pdftex. I'll try texexec on my pdftex oriented file and see if it works. I do most of my work in plain pdftex. -- John Culleton Create Book Covers with Scribus/e-book $5.95 http://www.booklocker.com/books/4055.html
On Aug 18, 2009, at 8:04 PM, John Culleton wrote:
OK, so I can't use Context-minimals and still use pdftex. I discovered years ago that many plain pdftex files would work with texexec because Context is really an elaborate set of macros depending on pdftex. I'll try texexec on my pdftex oriented file and see if it works. I do most of my work in plain pdftex.
I don't know enough about plain (pdf)TeX to be of much help, but just a few thoughts: 1. luatex does in fact produce a format file plain.fmt, and since luatex should be pretty compatible, this may be a start. 2. There is absolutely no problem in having TeXLive and the ConTeXT minimals installed side-by-side; I have it on all my computers, both OS X and linux. I have two files with setup commands which I source for using either system, and then I can have two terminal tabs/windows open and use one or the other. 3. It should be easy to produce pdftex.fmt in the minimals; it just lacks a tool such as fmtutil. But you could try and copy over etex.ini for your texlive-installation and then run pdftex on it. HTH Thomas
On Tue, Aug 18, 2009 at 20:11, Thomas A. Schmitz wrote:
3. It should be easy to produce pdftex.fmt in the minimals; it just lacks a tool such as fmtutil. But you could try and copy over etex.ini for your texlive-installation and then run pdftex on it.
Oh ... I forgot about etex. Whenever I use plan I use it for extremely simple things. But adding etex should be no big deal. I can do it, it would only be nice to convince texexec (or context, I don't care) to generate plain pdftex format with the proper name. Mojca
On Tue, Aug 18, 2009 at 20:04, John Culleton wrote:
On Tuesday 18 August 2009 01:48:09 pm Thomas A. Schmitz wrote:
You are using ConTeXt minimals. You are using texexec to generate the ConTeXt formats (cont-en.fmt etc.). Why would you expect a format file for pure pdftex to be produced?
OK, so I can't use Context-minimals and still use pdftex. I discovered years ago that many plain pdftex files would work with texexec because Context is really an elaborate set of macros depending on pdftex. I'll try texexec on my pdftex oriented file and see if it works. I do most of my work in plain pdftex.
pdftex should work just fine, but the format is not generated by default. You can use texexec --make plain but then you need to convince Hans to rename the format from plain.fmt to pdftex.fmt (or you need to rename it yourself), but unless you use some obscure packages (or fonts) then pdftex should work just fine. Maybe we would need to add some font map entries, but add you requests if you need them. Mojca
On Tuesday 18 August 2009 03:02:20 pm Mojca Miklavec wrote:
On Tue, Aug 18, 2009 at 20:04, John Culleton wrote:
On Tuesday 18 August 2009 01:48:09 pm Thomas A. Schmitz wrote:
You are using ConTeXt minimals. You are using texexec to generate the ConTeXt formats (cont-en.fmt etc.). Why would you expect a format file for pure pdftex to be produced?
OK, so I can't use Context-minimals and still use pdftex. I discovered years ago that many plain pdftex files would work with texexec because Context is really an elaborate set of macros depending on pdftex. I'll try texexec on my pdftex oriented file and see if it works. I do most of my work in plain pdftex.
pdftex should work just fine, but the format is not generated by default.
You can use texexec --make plain but then you need to convince Hans to rename the format from plain.fmt to pdftex.fmt (or you need to rename it yourself), but unless you use some obscure packages (or fonts) then pdftex should work just fine. Maybe we would need to add some font map entries, but add you requests if you need them.
Mojca
OK that works so far. Thanks! The reason I don't just use texexec for everything is that Iike to use eplain.tex and there is an obscure name conflict somewhere between eplain.tex and context. Also I find font handling easier in pdftex. Just a single statement is needed. -- John Culleton Create Book Covers with Scribus/e-book $5.95 http://www.booklocker.com/books/4055.html
On Tuesday 18 August 2009 03:30:36 pm Wolfgang Schuster wrote:
Am 18.08.2009 um 21:29 schrieb John Culleton:
Also I find font handling easier in pdftex. Just a single statement is needed.
Can you a bit more specific what do you mean with this sentence.
Wolfgang
Well if I want bitstream charter roman at 11.2pts I can say \font\rm bchr8r at 11.2pt and I am done. Or I can define something called \fontsize and make it the referent for all my font statements: \newdimen\fontsize \fontsize=11.2pt \baselineskip= 1.1\fontsize \font\rm bchr8r at \fontsize \font\bo bchbo8t at 1.1\fontsize ...and so on. If I need the book a little longer I just change \fontsize. I have even done tricks like this: \fontfam=bch \font\rm \fontfam r8r at \fontsize Introducing a new font into TeX is never simple but I find it easier if I don't have to construct (and debug) an elaborate chain of font synonyms. It may be the luatex has made life simpler (or at least more exciting!) I will examine that prospect next. But right now I am typesetting novels, memoirs and the like. The fewer variables I have to contend with the better. YMMV of course. -- John Culleton Create Book Covers with Scribus/e-book $5.95 http://www.booklocker.com/books/4055.html
Am 18.08.2009 um 22:09 schrieb John Culleton:
Also I find font handling easier in pdftex. Just a single statement is needed.
Can you a bit more specific what do you mean with this sentence.
Well if I want bitstream charter roman at 11.2pts I can say \font\rm bchr8r at 11.2pt and I am done.
Or I can define something called \fontsize and make it the referent for all my font statements: \newdimen\fontsize \fontsize=11.2pt \baselineskip= 1.1\fontsize \font\rm bchr8r at \fontsize \font\bo bchbo8t at 1.1\fontsize ...and so on. If I need the book a little longer I just change \fontsize. I have even done tricks like this: \fontfam=bch \font\rm \fontfam r8r at \fontsize
Introducing a new font into TeX is never simple but I find it easier if I don't have to construct (and debug) an elaborate chain of font synonyms.
Use XeTeX or LuaTeX and you have no problem to use the font you like.
It may be the luatex has made life simpler (or at least more exciting!) I will examine that prospect next. But right now I am typesetting novels, memoirs and the like. The fewer variables I have to contend with the better.
In MkIV you can write the above as: \usemodule[simplefonts][size=11.2pt] \setmainfont[CharterBT] and when you want to make a global change of the font size you can do this with \setupsimplefonts[size=xxpt] Wolfgang
participants (6)
-
Hans van der Meer
-
John Culleton
-
luigi scarso
-
Mojca Miklavec
-
Thomas A. Schmitz
-
Wolfgang Schuster