Changeset 836785
- Timestamp:
- 01/11/2014 06:34:12 PM (12 years ago)
- File:
-
- 1 edited
-
latex-everything/trunk/class-latex-document.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
latex-everything/trunk/class-latex-document.php
r582622 r836785 96 96 // Find pdflatex 97 97 if ( !$this->pdflatex_path = exec( 'which pdflatex' ) ) 98 return new WP_Error( 'LE_Latex_Document::__construct', 'pdflatex not found ');98 return new WP_Error( 'LE_Latex_Document::__construct', 'pdflatex not found. $PATH is ' . getenv('path') ); 99 99 100 100 // Generate single latex files for each of a term's posts, because Latex … … 321 321 function typeset_all_files () { 322 322 // Find pdftk 323 if ( !$this->pdftk_path = exec( 'which pdftk' ) ) 324 return new WP_Error( 'LE_Latex_Term_Document::__construct', 'pdftk not found' ); 323 if ( !$this->pdftk_path = exec( 'which pdftk' ) ) { 324 return new WP_Error( 'LE_Latex_Term_Document::__construct', 'pdftk not found. $PATH is ' . getenv('path') ); 325 } 325 326 326 327 // Get a temporary filename for the concatenated pdf.
Note: See TracChangeset
for help on using the changeset viewer.