[Tugindia] (no subject)

David Kastrup dak at gnu.org
Fri Jul 30 13:46:57 CEST 2004


"CV Radhakrishnan" <cvr at river-valley.org> writes:

> >>>>> "goutham" == goutham madonkar <indianstar_2004 at yahoo.com> writes:
> 
>     goutham> Dear users, In latex.ltx file, i declare one command like
>     goutham> \def\hai{Hello Everybody}.  In document file, i use \hai
>     goutham> command, error occurs. why?
> 
> Because TeX doesn't know anything about your new declaration since
> latex.ltx is not read with every compilation.
> 
>     goutham> How to create new .fmt file in latex...Give the step by
>     goutham> step process to create .fmt file.
> 
> This is an RTFM question. You might issue the following command from
> the prompt:
> 
> tex -ini -fmt=latex latex.ltx
> 
> Move the resulting latex.fmt to the location where TeX looks for
> formats, usually it is $TEXMF/web2c. Update your TeX's file data
> base.

Actually, you should not do that.  Read the licence.  It is a bad idea
if your version of LaTeX behaves incompatible with everybody else's.
If you want to work with preloaded material, you can use the
mylatex.ltx file from David Carlisle (instructions are in the file
itself).

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum



More information about the tugindia mailing list