bug-texinfo
[Top][All Lists]
Advanced

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

Re: HTML and @cartouche


From: Simon Josefsson
Subject: Re: HTML and @cartouche
Date: Thu, 11 Sep 2003 19:25:20 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

address@hidden (Karl Berry) writes:

>     @example
>     @cartouche
>
> Hmm.  The HTML is simply
> <pre class="example">     <table class="cartouche" border=1><tr><td>
>      $ shishi address@hidden
>      ...
>      </td></tr></table>
>      </pre>
> I guess maybe have to stick another <pre> inside the table cell or
> something, if inside an example.  That doesn't sound like much fun.
>
> It works to say
> @cartouche
> @example
> instead.  (I see the manual has @cartouche inside the @example in its
> example, I'll change that.)

This works, although now the table is flowed together with the text
that precedes it:

,----  Texinfo source
| ...
| (user name in the Kerberos realm) or realm is.  In the example, I
| specify the client name @code{simon@@JOSEFSSON.ORG}.
| 
| @cartouche
| @example
| $ shishi simon@@JOSEFSSON.ORG
| Enter password for `simon@@JOSEFSSON.ORG':
| ...
`----

,----  HTML output
| ...
| is necessary to supply options telling Shishi what your principal name
| (user name in the Kerberos realm) or realm is.  In the example, I
| specify the client name <code>address@hidden</code>.
| 
|    <table class="cartouche" border=1><tr><td>
| <pre class="example">     $ shishi address@hidden
|      Enter password for address@hidden':
| ...
`----

Would it be possible to add a <p> or perhaps <br> before the <table
class=cartouch..>?  Or maybe turn \n\n in the texinfo source into <p>?
The latter seem to be done elsewhere, so maybe it only need to be
tweaked a little.

Thanks.





reply via email to

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