]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_sty.C
fix reading the author field.
[lyx.git] / src / lyx_sty.C
index 0d754ea08d6bdfb4a640777f14ac6180b705686f..ed25658d3e06d81e16370426ba12227d57fbbafd 100644 (file)
@@ -126,3 +126,10 @@ string const tabularnewline_def =
 string const lyxgreyedout_def =
        "%% The greyedout annotation environment\n"
        "\\newenvironment{lyxgreyedout}{\\color[gray]{0.8}}{}\n";
+
+// We want to omit the file extension for includegraphics, but this does not
+// work when the filename contains other dots.
+// Idea from http://www.tex.ac.uk/cgi-bin/texfaq2html?label=unkgrfextn
+string const lyxdot_def =
+       "%% A simple dot to overcome graphicx limitations\n"
+       "\\newcommand{\\lyxdot}{.}\n";