Skip to content

Commit 7d2b58c

Browse files
improved pdf output
1 parent 7cc7f8b commit 7d2b58c

39 files changed

Lines changed: 813 additions & 1122 deletions

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,12 +700,12 @@ You have to be aware, that the PDF generation can be quite time consuming
700700
especially for large courses with a lot of scripts and code-snippets to be
701701
executed and multimedia to be loaded. `puppeteer` thus sometimes does not know
702702
when the course is ready. If the generation fails, you should try to increase
703-
this value, the default is 60000, which means 60 seconds.
703+
this value, the default is 15000, which means 15 seconds.
704704
705705
``` bash
706706
$ liaex --format pdf \
707707
-o example \
708-
--pdf-timeout 60000 \
708+
--pdf-timeout 15000 \
709709
-i https://github.com/TUBAF-IfI-LiaScript/VL_ProzeduraleProgrammierung/blob/master/08_Objekte.md
710710
711711
depending on the size of the course, this can take a while, please be patient...
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/assets/indexeddb/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><html lang="en"><head><title>Lia</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><script src="index.4fa9e2a8.js"></script><script defer type="module" src="index.d026b7f5.js"></script><script defer src="index.4850ad50.js" nomodule></script><script defer type="module" src="index.40df2935.js"></script><script defer src="index.740c63b7.js" nomodule></script><script defer type="module" src="index.616e5487.js"></script><script defer src="index.90798388.js" nomodule></script><script defer type="module" src="index.359ae263.js"></script><script defer src="index.fa3e25a4.js" nomodule></script><script defer type="module" src="index.ddf8a9e1.js"></script><script defer src="index.d5feb9a8.js" nomodule></script><script defer type="module" src="index.fe00c88d.js"></script><script defer src="index.818ded7e.js" nomodule></script><script defer type="module" src="index.a440c736.js"></script><script defer src="index.ac122055.js" nomodule></script><script defer type="module" src="index.1df2912f.js"></script><script defer src="index.02e1e0e7.js" nomodule></script><script defer type="module" src="index.c497fc87.js"></script><script defer src="index.36d5db33.js" nomodule></script><script>"serviceWorker"in navigator&&window.addEventListener("load",(function(){try{navigator.serviceWorker.register("./sw.js").then(console.log).catch(console.error)}catch(e){console.warn("sw: ",e)}}));</script><link rel="icon shortcut" sizes="192x192" href="up_/up_/assets/logo_192.png"><meta name="mobile-web-app-capable" content="yes"><meta name="application-name" content="Lia"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta name="apple-mobile-web-app-title" content="LiaScript"><meta name="msapplication-TileImage" content="up_/up_/assets/logo_192.png"><meta name="msapplication-TileColor" content="#0071c5"><meta name="msapplication-tap-highlight" content="no"><meta name="theme-color" content="#000000"><meta name="description" content="LiaScript is a service for running free and interactive online courses, build with its own Markup-language. So check out the following course ;-)"><link rel="apple-touch-icon" href="logo.8a716d9b.png"><link rel="icon" href="logo.8a716d9b.png" type="image/png"><style>.lds-dual-ring{width:150px;height:150px;display:inline-block}.lds-dual-ring:after{content:" ";width:128px;height:128px;border:5px solid #000;border-color:#000 transparent;border-radius:50%;margin:1px;-moz-animation:1.2s linear infinite lds-dual-ring;animation:1.2s linear infinite lds-dual-ring;display:block}@-moz-keyframes lds-dual-ring{0%{-moz-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}to{-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes lds-dual-ring{0%{-moz-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}to{-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}</style><link rel="stylesheet" href="index.ba472417.css" media="none" onload="if(media!='all')media='all'"><link rel="stylesheet" href="index.17eb4915.css"></head><body> <noscript> This page requires JavaScript to be enabled! </noscript> <div id="IE-message" hidden> <h1>LiaScript - Problem</h1> <p> Hello! Welcome to LiaScript. This site is not fully supported in Internet Explorer 11 (and earlier) versions. </p> <p> As an alternative, you can use either of the options below to browse the site: </p> <ol> <li> Use Firefox browser. Here is the <a href="http://www.mozilla.org/en-US/firefox/new/">download link.</a> </li> <li> Use Google Chrome browser. Here is the <a href="https://support.google.com/chrome/answer/95346?hl=en">download link.</a> </li> </ol> <p>Thanks.</p> </div> <div style="width:100%;text-align:center;position:absolute;top:25%"> <h1>Loading</h1> <br> <div class="lds-dual-ring"></div> </div> </body></html>
1+
<!DOCTYPE html><html lang="en"><head><title>Lia</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><script src="index.4fa9e2a8.js"></script><script defer type="module" src="index.d026b7f5.js"></script><script defer src="index.4850ad50.js" nomodule></script><script defer type="module" src="index.40df2935.js"></script><script defer src="index.740c63b7.js" nomodule></script><script defer type="module" src="index.616e5487.js"></script><script defer src="index.90798388.js" nomodule></script><script defer type="module" src="index.f314a5c2.js"></script><script defer src="index.fa3e25a4.js" nomodule></script><script defer type="module" src="index.ddf8a9e1.js"></script><script defer src="index.d5feb9a8.js" nomodule></script><script defer type="module" src="index.fe00c88d.js"></script><script defer src="index.818ded7e.js" nomodule></script><script defer type="module" src="index.a440c736.js"></script><script defer src="index.ac122055.js" nomodule></script><script defer type="module" src="index.1df2912f.js"></script><script defer src="index.02e1e0e7.js" nomodule></script><script defer type="module" src="index.c497fc87.js"></script><script defer src="index.36d5db33.js" nomodule></script><script>"serviceWorker"in navigator&&window.addEventListener("load",(function(){try{navigator.serviceWorker.register("./sw.js").then(console.log).catch(console.error)}catch(e){console.warn("sw: ",e)}}));</script><link rel="icon shortcut" sizes="192x192" href="up_/up_/assets/logo_192.png"><meta name="mobile-web-app-capable" content="yes"><meta name="application-name" content="Lia"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta name="apple-mobile-web-app-title" content="LiaScript"><meta name="msapplication-TileImage" content="up_/up_/assets/logo_192.png"><meta name="msapplication-TileColor" content="#0071c5"><meta name="msapplication-tap-highlight" content="no"><meta name="theme-color" content="#000000"><meta name="description" content="LiaScript is a service for running free and interactive online courses, build with its own Markup-language. So check out the following course ;-)"><link rel="apple-touch-icon" href="logo.8a716d9b.png"><link rel="icon" href="logo.8a716d9b.png" type="image/png"><style>.lds-dual-ring{width:150px;height:150px;display:inline-block}.lds-dual-ring:after{content:" ";width:128px;height:128px;border:5px solid #000;border-color:#000 transparent;border-radius:50%;margin:1px;-moz-animation:1.2s linear infinite lds-dual-ring;animation:1.2s linear infinite lds-dual-ring;display:block}@-moz-keyframes lds-dual-ring{0%{-moz-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}to{-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes lds-dual-ring{0%{-moz-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}to{-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}</style><link rel="stylesheet" href="index.ba472417.css" media="none" onload="if(media!='all')media='all'"><link rel="stylesheet" href="index.17eb4915.css"></head><body> <noscript> This page requires JavaScript to be enabled! </noscript> <div id="IE-message" hidden> <h1>LiaScript - Problem</h1> <p> Hello! Welcome to LiaScript. This site is not fully supported in Internet Explorer 11 (and earlier) versions. </p> <p> As an alternative, you can use either of the options below to browse the site: </p> <ol> <li> Use Firefox browser. Here is the <a href="http://www.mozilla.org/en-US/firefox/new/">download link.</a> </li> <li> Use Google Chrome browser. Here is the <a href="https://support.google.com/chrome/answer/95346?hl=en">download link.</a> </li> </ol> <p>Thanks.</p> </div> <div style="width:100%;text-align:center;position:absolute;top:25%"> <h1>Loading</h1> <br> <div class="lds-dual-ring"></div> </div> </body></html>
File renamed without changes.

dist/assets/pdf/index.14190352.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/assets/pdf/index.615a5268.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/assets/pdf/index.8dba4aff.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/assets/pdf/index.ea68a2d0.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)