T.R | Title | User | Personal Name | Date | Lines |
---|
536.1 | try these | CLOSET::ANKLAM | | Sun Jun 21 1987 19:19 | 24 |
|
Without seeing the context in which you are using these tags I suspect
that
1. there is no <cp> or <P> tag following the <endcode_example> inside
the list element. This would cause the text to shift left. (Also
for the record: <cp> is a better tag to use following examples
or lists when the text that follows relates directly to a comment.
It will keepa page from breaking between the example and the
list that follows.
2. Paragraph spacing is lost, consistently in the following:
<head>(Heading)
text that follows the heading.
<p>Next paragraph.
The space from this <p> is lost because there is not a <p>
after the <head1>.
Is that the circumstance?
patti
|
536.2 | Right on! | IJSAPL::KLERK | Theo de Klerk | Mon Jun 22 1987 05:10 | 21 |
| Patti, re. your suggestions:
> 1. there is no <cp> or <P> tag following the <endcode_example> inside
> the list element.
This is indeed the case. I wonder however, whether this behaviour should be
considered "a feature": text should be resume previous aligning when an
environment such as <code_example> ends.
> 2. Paragraph spacing is lost, consistently in the following:
> The space from this <p> is lost because there is not a <p>
> after the <head1>.
True again. Should the <headx> tag not make a free standing heading, where
<P>'s are not needed to separate heading and text even further? It sounds
to me that <head> and <p> seem to have a pathological link (i.e. an unwanted
one)
I'll keep your suggested "workarounds" in mind. Thanks.
Theo
|
536.3 | Tag that Element | CUPOLA::HAKKARAINEN | with hasty reverence | Mon Jun 22 1987 09:29 | 6 |
| We cannot presume an implicit <p> after heads. Quite often, the item
that follows a head is not a paragraph at all, but a list, a table, a
figure, etc. While we might need to introduce such features in a
template (``A paragraph of text must always follow <headx>.''), it
would be inappropriate to change the behavior of global tags such as
heads.
|
536.4 | <list> causes an end to the preceding <p> | VAXUUM::KOHLBRENNER | | Mon Jun 22 1987 10:08 | 15 |
| You are thinking of the list or code-example as "buried" within
the paragraph, hence it is natural to assume that the text that
follows the endlist or endcode-example is "more of" the paragraph
text.
But the code-example and list tags "end" the paragraph. What
follows the endcode-example or endlist tag thus needs to be
labelled with a tag.
If we had <endp> tags, it would be clear to you and to the tag
translator where the end of the paragraph was. But I don't think
anyone would stand for typing <endp> tags!
bill
|