Re: New format

Joseph Wright <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>
On 29/12/2015 15:38, José Carlos Santos wrote:
> Hi all,
> 
> I tried to create a new memory dump file and I failed. What I did was to 
> create a files, called pdfplainpt.tex, and I've put it on a directory 
> which is one of MiKTeX's root directories. However, if I try to build 
> the memory dump file, I get an error message. In fact, if I open a DOS 
> window, if I go to the directory where the file pdfplainpt.tex is 
> located and if I run
> 
> miktex-makefmt.exe --engine=pdftex --dest-name=pdfplainpt pdfplainpt.tex 
> --verbose --admin
> 
> what I get is:
> 
> ---------------------------------------------
> Creating the pdfplainpt format file...
> Running miktex-pdftex.exe...
> This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9 64-bit) (INITEX)
> entering extended mode
> ! I can't find file `pdfplainpt.tex'.
> <*> pdfplainpt.tex
>                     \dump
> Please type another input file name
> ! Emergency stop.
> <*> pdfplainpt.tex
>                     \dump
> No pages of output.
> Transcript written on texput.log.
> 
> Sorry, but miktex-makefmt did not succeed for the following reason:
> 
>    miktex-pdftex.exe failed on pdfplainpt.tex.
> 
> The log file hopefully contains the information to get MiKTeX going again:
> 
>    C:/Users/Admin/AppData/Local/MiKTeX/2.9/miktex/log/miktex-makefmt.log
> ---------------------------------------------
> 
> I don't understand the "I can't find file `pdfplainpt.tex'", since I do 
> this on the directory where the file is located! What am I doing wrong?
> 
> Best regards,
> 
> José Carlos Santos

MiKTeX will *only* find files inside the MiKTeX-managed tree if they are
in the file name database. So either:

 - Move the file out of the managed tree and do your work there
 - Update your database before trying to build the format

Joseph


------------------------------------------------------------------------------
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.