Skip to main content

Questions tagged [format-files]

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

Filter by
Sorted by
Tagged with
2 votes
1 answer
74 views

Lua socket errors when trying to compile basic ConTeXt documents

Note: I am not entirely sure whether this question is appropriate for the TeX Stack Exchange as this seems to be an issue with my TeX Live installation. But I suppose that the people here would ...
Runxi Yu's user avatar
1 vote
0 answers
87 views

Can not recompile pdflatex.fmt to resolve "pdflatex.fmt made by a different executable"

Originally, I was getting this "made by different executable" error with pandoc, and later with everything that has anything to do with generating PDFs through the pdflatex engine. As per ...
user1094822's user avatar
0 votes
0 answers
55 views

Why picture appears above text even when I added it below the text [duplicate]

I wrote following code and I added picture below the text but it appeared above it. can anyone please suggest fixes, Thanks. \subsection{Bloch sphere} Bloch sphere is graphical representation of Qubit....
Shakeel Ur Rahman's user avatar
0 votes
1 answer
264 views

I can't find format file 'pdflatex.fmt'!

I'm on Fedora Silverblue 39 and used rpm-ostree to install texlive-scheme-full. I tried compiling a .tex file from the command line using pdflatex but it returns this error. kpathsea: Running mktexfmt ...
stevicheliz's user avatar
1 vote
0 answers
74 views

How to use my own format together with the plain format in Texpad

I managed to create a format file using \dump, but how do I set TeXpad to recognize it? I would like to use TeXpad. I always use the plain format, and TeXpad is heavy on LaTeX; it can run plain, but I ...
David Salomon's user avatar
7 votes
1 answer
108 views

What was the source of SweTeX using / and <> instead of \ and {}?

In the 1980s there was a Swedish format for TeX named "SweTeX" in use at least at Uppsala University, maybe also at KTH in Stockholm and elsewhere. It was meant for writing texts in Swedish ...
pst's user avatar
  • 4,684
1 vote
1 answer
150 views

Error when using custom format file, "LaTeX Error: No \title given."

For faster compilation, I'm attempting to use a custom format file. However, it seems to misbehave when I try to use \maketitle … even though I use \title{Test}. MWE I've created a preamble.tex with ...
tecosaur's user avatar
  • 1,043
13 votes
1 answer
493 views

What is current date of LaTeX2e format?

My preamble begins with a line like the following, so as to help ensure that the version of LaTeX being used is sufficiently new: \NeedsTeXFormat{LaTeX2e}[2022-11-01] How do I determine the date of ...
murray's user avatar
  • 8,608
2 votes
1 answer
86 views

Difference between mylatexformat and ini option of pdflatex

