CentOS: fix error: I can’t find the format file `xelatex.fmt’!


Sample error:

[root@tutorialspots pdf]# pandoc -f epub --pdf-engine=xelatex "file.epub" -o "file.pdf"
Error producing PDF.
I can't find the format file `xelatex.fmt'!

Fix: install texinfo-tex texlive-euenc texlive-textpos texlive-isodate texlive-titlesec texlive-changepage

yum install texinfo-tex texlive-euenc texlive-textpos texlive-isodate texlive-titlesec texlive-changepage

...
  Verifying  : 2:texlive-showexpl-svn27790.v0.3j-45.el7.noarch                                                                                                      125/128
  Verifying  : 2:texlive-glyphlist-svn28576.0-45.el7.noarch                                                                                                         126/128
  Verifying  : 2:texlive-babel-svn24756.3.8m-45.el7.noarch                                                                                                          127/128
  Verifying  : 2:texlive-latex-svn27907.0-45.el7.noarch                                                                                                             128/128

Installed:
  texinfo-tex.x86_64 0:5.1-5.el7                            texlive-changepage.noarch 2:svn15878.1.0c-45.el7          texlive-textpos.noarch 2:svn28261.1.7h-45.el7
  texlive-titlesec.noarch 2:svn24852.2.10.0-45.el7

