Currently when I generate a PDF file of my document, it produces the name
document1.pdf
I'd like to set it so that it adds the current date (or the date produced by \date{\today}), such as
document1_March_15_2019.pdf
or however it may produce the date. Is there a method to do that? The closest I found was this link but I'm not using an emac or pdftex, I think. I am using TexMaker on a Mac OS Mojave.
LaTeXcommand that will get its value during compilation from theTeXdistro (for exampleTeX LiveorMacTeX) that yourTeXmakeris using. So,TeXmakerwill never see this output of this command but will just let it printed in your pdf document via yourTeXdistro. So, try to find out if texmaker have available in a variable the current date and add this variable before the.pdfextension in yourTeXmakeroptions at the output filename. – koleygr Mar 15 '19 at 16:35.texchanged to.pdfso if you save the file ashs-nebula.texthen the generated file will behs-nebula.pdfdocument1is presumably just a default file name if you start a blank file without saving it to a specific name (although I don't use texmaker to be sure) – David Carlisle Mar 15 '19 at 16:35