Commit 4c863f74 authored by ghtmtt's avatar ghtmtt

some small tweak for Grav website structure

parent 4f871db5
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=pdflatex 2019.2.23) 10 MAR 2019 15:34
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=pdflatex 2019.2.23) 11 MAR 2019 12:13
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
......@@ -1215,7 +1215,7 @@ Here is how much of TeX's memory you used:
e/texmf-dist/fonts/type1/urw/helvetic/uhvb8a.pfb></usr/share/texlive/texmf-dist
/fonts/type1/urw/helvetic/uhvr8a.pfb></usr/share/texlive/texmf-dist/fonts/type1
/urw/helvetic/uhvro8a.pfb>
Output written on _build//Cavallini_CV_eu_en.pdf (48 pages, 165845 bytes).
Output written on _build//Cavallini_CV_eu_en.pdf (48 pages, 165848 bytes).
PDF statistics:
328 PDF objects out of 1000 (max. 8388607)
263 compressed objects within 3 object streams
......
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=pdflatex 2019.2.23) 10 MAR 2019 15:34
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=pdflatex 2019.2.23) 11 MAR 2019 12:13
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
......@@ -1373,7 +1373,7 @@ Here is how much of TeX's memory you used:
e/texmf-dist/fonts/type1/urw/helvetic/uhvb8a.pfb></usr/share/texlive/texmf-dist
/fonts/type1/urw/helvetic/uhvr8a.pfb></usr/share/texlive/texmf-dist/fonts/type1
/urw/helvetic/uhvro8a.pfb>
Output written on _build//Cavallini_CV_eu_it.pdf (51 pages, 175448 bytes).
Output written on _build//Cavallini_CV_eu_it.pdf (51 pages, 175433 bytes).
PDF statistics:
344 PDF objects out of 1000 (max. 8388607)
276 compressed objects within 3 object streams
......
No preview for this file type
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=pdflatex 2019.2.23) 10 MAR 2019 15:34
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=pdflatex 2019.2.23) 11 MAR 2019 12:13
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
......
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=pdflatex 2019.2.23) 10 MAR 2019 15:34
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=pdflatex 2019.2.23) 11 MAR 2019 12:13
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
......@@ -922,7 +922,7 @@ Here is how much of TeX's memory you used:
e/texmf-dist/fonts/type1/urw/helvetic/uhvb8a.pfb></usr/share/texlive/texmf-dist
/fonts/type1/urw/helvetic/uhvr8a.pfb></usr/share/texlive/texmf-dist/fonts/type1
/urw/helvetic/uhvro8a.pfb>
Output written on _build//Ghetta_CV_eu_it.pdf (5 pages, 53433 bytes).
Output written on _build//Ghetta_CV_eu_it.pdf (5 pages, 53432 bytes).
PDF statistics:
90 PDF objects out of 1000 (max. 8388607)
70 compressed objects within 1 object stream
......
No preview for this file type
# Curriculum Vitæ Matteo Ghetta
## Personal Data
Date of birth: 18/09/1986
......
# Curriculum Vitæ Matteo Ghetta
## Dati personali
Data di nascita: 18/09/1986
......
# Curriculum Vitæ Paolo Cavallini
## Personal Data
Date of birth: 27/10/1963
......@@ -18,8 +20,9 @@ C.F.: CVLPLA63R27G843A
1982 Diploma of Humanities high school
## Post-graduate courses attended
## Post-graduate courses attended2007 Participation to the seminar "Introduction to GIS" organized by SIFET (Italian Society of Fotogrammetry and Topography) and University of Palermo
2007 Participation to the seminar "Introduction to GIS" organized by SIFET (Italian Society of Fotogrammetry and Topography) and University of Palermo
1996 International School of Ethology - Erice - 12th Workshop: Research techniques in ethology and animal ecology: uses and misuses (lecturers: M Fuller, D. Murray, A. Gautestad, D. Garshelis, J. Litavitis, D. W. Macdonald, P. Stewart, N. Yamaguchi, J. Elkinton, J. Gibbs, G. White, M. Boyce, C. Krebs, F. Corsi, J. De Leeuw, S. Rushton)
......
# Curriculum Vitæ Paolo Cavallini
## Dati personali
Data di nascita: 27/10/1963
......@@ -18,8 +20,9 @@ C.F.: CVLPLA63R27G843A
1982 Diploma di Maturità Classica
## Specializzazioni
## Specializzazioni2007 Partecipazione alla giornata di studio 'Introduzione ai GIS' - SIFET (Società Italiana di Fotogrammetria e Topografia) e Dipartimento di Rappresentazione - Università degli Studi di Palermo
2007 Partecipazione alla giornata di studio 'Introduzione ai GIS' - SIFET (Società Italiana di Fotogrammetria e Topografia) e Dipartimento di Rappresentazione - Università degli Studi di Palermo
2002 Ammissione all'Elenco Provinciale dei professionisti in qualità di tecnico faunistico per la Provincia di Lucca
......
......@@ -1263,9 +1263,15 @@ class CV:
for k, v in self.d.items():
with open(os.path.join(file_path, '_output', 'cv_{who}_{lang}.md'.format(who=k, lang=lang)), 'w+') as f:
directory = os.path.join(file_path, '_output', 'cv_{}'.format(k))
if not os.path.exists(directory):
os.makedirs(directory)
with open(os.path.join(directory, 'default.{lang}.md'.format(lang=lang)), 'w+') as f:
if k == 'pc':
f.write('# Curriculum Vitæ Paolo Cavallini\n\n')
f.write('## {tit}\n\n'.format(tit='Dati personali' if lang=='it' else 'Personal Data'))
f.write('''{data}: 27/10/1963\n'''.format(
......@@ -1283,6 +1289,7 @@ class CV:
f.write('''\nC.F.: CVLPLA63R27G843A\n''')
else:
f.write('# Curriculum Vitæ Matteo Ghetta\n\n')
f.write('## {tit}\n\n'.format(tit='Dati personali' if lang=='it' else 'Personal Data'))
f.write('''{data}: 18/09/1986\n'''.format(
......@@ -1309,7 +1316,7 @@ class CV:
)
elif kk == 'Specializzazioni':
f.write('\n ## {tit}'.format(
f.write('## {tit}\n\n'.format(
tit='Specializzazioni' if lang == 'it' else 'Post-graduate courses attended')
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment