Home › Category Archives › miktex

csvautotabular error

As I have done many times before, I am trying to import a csv file into TeXstudio as a table; however, this particular I have run into an error, that I am uncertain of how to resolve. Here is the portion of code giving me trouble:

\begin{table}
\begin{tabular}
\csvautotabular{inner_outer_rings.csv}
\end{tabular}

\begin{tabular}
\csvautotabular{inner_oter_rings_log.csv}
\end{tabular}
\end{table}


Specifically, this line \csvautotabular{inner_outer_rings.csv} is giving me trouble. Actually, it is giving me many error messages:

Use of \@array doesn't match its definition \csvautotabular
Use of \csv@autotabular doesn't match its definition \csvautotabular
Use of \@array doesn't match its definition \csvautotabular
Argument of \csv@autotabular has an extra } \csvautotabular
Paragraph ended before \csv@autotabular was complete \csvautotabular
Paragraph ended before \reserved@b was complete \csvautotabular
Undefined control sequence \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal character in array arg. \csvautotabular
Argument of \reserved@c has an extra } \csvautotabular
Paragraph ended before \reserved@c was complete \csvautotabular
Paragraph ended before \reserved@b was complete \csvautotabular
Undefined control sequence \csvautotabular
Illegal parameter number in definition of \@fortmp \csvautotabular
Illegal character in array arg. \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular
Illegal parameter number in definition of \@preamble \csvautotabular


Could someone possibly help me?

pdflatex custom command for texstudio only run in cmd

I've just installed MikTex by which TexStudio came aswell as the editor. So far the editor seems fine. My only problem arises once I have to compile and actually look at what I've created.

For now every time I compile something it goes into my C:\users\myname folder. But my tex file is saved under C:\Development\latexWorkspace under the name helloWorld.tex.

I've read through some forums and found out i could do

pdflatex -aux-directory=C:\Development\latexWorkspace -output-directory=C:\Development\latexWorkspace C:\Development\latexWorkspace\helloWorld.tex


So I thought, hey I just change the build in execution of pdflatex in TexStudio. So i changed that command under Options > Configure TexStudio > Commands > PdfLatex to

pdflatex -aux-directory=C:\Development\LatexWorkspace -output-directory=C:\Development\LatexWorkspace %.tex


However i was just given the message:

Error: Could not start the command: pdflatex -aux-directory=C:\Development\LatexWorkspace -output-directory=C:\Development\LatexWorkspace "HelloWorld".tex

I even copied that Error right into CMD and it ran just fine as expected.

Can it be that TexStudio use a custom shell to run commands or such? How can i make it output everything to that folder of mine I want it to?

glossaries texstudio and miktex portable

I am not quite sure if this question is on the right sx site but since it is heavily tex related I figured I ask here.

My setup consists of a windows machine with texstudio and miktex, both in the portable version. I am trying to use the glossaries package.

To do so I want to run makeglossaries by means of a custom user command. However when I try this it complains about not finding makeindex on the path. However i added miktex's bin folder to the user-path variable and if i type makeindex from a commandprompt outside miktexs bin folder it works just fine.

What is the proper way of using makeglossaries(.bat) with the portable miktex/texstudio setup?

Edit: I expiremented with changing the command line. If I supply the -d option to makeglossaries, which sets the path in which to run makeindex, i can get it to find makeindex, however, this causes several further issues: I need to supply absolute paths for the index style with -s, and absolute paths to the temporary files, which then can't be written due to miktexs security feature.