texinfo-devel
[Top][All Lists]
Advanced

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

pod2texi and markup in section name


From: Karl Berry
Subject: pod2texi and markup in section name
Date: Tue, 6 May 2014 17:12:31 GMT

Hi Patrice,

Consider the three-line pod:

-----------------------------------------------
=head1 mysec I<myital>

L<whatever|/mysec I<myital>>.
-----------------------------------------------

The Texinfo made from running Pod-Simple-Texinfo/pod2texi.pl
contains this:

-----------------------------------------------
@node mysec @emph{myital}
..
@ref{mysec myital, whatever, whatever}.
-----------------------------------------------

Thus, the I<> was interpreted inside the =head, but not inside the L<>
section name.

I think that's the right pod specification.  I spent some time perusing
http://perldoc.perl.org/perlpodspec.html#About-L<...>-Codes but still
can't say I'm 100% sure.  At least, pod2html produces a working href:

-----------------------------------------------
<h1 id="mysec-myital">mysec <i>myital</i></h1>

<p><a href="#mysec-myital">whatever</a>.</p>
-----------------------------------------------

?

Thanks,
K



reply via email to

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