Code

add more help to the tex preamble
authorJohan Engelen <goejendaagh@zonnet.nl>
Mon, 21 Jun 2010 21:35:03 +0000 (23:35 +0200)
committerJohan Engelen <goejendaagh@zonnet.nl>
Mon, 21 Jun 2010 21:35:03 +0000 (23:35 +0200)
src/extension/internal/latex-text-renderer.cpp

index c6c597b7a15cf69bb286c2abcb9721588ef41df6..bebc21f2fba3eb20a7e5d76800a45a72d70a5fa5 100644 (file)
@@ -184,6 +184,18 @@ static char const preamble[] =
 "%%   \\input{<filename>.tex}\n"
 "%%  instead of\n"
 "%%   \\includegraphics[width=<desired width>]{<filename>.pdf}\n"
+"%%\n"
+"%% Images with a different path to the parent latex file can\n"
+"%% be accessed with the `import' package (which may need to be\n"
+"%% installed) using\n"
+"%%   \\usepackage{import}\n"
+"%% in the preamble, and then including the image with\n"
+"%%   \\import{<path to file>}{<filename>.tex}\n"
+"%% Alternatively, one can specify\n"
+"%%   \\graphicspath{{<path to file>/}}\n"
+"%% \n"
+"%% For more information, please see info/svg-inkscape on CTAN:\n"
+"%%   http://tug.ctan.org/tex-archive/info/svg-inkscape\n"
 "\n"
 "\\begingroup\n"
 "  \\makeatletter\n"