Skip to content

Commit 5057101

Browse files
committed
changed the default pdf output directory of the projects
1 parent 07db81d commit 5057101

3 files changed

Lines changed: 10 additions & 9 deletions

File tree

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ This repository hosts the documentation source for both TokenScript and SmartLay
3838
````
3939
$ dita --project config/tokenscript-papers.xml
4040
````
41-
The results - **tokenscript-design-paper.pdf** and **tokenscript-short-paper.pdf** - can be found in `out/tokenscript-paper/`
41+
The results - **tokenscript-design-paper.pdf** and **tokenscript-short-paper.pdf** - can be found in `out`
4242
4343
- For compiling the SmartLayer Overview paper and its detailed counterpart:
4444
````
4545
$ dita --project config/smartlayer-paper.xml
4646
````
47-
The results - **smartlayer-overview.pdf** and **smartlayer-paper.pdf** can be found in `out/smartlayer-paper/`
47+
The results - **smartlayer-overview.pdf** and **smartlayer-paper.pdf** can be found in `out`
4848
4949
- For the Smart Token Technical paper, which wasn't using dita, it can be created using
5050
````
@@ -79,11 +79,12 @@ Assuming using Linux or OS X, to avoid commit errors, consider creating a `.git/
7979
8080
```
8181
#!/bin/sh
82-
dita --project config/tokenscript-docsite.yaml
83-
dita --project config/smartlayer-docsite.yaml
82+
dita --project config/smartlayer-paper.xml
83+
dita --project config/tokenscript-papers.xml
84+
pandoc --resource-path=src/papers -o out/smart-layer-technical-paper.pdf src/papers/smart-layer-technical-paper.md
8485
```
8586
86-
Then make it executable.
87+
Then make it executable. This should detect any error before commit.
8788
8889
This isn't added to the git repo due to potential variations in `dita` executable locations and system differences.
8990

config/smartlayer-paper.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<context name="Smart Layer Paper">
66
<input href="../src/smartlayer-paper.ditamap"/>
77
</context>
8-
<output href="../out/smartlayer-paper"/>
8+
<output href="../out"/>
99
<publication transtype="pdf2">
1010
<param name="include.rellinks" value="#default external"/>
1111
<param name="outputFile.base" value="smartlayer-paper"/>
@@ -18,7 +18,7 @@
1818
<context name="Smart Layer Paper">
1919
<input href="../src/smartlayer-overview.ditamap"/>
2020
</context>
21-
<output href="../out/smartlayer-paper"/>
21+
<output href="../out"/>
2222
<publication transtype="pdf2">
2323
<param name="hide.frontpage.toc.index.glossary" value="yes"/>
2424
<param name="args.chapter.layout" value="BASIC"/>

config/tokenscript-papers.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<context name="TokenScript Design Paper">
66
<input href="../src/tokenscript-paper.ditamap"/>
77
</context>
8-
<output href="../out/tokenscript-paper"/>
8+
<output href="../out"/>
99
<publication transtype="pdf2">
1010
<param name="include.rellinks" value="#default external"/>
1111
<param name="outputFile.base" value="tokenscript-design-paper"/>
@@ -18,7 +18,7 @@
1818
<context name="TokenScript Short Paper">
1919
<input href="../src/tokenscript-paper-short.ditamap"/>
2020
</context>
21-
<output href="../out/tokenscript-paper"/>
21+
<output href="../out"/>
2222
<publication transtype="pdf2">
2323
<param name="hide.frontpage.toc.index.glossary" value="yes"/>
2424
<param name="outputFile.base" value="tokenscript-short-paper"/>

0 commit comments

Comments
 (0)