[Top][All Lists]

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

Re: backslashes in macro arguments

From: Eric Blake
Subject: Re: backslashes in macro arguments
Date: Mon, 14 Jun 2010 15:30:46 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Mnenhy/0.8.2 Thunderbird/3.0.4

On 06/14/2010 03:24 PM, Ralf Wildenhues wrote:
> Hello bug-texinfo readers,
> with makeinfo 4.13, the following texinfo code snippet from Autoconf:
>   @macro dvar{varname, default}
>   @address@hidden = @address@hidden@c
>   @end macro
>   @defmac m4_split (@var{string}, @dvar{regexp, [\t ]+})

Changing \t to \\t in the source allows makeinfo to complete without
complaint, and fixes the missing \ in the info output, but it results in
a doubled-up \\ in pdf output.

Trying to use @backslash{}t failed, because there is no @backslash
command (should there be?).

Any other ideas for a workaround that works for both info and pdf?  Or
do we make generation of the autoconf depend on an as-yet unreleased
texinfo version?

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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