Skip to content

Commit 8f7e4bc

Browse files
committed
Merge c01300e
2 parents 2644d6a + c01300e commit 8f7e4bc

File tree

7 files changed

+125
-7
lines changed

7 files changed

+125
-7
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"title": "Welcome Example"
3+
}
4+
5+
## Hello World
6+
7+
This is the smallest Pillar example.
8+
It uses microdown syntax.
9+
10+
- Have a look at Pillar [ https://github.com/pillar-markup/pillar ](https://github.com/pillar-markup/pillar)
11+
- Have a look at Microdown [ https://github.com/pillar-markup/pillar ](https://github.com/pillar-markup/pillar)
12+
13+
With Pillar you can generate
14+
- slides -- all the slides of the Pharo mooc [ https://mooc.pharo.org ](https://mooc.pharo.org)
15+
- books -- all the books available at [ https://books.pharo.org ](https://books.pharo.org) are generated with it
16+
- website -- we now use foliage which internally uses microdown [ https://github.com/pillar-markup/foliage ](https://github.com/pillar-markup/foliage)
17+
18+
## Credits
19+
20+
Microdown has been developed by:
21+
- Stéphane Ducasse
22+
- Guillermo Polito
23+
- Laurine Dargaud
24+
- Kasper Osterbye
25+
26+
Pillar has been modernised and is maintained by:
27+
- Stéphane Ducasse
28+
- Guillermo Polito
29+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"title": "Welcome Example",
3+
"attribution": "The Pillar team",
4+
"series": "Square Bracket tutorials",
5+
"keywords": "project template, Pillar, Pharo, Smalltalk",
6+
"latexWriter" : #'miclatex:sbabook',
7+
"htmlWriter": #michtml
8+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>{{{title}}}</title>
5+
</head>
6+
<body>
7+
<div class="container">
8+
{{{content}}}
9+
</div>
10+
</body>
11+
</html>
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
% -*- mode: latex; -*- mustache tags: {{=« »=}} «! the '&' below prevents HTML escaping. »
2+
\documentclass[11pt,a4paper,twoside,english]{book}
3+
\let\wholebook=\relax
4+
5+
\usepackage{import}
6+
\subimport{_support/latex/}{common.tex}
7+
8+
9+
% =================================================================
10+
\title{«& title»}
11+
\author{«& attribution»}
12+
13+
\hypersetup{
14+
pdftitle = {«& title»},
15+
pdfauthor = {«& attribution»},
16+
pdfkeywords = {«& keywords»}
17+
}
18+
19+
20+
% =================================================================
21+
\begin{document}
22+
23+
\maketitle
24+
25+
\frontmatter
26+
\tableofcontents
27+
% \listoffigures
28+
% \listoftables
29+
30+
\mainmatter
31+
32+
«& content»
33+
34+
\backmatter
35+
% Index would go here
36+
37+
\end{document}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Right now the latex template are not ready for the templated writer.
2+
We keep it to make sure that we can produce latex with the current contents
3+
during development of the HTML templated.
4+
5+

archetypes/welcome/sample/index.md

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1-
{ "title":"My first document while reading the 5 minutes Pillar tutorial" }
1+
{
2+
"title": "Welcome Example"
3+
}
4+
5+
## Hello World
6+
7+
This is the smallest Pillar example.
8+
It uses microdown syntax.
9+
10+
- Have a look at Pillar [ https://github.com/pillar-markup/pillar ](https://github.com/pillar-markup/pillar)
11+
- Have a look at Microdown [ https://github.com/pillar-markup/pillar ](https://github.com/pillar-markup/pillar)
12+
13+
With Pillar you can generate
14+
- slides -- all the slides of the Pharo mooc [ https://mooc.pharo.org ](https://mooc.pharo.org)
15+
- books -- all the books available at [ https://books.pharo.org ](https://books.pharo.org) are generated with it
16+
- website -- we now use foliage which internally uses microdown [ https://github.com/pillar-markup/foliage ](https://github.com/pillar-markup/foliage)
17+
18+
## Credits
19+
20+
Microdown has been developed by:
21+
- Stéphane Ducasse
22+
- Guillermo Polito
23+
- Laurine Dargaud
24+
- Kasper Osterbye
25+
26+
Pillar has been modernised and is maintained by:
27+
- Stéphane Ducasse
28+
- Guillermo Polito
229

3-
# Hello World
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
2-
"title": "Welcome example",
3-
"htmlWriter" : #michtml,
4-
"latexWriter": #miclatex
5-
}
6-
s
2+
"title": "Welcome Example",
3+
"attribution": "The Pillar team",
4+
"series": "Square Bracket tutorials",
5+
"keywords": "project template, Pillar, Pharo, Smalltalk",
6+
"latexWriter" : #'miclatex:sbabook',
7+
"htmlWriter": #michtml
8+
}

0 commit comments

Comments
 (0)