This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Share options between info and man page


2014-06-23 21:45 GMT+08:00 Pedro Alves <palves@redhat.com>:
>
> Should we re-define it as a macro under ifset man ?
>
> @ifset man
> @macro t{text}
> \text\
> @end macro
> @end ifset
>
> (I don't actually know whether possible.)

This does not work. Add a following command in texi2pod.pl can fix the problem:

    s/\@t\{([^\}]*)\}/$1/g;

> Those three dashes are rendered as an em dash in texinfo:
>
>  http://www.gnu.org/software/texinfo/manual/texinfo/html_node/Conventions.html
>
> I'd assume the man page should end up with \(em instead of literal ---.
>
> Should we have a macro for this too?
>

I think this is also what texi2pod.pl should do.

Best regards,
Mingjie


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]