Correction de conflit
This commit is contained in:
parent
8a5adad71e
commit
043dc068b0
|
|
@ -180,13 +180,6 @@ function makeimgfiles($id, $tex, $suffix = '') {
|
||||||
fclose($f[0]);
|
fclose($f[0]);
|
||||||
chdir(dirname($f[1]));
|
chdir(dirname($f[1]));
|
||||||
exec('lualatex --interaction=nonstopmode '.basename($f[1]));
|
exec('lualatex --interaction=nonstopmode '.basename($f[1]));
|
||||||
<<<<<<< HEAD
|
|
||||||
exec('gs -q -dBATCH -dMaxBitmap=50000000 -dNOPAUSE -sDEVICE=pnggray -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -r300x300 -sOutputFile='.$path.'png/'.$id.$suffix.'.png -- '.substr($f[1],0,-4).'.pdf -c quit');
|
|
||||||
chmod($path.'png/'.$id.$suffix.'.png', 0666);
|
|
||||||
exec('gs -q -dBATCH -dMaxBitmap=50000000 -dNOPAUSE -sDEVICE=pnggray -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -r100x100 -sOutputFile='.$path.$id.$suffix.'.png -- '.substr($f[1],0,-4).'.pdf -c quit');
|
|
||||||
chmod($path.$id.$suffix.'.png', 0666);
|
|
||||||
=======
|
|
||||||
>>>>>>> upstream
|
|
||||||
exec('pdfcrop '.substr($f[1],0,-4).'.pdf '.$path.'pdf/'.$id.$suffix.'.pdf');
|
exec('pdfcrop '.substr($f[1],0,-4).'.pdf '.$path.'pdf/'.$id.$suffix.'.pdf');
|
||||||
chmod($path.'pdf/'.$id.$suffix.'.pdf', 0666);
|
chmod($path.'pdf/'.$id.$suffix.'.pdf', 0666);
|
||||||
exec('gs -q -dBATCH -dMaxBitmap=50000000 -dNOPAUSE -sDEVICE=bbox -sDEVICE=pnggray -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -r300x300 -sOutputFile='.$path.'png/'.$id.$suffix.'.png -- '.$path.'pdf/'.$id.$suffix.'.pdf -c quit');
|
exec('gs -q -dBATCH -dMaxBitmap=50000000 -dNOPAUSE -sDEVICE=bbox -sDEVICE=pnggray -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -r300x300 -sOutputFile='.$path.'png/'.$id.$suffix.'.png -- '.$path.'pdf/'.$id.$suffix.'.pdf -c quit');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue