← Back to team overview

ubuntu-manual team mailing list archive

Re: \ or \\


Hey, Hannie.

On Mon, Jan 24, 2011 at 9:17 AM, lafeber-dumoleyn2
<lafeber-dumoleyn2@xxxxxxxxx> wrote:
> Hi,
> Latex code is preceded by "\" e.g. \marginnote{}, but when I edit in gedit
> another "\" is added.
> Does it make any difference if there is "\" or "\\"?

It does make a difference.  While the source file for LaTeX will have
\marginnote{}, the po file has to double each backslash so it would
appear as \\marginnote{}.

If you're editing the po files directly, then you'll see the double
backslashes.  In Launchpad, it handles the doubling behind the scenes.


Follow ups