I know that I can significantly speed up LaTeX compilation times by using a format file. However there seem to be multiple options to create a format file: Just using the ini option of pdflatex (in ...
student's user avatar
  • 29.2k
0 votes
0 answers
58 views

How to detect iniTeX?

How can I detect, from within a LaTeX document class, if the engine was started with -ini or not? I’m using XeTeX if that matters.
gaelicWizard's user avatar
0 votes
1 answer
183 views

MiKTeX can't build format of platex/platex-dev

The latest MiKTeX supports the pTeX/upTeX engine now, but when I build the platex format, there is an error: This is e-pTeX, Version 3.141592653-p4.0.0-220214-2.6 (utf8.euc) (MiKTeX 22.3) (INITEX) 1 ...
redmoon's user avatar
  • 101
1 vote
0 answers
1k views

pdflatex.exe: the memory dump file could not be found / Miktex does not build formats

Im using Windows 10 pro, and I installed both MikTeX (basic-miktex-22.3-x64) and Texmaker (Texmaker_5.1.3_Win_x64). When I try to build any .tex file in Texmaker it gives me the error: pdflatex -...
Substraction's user avatar
0 votes
0 answers
113 views

Running pdftex in a »for loop« over many *.tex files, using a format, and hitting file names with umlaut and / or spaces

This is a follow up to this question: mylatex.ltx and a file name with an umlaut and / or spaces I'm producing 50 *.tex files by using a template engine (jinja2), a python script, a *.csv file with ...
Keks Dose's user avatar
  • 31.2k
0 votes
0 answers
146 views

Precompiled preamble causing new errors with ntheorem

I'll start off by noting that I already made a post yesterday with a similar title and want to say that this is a new problem. Here's the link to my previous post if it helps provide any context. I ...
Joshua A's user avatar
0 votes
0 answers
109 views

LuaLaTeX not parsing first line %&format in texlive

Does anybody know how to enable first line parsing in LuaTeX/LuaLaTeX? Please consider that I cannot change the default command line option to run the job, so I'm relying solely on this first line ...
bgeneto's user avatar
  • 175
0 votes
1 answer
150 views

Providing absolute path to precompiled .fmt file of all my packages

I had an extremely slow latex setup that took 45 seconds to a minute to compile all my packages in an empty file. As a result, I did some searching and found mylatexformat, which allowed me to create ...
Joshua A's user avatar
0 votes
0 answers
41 views

Kpathsee looking for file "babel-xelatex.cfg"

Im working on compiling a format file using a XeLaTeX engine and It is trying to fetch a file babel-xelatex.cfg which is not found anywhere in MacTeX. It seems that upon initialisation "hyphen....
Toby's user avatar
  • 1
0 votes
0 answers
202 views

How to make install-tl to produce pdflatex.fmt

I'm using install-tl with the following profile: selected_scheme scheme-basic TEXDIR /path/to/build/texlive-basic TEXMFLOCAL /path/to/build/texlive-basic/texmf-dist/texmf-local TEXMFSYSVAR /path/to/...
Vadim Kantorov's user avatar
0 votes
1 answer
157 views

How to change the page number from bottom center to top left?

This .sty file is provided to me and the page number is currently at the bottom center (i.e. footer). I want to change it to the top left (i.e. header), which part is referring to the page number ...
H42's user avatar
  • 105
1 vote
0 answers
147 views

Compatibility of format files (*.fmt)

What is the nature of format files and how much are they compatible between binaries / platforms? I'm building my own amalgamated binary of several TeX programs (kpsewhich, xetex, pdftex, bibtex8, ...
Vadim Kantorov's user avatar
0 votes
1 answer
390 views

The gutter of 0.166 inches (smallest on pg. 3) and The font Helvetica is not embedded in the file

I am planning to submit a manuscript through EDAS and I am using the IEEEtran class (conference option). EDAS gives the following errors: The file has 6 pages, has a paper size of 8.5x11 in (letter), ...
stevGates's user avatar
  • 280
0 votes
0 answers
126 views

What do you guys do with all the files what are automatically exported with .tex?

Following these posts: Egad! What are all those files?, File extensions related to LaTeX, etc etc. I would like to know whether I am supposed to keep these or delete them, and also is there a way to ...
user71207's user avatar
  • 555
0 votes
1 answer
379 views

Where to place custom format (.fmt) files when using MikTeX?

I have created my own .fmt file, but can't seem to find where to put it so that it is found by pdflatex. I am using the MikTeX distribution. I have tried setting TEXFORMATS as an environment variable, ...
r0uv3n's user avatar
  • 33
0 votes
0 answers
193 views

Unable to compile xelatex.fmt correctly

When I launch xetex --ini --etex xelatex.ini to compile xelatex.fmt I get the following error: (/usr/local/texlive/2020/texmf-dist/tex/latex/base/preload.ltx File: preload.ltx 2014/09/29 v2.1g LaTeX ...
yannis's user avatar
  • 2,013
0 votes
0 answers
187 views

mylatexformat | need to recompile the .fmt file each 'new day'?

So, grinding throught the learning curve for the excellent mylatexformat package, in an attempt to streamline (i.e., make faster) my edit/compiation cycle for large documents that pull in lots (25-30) ...
Johnny Canuck's user avatar
2 votes
0 answers
141 views

Problem with Beamer + LuaLaTeX + format files

While trying to compile a beamer format file, I came across the following error: \documentclass{beamer} \begin{document} \end{document} Using the command lualatex -ini -jobname="fmttest" &...
dartacao's user avatar
0 votes
2 answers
202 views

mylatexformat | packages loaded 'after' dump?

I've been testing the mylatexformat as a means for speeding up the compilation of various documents that call lots (30-40) of packages in the preamble (including some large packages, like TikZ) -- ...
Johnny Canuck's user avatar
7 votes
1 answer
5k views

How to solve "Mismatched LaTeX support files" problem permanently

Background I updated my TeX Live installation on my Mac a while ago and got the error LaTeX3 Error: Mismatched LaTeX support files detected. I found a solution at Mismatched LaTeX support files ...
pandammonium's user avatar
0 votes
1 answer
173 views

Load format file in TeXWorks

I have a format file, let's say the file format.fmt that I use to initialise luatex. So, if I want to process a document.tex I type on the command line luatex -fmt format document.tex I'd like to ...
User's user avatar
  • 2,530
1 vote
0 answers
233 views

How to use mylatexformat to precompile headers with lualatex?

I would like to use mylatexformat to precompile headers without having to put them into a separate preamble.tex. This works fine with pdflatex - can I do the same with lualatex? This is what I have ...
bers's user avatar
  • 5,444
0 votes
1 answer
54 views

TOC contains "Contents" in Mainfile document / DRAFT-Background without using package

if this question has already been asked, just let me know! I seperated a big document into smaller files and my table of content displays "contents" as the first entry and I want to delete ...
Riboswitch's user avatar
4 votes
0 answers
2k views

fmtutil fails to build certain formats

I'm on a relatively fresh manjaro linux install (pdfTeX 3.14159265-2.6-1.40.21 (TeX Live 2020/Arch Linux)) and because of reasons (see below) I want to rebuild my format files with fmtutil. I'm using ...
jbetzend's user avatar
1 vote
1 answer
83 views

Why are `*.fmt` files in `/var`?

We see the following listing. [op@localhost pdftex]$ pwd /var/lib/texmf/web2c/pdftex [op@localhost pdftex]$ ls amstex.fmt etex.fmt mltex.fmt pdfjadetex.fmt texsis.fmt ...
extremeaxe5's user avatar
3 votes
0 answers
248 views

The precompilation with mylatexformat of a beamer document with lualatex fails

To speed up the LuaLaTeX compilation process of my beamer file, I tried, to no avail, to use mylatexformat like I usually do with pdfLaTeX. I am using the following MWE, called beamer.tex. \...
Victor's user avatar
  • 55
2 votes
1 answer
136 views

Reduce space between columns when using \usepackage{multicol} & \SetEnumitemKey

The MWE code below executes perfectly. But I need to reduce by 50% the horizontal space between the 2 cols. Have tried pasting this string at different places in the preamble and after \begin{...
Siuslaw Math's user avatar
0 votes
0 answers
120 views

How to work with luatex from git

I have TL2019 installed. Is it possible to clone and build the latest luatex from git, rebuild the lualatex format, and then work with that instead of TL2019's own lualatex? I'm specifically ...
Mark van Atten's user avatar
1 vote
1 answer
96 views

Procedure to compile a new tex format

I created a new format based on plain (I used another hyphen file) I compiled it using : tex --ini Myplain \dump It compiled OK and created Myplain.fmt How do I do to compile my .tex files using this ...
EFLM's user avatar
  • 91
1 vote
1 answer
630 views

TikZ externalize + LuaLaTeX + Output Dir + Precompile Preamble = Fail

How can I externalize TikZ in such a configuration? There is my MWE: preamble.tex: \documentclass[a4paper, 10pt]{article} \usepackage[left=30mm, right=10mm, top=15mm, bottom=25mm]{geometry} ...
StaticZero's user avatar
2 votes
1 answer
234 views

Why load-unicode-xetex-classes.tex is loaded by xetex.ini (but not xelatex.ini) only?

File xetex.ini is used when generating xetex.fmt. %% xetex.ini % General Unicode set up \input load-unicode-data.tex % % Classes that have always been defined by the XeTeX format \input load-...
muzimuzhi Z's user avatar
1 vote
0 answers
349 views

mylatexformat - omit content from format compilation \endofdump?

EDIT 2: \csname endofdump\endcsname solved my issues EDIT: I should have added that I get an Undefined control sequence error when compiling pdfLaTeX with \endofdump WITHOUT a preloaded format, but ...
likethevegetable's user avatar
0 votes
0 answers
318 views

Where can I download minimal example template?

Anyone have the link to download the template? I saw it in a forum, but I don’t remember where. I lost that files. :( Sorry if my grammar is not the best. I’m from Mexico. Some years ago I found a ...
TURMNIARIUS's user avatar
1 vote
1 answer
418 views

MikTeX: Cannot fix the \includegraphics error by rebuilding formats (format still says LaTeX2e <2018-12-01>)

I was hit by the recent problems with \includegraphics and followed https://tex.stackexchange.com/a/512049/130867 in order to fix it. However, rebuilding my formats in the MikTeX console does not help....
Pepijn de Maat's user avatar
0 votes
1 answer
219 views

Add a package to default TeXLive LaTeX format

I'm using TeXLive (2019) and I'd like to add a package (namely kvoptions-patch) to all default LaTeX formats. What is the proper way to do this? Is there any downside?
cjorssen's user avatar
  • 10k
2 votes
1 answer
354 views

using `\pdfmapfile` on format creation

This question is related to this one. To quote the documentation: If you want to use a base map file name other than pdftex.map, or change its processing options through a pdfTeX format, you ...
jarnosc's user avatar
  • 4,346
1 vote
1 answer
223 views

Is it wrong to call XeLaTeX an "engine"?

We know the engines to the TeX family are binary executables that compile TeX files. People sometimes mention XeLaTeX as being an engine; so here's the question: Is it wrong to call XeLaTeX an engine? ...
Qaher's user avatar
  • 1,242
0 votes
0 answers
69 views

The easiest way of using customized hyphenation patterns in xelatex+polyglossia

I would like to use xelatex+polyglossia with my own hyphenation patterns. I managed to load the patterns by adding a line yhgreek yhpatterns.tex to /usr/local/texlive/2019/texmf-var/tex/generic/...
yannis's user avatar
  • 2,013
2 votes
1 answer
171 views

When using mylatexformat background image is not shown

In order to optimize the generation of thousands of PDF documents, I'm struggling with mylatexformat that will include the main packages. To structure our work, I've put all the common packages in a ...
user3048741's user avatar
1 vote
1 answer
149 views

Problem with commands form old LaTeX setup

I had a very complex document in the past, written for LaTeX2e in several pieces. I had even a Makefile to generate both DVI/PS and PDF versions, in spanish and english. A lot of preamble macros and ...
J C Gonzalez's user avatar
2 votes
1 answer
508 views

If LaTeX tools implement the TeX features from scratch [duplicate]

I just asked about Documentation on the Algorithms or Techniques LaTeX uses for Text Layout, which lead to Alternatives to LaTeX which pointed out some tools such as ConTeXt. I also have heard of ...
Lance's user avatar
  • 1,799
1 vote
1 answer
149 views

Using a custom .fmt with Emacs/AUCTeX

I am attempting to use a plain TeX format, say, foo.fmt (based on XeTeX), with Emacs/AUCTeX (actually Aquamacs with built-in AUCTeX). I'm unable to get AUCTeX to recognize the custom format. In ...
sgmoye's user avatar
  • 8,901