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

Mingjie Xing
2014-06-24T07:08:54Z

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