Header Ads Widget

Ticker

6/recent/ticker-posts

CentOS: cómo solucionar el error: no se encuentra el archivo de codificación `eu1enc.def '

Aquí hay un ejemplo:

1
2
3
4
5
6
7
8
9
10
[root@tutorialspots ~]# pandoc -f epub --pdf-engine=xelatex  1.epub -o 1.pdf
Error producing PDF.
! Package fontenc Error: Encoding file `eu1enc.def' not found.
(fontenc)                You might have misspelt the name of the encoding.
 
See the fontenc package documentation for explanation.
Type  H <return>  for immediate help.
 ...
 
l.99 \ProcessOptions*

¿Cómo arreglar este error?

Instalar el paquete texlive-euenc

1
yum install -y texlive-euenc

Resultado:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
dieciséis
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[root@tutorialspots convert]# yum install -y texlive-euenc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: repos-tx.psychz.net
 * epel: kdeforge2.unl.edu
 * extras: mirror.genesisadaptive.com
 * ius: dfw.mirror.rackspace.com
 * nux-dextop: mirror.li.nux.ro
 * remi-safe: mirror.bebout.net
 * updates: mirror.mobap.edu
Resolving Dependencies
--> Running transaction check
---> Package texlive-euenc.noarch 2:svn19795.0.1h-43.el7 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
================================================================================
 Package             Arch         Version                      Repository  Size
================================================================================
Installing:
 texlive-euenc       noarch       2:svn19795.0.1h-43.el7       base        23 k
 
Transaction Summary
================================================================================
Install  1 Package
 
Total download size: 23 k
Installed size: 21 k
Downloading packages:
texlive-euenc-svn19795.0.1h-43.el7.noarch.rpm              |  23 kB   00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 2:texlive-euenc-svn19795.0.1h-43.el7.noarch                  1/1
  Verifying  : 2:texlive-euenc-svn19795.0.1h-43.el7.noarch                  1/1
 
Installed:
  texlive-euenc.noarch 2:svn19795.0.1h-43.el7
 
Complete!

¡Hecho!

Puedes instalar más

1
yum install texlive-xetexfontinfo texlive-fontaxes texlive-fontware texlive-fontwrap

Resultado:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
dieciséis
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
sesenta y cinco
66
67
68
69
70
71
72
73
74
75
[root@tutorialspots ~]# yum install texlive-xetexfontinfo texlive-fontaxes texlive-fontware  texlive-fontwrap
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: repos-tx.psychz.net
 * epel: kdeforge2.unl.edu
 * extras: mirror.genesisadaptive.com
 * ius: dfw.mirror.rackspace.com
 * nux-dextop: mirror.li.nux.ro
 * remi-safe: mirror.bebout.net
 * updates: mirror.mobap.edu
Resolving Dependencies
--> Running transaction check
---> Package texlive-fontaxes.noarch 0:svn24880.1.0c-55.el7 will be installed
---> Package texlive-fontware.noarch 2:svn26689.0-43.el7 will be installed
--> Processing Dependency: texlive-fontware-bin for package: 2:texlive-fontware-svn26689.0-43.el7.noarch
---> Package texlive-fontwrap.noarch 2:svn15878.0-43.el7 will be installed
---> Package texlive-xetexfontinfo.noarch 2:svn15878.0-43.el7 will be installed
--> Running transaction check
---> Package texlive-fontware-bin.x86_64 2:svn26509.0-43.20130427_r30134.el7 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
================================================================================
 Package               Arch   Version                                Repository
                                                                           Size
================================================================================
Installing:
 texlive-fontaxes      noarch svn24880.1.0c-55.el7                   epel  16 k
 texlive-fontware      noarch 2:svn26689.0-43.el7                    base  23 k
 texlive-fontwrap      noarch 2:svn15878.0-43.el7                    base  31 k
 texlive-xetexfontinfo noarch 2:svn15878.0-43.el7                    base  20 k
Installing for dependencies:
 texlive-fontware-bin  x86_64 2:svn26509.0-43.20130427_r30134.el7    base  87 k
 
Transaction Summary
================================================================================
Install  4 Packages (+1 Dependent package)
 
Total download size: 176 k
Installed size: 308 k
Is this ok [y/d/N]: y
Downloading packages:
(1/5): texlive-fontware-bin-svn26509.0-43.20130427_r30134. |  87 kB   00:00
(2/5): texlive-fontware-svn26689.0-43.el7.noarch.rpm       |  23 kB   00:00
(3/5): texlive-fontwrap-svn15878.0-43.el7.noarch.rpm       |  31 kB   00:00
(4/5): texlive-xetexfontinfo-svn15878.0-43.el7.noarch.rpm  |  20 kB   00:00
(5/5): texlive-fontaxes-svn24880.1.0c-55.el7.noarch.rpm    |  16 kB   00:00
--------------------------------------------------------------------------------
Total                                              355 kB/s | 176 kB  00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 2:texlive-fontware-bin-svn26509.0-43.20130427_r30134.el7.x   1/5
  Installing : 2:texlive-fontware-svn26689.0-43.el7.noarch                  2/5
  Installing : 2:texlive-fontwrap-svn15878.0-43.el7.noarch                  3/5
  Installing : texlive-fontaxes-svn24880.1.0c-55.el7.noarch                 4/5
  Installing : 2:texlive-xetexfontinfo-svn15878.0-43.el7.noarch             5/5
  Verifying  : 2:texlive-fontware-svn26689.0-43.el7.noarch                  1/5
  Verifying  : 2:texlive-xetexfontinfo-svn15878.0-43.el7.noarch             2/5
  Verifying  : 2:texlive-fontware-bin-svn26509.0-43.20130427_r30134.el7.x   3/5
  Verifying  : texlive-fontaxes-svn24880.1.0c-55.el7.noarch                 4/5
  Verifying  : 2:texlive-fontwrap-svn15878.0-43.el7.noarch                  5/5
 
Installed:
  texlive-fontaxes.noarch 0:svn24880.1.0c-55.el7
  texlive-fontware.noarch 2:svn26689.0-43.el7
  texlive-fontwrap.noarch 2:svn15878.0-43.el7
  texlive-xetexfontinfo.noarch 2:svn15878.0-43.el7
 
Dependency Installed:
  texlive-fontware-bin.x86_64 2:svn26509.0-43.20130427_r30134.el7
 
Complete!

Publicar un comentario

0 Comentarios