Home
last modified time | relevance | path

Searched refs:_tmp_filename (Results 1 – 5 of 5) sorted by relevance

/plugin/latex/
Dclass.latexrender.php53 var $_tmp_filename; variable in LatexRender
221 $this->_tmp_filename = md5(rand().$destination);
223 $this->_cmdout = " >> ".$this->_tmp_filename.".cmd 2>&1";
225 $fp = fopen($this->_tmp_dir."/".$this->_tmp_filename.".tex","w");
230 $command = $this->_latex_path." --interaction=nonstopmode ".$this->_tmp_filename.".tex";
234 if (!file_exists($this->_tmp_filename.".dvi"))
244 …$command = $this->_dvips_path." -E ".$this->_tmp_filename.".dvi"." -o ".$this->_tmp_filename.".ps";
249 $command = $this->_convert_path." ".$this->_tmp_filename.".ps ".
250 $this->_tmp_filename.".".$this->_image_format;
263 $dim = $this->getDimensions($this->_tmp_filename.".".$this->_image_format);
[all …]
Dadmin.php244 $tmpw = $this->getConf('latex_namespace').':tmp:'.$plug->_latex->_tmp_filename;
245 $tmpf = $plug->_latex->_tmp_dir."/".$plug->_latex->_tmp_filename;
/plugin/latex-was/
Dclass.latexrender.php53 var $_tmp_filename; variable in LatexRender
221 $this->_tmp_filename = md5(rand().$destination);
223 $this->_cmdout = " >> ".$this->_tmp_filename.".cmd 2>&1";
225 $fp = fopen($this->_tmp_dir."/".$this->_tmp_filename.".tex","w");
230 $command = $this->_latex_path." --interaction=nonstopmode ".$this->_tmp_filename.".tex";
234 if (!file_exists($this->_tmp_filename.".dvi"))
245 $command = $this->_dvips_path." ".$this->_tmp_filename.".dvi"." -o ".$this->_tmp_filename.".ps";
250 $command = $this->_convert_path." ".$this->_tmp_filename.".ps ".
251 $this->_tmp_filename.".".$this->_image_format;
264 $dim = $this->getDimensions($this->_tmp_filename.".".$this->_image_format);
[all …]
Dadmin.php245 $tmpw = $this->getConf('latex_namespace').':tmp:'.$plug->_latex->_tmp_filename;
246 $tmpf = $plug->_latex->_tmp_dir."/".$plug->_latex->_tmp_filename;
/plugin/latexwas/
Dclass.latexrender.php27 public $_tmp_filename; variable in LatexRender
91 $this->_tmp_filename = md5(uniqid(rand(), true));
92 file_put_contents($this->_tmp_filename . ".tex", $latex_document);
94 …$this->myexec($this->_latex_path . " --interaction=nonstopmode " . $this->_tmp_filename . ".tex", …
96 if (!file_exists($this->_tmp_filename . ".dvi")) {
103 …$this->myexec($this->_dvips_path . " " . $this->_tmp_filename . ".dvi -o " . $this->_tmp_filename
104 …$this->myexec($this->_convert_path . " " . $this->_tmp_filename . ".ps " . $this->_tmp_filename . …
113 $dim = $this->getDimensions($this->_tmp_filename . "." . $this->_image_format);
122 $status_code = copy($this->_tmp_filename . "." . $this->_image_format, $destination);
140 @unlink($this->_tmp_dir . "/" . $this->_tmp_filename . "." . $ext);