Re: using markup inside title elements

Norm Tovey-Walsh <[email protected]> Wed, 23 Sep 2020 13:05:01 +0100
Newsgroups gmane.text.docbook.apps
Message-ID <[email protected]>
Peter Eisentraut <[email protected]> writes:
> I have a question whether markup inside title elements is recommended
> practice.

It’s definitely one of those edge cases that probably depends a lot on
your specific processing expectations. I don’t think there’s anything
wrong with markup in titles, in principle, but you’d want to nail down
all of the rules with care and write tests for them.

> For example, consider text like
>
>     You can use commands <command>foo</command> or
>     <command>bar</command> for this.
>
> Let's say we have a refentry for "foo", so it would be nice to write
>
>     You can use commands <xref linkend="foo-refentry"/> or
>     <command>bar</command> for this.

I’d probably do this:

    You can use commands <command linkend="foo-refentry"/> or
    <command>bar</command> for this.

                                        Be seeing you,
                                          norm

--
Norman Tovey-Walsh <[email protected]>
https://nwalsh.com/

> A conservative is a man who believes that nothing should be done for
> the first time.--Alfred E. Wiggam
signature.asc (application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE1ury//rzuvqf7fN/hVWfHhJMAHkFAl9rOe0ACgkQhVWfHhJM
AHk1/A/+L6MdyfzW5IG0kpdXW5Rfu0FMbMRmvc+uRwTco+8XWP12SfUXp7ncWYWq
lcOb/LSsM9YV3A1rpUQe6l+BZoDGLdfTD4yBld8m9c93pnBNuCVTXRW+WtRF0fEa
BayVN87+Fj/DJ1z26hDUdPSSW8GBL2Q67QQvnRPbaMDrxs++RPHFF6afhtStj8js
6cN5xl5gRnyOZsvRFdvXQAX0CwCOmHDHouZJTOQAvRXseeB3nN66kf79hz108kQ4
EhuWNzW1sFMRh4c9PvssIc3/qe431Uj99Qju3MKVcCAj+aCOpPNYvPVGcws+tNm5
gJk65bZBnOXdJwsLzJQFUnlF33K6DlCiiKC4CqW5RjJAR34s57Ci1n/r9iC4dQ8u
AD5/5MjsaA/SLbRBBdj2UV0xldUX39Q+NdNVWx0bi0wovDsx9ltL127b/EU5lkLW
nGlSxhpa2SpZzEc7K3dr8fUcvILKC4HU4XIFpgcC0RBPTYVaL+C1ms1BCWs1qRTN
/eEs8CkOyUAvIt2X1L2Pnrj0fSJBAE+3mztvpMDmne0JAlthaP9TBv5ulPXTu7yX
dkL2/potGxeOp+NC5669prssVYUCrpm9IROWyoWvOVliDO8nxMSbkxXz+sbsQeae
dEKohnL52B7pFbBPWKv2Mi3MSkzgpgEB1m2Vbpia3o78/IAkdEI=
=759k
-----END PGP SIGNATURE-----