From 6843ac1324ddc3f8749d254ddff33b10453f5027 Mon Sep 17 00:00:00 2001 From: Johan Engelen Date: Mon, 21 Jun 2010 23:35:03 +0200 Subject: [PATCH] add more help to the tex preamble --- src/extension/internal/latex-text-renderer.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/extension/internal/latex-text-renderer.cpp b/src/extension/internal/latex-text-renderer.cpp index c6c597b7a..bebc21f2f 100644 --- a/src/extension/internal/latex-text-renderer.cpp +++ b/src/extension/internal/latex-text-renderer.cpp @@ -184,6 +184,18 @@ static char const preamble[] = "%% \\input{.tex}\n" "%% instead of\n" "%% \\includegraphics[width=]{.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{}{.tex}\n" +"%% Alternatively, one can specify\n" +"%% \\graphicspath{{/}}\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" -- 2.30.2