lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Doc-string with newline character


From: Jonas Hahnfeld
Subject: Re: Doc-string with newline character
Date: Wed, 30 Dec 2020 10:37:17 +0100
User-agent: Evolution 3.38.2

Hi,

Am Mittwoch, dem 30.12.2020 um 10:31 +0100 schrieb Thomas Morley:
> Hi,
> 
> while preparing a patch a noticed a problem with a doc-string:
> I want to refer to newline characters and wrote "@code{#\newline}",
> but it comes out as
> # ewline
> for both pdf and html.
> I couldn't figure how to let print
> #\newline
> 
> Any hint?

I didn't try, but I could imagine that you need to escape the backslash
so it's not expanded when parsing the string, like so:
    @code{#\\newline}

Does this help?

Jonas

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]