Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long dash is translated incorrectly #16

Closed
magicgoose opened this issue Aug 19, 2015 · 1 comment
Closed

Long dash is translated incorrectly #16

magicgoose opened this issue Aug 19, 2015 · 1 comment

Comments

@magicgoose
Copy link

If the input text (in cv.yaml) contains long dash ("—"), it's incorrectly translated in PDF output and the result looks like "âĂŤ".

The .tex file looks OK, so it's the PDF creation failure. How can I fix that?

Cyrillic letters fail as well — looks like the problem is wrong encoding. How to change it?

I'm trying to build on OS X, using texlive distribution from https://tug.org/mactex/

@bamos
Copy link
Owner

bamos commented Aug 19, 2015

Hi, I think adding \usepackage[utf8]{inputenc} to templates/latex/cv.tex will compile with the long dash, but it's more standard to use --: http://tex.stackexchange.com/questions/3819/dashes-vs-vs

I've never used cyrillic in Latex before, does http://tex.stackexchange.com/questions/816/cyrillic-in-latex help? The compilation happens with the $(PDF): $(TEX) rule in the Makefile if you want to modify it to use xetex. I'd recommend getting it compile by hand first.

@bamos bamos closed this as completed Aug 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants