From 889926e7b76733a813664c3b2fa56d74fe0564da Mon Sep 17 00:00:00 2001 From: William Roberts Date: Fri, 16 Dec 2022 09:02:17 -0600 Subject: [PATCH] sample3: add samples for references This seems to be the cleanest way to add references, is to use the metadata block to set the bibliography file and a CSL file. If their is a CSL we want to standardize on, we can build it INTO the pandoc/build.sh repo. This requires option --citeproc and filter "+citation" added to the pandoc command. Signed-off-by: William Roberts --- citations.yaml | 17 +++ sample3.md | 149 +++++++++++++++++++++++++++ transactions-on-computer-systems.csl | 18 ++++ 3 files changed, 184 insertions(+) create mode 100644 citations.yaml create mode 100644 sample3.md create mode 100644 transactions-on-computer-systems.csl diff --git a/citations.yaml b/citations.yaml new file mode 100644 index 0000000..d0c022f --- /dev/null +++ b/citations.yaml @@ -0,0 +1,17 @@ +references: + - id: fenner + title: One-click science marketing + author: + - family: Fenner + given: Martin + container-title: Nature Materials + volume: 11 + URL: "https://dx.doi.org/10.1038/nmat3283" + DOI: 10.1038/nmat3283 + issue: 4 + publisher: Nature Publishing Group + page: 261-263 + type: article-journal + issued: + year: 2012 + month: 3 diff --git a/sample3.md b/sample3.md new file mode 100644 index 0000000..1fbb5c8 --- /dev/null +++ b/sample3.md @@ -0,0 +1,149 @@ +--- +title: "Lorem Ipsum Platform Dolor Sit Amet Profile for TPM 2.0" +version: 0.1 +revision: 196 +date: 2022/8/2 +type: REFERENCE +status: DRAFT +bibliography: citations.yaml +csl: transactions-on-computer-systems.csl +... + +--- + +# Disclaimers, Notices, and License Terms + +THIS SPECIFICATION IS PROVIDED “AS IS” WITH NO WARRANTIES WHATSOEVER, INCLUDING +ANY WARRANTY OF MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR ANY PARTICULAR +PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR +SAMPLE. + +Without limitation, TCG disclaims all liability, including liability for +infringement of any proprietary rights, relating to use of information in this +specification and to the implementation of this specification, and TCG disclaims +all liability for cost of procurement of substitute goods or services, lost +profits, loss of use, loss of data or any incidental, consequential, direct, +indirect, or special damages, whether under contract, tort, warranty or +otherwise, arising in any way out of use or reliance upon this specification or +any information herein. This document is copyrighted by Trusted Computing Group +(TCG), and no license, express or implied, is granted herein other than as +follows: You may not copy or reproduce the document or distribute it to others +without written permission from TCG, except that you may freely do so for the +purposes of (a) examining or implementing TCG specifications or (b) developing, +testing, or promoting information technology standards and best practices, so +long as you distribute the document with these disclaimers, notices, and license +terms. Contact the Trusted Computing Group at www.trustedcomputinggroup.org for +information on specification licensing through membership agreements. Any marks +and brands contained herein are the property of their respective owners. + +--- + +# Change History + +| **Revision** | **Date** | **Description** | +| ------------ | ---------- | --------------- | +| 0.2/17 | 2022/08/10 | Initial draft | +| 0.2/18 | 2022/08/10 | Add page breaks | + +--- + +\tableofcontents + +\listoftables + +\listoffigures + +--- + +# Introduction + +Draft specification, with a list of tables. For more information see [@fenner]. + +## Details + +> Informative comment. + +Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor +incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis +nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. +Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu +fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in +culpa qui officia deserunt mollit anim id est laborum. + +## Figures + +### Computer + +![Picture of a computer](computer.jpg) + +The following image doesn't have a caption and isn't in the table of figures. + +![](phone.jpg) + +![Keyboard](keyboard.jpg) + +![3 locks](3locks.jpg) + +## Tables + +### Mandatory Algorithms + +Table: List of Mandatory Algorithms + +| **Algorithm ID** | **M/R/O/D** | **Comments** | +| ---------------- | ----------- | --------------------------------------------- | +| TPM_ALG_ECC | M | Support for 256 and 384-bit keys is required. | +| TPM_ALG_ECDSA | M | +| TPM_ALG_ECDH | M | +| TPM_ALG_ECDAA | O | +| TPM_ALG_RSA | O | +| TPM_ALG_RSAES | O | +| TPM_ALG_RSAPSS | O | +| TPM_ALG_RSAOAEP | O | +| TPM_ALG_AES | M | +| TPM_ALG_SHA256 | M | +| TPM_ALG_SHA384 | M | +| TPM_ALG_SHA512 | O | +| TPM_ALG_HMAC | M | +| TPM_ALG_SHA3_256 | O | +| TPM_ALG_SHA3_384 | O | +| TPM_ALG_SHA3_512 | O | +| TPM_ALG_NULL | M | + +### Mandatory Curves + +Table: List of Mandatory Curves + +| **Curve Identifier** | **M/R/O/D** | **Comments** | +| -------------------- | ----------- | ------------ | +| TPM_ECC_NIST_P256 | M | +| TPM_ECC_NIST_P384 | M | + +## Code + +```c++ +#include + +int main() { + std::string result = "Trusted Computing Group"; + return 1; +} +``` + +## Another Couple Tables + +This table has no caption. + +| **Column 1** | **Column 2** | **Column 3** | +| ------------ | ------------ | ------------ | +| AAAAAAAA | BBBBBBBB | CCCCCCCC | + +blah blah + +Table: Fantastic Table + +| **Column 1** | **Column 2** | **Column 3** | +| ------------ | ------------ | ------------ | +| AAAAAAAA | BBBBBBBB | CCCCCCCC | + +# References diff --git a/transactions-on-computer-systems.csl b/transactions-on-computer-systems.csl new file mode 100644 index 0000000..cf3b085 --- /dev/null +++ b/transactions-on-computer-systems.csl @@ -0,0 +1,18 @@ + +