.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
0answers
20 views

Preload a preprocessed file embedding it in a format

I am working on a dictionary, and I would like to reduce the time it takes to build it. The entries that I work with are stored in some form, and are then 'translated' to a TeX file, which is included ...
1
vote
1answer
48 views

babel/plain.def : ! Illegal parameter number in definition of \@yargdef

I tried to generate plain TeX cyrillic format files using makefmts.sh script from cyrplain package, here is the content of this script: #!/bin/sh tex -ini -fmt=cyrtex -progname=tex cyrtex.ini tex ...
2
votes
1answer
163 views

Cyrillic letters and Russian hyphenation in Plain XeTeX

What is the simplest method to tell XeTeX (not XeLaTeX) to use a font with Cyrillic letters and to apply Russian hyphenation rules? Ideally i would like to not have to specify anything in the source ...
3
votes
2answers
162 views

Easy method to activate cyrplain package (CyrTeX)

I would like to have a Cyrillic version of TeX/AMSTeX. I have installed the cyrplain package, but further instructions are too long and technical for me, sometimes referring to README of other ...
8
votes
1answer
57 views

Color (CMYK) leakage when using precompiled format file?

EDIT3: Note - the below apparently demonstrates a bug with Ghostscript 9.02's tiffsep device (see comments); tested it with Ghostscript 9.16 and it doesn't display this problem (CMYK separations are ...
9
votes
3answers
350 views

How TeX creates DVI without reading TFM file?

My setup: TeX Live, version 2014.20141024-2 (packaged with Debian 8 Jessie) Consider test.tex A \bye $ tex -ini '\input plain \dump' This is TeX, Version 3.14159265 (INITEX) ...
2
votes
1answer
72 views

CJKutf8 font usage changes if using with precompiled format?

Consider the MWE posted below (based on How does one type Chinese in LaTeX?) - you will need the simsun.ttc font in the same directory. First, in the MWE below (call it test.tex) uncomment the ...
2
votes
1answer
74 views

Convert from a textplain reference to bibtex

I have the following list of publications in a text plain file: [1] Heikki Ailisto, Petteri Alahuhta, Ville Haataja, Vesa Kyllönen, and Mikko Lindholm. Structuring context aware applications: ...
0
votes
0answers
108 views

MiKTeX - error creating format for platex

I'm trying to add platex/pdfplatex to MiKTeX, but I can't seem to do it right. These are my steps: Enable the format (uncheck exclude) Rebuild (which fails) I don't understand what the ...
0
votes
0answers
105 views

Comments in preamble causing errors in build with “pre-compiled” format file using mylatexformat?

Consider the following MWE - nearly the same as in Failure with [greek] babel and lastpage, \frontmatter?, but not exactly - where I have a large document, for which I wanted to generate "precompiled ...
0
votes
0answers
53 views

How to embed graphics formats [duplicate]

Is it possible to include .x3d, .dae, .pov, .dxf, or .wmf grapics into tex-syntax in order to create a pdf file?
1
vote
0answers
88 views

fmt and command line commands (with e.g. mylatexformat)

I want to speed up the compilation process, so I splitted the main document in two files: MWE preamble.tex \documentclass{article} \csname endofdump\endcsname main.tex \begin{document} ...
34
votes
1answer
1k views

What is “Lollipop”?

I just read something about "Lollipop" in an Stackexchange advertisement on this web page. What is so different about it compared to other macros? What does it do so easily and what can it do? The ...
2
votes
1answer
2k 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 ...
10
votes
1answer
138 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 ...
2
votes
1answer
132 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)?
3
votes
1answer
160 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
57 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. ...
4
votes
1answer
164 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 ...
21
votes
2answers
729 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
132 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
73 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 ...
4
votes
1answer
103 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
198 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
44 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?
4
votes
1answer
97 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 ...
6
votes
1answer
117 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
97 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
4k 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 ...
15
votes
1answer
361 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 ...
3
votes
1answer
4k 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 ...
14
votes
1answer
309 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 ...
38
votes
0answers
2k views
+50

Speeding up compilation using precompiled preamble with LuaTeX

Compiling my documents with lualatex takes quite long. I have a complex preamble, and I noticed that it takes long to process this part of the file. Today, I came across this website, which proposes ...
1
vote
1answer
10k 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 ...
7
votes
0answers
151 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
145 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
114 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
314 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 ...
6
votes
1answer
224 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
2k 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
187 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
213 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
90 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 ...
25
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 ...
10
votes
2answers
602 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
651 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, ...
15
votes
6answers
1k 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
512 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
520 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 ...
31
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?