+ /** Copy file @c from to @c to.
+ * \see SpecialisedMover::SpecialisedMover() for an explanation of
+ * @c latex.
+ * This version should be used to copy files from the temporary
+ * directory to the export location, since @c to and @c latex may
+ * not be equal in this case.
+ * \returns true if successful.
+ * NOTE: Although this routine simply calls do_copy() and
+ * Mover::do_copy() does not itself make any use of the @c latex argument,
+ * SpecialisedMover overrides do_copy(), so SpecialisedMover::copy(), which
+ * is just Mover::copy(), calls SpecialisedMover::do_copy(), and the @c latex
+ * argument IS in that case used.
+ */
+ bool
+ copy(support::FileName const & from, support::FileName const & to,
+ std::string const & latex) const
+ {
+ return do_copy(from, to, latex);
+ }
+