lilypond-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Re: Node names can't have backslashes


From: Patrick McCarty
Subject: Re: [PATCH] Re: Node names can't have backslashes
Date: Thu, 14 Aug 2008 17:29:49 -0700

On Thu, Aug 14, 2008 at 1:45 PM, John Mandereau
<address@hidden> wrote:
> 2008/8/14 Reinhold Kainhofer <address@hidden>:
>> The only solution I can think of right now is the attached patch: It adds a
>> two-parameter macro @rusernamed in addition to @ruser (and similar commands
>> for all other ref macros), which allows to give a displayed link text for
>> those nodes, where the node name is not allowed to contain some characters or
>> where the node name is not desired (like "Top").
>>
>> Does anyone know a better solution or can I apply this patch to master?
>
> It looks good to me, and I don't know a better solution -- Patrick, do
> you know a way to escape backslashes so it works with all formatters
> (texi2pdf, makeinfo and texi2html)?

I've tried multiple times to get consistent results with these
backslashes, but with no success.  I haven't tested with texi2html.

AFAICS, the only solutions that produce *working links* are 1) using
no backslashes for xrefs and node names (like now) or 2) keeping
backslashes in node names but using single backslashes for @ref{}s and
double backslashes for the external xrefs -- @ruser, etc.  But
texi2pdf still messes up with 2) by printing \\ for the external
xrefs.

Cheers,
Patrick




reply via email to

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