gnu: texlive-latex-base: Use character translation file.
* gnu/packages/tex.scm (texlive-latex-base)[arguments]: Patch fmtutil.cnf to ensure that the character translation file cp227.tcx is used during format file generation.
This commit is contained in:
		
							parent
							
								
									959a397d22
								
							
						
					
					
						commit
						71d7702fae
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2471,7 +2471,10 @@ formats.")
 | 
			
		|||
                   (make-file-writable "web2c/fmtutil.cnf")
 | 
			
		||||
                   (substitute* "web2c/fmtutil.cnf"
 | 
			
		||||
                     (((string-append "^(" (string-join disabled-formats "|") ")") m)
 | 
			
		||||
                      (string-append "#! " m))))
 | 
			
		||||
                      (string-append "#! " m))
 | 
			
		||||
                     (("translate-file=cp227")
 | 
			
		||||
                      (format #f "translate-file=~a/share/texmf-dist/web2c/cp227"
 | 
			
		||||
                              (assoc-ref inputs "texlive-kpathsea")))))
 | 
			
		||||
                 (invoke "fmtutil-sys" "--all"
 | 
			
		||||
                         "--fmtdir=web2c"
 | 
			
		||||
                         (string-append "--cnffile=web2c/fmtutil.cnf"))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue