Show More
@@ -53,7 +53,7 b'' | |||
|
53 | 53 | \maketitle |
|
54 | 54 | \tableofcontents |
|
55 | 55 | |
|
56 | ((* endblock bodyBegin *))((* block bodyEnd *)) | |
|
56 | ((* endblock bodyBegin *))((* block bodyEnd *)) | |
|
57 | 57 | |
|
58 | 58 | \renewcommand{\indexname}{Index} |
|
59 | 59 | \printindex |
@@ -67,45 +67,38 b'' | |||
|
67 | 67 | ((* endblock footer *)) |
|
68 | 68 | |
|
69 | 69 | ((* block headingcell -*)) |
|
70 | ||
|
70 | \ | |
|
71 | 71 | ((*- if cell.level == 1 -*)) |
|
72 | \part | |
|
72 | ((* block h1 -*))part((* endblock h1 -*)) | |
|
73 | 73 | ((*- elif cell.level == 2 -*)) |
|
74 | \chapter | |
|
74 | ((* block h2 -*))chapter((* endblock h2 -*)) | |
|
75 | 75 | ((*- elif cell.level == 3 -*)) |
|
76 | \section | |
|
76 | ((* block h3 -*))section((* endblock h3 -*)) | |
|
77 | 77 | ((*- elif cell.level == 4 -*)) |
|
78 | \subsection | |
|
78 | ((* block h4 -*))subsection((* endblock h4 -*)) | |
|
79 | 79 | ((*- elif cell.level == 5 -*)) |
|
80 | \subsubsection | |
|
80 | ((* block h5 -*))subsubsection((* endblock h5 -*)) | |
|
81 | 81 | ((*- elif cell.level == 6 -*)) |
|
82 | \paragraph | |
|
82 | ((* block h6 -*))paragraph((* endblock h6 -*)) | |
|
83 | 83 | ((*- endif -*)){((( cell.source | markdown2latex )))} |
|
84 | 84 | ((*- endblock headingcell *)) |
|
85 | 85 | |
|
86 |
((* |
|
|
87 | ((("\n"))) | |
|
88 | ||
|
89 | \setbox0\vbox{ | |
|
90 | \begin{minipage}{0.95\linewidth} | |
|
91 | ((( filterOutLatex(cell.source) ))) | |
|
92 | \end{minipage}} | |
|
93 | \begin{center}\setlength{\fboxsep}{5pt} | |
|
94 | \shadowbox{\box0}\end{center} | |
|
95 | ||
|
96 | ((*- endblock rawcell -*)) | |
|
97 | ||
|
98 | ((*- block unknowncell scoped-*)) | |
|
99 | ((("\n"))) | |
|
86 | ((* block unknowncell scoped*)) | |
|
100 | 87 | |
|
101 | 88 | % Unsupported cell type, no formatting |
|
102 | 89 | ((( filterOutLatex(cell.source) ))) |
|
103 |
((* |
|
|
90 | ((* endblock unknowncell *)) | |
|
104 | 91 | |
|
105 | 92 | ((*- block markdowncell scoped-*)) |
|
106 | 93 | ((( super() ))) |
|
107 | 94 | ((*- endblock markdowncell -*)) |
|
108 | 95 | |
|
96 | ((= Raw text cells allow the user to manually inject document code that will | |
|
97 | not get touched by the templating system. =)) | |
|
98 | ((*- block rawcell *)) | |
|
99 | ((( cell.source ))) | |
|
100 | ((* endblock rawcell -*)) | |
|
101 | ||
|
109 | 102 | ((* macro filterOutLatex(text) -*)) |
|
110 | 103 | ((*- set text = text|replace("\\","\\backslash") -*)) |
|
111 | 104 | ((*- set text = text|replace("{","\\{") -*)) |
@@ -114,6 +107,16 b'' | |||
|
114 | 107 | ((( text ))) |
|
115 | 108 | ((*- endmacro *)) |
|
116 | 109 | |
|
110 | % Useful to block TODO: Remove/move this block below | |
|
111 | ||
|
112 | \setbox0\vbox{ | |
|
113 | \begin{minipage}{0.95\linewidth} | |
|
114 | ||
|
115 | \end{minipage}} | |
|
116 | \begin{center}\setlength{\fboxsep}{5pt} | |
|
117 | \shadowbox{\box0}\end{center} | |
|
118 | ||
|
119 | ||
|
117 | 120 | ((======================================================================== |
|
118 | 121 | EVERYTHING BELOW HERE STILL NEEDS TO BE FILLED IN! |
|
119 | 122 | ========================================================================)) |
@@ -13,4 +13,9 b'' | |||
|
13 | 13 | ((* set parentdocumentclass = 'article' *)) |
|
14 | 14 | ((* set documentclass = 'howto' *)) |
|
15 | 15 | |
|
16 | ||
|
16 | ((* block h1 -*))part((* endblock h1 -*)) | |
|
17 | ((* block h2 -*))section((* endblock h2 -*)) | |
|
18 | ((* block h3 -*))subsection((* endblock h3 -*)) | |
|
19 | ((* block h4 -*))subsubsection((* endblock h4 -*)) | |
|
20 | ((* block h5 -*))paragraph((* endblock h5 -*)) | |
|
21 | ((* block h6 -*))subparagraph((* endblock h6 -*)) |
@@ -12,3 +12,10 b'' | |||
|
12 | 12 | |
|
13 | 13 | ((* set parentdocumentclass = 'report' *)) |
|
14 | 14 | ((* set documentclass = 'manual' *)) |
|
15 | ||
|
16 | ((* block h1 -*))part((* endblock h1 -*)) | |
|
17 | ((* block h2 -*))chapter((* endblock h2 -*)) | |
|
18 | ((* block h3 -*))section((* endblock h3 -*)) | |
|
19 | ((* block h4 -*))subsection((* endblock h4 -*)) | |
|
20 | ((* block h5 -*))subsubsection((* endblock h5 -*)) | |
|
21 | ((* block h6 -*))paragraph((* endblock h6 -*)) |
General Comments 0
You need to be logged in to leave comments.
Login now