Rasmus <ras...@gmx.us> writes: > That it hardcodes conf.el. So it doesn't toexport1.org which depends on > config/conf.el. I want to specify the dependency in in toexport.org > explicitly so that > > emacs --batch -Q --visit toexport.org -f org-latex-export-to-pdf > > generally works with custom-config files. Again, think about supporting a > Org from a editor where you just have "one button".
Then # Local Variables: # org-export-async-init-file: "config/config.el" # End: at the end of your file and emacs --batch -Q --eval="(setq enable-local-variables :all)" --visit toexport.org --eval="(org-export-latex-to-pdf t)" Regards,