<!DOCTYPE html>
<html>
  <head>
    <script src="pdftex.js"></script>
    <style>
      .demo-container {
        margin: 20px;
        width: 100%;
        display: flex;
        flex-direction: row;
        min-height: 600px;
      }
      #editor {
        width: 40%;
        flex: 1 1 auto;
      }
      #log {
        width: 40%;
        background-color: #EEE;
        padding: 20px;
        flex: 1 1 auto;
      }
    </style>
  </head>
  <body>
    <h1> pdftex.js demo
      <iframe
        src="https