diff options
author | M.Gergo | 2018-03-28 20:59:28 +0200 |
---|---|---|
committer | M.Gergo | 2018-03-28 20:59:28 +0200 |
commit | 2a9ffe812db868cb1392edf56a85cc72c5657a0c (patch) | |
tree | fae7c4352ec8096009c60ce3e98aa93a96fb4783 /mayor/www | |
parent | 98249b6e5722bd523882484b17cf1529ca08f78c (diff) | |
download | mayor-2a9ffe812db868cb1392edf56a85cc72c5657a0c.tar.gz mayor-2a9ffe812db868cb1392edf56a85cc72c5657a0c.zip |
Osztályozó, Haladási texgen hibajavítás
Diffstat (limited to 'mayor/www')
-rw-r--r-- | mayor/www/include/modules/naplo/share/file.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |