Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [format-files]

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

2
votes
1answer
40 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 ...
1
vote
1answer
58 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 ...
2
votes
1answer
313 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 ...
1
vote
1answer
76 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 ...
0
votes
0answers
56 views

how to make format files manually?

In my MikTeX installation in Windows 10, it only has three mft files, cmbase.mft, mplain.mft and plain.mft. When I use mo.exe to build other format files, it fails. How can I build other mft files ...
0
votes
0answers
49 views

how to obtain editable format [duplicate]

I need to obtain an editable format for my document, because I need to send (by e-mail) to someone that can edit and correct the text. But, compling the .tex, I can obtain just .pdf, isn't it? Or I ...
6
votes
0answers
118 views

Has anyone kept a copy of LamsTeX version 1?

I wrote my PhD thesis (back in spring 1990) in LamsTeX version 1 (version 2 came out in 1991). I would like to recompile my thesis manuscript but on CTAN only version 2.01 is available (and I noticed ...
1
vote
1answer
81 views

Biber ignores \addbibresource when using format (fmt) file

I am creating a format file using mylatexformat. This allows me to precompile my (extremely lengthy preamble, shortening compile time. However, biber does not respond to addbibresource, complaining ...
4
votes
1answer
88 views

Format file contents don't typeset

I created the following myformat.tex file, and converted it to a .fmt file using tex -ini myformat. \input plain Friend, Romans, countrymen, \dump I then wrote the following manuscript, mymanuscript....
4
votes
1answer
132 views

Unable to load format (“command not found”)

I've created two files: myformat.tex, and mymanuscript.tex. The former's contents are \def\hello{hello}\dump The latter's contents are \hello, world!\bye I've created a .fmt file from the former ...
2
votes
1answer
225 views

pdflatex not working anymore after updating pdflatex.ini and initexmf --dump=pdflatex

I tried to overcome the well known tex capacity exceed problem, when using large Surf-plot with many datapoints. I tried this by typing into the cmd (Windows 7, MikTex 2.9): initexmf --edit-config-...
0
votes
2answers
1k views

How I solve the problem of writing an formula with just one accolade?

I should write the following formula: This is the code: \begin{equation} Q_{sp}=\left\{\stackrel{\frac{\kappa_{0}\kappa_{1}\dots \kappa_{Zp-1}}{\mu_{1}\mu_{2}\dots\mu_{Zp} (1+\sum^{n}_{l=1} \frac{\...
4
votes
2answers
107 views

TeX format does not work in pdftex

I have format Finnish.fmt it works on TeX like: tex --fmt=Finnish letter.tex On pdftex i get: pdftex --fmt=Finnish letter.tex error: ---! Finnish.fmt was written by tex (Fatal format file error; I'...
20
votes
1answer
533 views

Why does LaTeX throw an error without \begin{document}?

Consider the following "Hello, World!" document. Hello, world! \end If you try to compile this using latex.exe, you get the error** ! LaTeX Error: Missing \begin{document}. Okay, so on one hand, ...
3
votes
0answers
101 views

Can I define the format file in TeX file?

I have a Finnish format file for TeX. Can I make TeX use the custom format while processing the file? Looking at tex -help, it looks like starting the file like: %&../fin/Finnish.fmt should work,...
7
votes
1answer
256 views

Why can I include tikz in a custom latex format with pdftex and not with luatex?

Consider the following class.cls: \LoadClass{article} \RequirePackage{tikz} and the following test.tex: \documentclass{class} \begin{document} Test \end{document} With pdftex (TeXLive 2016), I do:...
4
votes
0answers
187 views

Guidelines for using mylatexformat with luatex

I'm a big fan of custom LaTeX formats built with mylatexformat. So far, pdftex has been my default engine. I'm now going to use luatex as my default engine so I'd like to adapt my format customization ...
0
votes
1answer
1k views

Latex on Fedora 24 [closed]

I had to install Fedora 24 (beta as today) because my laptop was too new and needed latest version of Kernel. Everything quite good, but the issue now is that I want to compile latex and seems that ...
5
votes
3answers
644 views

Custom format file and subfiles

I want to use a custom format file to speed up my compilation. However this doesn't play together with the subfiles package. Consider the following minimal example: preamble.tex \documentclass[...
1
vote
0answers
100 views

Where should I install a new format (.fmt file) to TeX?

I have the web2c version of TeX installed manually from texlive packages. I'm using Linux. The format is installed for my user and works if I put the .fmt file under ~/.texlive2014/texmf-var/web2c/tex/...
1
vote
0answers
109 views

Autocomplete for macros defined in FMT file (TexStudio)

After creating a FMT file and using it in lieu of a very long preamble, TeXStudio no longer recognise custom commands and environments that were previously defined the preamble. Hence, it no longer ...
1
vote
0answers
69 views

Generating formats, compiling binaries

I compiled luatex from source, but I don't know how to install it. Running build.sh did result in the file build/texk/web2c/luatex. But simply placing this in TeX/texbin was not enough. The file ...
2
votes
1answer
4k views

I can't find the format file `Latex.fmt'!

I have just migrated to MacBook Pro running El Capitan after years on MS Windows. I happily ran Tex on Windows. I have installed MacTex and tried to typeset a sample document. I get the following ...
1
vote
1answer
192 views

Problem in making a custom format for plain xetex

I have lots of macros and so would like to create a format out of them. I am using xetex as engine. Suppose format.ini is a file which looks like this: \input plain [lots of macros] \dump If ...
8
votes
1answer
563 views

LuaTeX 0.85 \pdf* primitive changes and format file generation

TeX Live 2015 ships with LuaTeX 0.80. As LuaTeX 0.85 became available last month and I am supposed to do be doing other things I found this to be a wonderful opportunity to procrastinate by giving the ...
5
votes
0answers
155 views

Real advantages of LaTeX over other formats [closed]

LaTeX has practically become the de facto standard in typesetting with TeX and has practically superseded all other formats (even to the point that some people consider TeX and LaTeX as synonims). ...
2
votes
1answer
450 views

mylatexformat and pythontex

I use mylatexformat to easily build format files. Consider the following file: \documentclass{article} % This is file t.tex \usepackage{pythontex} \begin{document} Test \end{document} Then, I run ...
6
votes
1answer
348 views

\fmtversion not the same with xelatex and pdflatex

Consider the following MWE \documentclass{article} \begin{document} \fmtversion \end{document} Texlive 2015 was updated today (tmlgr update --all) The command: xelatex file.tex creates a .pdf ...
1
vote
0answers
80 views

MacTex on and iMac running TexShop and plain tex with custom fmt file

I have a MacTex/TexShop distribution running under Yosemite on an iMac. Under a 2010 distribution I managed to create a docfmt.fmt file of my own macros and use it as a typesetting program. The ...
3
votes
0answers
1k views

How to create a format file [closed]

How do I create a format file? I've successfully compiled the TexLive sources under Ubuntu. Unfortunately, there seemed to be no included format files (e.g., plain.fmt, pdftex.fmt, luatex.fmt, etc.). ...
2
votes
1answer
73 views

How to manage spaces in paths to format files?

I have noticed that pdflatex \&"/path with a space/mylatexformat" file.tex does not work whereas pdflatex \&"/path/without/space/mylatexformat" file.tex works well. Is there any ...
1
vote
1answer
111 views

Is it possible to use mylatex or mylatexformat for documents with preambles almost the same?

I have documents of this form: \documentclass{article} \newlength{\variableLength} \setlength{\variableLength}{xxxx cm} \usepackage{package1} \usepackage{package2} \usepackage{package3} \...
3
votes
1answer
157 views

Help for using mylatex or mylatexformat?

I have several document of the form \documentclass{article} \usepackage{package1} \usepackage{package2} \usepackage{package3} \makeatletter % some macros \makeatletter \begin{document} \input{...} ...
1
vote
0answers
306 views

Is it possible to create a new format file with commonly used macros appended to latex.fmt (Miktex)

I use many macro defintions in my latex documents and many packages, which I want to be appended to the latex.fmt file. Is it possible to create a new format file with appended macros? And if it's ...
9
votes
0answers
179 views

How to precompile preamble when using arara [closed]

A different tex question led me to a link regarding a precompiled preamble. I use arara for all of my runs. What is the correct procedure to use a precompiled preamble for each of the runs made ...
0
votes
0answers
73 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 ...
3
votes
2answers
278 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 -...
3
votes
1answer
559 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
643 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 ...
2
votes
1answer
601 views

How to load precompiled preamble from a specific folder?

According to this line How to speed up pdflatex for a very large document on MacOS X? . Precompile preamble significantly speed up pdflatex compilation. The method is to generate a precompile.fmt ...
8
votes
1answer
116 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
837 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) (/usr/share/texlive/...
2
votes
1answer
443 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 \begin/...
5
votes
3answers
12k 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: Five-...
0
votes
0answers
540 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 missing ...
0
votes
0answers
715 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
56 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?
2
votes
1answer
547 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} \...
39
votes
1answer
2k 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
3k 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 3.1415926-2.5-1.40....