The LinkBlock LaTeX template should escape percentage signs (LaTeX line comment symbols) in the link reference.
Currently, the XWiki text
{code} **[[Link to page with spaces in name>>doc:Page with Spaces in Name]]** {code}
translates to
{code} \textbf{\href{http://localhost:8080/xwiki/bin/view/Test/Page%20with%20Spaces%20in%20Name}{Link to page with spaces in name}} {code}
which turns everything after "Page" into a comment and makes the LaTeX compiler produce the error message:
{code} ! File ended while scanning use of \textbf . {code}
Side note: Without the bold format, the produced LaTeX code would not contain the \textbf{} and would compile correctly for reasons I do not understand. |
|