Skip to content

Commit

Permalink
prettyprint=false
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcarlisle committed Dec 18, 2024
1 parent 5f0b015 commit 035c2a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ngpdf/latexcgi2
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ $engine="latexcgilwarp $engine";
mkdir("/var/www/html/latexcgi/dir" . "$tmpstr",0777);
chmod(0777,"/var/www/html/latexcgi/dir" . "$tmpstr");
open my $fh, '>', "/var/www/html/latexcgi/dir" . "$tmpstr" . '/document.html';
print {$fh} "<p>Open in the <a target='_blank' href='https://ngpdf.com/pdfUrlToHtml?pdfUrl=https://texlive.net/latexcgi/document" . "$tmpstr" . ".pdf&mathjax=false&prettyprint=true&mode=editor'>ngPDF Editor</a></p>";
print {$fh} "<p>Open <a target='_blank' href='https://ngpdf.com/pdfUrlToHtml?pdfUrl=https://texlive.net/latexcgi/document" . "$tmpstr" . ".pdf&mathjax=false&prettyprint=true&mode=html'>as derived HTML at ngPDF</a></p>";
print {$fh} "<p>Open in the <a target='_blank' href='https://ngpdf.com/pdfUrlToHtml?pdfUrl=https://texlive.net/latexcgi/document" . "$tmpstr" . ".pdf&mathjax=false&prettyprint=false&mode=editor'>ngPDF Editor</a></p>";
print {$fh} "<p>Open <a target='_blank' href='https://ngpdf.com/pdfUrlToHtml?pdfUrl=https://texlive.net/latexcgi/document" . "$tmpstr" . ".pdf&mathjax=false&prettyprint=false&mode=html'>as derived HTML at ngPDF</a></p>";
print {$fh} "<p>Open <a target='_blank' href='/pdfjs/web/viewer.html?file=/latexcgi/document" . "$tmpstr" . ".pdf'>PDF in a new tab</a>, Download <a download href='/latexcgi/document" . "$tmpstr" . ".pdf'>PDF</a></p>";
print {$fh} "<p>Open <a target='_blank' href='/latexcgi/document" . "$tmpstr" . ".log'>log file in new tab</a></p>";
close $fh;
Expand Down

0 comments on commit 035c2a8

Please sign in to comment.