#TEXSTUDIO EXPORT TO PDF PDF#
No need to copy the output PDF file since in MiKTeX manual under PDFLatex options, you can specify the output directory of your PDF file (by specifying the option -output-directory) in addition to your auxiliary files (through the option -aux-directory) if you wish. determine the target dir depending on the source dir). Of course, you can replace the simple copy operation by a shell script if you need additional logic (e.g.
This calls the internal copypdf commad, which we've just definded above, after every pdflatex run. If you want an automatic solution and not care about copying the pdf at all, just extend the command of the default compiler in the following way (Note: You need to have the advanced options switched on - checkbox in bottom left corner):.You can run it any time you like (and also assign a shortcut to it in the options). %.pdf /targetdir/ as shell command.Īs a result, you'll have a new menu entry Tools -> User -> Copy PDF. The call executes a windows shell (cmd) and runs the copy command within Inkscape can export the graphics to PDF/EPS/PS, and the text to a LATEX file. Create a user command at Options -> Configure TexStudio -> Build -> User CommandsĬommand name (copypdf) and display name ('Copy PDF') are separated by a colon.pdf in your desired folder after each compilation: you can create a user command and run it manually (step 1), or to run it automatically after each pdflatex compilation (steps 1+2). Otherwise, you must enable TXS to copy the. That is determined by pdflatex and its options (which vary depending on the TeX distribution you use) if you use Miktex see answer below. As stated in the comments above, TXS has no direct control on the placements of the PDF.