Add LaTeX export

So far, the TeX export was intended to be used with plain TeX.
To make it compatible with LaTeX, we only need to make sure
there are no macro name clashes and remove plain TeX specific
calls.

So far, this works only for single dives as the export only
sets up macros to contain dive data and then read the actual
latex file (starting with \documentclass etc). Later, the
template should setup macros to be called from the export
file.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
Robert C. Helling 2019-01-03 10:03:12 +01:00 committed by Dirk Hohndel
parent afe1c3ca38
commit ba0c6d24d4
2 changed files with 79 additions and 66 deletions

View file

@ -33,7 +33,7 @@ private:
void showExplanation();
void exportHtmlInit(const QString &filename);
void export_depths(const char *filename, const bool selected_only);
void export_TeX(const char *filename, const bool selected_only);
void export_TeX(const char *filename, const bool selected_only, bool plain);
};
#endif // DIVELOGEXPORTDIALOG_H