Fix labels for large images
diff --git a/plugins/org.eclipse.mylyn.docs.intent.markup.gen/src/org/eclipse/mylyn/docs/intent/markup/gen/files/latex.mtl b/plugins/org.eclipse.mylyn.docs.intent.markup.gen/src/org/eclipse/mylyn/docs/intent/markup/gen/files/latex.mtl
index 5025f4d..5f27a3a 100644
--- a/plugins/org.eclipse.mylyn.docs.intent.markup.gen/src/org/eclipse/mylyn/docs/intent/markup/gen/files/latex.mtl
+++ b/plugins/org.eclipse.mylyn.docs.intent.markup.gen/src/org/eclipse/mylyn/docs/intent/markup/gen/files/latex.mtl
@@ -82,7 +82,7 @@
[for (img : Image | e.eAllContents(Image)->select(hasLandscapeRatio()))]
\begin{figure}['['/]H[']'/]
\centering
- \label{large [img.url/]}
+ \label{large:[img.getImageLocationPath()/]}
[if (img.getWidthRatio() > 1.5)]
\includegraphics['['/]angle=270, width=350pt[']'/]{[img.getImageLocationPath()/]}
[elseif (img.getWidthRatio() > 1.3)]
@@ -148,7 +148,7 @@
[template public toTex(e : Text) ? (e.attributes->select(a : Annotations | a.CSSClass = 'footnote')->isEmpty()) post (trim()) ]
[if (not e.data.oclIsUndefined())]
-[e.format.formatTex()/][e.data.escapeTex()/][for (f : Formatting | e.format)][if (f <> Formatting::none)]}[/if][/for][if (e.lineBreak)]
+[e.format.formatTex()/][e.data.escapeTex()/][for (f : Formatting | e.format)][if (f <> Formatting::none)]} [/if][/for][if (e.lineBreak)]
\newline[/if]
[/if]
[/template]
@@ -249,7 +249,7 @@
%[/protected]
\end{figure}
[if (not autoRotateImage() and hasLandscapeRatio())]
-\footnote{This figure is also available in landscape mode in annex : \ref{large [img.getImageLocationPath()/]}.}
+\footnote{This figure is also available in landscape mode in annex : \ref{large:[img.getImageLocationPath()/]}.}
[/if]
[/template]