forked from SquareBracketAssociates/UpdatedPharoByExample
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpillar.conf
71 lines (71 loc) · 2.25 KB
/
pillar.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"title" : "{Pharo By Example 5}",
"newLine" : #unix,
"defaultExporters" : [ "HTML by chapter" , "LaTeX by chapter" ],
"headingLevelOffset" : 1,
"defaultScriptLanguage" : "smalltalk",
"outputDirectory" : "book-result",
"latexCommand" : "lualatex --file-line-error --interaction=nonstopmode --halt-on-error {fileName} 2>&1 1>/dev/null
ret=$?
if [[ $ret -ne 0 ]]; then
cat {fileNameWithoutExtension}.log
echo \"Can't generate the PDF!\"
exit 1
fi",
"configurations" : {
"LaTeX by chapter" : {
"outputType" : #latex,
"template" : "support/templates/chapter.latex.template",
"separateOutputFiles" : true
},
"HTML by chapter" : {
"outputType" : #html,
"template" : "support/templates/chapter.html.template",
"separateOutputFiles" :true,
"level1" : {
"numbering" : true,
"size":0
},
"level2" : {
"numbering" : true,
"size":1,
"renderAs":"number"
},
"level3" : {
"numbering" : true,
"size":2,
"renderAs":"number"
},
"level4" : {
"numbering" : true,
"size":3,
"renderAs":"number"
},
"level5" : {
"numbering" : true,
"size":1,
"renderAs":"letter"
}
}
},
"inputFiles" : [
"Preface/Preface.pillar",
"PharoTour/PharoTour.pillar",
"FirstApplication/FirstApplication.pillar",
"SyntaxNutshell/SyntaxNutshell.pillar",
"UnderstandingMessage/UnderstandingMessage.pillar",
"PharoObjectModel/PharoObjectModel.pillar",
"Environment/Environment.pillar",
"SharingCode/SharingCode.pillar",
"SUnit/SUnit.pillar",
"BasicClasses/BasicClasses.pillar",
"Collections/Collections.pillar",
"Streams/Streams.pillar",
"Morphic/Morphic.pier",
"Seaside/Seaside.pier",
"Metaclasses/Metaclasses.pillar",
"Reflection/Reflection.pier",
"Regex/Regex.pier"
],
"support" : [ "support" , "*/figures", ".latexmkrc" ]
}