Академический Документы
Профессиональный Документы
Культура Документы
Will Robertson
Introduction
What is a learning management system?
Specifications for the project
The authoring interface
Which ‘HTML’ tool to choose?
LATEXML overview
The Canvas programming interface
The generated html page
Images and files
Uncertainties
Benefits of scripting Canvas
Conclusion
Introduction 3/33
Introduction
What is a learning management system?
Specifications for the project
The authoring interface
Which ‘HTML’ tool to choose?
LATEXML overview
The Canvas programming interface
The generated html page
Images and files
Uncertainties
Benefits of scripting Canvas
Conclusion
Introduction 4/33
Background
This is an LMS
Introduction 6/33
Motivation
Introduction
What is a learning management system?
Specifications for the project
The authoring interface
Which ‘HTML’ tool to choose?
LATEXML overview
The Canvas programming interface
The generated html page
Images and files
Uncertainties
Benefits of scripting Canvas
Conclusion
The authoring interface 9/33
LATEXML overview
Architecture of LATEXML
LATEXML overview
Running LATEXML
Introduction
What is a learning management system?
Specifications for the project
The authoring interface
Which ‘HTML’ tool to choose?
LATEXML overview
The Canvas programming interface
The generated html page
Images and files
Uncertainties
Benefits of scripting Canvas
Conclusion
The Canvas programming interface 14/33
Canvas programming
• luajson by harningt
• lunajson by grafi
• rapidjson by xpol
• dkjson by dhkolf
• jwt-jitsi by pawelgawel88
• JSON4Lua by luarocks
• jwt by olivine-labs
• mjolnir._asm.data.json by _asm
• ngxjsonform by rtbz
• dromozoa-json by moyu
• lua-cjson-ol by olivine-labs
• lua-cjson2 by CriztianiX
• json-lua by jiyinyiyong
• …
The Canvas programming interface 18/33
Introduction
What is a learning management system?
Specifications for the project
The authoring interface
Which ‘HTML’ tool to choose?
LATEXML overview
The Canvas programming interface
The generated html page
Images and files
Uncertainties
Benefits of scripting Canvas
Conclusion
The generated html page 20/33
The source
\documentclass{report}
\usepackage{latexml}
...
\begin{document}
\title{...}\author{...}\date{...}
\maketitle
\tableofcontents
\input{../texdata/data-limits.tex}
\input{../texdata/data-marks.tex}
\part{Introduction}
\label{part-intro}
\input{../pages/introduction}
\input{../pages/course-schedule}
\input{../pages/week-planner}
The generated html page 21/33
Top matter
<!DOCTYPE html>
<html>
<head>
<title>XX Chapter title</title>
<meta http-equiv="Content-Type"
content="text/html; charset=UTF-8">
<link rel="stylesheet" href="LaTeXML.css"
type="text/css">
[...]
</head>
<body>
The generated html page 23/33
Bottom matter
<footer class="ltx_page_footer">
[...]
</footer>
</div>
</body>
</html>
The generated html page 24/33
‘Content’
<div class="ltx_page_main">
<header class="ltx_page_header">
[...]
</header>
<div class="ltx_page_content">
<section class="ltx_chapter ltx_authors_1line">
<h1 class="ltx_title ltx_title_chapter">
<span class="ltx_tag ltx_tag_chapter">Chapter X </span>
Title of chapter goes here
</h1>
<div class="ltx_date ltx_role_creation"></div>
<section id="S1" class="ltx_section">
[...]
ALL THE CONTENT
[...]
</section>
</section>
</div>
The generated html page 25/33
‘Content’
Introduction
What is a learning management system?
Specifications for the project
The authoring interface
Which ‘HTML’ tool to choose?
LATEXML overview
The Canvas programming interface
The generated html page
Images and files
Uncertainties
Benefits of scripting Canvas
Conclusion
Images and files 28/33
Introduction
What is a learning management system?
Specifications for the project
The authoring interface
Which ‘HTML’ tool to choose?
LATEXML overview
The Canvas programming interface
The generated html page
Images and files
Uncertainties
Benefits of scripting Canvas
Conclusion
Uncertainties 30/33
Uncertainties
Live demo???
Introduction
What is a learning management system?
Specifications for the project
The authoring interface
Which ‘HTML’ tool to choose?
LATEXML overview
The Canvas programming interface
The generated html page
Images and files
Uncertainties
Benefits of scripting Canvas
Conclusion
Conclusion 34/33
Summary