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

Error while make #1

Closed
troyane opened this issue May 20, 2014 · 5 comments
Closed

Error while make #1

troyane opened this issue May 20, 2014 · 5 comments
Labels

Comments

@troyane
Copy link

troyane commented May 20, 2014

Unfortunately, I got error every time I apply make in examples directory.

tro@t430s:~/Projects/cv4tw/examples$ make clean
rm -f sample-jules-verne.pdf
tro@t430s:~/Projects/cv4tw/examples$ make
This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013/Debian)
 restricted \write18 enabled.
entering extended mode
! I can't find file `sample-jules-verne.tex'.
<*> sample-jules-verne.tex

(Press Enter to retry, or Control-D to exit)
Please type another input file name: 

If I make changes to Makefile this way:

...
$(CVNAME).pdf: $(CVNAME).tex
    /bin/cat $<
...

I got output of sample-jules-verne.tex.

Can someone recommend what to do to solve that issue?

@Cicatrice
Copy link
Owner

Hello,

sorry for the trouble, I made those tests on a Windows computer. I will have a look on a linux machine this evening.

@troyane
Copy link
Author

troyane commented May 21, 2014

How can I help to solve this issue and make cv4tw better? :)

@Cicatrice
Copy link
Owner

Hello,

It's really kind to you :) I finally found the issue, it's due to a difference of behaviour between TeXLive and MikTeX about TEXINPUTS.

On Linux, TEXINPUTS needs a semicolon at the end to include the standard TeX "classpath". So, instead of :

export TEXINPUTS=.:..

you need to give :

export TEXINPUTS=.:..:

As I reinstall my whole TeXLive env, please find below the depedencies required for the CV sample :

sudo yum install texlive texlive-xetex texlive-newenviron texlive-xetex-def texlive-xstring texlive-lastpage texlive-libertine texlive-euenc texlive-pbox texlive-needspace texlive-fontawesome fontawesome-fonts texlive-realboxes

This is the installation line for Fedora 20, but I guess you'll adapt it easily to your distribution.

Cicatrice added a commit that referenced this issue May 21, 2014
Fix TEXINPUTS related to issue #1
@troyane
Copy link
Author

troyane commented May 21, 2014

Yes, now it work fine, and I really can do make and got pdf. Thank you.

In Debian-based systems all dependencies can be satisfied by next command:

sudo apt-get install texlive-latex-extra texlive-xetex texlive-fonts-extra fonts-linuxlibertine

(since lots of stuff are already in packages texlive-latex-extra, texlive-xetex).

@Cicatrice
Copy link
Owner

Thanks for your feedback, I will add the Debian-based deps in the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants