I'm trying to change the default compiler to store a copy of the .pdf in a different folder, with the path based off of the directory of the .tex file.
I am making slides for a class, and for a number of reasons, it's necessary for me to name all of the beamer files "beamer.tex," and sort them into files with the name of the section. For example, I have
I want TexStudio to copy the .pdf to a shared drive. I entered the following user command:
USER COMMAND: cmd /C copy / %.pdf C:\Users\user\Dropbox\Shared\
and this works quite well, but realized that when I compile these particular slides, everything will be named "beamer.pdf." I was hoping someone knew if there was a way to include the directory of the .tex file in this command, so that each copied file would end up in its own folder on the shared drive, ideally I would like the .pdf to end up in
C:\Users\user\Dropbox\SharedSlides(variable folder name)\%.pdf
Even better, it would be nice if I could just have the pdf itself have a name based on the directory, so all of the slides end up in one folder.
.texis a recipe for disaster
cmd /C copy %.pdf C:\Users\user\Dropbox\SharedSlides(current folder name)\%.pdf?
copycommand and `\` for separating directory names in file paths I guess that some Microsoft Windows operating system is in use.