.fmt files are recompiled preamble files created with INITEX used to speed up compilation and process hypenation patterns

learn more… | top users | synonyms

1
vote
1answer
516 views

Latex error after ubuntu 14.04 update [closed]

I updated my operating system on my laptop from Ubuntu 12.04 to 14.04 yesterday, and now I cannot compile my .tex files. I always get the following message. This is pdfTeX, Version ...
0
votes
0answers
61 views

Springer Latex Macro Package

Just downloaded the Springer latex macro package to prepare manuscript for submission. What do I do next in terms: 1. Getting it started and working 2. If I could use Jabref here since it has a ...
9
votes
1answer
96 views

List of all control sequences let to primitives in common formats

I would like to know a list of all control sequences which are let equal to primitives in common formats. For plain TeX for instance, we would get the list \endgraf % = \par \endline % = \cr \repeat ...
1
vote
1answer
73 views

How to derive one TeX-Format from another

Let's say I want to write my own TeX-format for learning purpose, how can I easily derive from plain.fmt (or better xetex.fmt)?
2
votes
1answer
37 views

From what files are the .fmt files generated?

I am trying to dig into the inner workings of LaTeX and to see where basic macros such as \{ are defined. texdef gives nothing useful (saying that it is defined by LaTeX) and the .fmt files, being ...
2
votes
0answers
41 views

LaTeX Style Formating for Undergraduate Papers [closed]

I was wondering what the best LaTeX style formatting is for writing an undergraduate paper? I have only used it for lab reports so far and need to expand my knowledge of formatting for different uses. ...
3
votes
1answer
96 views

How to create a format file with initex to speed up processing time?

I have a file called matteo.tex which contains lots of macros. I'd like to create a format file with initex so that, every time tex processes a file that contains some of matteo.tex macros, it ...
20
votes
2answers
598 views

The role of %&latex at the beginning of a source latex file

Could someone please explain what is the role of %&latex which is put in a source LaTeX file before \begin{document} command?
1
vote
1answer
57 views

Glossaries and mylatexformat incompatible?

I'm trying to speed up my big preamble with many packages by using mylatexformat. And I have lots of errors, the majority of which comes from the glossaries package. My MWE: ...
0
votes
0answers
64 views

LaTeX and Word - how to convert [duplicate]

One of our chemistry professors asked us to convert our LaTeX document into PDF, because it's easier for him to correct the document that way. I just thought it was impossible to convert Word to LaTeX ...
3
votes
1answer
80 views

How to use format files in a different directory

I have successfully built my own format file from a large preamble. I can successfully use it when I pdflatex with the .tex in the same directory as the .fmt, but how do I access that .fmt file if I ...
7
votes
1answer
108 views

Error Message: “tex: fatal: Could not undump 1 4-byte item(s) from”

if I try to run tex on Fedora Linux I always get an error message: "tex: fatal: Could not undump 1 4-byte item(s) from /usr/share/texliv/texmf-var/web2c/tex/tex.fmt." I removed and reinstalled ...
1
vote
1answer
41 views

Tex file run error

When I run the tex file by Winedit, the out put shows like this. How to check this error? How to find the wrong in the tex file?
3
votes
1answer
69 views

Change fontsize class option after being set in a format

I use mylatexformat to build easily format files. Consider the following file \documentclass[10pt]{article} % This is file t.tex \begin{document} Test \end{document} I then run pdflatex -ini ...
0
votes
0answers
107 views

the source file (Tex file) is still corrupted and cannot be opened

I have a paper accepted by a journal. Editors ask me to upload my source tex file. Editors told me the tex is corrupted and cannot be opened after my twice upload, but the tex file works properly ...
1
vote
0answers
43 views

Own cls to fmt conversion

Is it possible to convert my own .cls to .fmt conversion using PdfTeX? NOTE: Our peoples are frequently change/updations in class file (source .cls file). So that I would like to convert non-editable ...
5
votes
0answers
95 views

Ouch---my internal constants have been clobbered!---case 14 [duplicate]

For an unknown to me reason, LaTeX started giving me this error: Ouch---my internal constants have been clobbered!---case 14. It throws the error even before it starts reading the file, so even if I ...
3
votes
2answers
2k views

Error: Can't find the format file pdflatex.fmt

I have TeX Live installed on my MacBook Pro running MacOSX 10.8 through macports. Recently on trying to compile a LaTeX file through pdflatex I got the error ...
10
votes
1answer
212 views

How can latex and pdflatex be both symbolic links to same executable (pdftex) and not behave the same?

When I run $ latex my_doc.tex and $ pdflatex my_doc.tex it works, and when I run $ pdftex my_doc.tex it doesn't work. The thing is I noticed that both LaTeX and pdflatex commands are ...
2
votes
1answer
3k views

pdflatex error: latex.fmt doesn't match pdftex.pool

I'm having some problems trying to get a portable TeX Live installation working. It started off great, but I tried to use tlmgr to add some packages and now whenever I run pdflatex I get a weird ...
13
votes
1answer
221 views

How can I dump Lua code to a format file?

From this format: %% testformat.ini \input plain \directlua {tex.enableprimitives('', tex.extraprimitives())} \directlua { testFunction = function () tex.print("This was print by Lua's ...
22
votes
0answers
749 views

Speeding up compilation using precompiled preamble with LuaTeX

Compiling my documents with lualatex takes quite long. I have a complex preamble, and noticed it takes long to process this part of the file. Today I came across this website, which proposes a trick ...
1
vote
1answer
5k views

Error when compiling (pdfLaTeX)

I wrote some lines and I wanted to view the pdf, so I compiled and built but I have this error message: This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9 64-bit) pdflatex.EXE: The memory ...
6
votes
0answers
144 views

Need commands for creating manual “pre-compile” of preamble in Windows, perhaps by pressing a button [duplicate]

I would like to manually create a separate file with preamble "pre-compiled". I found a very simple example at: ultrafast pdflatex with precompiling where Jonas Stein describes their example: ...
1
vote
0answers
124 views

compare two latex files with pdflatex.fmt format and not for .cls format [closed]

I would like to compare old.tex with new.tex file. I have find latexdiff is good for two latex comparison. But it's supporting only \documentclass{article}. But i have %&update-article.fmt format. ...
3
votes
1answer
105 views

FMT to CLS Creation in LaTeX

A Few years back we have created fmt format through PDFTEX. Now we have need to update some points in the class file. It is possible again to create fmt to .cls or .dtx files?
3
votes
1answer
261 views

Compiling my own mktexfmt

I'm trying to compile my own version of pdftex which works fine. However, I must compile my own format file (fmt) for that. This should be done with mktexfmt. My problem is that I don't know where to ...
5
votes
1answer
201 views

Tool to handle “precompiling the preamble” automatically

On Windows there is a nice little tool called latexdaemon that can handle "precompiling the preamble" (and thus speeding up compilation) automatically. It doesn't require any additional setup: one ...
4
votes
1answer
1k views

TeXworks and Command Line Compilation ok, But TeXShop yields different result

Background: As per my earlier question, Can't get real currfile if used in precompiled .fmt file, I am trying to speed up compilation by generating a .fmt file. The example below tests that the ...
3
votes
1answer
128 views

Compile directive via an included file

Background: For one project, I store all my header .tex/.sty files in ../../../Templates, and all the files need to be at a particular relative directly location so using this relative hierarchy ...
5
votes
2answers
180 views

Can't get real currfile if used in precompiled .fmt file

Background: I am not sure if this is a bug with the currfile package, or if I not properly using the package, or perhaps an issue with using .fmt files. BTW, this is my first attempt at using .fmt ...
2
votes
1answer
84 views

How to know the re-formatted book is centered?

I have a tex file that I'd like to print into a paperback book using lulu.com. It is formatted into A4 format and I have done some fiddling with the formatting to get it into the format of a small ...
20
votes
1answer
2k views

ultrafast pdflatex with precompiling

I try to improve the time pdflatex needs to compile my book. Really working example book.tex %&preamble \begin{document} Hi \end{document} and preamble.tex \documentclass{article} I run ...
7
votes
2answers
477 views

Is pdflatex an engine or a format?

From http://www.tug.org/levels.html Engines: TeX, pdfTeX, XeTeX, LuaTeX, … These are the actual executable binaries which implement the different TeX dialects. The LaTeX format is implemented ...
2
votes
1answer
503 views

Combine many files in LyX

I have written dozens of exercises as LyX documents in separate files. Each of them has its own unique number. For example: 1013, 2053 etc. I would like to create a booklet with all the exercises, ...
13
votes
6answers
886 views

Custom format file: How to automate the generation of the “precompiled preamble” whenever one of the files that are used there are changed

I would like to speed up compilation of my LaTeX documents using the precompiled preamble approach, and I was wondering whether any of the Tools for automating document compilation have support for ...
5
votes
2answers
444 views

custom luatex format file

I have to process a big number of files with the same preamble. Therefore I try to build a custom format file. The biggest »time eater« is font loading in lualatex, so I try to load the fonts in the ...
4
votes
1answer
430 views

Using the standalone package with a FMT file

I am trying to use TeX's ability to dump a "format" file along with the standalone package. There are four scenarios to consider, and I can get all but 1 working. First - the files I'm using. There ...
28
votes
6answers
2k views

List of TeX formats

LaTeX, ConTeXt and plain are the most well known TeX formats/macro packages. But there are others, such as Lollipop. What others are out there and are any in use these days anymore?
6
votes
1answer
757 views

Latexmk can't see a dependency on a .fmt format file

I'm using latex on a small netbook, and with average-sized files (~150 pages at the moment) compilation is already pretty slow. So I am looking for every way to speed up the compilation. In this ...
1
vote
1answer
462 views

TikZ's externalization and mylatex

I know I am greedy... I have tried for quite a while to get TikZ's externalization facilities to work nicely with mylatex, without any luck. My document currently looks like \documentclass{article} ...
7
votes
1answer
302 views

What macros are defined in a Web2c format file?

Web2c defines its format style using Pascal strings, so there are no separator characters between csnames. Is there a straightforward way of listing all csnames bound in a .fmt file?
6
votes
1answer
922 views

How to create luatex.fmt

I wanted to try the latest version of LuaTeX, so I downloaded the official precompiled binaries. But these raw binaries are useless without a luatex.fmt. How can this file be created?