Code Monkey home page Code Monkey logo

cv-boilerplate's People

Contributors

0xflotus avatar mohoromitch avatar mrzool avatar supaeasy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cv-boilerplate's Issues

Disabling \tightlist so that Pandoc parses variable input containing ordinal number as string

Issue

When a variable includes a number directly followed by a period, Pandoc fails at compiling the template. This seems to be caused by Pandoc recognizing the content of that variable as a list, specifically a \tightlist.

Example

In the "details.yml" I have this section:

education:
- year: 2003-2007
  institute: 91. Grundschule "Am Sand"
  city: Dresden

when I run make, I get:

! Undefined control sequence.
<argument> ... \setcounter {enumi}{90} \tightlist 
                                                  \item Grundschule ``Am San...
l.114 \end{enumerate}}

pandoc: Error producing PDF
make: *** [output.pdf] Error 43

Attempts at fixing

I've read through countless threads about it on the Pandoc issues page and on http://tex.stackexchange.com. I implemented the changes in "template.tex" suggested there:

\begin{document}
...
\providecommand{\tightlist}{%
   \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
...
$if(education)$
\section*{Schulbildung}
\begingroup
\let\tightlist\relax
\noindent
$for(education)$
\note{$education.year$}$if(education.subject)$\emph{$education.subject$}$if(education.degree)$, $education.degree$$endif$\\$endif$\textsc{$education.institute$}$if(education.city)$, $education.city$$endif$\\[.2cm]
$endfor$
\endgroup
$endif$
...
\end{document}

This way Pandoc ran without error. But it still produced the variable's content as a list including line breaks and indentation:

bildschirmfoto 2016-06-17 um 13 33 33

You can see by the first of the two entries how it is usually formatted. The second one is all messed up.

I've been meddling with this for one and a half days now. If someone knows how to make sure that Pandoc does not treat a variable's content as list, please share your insights. I really appreciate it.

makefile, multiple languages due to multiple yml files

I created a question about this on stack overflow :) its about the make file

http://stackoverflow.com/questions/37368841/makefile-process-multiple-files-and-output-converted-files-with-similar-names

thought maybe you could help out, as its your code initially ;)

it basically tells the following:


Say i have the following files:

makefile
file1_ENG.yaml
file2_NL.yaml
template.tex

I would like to have the makefile output pdf files from all the yaml files.

So in this case, 2 pdf's with the same names, file1_ENG.pdf & file2_NL.pdf.

Currently I have:

TEX = pandoc
src = template.tex $(wildcard *.yml)
FLAGS = --latex-engine=xelatex

file1_ENG.pdf : $(src)
    $(TEX) $(filter-out $<,$^ ) --verbose -o $@ --template=$< $(FLAGS)

.PHONY: clean
clean :
    rm file1_ENG.pdf

dont know if the wildcard thing is working.. also how to get the names of the imported files and use these as output filenames?

Using conditionals within a section and avoiding new lines for absent entry

Hi, great repo. I'm looking for some help editing the template.tex file, I'm very likely doing something wrong but I can't seem to get the formatting that I want.

I want to have optional items within a category. See below: I'd like to differentiate between an undergrad degree project and a graduate thesis. But when I make the pdf, if a category doesn't have a given entry (here, either "thesis" or "capstone"), it still produces a new line.

I've tried moving around or removing the \\ items, but can't get it to work.

Any advice on getting consistent formatting? Thanks!

education:
- year: 2018--Present
  subject: Engineering
  degree: PhD
  institute: University of Somewhere
  department: Department of Engineering
  city: City
  thesis: Study of something.
  supervisor: Prof Jack

- year: 2016--2018
  subject: Engineering
  degree: MSc
  institute: University of Somewhere Else
  department: Department of Engineering
  city: Town
  thesis: Research about topic.
  supervisor: Prof Jill

- year: 2011--2015
  subject: Engineering
  minor: Art
  degree: BASc
  institute: University of Nowhere
  department: Department of Engineering
  city: Nowhere.
  capstone: Undergrad project title.
  supervisor: Prof Bob

$if(education)$
\section*{Education}
\noindent
$for(education)$
\note{$education.year$}\textbf{$education.subject$}$if(education.degree)$, $education.degree$\\$endif$
$education.department$, \emph{$education.institute$}\\
$if(education.thesis)$Thesis: $education.thesis$\\$endif$
$if(education.capstone)$Capstone project: $education.capstone$\\$endif$
$if(education.supervisor)$Supervisor: $education.supervisor$$endif$\\[.2cm]

Screen Shot 2022-01-19 at 2 39 16 PM

Error running make

I get the following

$ make
pandoc details.yml -o output.pdf --latex-engine=xelatex --template=template.tex
pandoc: Could not parse YAML header: mapping values are not allowed in this context "source" (line 40, column 40)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
! 
! The font "" cannot be found.
! 
! See the fontspec documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  

l.33 ...[Ligatures={Common}, Numbers={OldStyle}]{}

pandoc: Error producing PDF from TeX source
make: *** [output.pdf] Error 43

my details.yml looks something like


---
# Personal details

# Insert URLs without http://
urls:


# Sections


skills:


experience:


education:


# Settings
mainfont: Times New Roman
fontsize: 10pt
lang: English
geometry: a4paper, left=35mm, right=35mm, top=51mm, bottom=17mm

---

Experience Showing Up

Sorry if I'm missing something obvious but I can't seem to get the "experience" section to show up. I cloned the repo and ran make again but it doesn't have it included. If I delete the if statement in the template.tex file, it works.

Thanks!

Git clone command is wrong

This clone command doesn't work for me:

git clone [email protected]:mrzool/cv-boilerplate.git && cd cv-boilerplate && rm -rf .git
Cloning into 'cv-boilerplate'...
Warning: Permanently added the RSA host key for IP address '192.30.252.130' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I think you want:

git clone https://github.com/mrzool/cv-boilerplate.git && cd cv-boilerplate && rm -rf .git

How to launch tlmgr on osx?

Hello. I'm following the readme on osx. And I installed the BasicTEX distribution. But the tlmgr cli tool is not available yet. Any thoughts?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.