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

latexmkrc settings are ignored #35

Open
thorstengrothe opened this issue Oct 29, 2018 · 0 comments
Open

latexmkrc settings are ignored #35

thorstengrothe opened this issue Oct 29, 2018 · 0 comments

Comments

@thorstengrothe
Copy link

I found something similar here but the issue was closed so I open a new one, I hope this is ok

I got this settings in my latexmkrc file:

$pdf_mode = 1;
# Output directory
$aux_dir = 'Build'; # Works only in pdflatex
$out_dir = 'Build';
#$pdflatex = 'xelatex --shell-escape -interaction=nonstopmode -file-line-error -synctex=1 %O %S && cp --verbose %D %R.pdf'; 
$pdflatex = '&& cp %D %R.pdf'; --> This does not work.

When I compile the document the files go to Build, so this part works fine. But the second part

$pdflatex = '&& cp %D %R.pdf'

does not work. When I compile in a terminal and comment out the line
#$pdflatex = 'xelatex --shell-escape -interaction=nonstopmode -file-line-error -synctex=1 %O %S && cp --verbose %D %R.pdf'; all files go to Build and the pdf is copied to the source dir. But this does not work inside auctex.

What can I do?

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

1 participant