From 95463fbb829cf600170b2953002e68934eabcb95 Mon Sep 17 00:00:00 2001 From: devlinjd Date: Tue, 8 Dec 2015 20:26:01 -0500 Subject: [PATCH] Awesome: Fix incorrect blank lines for LaTeX. --- .../src/latex/examples/cv/extracurricular.tex | 14 ++++++-------- .../awesome/src/latex/examples/cv/presentation.tex | 13 ++++++------- .../src/latex/examples/resume/extracurricular.tex | 14 ++++++-------- .../src/latex/examples/resume/presentation.tex | 13 ++++++------- 4 files changed, 24 insertions(+), 30 deletions(-) diff --git a/themes/awesome/src/latex/examples/cv/extracurricular.tex b/themes/awesome/src/latex/examples/cv/extracurricular.tex index a05998a..a13a439 100644 --- a/themes/awesome/src/latex/examples/cv/extracurricular.tex +++ b/themes/awesome/src/latex/examples/cv/extracurricular.tex @@ -7,15 +7,13 @@ {[[ ex.activity ]]} {[[ ex.location ]]} {[[ ex.safe.start ]] - [[ ex.safe.end ]]} - [~ if( ex.highlights && ex.highlights.length ) { ~] - { + [~ if( ex.highlights && ex.highlights.length ) { + ~]{ \begin{cvitems} - [~ _.each(ex.highlights, function(high) { ~] - \item {[[high]]} - [~ }); ~] - \end{cvitems} - } - [~ } ~] + [~ _.each(ex.highlights, function(high) { + ~]\item {[[high]]} + [~ }); ~]\end{cvitems} + }[~ } else { ~]{ }[~ } ~] [~ }); ~] \end{cventries} [~ } ~] diff --git a/themes/awesome/src/latex/examples/cv/presentation.tex b/themes/awesome/src/latex/examples/cv/presentation.tex index f2f6c8b..787b1b9 100644 --- a/themes/awesome/src/latex/examples/cv/presentation.tex +++ b/themes/awesome/src/latex/examples/cv/presentation.tex @@ -1,18 +1,17 @@ -[~ if( r.presentations && r.presentations.length) { ~] +[~ if( r.speaking && r.speaking.length) { ~] \cvsection{Presentation} \begin{cventries} - [~ _.each(r.presentations, function(pres) { ~] + [~ _.each(r.speaking, function(pres) { ~] \cventry {[[ pres.title ]]} {[[ pres.event ]]} {[[ pres.location ]]} {[[ pres.safe.date ]]} - [~ if (pres.highlights && pres.highlights.length) { ~] - { + [~ if (pres.highlights && pres.highlights.length) { + ~]{ \begin{cvitems} - [~ _.each(pres.highlights, function( high) { ~] - \item {[[ high ]]} - [~ }); ~] + [~ _.each(pres.highlights, function( high) { + ~]\item {[[ high ]]}[~ }); ~] \end{cvitems} } [~ } else { ~]{ }[~ } ~] diff --git a/themes/awesome/src/latex/examples/resume/extracurricular.tex b/themes/awesome/src/latex/examples/resume/extracurricular.tex index 25cef35..a13a439 100644 --- a/themes/awesome/src/latex/examples/resume/extracurricular.tex +++ b/themes/awesome/src/latex/examples/resume/extracurricular.tex @@ -7,15 +7,13 @@ {[[ ex.activity ]]} {[[ ex.location ]]} {[[ ex.safe.start ]] - [[ ex.safe.end ]]} - [~ if( ex.highlights && ex.highlights.length ) { ~] - { + [~ if( ex.highlights && ex.highlights.length ) { + ~]{ \begin{cvitems} - [~ _.each(ex.highlights, function(high) { ~] - \item {[[high]]} - [~ }); ~] - \end{cvitems} - } - [~ } else { ~]{ }[~ } ~] + [~ _.each(ex.highlights, function(high) { + ~]\item {[[high]]} + [~ }); ~]\end{cvitems} + }[~ } else { ~]{ }[~ } ~] [~ }); ~] \end{cventries} [~ } ~] diff --git a/themes/awesome/src/latex/examples/resume/presentation.tex b/themes/awesome/src/latex/examples/resume/presentation.tex index f2f6c8b..787b1b9 100644 --- a/themes/awesome/src/latex/examples/resume/presentation.tex +++ b/themes/awesome/src/latex/examples/resume/presentation.tex @@ -1,18 +1,17 @@ -[~ if( r.presentations && r.presentations.length) { ~] +[~ if( r.speaking && r.speaking.length) { ~] \cvsection{Presentation} \begin{cventries} - [~ _.each(r.presentations, function(pres) { ~] + [~ _.each(r.speaking, function(pres) { ~] \cventry {[[ pres.title ]]} {[[ pres.event ]]} {[[ pres.location ]]} {[[ pres.safe.date ]]} - [~ if (pres.highlights && pres.highlights.length) { ~] - { + [~ if (pres.highlights && pres.highlights.length) { + ~]{ \begin{cvitems} - [~ _.each(pres.highlights, function( high) { ~] - \item {[[ high ]]} - [~ }); ~] + [~ _.each(pres.highlights, function( high) { + ~]\item {[[ high ]]}[~ }); ~] \end{cvitems} } [~ } else { ~]{ }[~ } ~]