src/Pdf/Engine/TexToPdfEngine.php
protected function _writeTexFile()
    {
        $output = $this->_Pdf->html();
        $file = sha1($output);
        $texFile = $this->getConfig('options.output-directory') . DS . $file;
        file_put_contents($texFile, $output);

        return $texFile;
    }
protected function _writeTexFile()
    {
        $output = $this->_Pdf->html();
        $file = sha1($output);
        $texFile = $this->getConfig('options.output-directory') . DS . $file;
        file_put_contents($texFile, $output);

        return $texFile;
    }
protected function _writeTexFile ( ) { $ output = $ this -> _Pdf -> html ( ) ; $ file = sha1 ( $ output ) ; $ texFile = $ this -> getConfig ( 'options.output-directory' ) . DS . $ file ; file_put_contents ( $ texFile , $ output ) ; return $ texFile ; }
Write the tex file.

@return string Returns the file name of the written tex file.
Write the tex file .