1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-12-23 05:17:22 +00:00

Awesome: Fix baseline LaTeX generation.

This commit is contained in:
devlinjd 2015-12-08 10:14:29 -05:00
parent baffe8ec02
commit 421bc71f65
10 changed files with 26 additions and 34 deletions

View File

@ -3,10 +3,10 @@
"description": "A FluentCV résumé theme based on Awesome-CV for LaTeX.",
"engine": "underscore",
"delimeters": {
"interpolate": "\\[\\[(.+?)\\]\\]",
"escape": "\\[\\=(.+?)\\]\\]",
"evaluate": "\\[\\~(.+?)\\~\\]",
"comment": "\\[\\#(.+?)\\#\\]"
"interpolate": "\\[\\[([\\s\\S]+?)\\]\\]",
"escape": "\\[\\=([\\s\\S]+?)\\]\\]",
"evaluate": "\\[~([\\s\\S]+?)~]",
"comment": "\\[\\#([\\s\\S]+?)\\#\\]"
},
"formats": {
"latex": {
@ -29,7 +29,7 @@
"src/latex/examples/cv/skills.tex",
"src/latex/examples/cv/writing.tex"
],
"symlinks": {
"symLinks": {
"src/latex/examples/awesome-cv.cls": "../awesome-cv.cls",
"src/latex/examples/fontawesome.sty": "../fontawesome.sty",
"src/latex/examples/fonts": "../fonts"

View File

@ -7,15 +7,14 @@
{[[ edu.institution ]]}
{[[ edu.location ]]}
{[[ edu.safe.start ]] - [[ edu.safe.end ]]}
[~ if( edu.highlights && edu.highlights.length ) { ~]
{
[~ if( edu.highlights && edu.highlights.length ) {
~]{
\begin{cvitems}
[~ _.each(edu.highlights, function(high) { ~]
\item {[[ high ]]}
[~ }); ~]
\end{cvitems}
}
[~ } ~]
}[~ } else { ~]{ }[~ } ~]
[~ }); ~]
\end{cventries}
[~ } ~]

View File

@ -7,15 +7,12 @@
{[[ emp.employer ]]}
{[[ emp.location ]]}
{[[ emp.safe.start ]] - [[ emp.safe.end ]]}
[~ if( emp.highlights && emp.highlights.length ) { ~]
{
\begin{cvitems}
[~ _.each( emp.highlights, function(high) { ~]
\item {[[ high ]]}
[~ }); ~]
[~ if( emp.highlights && emp.highlights.length ) {
~]{
\begin{cvitems}[~ _.each( emp.highlights, function(high) { ~]
\item {[[ high.replace(/#/g, '\\#') ]]}[~ }); ~]
\end{cvitems}
}
[~ } ~]
}[~ } ~]
[~ }); ~]
\end{cventries}
[~ } ~]

View File

@ -15,7 +15,7 @@
[~ }); ~]
\end{cvitems}
}
[~ } ~]
[~ } else { ~]{ }[~ } ~]
[~ }); ~]
\end{cventries}
[~ } ~]

View File

@ -15,7 +15,7 @@
[~ }); ~]
\end{cvitems}
}
[~ } ~]
[~ } else { ~]{ }[~ } ~]
[~ }); ~]
\end{cventries}
[~ } ~]

View File

@ -7,15 +7,14 @@
{[[ edu.institution ]]}
{[[ edu.location ]]}
{[[ edu.safe.start ]] - [[ edu.safe.end ]]}
[~ if( edu.highlights && edu.highlights.length ) { ~]
{
[~ if( edu.highlights && edu.highlights.length ) {
~]{
\begin{cvitems}
[~ _.each(edu.highlights, function(high) { ~]
\item {[[ high ]]}
[~ }); ~]
\end{cvitems}
}
[~ } ~]
}[~ } else { ~]{ }[~ } ~]
[~ }); ~]
\end{cventries}
[~ } ~]

View File

@ -7,15 +7,12 @@
{[[ emp.employer ]]}
{[[ emp.location ]]}
{[[ emp.safe.start ]] - [[ emp.safe.end ]]}
[~ if( emp.highlights && emp.highlights.length ) { ~]
{
\begin{cvitems}
[~ _.each( emp.highlights, function(high) { ~]
\item {[[ high ]]}
[~ }); ~]
[~ if( emp.highlights && emp.highlights.length ) {
~]{
\begin{cvitems}[~ _.each( emp.highlights, function(high) { ~]
\item {[[ high.replace(/#/g, '\\#') ]]}[~ }); ~]
\end{cvitems}
}
[~ } ~]
}[~ } ~]
[~ }); ~]
\end{cventries}
[~ } ~]

View File

@ -15,7 +15,7 @@
[~ }); ~]
\end{cvitems}
}
[~ } ~]
[~ } else { ~]{ }[~ } ~]
[~ }); ~]
\end{cventries}
[~ } ~]

View File

@ -15,7 +15,7 @@
[~ }); ~]
\end{cvitems}
}
[~ } ~]
[~ } else { ~]{ }[~ } ~]
[~ }); ~]
\end{cventries}
[~ } ~]

View File

@ -15,7 +15,7 @@
[~ }); ~]
\end{cvitems}
}
[~ } ~]
[~ } else { ~]{ }[~ } ~]
[~ }); ~]
\end{cventries}
[~ } ~]