Dependency Installed:
  perl-Text-Unidecode.noarch 0:0.04-20.el7                                       perl-libintl.x86_64 0:1.20-12.el7
  texinfo.x86_64 0:5.1-5.el7                                                     texlive-algorithms.noarch 2:svn15878.0.1-45.el7
  texlive-amsfonts.noarch 2:svn29208.3.04-45.el7                                 texlive-amsmath.noarch 2:svn29327.2.14-45.el7
  texlive-attachfile.noarch 2:svn21866.v1.5b-45.el7                              texlive-babel.noarch 2:svn24756.3.8m-45.el7
  texlive-babelbib.noarch 2:svn25245.1.31-45.el7                                 texlive-bera.noarch 2:svn20031.0-45.el7
  texlive-bibtex.noarch 2:svn26689.0.99d-45.el7                                  texlive-bibtex-bin.x86_64 2:svn26509.0-45.20130427_r30134.el7
  texlive-booktabs.noarch 2:svn15878.1.61803-45.el7                              texlive-breakurl.noarch 2:svn15878.1.30-45.el7
  texlive-caption.noarch 2:svn29026.3.3__2013_02_03_-45.el7                      texlive-carlisle.noarch 2:svn18258.0-45.el7
  texlive-chngcntr.noarch 2:svn17157.1.0a-45.el7                                 texlive-cm.noarch 2:svn29581.0-45.el7
  texlive-collection-basic.noarch 2:svn26314.0-45.20130427_r30134.el7            texlive-collection-documentation-base.noarch 2:svn17091.0-45.20130427_r30134.el7
  texlive-colortbl.noarch 2:svn25394.v1.0a-45.el7                                texlive-csquotes.noarch 2:svn24393.5.1d-45.el7
  texlive-currfile.noarch 2:svn29012.0.7b-45.el7                                 texlive-dvipdfm.noarch 2:svn26689.0.13.2d-45.el7
  texlive-dvipdfm-bin.noarch 2:svn13663.0-45.20130427_r30134.el7                 texlive-dvipdfmx.noarch 2:svn26765.0-45.el7
  texlive-dvipdfmx-bin.x86_64 2:svn26509.0-45.20130427_r30134.el7                texlive-dvipdfmx-def.noarch 2:svn15878.0-45.el7
  texlive-dvips.noarch 2:svn29585.0-45.el7                                       texlive-dvips-bin.x86_64 2:svn26509.0-45.20130427_r30134.el7
  texlive-enctex.noarch 2:svn28602.0-45.el7                                      texlive-enumitem.noarch 2:svn24146.3.5.2-45.el7
  texlive-epsf.noarch 2:svn21461.2.7.4-45.el7                                    texlive-eso-pic.noarch 2:svn21515.2.0c-45.el7
  texlive-etex.noarch 2:svn22198.2.1-45.el7                                      texlive-etex-pkg.noarch 2:svn15878.2.0-45.el7
  texlive-etoolbox.noarch 2:svn20922.2.1-45.el7                                  texlive-fancyvrb.noarch 2:svn18492.2.8-45.el7
  texlive-filecontents.noarch 2:svn24250.1.3-45.el7                              texlive-filehook.noarch 2:svn24280.0.5d-45.el7
  texlive-float.noarch 2:svn15878.1.3d-45.el7                                    texlive-fontspec.noarch 2:svn29412.v2.3a-45.el7
  texlive-footmisc.noarch 2:svn23330.5.5b-45.el7                                 texlive-fp.noarch 2:svn15878.0-45.el7
  texlive-geometry.noarch 2:svn19716.5.6-45.el7                                  texlive-glyphlist.noarch 2:svn28576.0-45.el7
  texlive-graphics.noarch 2:svn25405.1.0o-45.el7                                 texlive-gsftopk.noarch 2:svn26689.1.19.2-45.el7
  texlive-gsftopk-bin.x86_64 2:svn26509.0-45.20130427_r30134.el7                 texlive-hyperref.noarch 2:svn28213.6.83m-45.el7
  texlive-hyph-utf8.noarch 2:svn29641.0-45.el7                                   texlive-ifetex.noarch 2:svn24853.1.2-45.el7
  texlive-ifluatex.noarch 2:svn26725.1.3-45.el7                                  texlive-ifxetex.noarch 2:svn19685.0.5-45.el7
  texlive-index.noarch 2:svn24099.4.1beta-45.el7                                 texlive-kastrup.noarch 2:svn15878.0-45.el7
  texlive-koma-script.noarch 2:svn27255.3.11b-45.el7                             texlive-l3kernel.noarch 2:svn29409.SVN_4469-45.el7
  texlive-l3packages.noarch 2:svn29361.SVN_4467-45.el7                           texlive-latex.noarch 2:svn27907.0-45.el7
  texlive-latex-fonts.noarch 2:svn28888.0-45.el7                                 texlive-latexconfig.noarch 2:svn28991.0-45.el7
  texlive-listings.noarch 2:svn15878.1.4-45.el7                                  texlive-lm.noarch 2:svn28119.2.004-45.el7
  texlive-lua-alt-getopt.noarch 2:svn29349.0.7.0-45.el7                          texlive-lualatex-math.noarch 2:svn29346.1.2-45.el7
  texlive-luaotfload.noarch 2:svn26718.1.26-45.el7                               texlive-luaotfload-bin.noarch 2:svn18579.0-45.20130427_r30134.el7
  texlive-luatex.noarch 2:svn26689.0.70.1-45.el7                                 texlive-luatex-bin.x86_64 2:svn26912.0-45.20130427_r30134.el7
  texlive-luatexbase.noarch 2:svn22560.0.31-45.el7                               texlive-makeindex.noarch 2:svn26689.2.12-45.el7
  texlive-makeindex-bin.x86_64 2:svn26509.0-45.20130427_r30134.el7               texlive-marginnote.noarch 2:svn25880.v1.1i-45.el7
  texlive-memoir.noarch 2:svn21638.3.6j_patch_6.0g-45.el7                        texlive-metafont.noarch 2:svn26689.2.718281-45.el7
  texlive-metafont-bin.x86_64 2:svn26912.0-45.20130427_r30134.el7                texlive-mflogo.noarch 2:svn17487.0-45.el7
  texlive-mfware.noarch 2:svn26689.0-45.el7                                      texlive-mfware-bin.x86_64 2:svn26509.0-45.20130427_r30134.el7
  texlive-misc.noarch 2:svn24955.0-45.el7                                        texlive-mparhack.noarch 2:svn15878.1.4-45.el7
  texlive-ms.noarch 2:svn24467.0-45.el7                                          texlive-multido.noarch 2:svn18302.1.42-45.el7
  texlive-oberdiek.noarch 2:svn26725.0-45.el7                                    texlive-paralist.noarch 2:svn15878.2.3b-45.el7
  texlive-parallel.noarch 2:svn15878.0-45.el7                                    texlive-pgf.noarch 2:svn22614.2.10-45.el7
  texlive-plain.noarch 2:svn26647.0-45.el7                                       texlive-psnfss.noarch 2:svn23394.9.2a-45.el7
  texlive-pst-3d.noarch 2:svn17257.1.10-45.el7                                   texlive-pst-coil.noarch 2:svn24020.1.06-45.el7
  texlive-pst-eps.noarch 2:svn15878.1.0-45.el7                                   texlive-pst-fill.noarch 2:svn15878.1.01-45.el7
  texlive-pst-grad.noarch 2:svn15878.1.06-45.el7                                 texlive-pst-math.noarch 2:svn20176.0.61-45.el7
  texlive-pst-node.noarch 2:svn27799.1.25-45.el7                                 texlive-pst-plot.noarch 2:svn28729.1.44-45.el7
  texlive-pst-text.noarch 2:svn15878.1.00-45.el7                                 texlive-pst-tree.noarch 2:svn24142.1.12-45.el7
  texlive-pstricks.noarch 2:svn29678.2.39-45.el7                                 texlive-pstricks-add.noarch 2:svn28750.3.59-45.el7
  texlive-qstest.noarch 2:svn15878.0-45.el7                                      texlive-sauerj.noarch 2:svn15878.0-45.el7
  texlive-setspace.noarch 2:svn24881.6.7a-45.el7                                 texlive-showexpl.noarch 2:svn27790.v0.3j-45.el7
  texlive-soul.noarch 2:svn15878.2.4-45.el7                                      texlive-subfig.noarch 2:svn15878.1.3-45.el7
  texlive-tex.noarch 2:svn26689.3.1415926-45.el7                                 texlive-tex-bin.x86_64 2:svn26912.0-45.20130427_r30134.el7
  texlive-thumbpdf.noarch 2:svn26689.3.15-45.el7                                 texlive-thumbpdf-bin.noarch 2:svn6898.0-45.20130427_r30134.el7
  texlive-tipa.noarch 2:svn29349.1.3-45.el7                                      texlive-tools.noarch 2:svn26263.0-45.el7
  texlive-underscore.noarch 2:svn18261.0-45.el7                                  texlive-unicode-math.noarch 2:svn29413.0.7d-45.el7
  texlive-url.noarch 2:svn16864.3.2-45.el7                                       texlive-varwidth.noarch 2:svn24104.0.92-45.el7
  texlive-xcolor.noarch 2:svn15878.2.11-45.el7                                   texlive-xdvi.noarch 2:svn26689.22.85-45.el7
  texlive-xdvi-bin.x86_64 2:svn26509.0-45.20130427_r30134.el7                    texlive-xkeyval.noarch 2:svn27995.2.6a-45.el7
  texlive-xunicode.noarch 2:svn23897.0.981-45.el7                                zziplib.x86_64 0:0.13.62-12.el7

Complete!

Leave a Reply