From 2a9ffe812db868cb1392edf56a85cc72c5657a0c Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Wed, 28 Mar 2018 20:59:28 +0200 Subject: Osztályozó, Haladási texgen hibajavítás --- mayor/www/include/modules/naplo/share/file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mayor') diff --git a/mayor/www/include/modules/naplo/share/file.php b/mayor/www/include/modules/naplo/share/file.php index 197ed498..1e6c7595 100644 --- a/mayor/www/include/modules/naplo/share/file.php +++ b/mayor/www/include/modules/naplo/share/file.php @@ -314,7 +314,7 @@ EOF #ex -fmt '._MAYOR_DIR.'/print/module-naplo/tex/mayor '.$outputFile.'.tex'); } else { // utf8 --> cork (t1) - $ret = exec('cd '.$outputDir.'; cat '.$outputFile.'-u8.tex | recode u8..T1 > '.$outputFile.'.tex'); + $ret = exec('cd '.$outputDir.'; cat '.$outputFile.'-u8.tex | sed -e "s/\xc2\xa0/\x20/g" | recode u8..T1 > '.$outputFile.'.tex'); // DVI, PS, PFD generálás (a rotate miatt nem megy a pdftex közvetlenül :o( $ret = exec('cd '.$outputDir.'; tex -fmt '._MAYOR_DIR.'/print/module-naplo/tex/mayor '.$outputFile.'.tex'); if ($ret === false) { $_SESSION['alert'][] = 'message:futási_hiba:generatePDF:tex'; return false; } -- cgit v1.2.3