Open evandrocoan opened 7 years ago
The systemcheck failure seems to be a bug in versions < 3118, but ghostscript usually ships together with miktex.
For the other part I am a little bit confused. Based on your log I assume you have tried both traditional/default and basic builder?
latexmk
(as the miktex package) you may just change the distro to texlive
(I think this should work)Based on your log I assume you have tried both traditional/default and basic builder?
I think was something like traditional/default
& basic.
if you want to run latexmk (as the miktex package) you may just change the distro to texlive (I think this should work)
Thanks! I changed the ditro to texlive
now it is working, i.e., creating the cache
folder and putting the auxiliary files there.
I do not understand why, I am using MikTex
, I neither have TexLive
installed. This was the command line choosing Basic Builder
:
Welcome to thread Thread-1521
making directory D:\DrawLotsAiGame\cache
['pdflatex', '-interaction=nonstopmode', '-synctex=1', '--output-directory=cache', 'report']
Running "'D:\miktex\bin\pdflatex.EXE' -interaction=nonstopmode -synctex=1 --output-directory=cache report"
Finished normally
0
False False True
Jump to: 51 0
<class '_latextools_sumatra_viewer.SumatraViewer'>
Running "'C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe' -reuse-instance -forward-search 'D:\DrawLotsAiGame\report.tex' 52 'D:\DrawLotsAiGame\cache\report.pdf'"
But it is missing the argument -aux-directory="cache"
, strangely it is creating all the files on the cache
folder.
I do not understand why, I am using MikTex, I neither have TexLive installed.
Actually "miktex" means "use texify
" and "texlive" means "use latexmk
, because these are the default shipped build programs and we don't need to confuse people more than necessary. (I don't think there are more differences)
But it is missing the argument -aux-directory="cache", strangely it is creating all the files on the cache folder.
I am not sure, but I think -aux-directory is only for texify and -output-directory is only for latexmk.
-output-directory
redirects all output (auxfiles & PDF) to the specified directory and is supported by both MiKTeX and TeXLive (but not by texify
). If you change the distro to texlive
, the n LaTeXTools will generate a command line suitable for TeXLive, i.e., only supporting -output-directory
.
-aux-directory
is only supported by MiKTeX (but again not by texify
). If you run the basic
builder, it should support both but only if you specify the builder setting as basic
. Unfortunately, there isn't yet a way to run the basic
builder from the variants and have LaTeXTools realise that it's running the basic
builder rather than whatever is configured in your settings, hence the output you see.
latexmk
supports both -output-directory
and -aux-directory
, but only if the underlying distribution supports them. Otherwise, it naïvely passes the arguments along causing builds with -aux-directory
to fail if the actual distro is TeXLive.
I'm going to reopen this because there is one bug (in the system check) and one enhancement (to get the builders working correctly when chosen from the variants without modifying the corresponding settings) that we should address.
@Thanks you all for the time!
About the system check bug, I think it is as @r-stein said, because I am using Sublime Text build 3114.
Hi
I do not know whether it is because of a bugfix or whether it is the way miktex works. But I found out, somewhat accidentally, that the output_directory
option actually works even with miktex
distribution when it is combined with a tex directive of %!TEX jobname
.
Thanks anyways
Setting
output_directory
andaux_directory
does not have any effectWhen I see the command line, opening the
Sublime Text Console
I noticed when I choose some asBuild With... -> Latex
it calls:But on my settings I got set up:
When I run from the command line the command
latexmk -pdf -output-directory="cache" -aux-directory="cache" -pdflatex="pdflatex -interaction=nonstopmode" -use-make report.tex
, it does creates the files on thecache
folder.How can I make this plugin to put the files on the
cache
folder?On my system I got installed
MikTex
version:Also when I choose to the plugin do a system check, the plugin crashed on:
Which are the lines:
I think I do not have the
ghostscript
program installed right now.