Skip to content

Commit

Permalink
Formatting issues pointed out by Paul Knight (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
HeikoTheissen authored Jun 5, 2023
1 parent 06313fe commit 53abc60
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@ This additional syntax is resolved with the Node.js module [`lib/number.js`](lib

## How to view the documents

To view mathematical formulas, install pandoc as explained in the section on [Document Conventions](odata-data-aggregation-ext/1%20Introduction.md).
To view mathematical formulas, install pandoc as explained in the section on [Document Conventions](odata-data-aggregation-ext/1%20Introduction.md). This is invoked by the Node.js module [`lib/pandoc.js`](lib/pandoc.js).

Clone this repository, run `npm install` and `npm start` to start a Node.js server and access the HTML pages at, for example, `http://localhost:8080/odata-data-aggregation-ext`.
Clone this repository, run `npm install` and `npm start` to start a Node.js server and access the HTML pages at, for example, `http://localhost:8080/odata-data-aggregation-ext` (see [`lib/server.js`](lib/server.js)).

Run `npm run build` to build HTML and Markdown files for publication on github.io.
Run `npm run build` to build HTML and Markdown files for publication on github.io (see [`lib/build.js`](lib/build.js)).

Run `npm run pdf` to convert the HTML files into PDF files (using puppeteer, see [`lib/pdf.js`](lib/pdf.js)).

## To Do

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ <h4 id="notices">Notices</h4>
<p>Distributed under the terms of the OASIS <a href="https://www.oasis-open.org/policies-guidelines/ipr/">IPR Policy</a>.</p>
<p>The name "OASIS" is a trademark of <a href="https://www.oasis-open.org/">OASIS</a>, the owner and developer of this specification, and should be used only to refer to the organization and its official outputs.</p>
<p>For complete copyright information please see the full Notices section in an Appendix <a href="#Notices">below</a>.</p>
<hr />
<h1 id="table-of-contents">Table of Contents</h1>
<div class="toc">
<ul>
Expand Down
2 changes: 2 additions & 0 deletions docs/odata-data-aggregation-ext/odata-data-aggregation-ext.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ The name "OASIS" is a trademark of [OASIS](https://www.oasis-open.org/), the own

For complete copyright information please see the full Notices section in an Appendix [below](#Notices).

-------

# Table of Contents

::: toc
Expand Down
Binary file modified docs/odata-data-aggregation-ext/odata-data-aggregation-ext.pdf
Binary file not shown.
1 change: 1 addition & 0 deletions lib/pdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = async function(name) {
await page.pdf({
path: `${__dirname}/../docs/${name}/${name}.pdf`,
format: "letter",
printBackground: true,
displayHeaderFooter: true,
headerTemplate: '<div style="font-size: 10px; width: 100%; text-align: center;">Standards Track Work Product</div>',
footerTemplate: `<div style="font-size: 8px; width: 90%; margin: auto; margin-top: 40px; display:flex; flex-flow:row wrap;">
Expand Down
2 changes: 2 additions & 0 deletions odata-data-aggregation-ext/0 frontmatter.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,5 @@ Distributed under the terms of the OASIS [IPR Policy](https://www.oasis-open.org
The name "OASIS" is a trademark of [OASIS](https://www.oasis-open.org/), the owner and developer of this specification, and should be used only to refer to the organization and its official outputs.

For complete copyright information please see the full Notices section in an Appendix [below](#Notices).

-------

0 comments on commit 53abc60

Please sign in to comment.