Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9694ad2

Browse files
author
William Roberts
authored
sample3: add samples for references (#47)
This seems to be the cleanest way to add references, is to use themetadata block to set the bibliography file and a CSL file. If their isa CSL we want to standardize on, we can build it INTO thepandoc/build.sh repo.This requires option --citeproc and filter "+citation" added to thepandoc command.
1 parentdc2663e commit9694ad2

File tree

3 files changed

+184
-0
lines changed

3 files changed

+184
-0
lines changed

‎citations.yaml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
references:
2+
-id:fenner
3+
title:One-click science marketing
4+
author:
5+
-family:Fenner
6+
given:Martin
7+
container-title:Nature Materials
8+
volume:11
9+
URL:"https://dx.doi.org/10.1038/nmat3283"
10+
DOI:10.1038/nmat3283
11+
issue:4
12+
publisher:Nature Publishing Group
13+
page:261-263
14+
type:article-journal
15+
issued:
16+
year:2012
17+
month:3

‎sample3.md‎

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
---
2+
title:"Lorem Ipsum Platform Dolor Sit Amet Profile for TPM 2.0"
3+
version:0.1
4+
revision:196
5+
date:2022/8/2
6+
type:REFERENCE
7+
status:DRAFT
8+
bibliography:citations.yaml
9+
csl:transactions-on-computer-systems.csl
10+
...
11+
12+
---
13+
14+
#Disclaimers, Notices, and License Terms
15+
16+
THIS SPECIFICATION IS PROVIDED “AS IS” WITH NO WARRANTIES WHATSOEVER, INCLUDING
17+
ANY WARRANTY OF MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR ANY PARTICULAR
18+
PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR
19+
SAMPLE.
20+
21+
Without limitation, TCG disclaims all liability, including liability for
22+
infringement of any proprietary rights, relating to use of information in this
23+
specification and to the implementation of this specification, and TCG disclaims
24+
all liability for cost of procurement of substitute goods or services, lost
25+
profits, loss of use, loss of data or any incidental, consequential, direct,
26+
indirect, or special damages, whether under contract, tort, warranty or
27+
otherwise, arising in any way out of use or reliance upon this specification or
28+
any information herein. This document is copyrighted by Trusted Computing Group
29+
(TCG), and no license, express or implied, is granted herein other than as
30+
follows: You may not copy or reproduce the document or distribute it to others
31+
without written permission from TCG, except that you may freely do so for the
32+
purposes of (a) examining or implementing TCG specifications or (b) developing,
33+
testing, or promoting information technology standards and best practices, so
34+
long as you distribute the document with these disclaimers, notices, and license
35+
terms. Contact the Trusted Computing Group atwww.trustedcomputinggroup.org for
36+
information on specification licensing through membership agreements. Any marks
37+
and brands contained herein are the property of their respective owners.
38+
39+
---
40+
41+
#Change History
42+
43+
|**Revision**|**Date**|**Description**|
44+
| ------------| ----------| ---------------|
45+
| 0.2/17| 2022/08/10| Initial draft|
46+
| 0.2/18| 2022/08/10| Add page breaks|
47+
48+
---
49+
50+
\tableofcontents
51+
52+
\listoftables
53+
54+
\listoffigures
55+
56+
---
57+
58+
#Introduction
59+
60+
Draft specification, with a list of tables. For more information see[@fenner].
61+
62+
##Details
63+
64+
>Informative comment.
65+
66+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
67+
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
68+
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
69+
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
70+
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
71+
culpa qui officia deserunt mollit anim id est laborum.
72+
73+
##Figures
74+
75+
###Computer
76+
77+
![Picture of a computer](computer.jpg)
78+
79+
The following image doesn't have a caption and isn't in the table of figures.
80+
81+
![](phone.jpg)
82+
83+
![Keyboard](keyboard.jpg)
84+
85+
![3 locks](3locks.jpg)
86+
87+
##Tables
88+
89+
###Mandatory Algorithms
90+
91+
Table: List of Mandatory Algorithms
92+
93+
|**Algorithm ID**|**M/R/O/D**|**Comments**|
94+
| ----------------| -----------| ---------------------------------------------|
95+
| TPM_ALG_ECC| M| Support for 256 and 384-bit keys is required.|
96+
| TPM_ALG_ECDSA| M|
97+
| TPM_ALG_ECDH| M|
98+
| TPM_ALG_ECDAA| O|
99+
| TPM_ALG_RSA| O|
100+
| TPM_ALG_RSAES| O|
101+
| TPM_ALG_RSAPSS| O|
102+
| TPM_ALG_RSAOAEP| O|
103+
| TPM_ALG_AES| M|
104+
| TPM_ALG_SHA256| M|
105+
| TPM_ALG_SHA384| M|
106+
| TPM_ALG_SHA512| O|
107+
| TPM_ALG_HMAC| M|
108+
| TPM_ALG_SHA3_256| O|
109+
| TPM_ALG_SHA3_384| O|
110+
| TPM_ALG_SHA3_512| O|
111+
| TPM_ALG_NULL| M|
112+
113+
###Mandatory Curves
114+
115+
Table: List of Mandatory Curves
116+
117+
|**Curve Identifier**|**M/R/O/D**|**Comments**|
118+
| --------------------| -----------| ------------|
119+
| TPM_ECC_NIST_P256| M|
120+
| TPM_ECC_NIST_P384| M|
121+
122+
##Code
123+
124+
```c++
125+
#include<string>
126+
127+
intmain() {
128+
std::string result = "Trusted Computing Group";
129+
return 1;
130+
}
131+
```
132+
133+
##Another Couple Tables
134+
135+
This table has no caption.
136+
137+
|**Column 1**|**Column 2**|**Column 3**|
138+
| ------------| ------------| ------------|
139+
| AAAAAAAA| BBBBBBBB| CCCCCCCC|
140+
141+
blah blah
142+
143+
Table: Fantastic Table
144+
145+
|**Column 1**|**Column 2**|**Column 3**|
146+
| ------------| ------------| ------------|
147+
| AAAAAAAA| BBBBBBBB| CCCCCCCC|
148+
149+
#References
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<stylexmlns="http://purl.org/net/xbiblio/csl"version="1.0"default-locale="en-US">
3+
<!-- Association for Computing Machinery (ACM), generated from "acm" metadata at https://github.com/citation-style-language/journals-->
4+
<info>
5+
<title>ACM Transactions on Computer Systems</title>
6+
<title-short>TOCS</title-short>
7+
<id>http://www.zotero.org/styles/transactions-on-computer-systems</id>
8+
<linkhref="http://www.zotero.org/styles/transactions-on-computer-systems"rel="self"/>
9+
<linkhref="http://www.zotero.org/styles/association-for-computing-machinery"rel="independent-parent"/>
10+
<linkhref="https://www.acm.org/publications/authors/reference-formatting"rel="documentation"/>
11+
<categorycitation-format="numeric"/>
12+
<categoryfield="engineering"/>
13+
<issn>0734-2071</issn>
14+
<eissn>1557-7333</eissn>
15+
<updated>2017-07-09T19:14:54+00:00</updated>
16+
<rightslicense="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
17+
</info>
18+
</style>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp