🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker.sgml
Article #5

Formating in a codeblock

#5
From: Bruce_Boyer
Date: Fri, 06 Mar 2009 23:06
24 lines
1555 bytes
I'm thinking this is a FM error, but maybe just an ambiguity. I'm using FM8, with the stock dita topic app., but have verified this behavior against FM9 as well.

I am representing code, a Smalltalk method definition, and attempting to bold the method selector. The xml is:

<codeblock>
renderContentOn: html
	"html heading level: 3; with: self class name asString."
</codeblock>

When I read this in to FM, it ignores the line break following , displaying both lines as a single line. If I remove the bolding, it displays properly with the line break in place. If I, alternatively, place a non-whitespace character immediately following the , it also displays properly (but, of course, is then incorrect for my purposes).

Is this a r/w rule error, or something else?

In dita, <codeblock> is a specialization of

, but can, according to the spec, contain elements such as

 where

 cannot.

Any suggestions? 
THanks 
Bruce
Technical Details
Message-ID: <59b82599.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,4fa77a5721e76aa4,start
X-Google-Attributes: gidfcc08,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bruce_Boyer@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.framemaker.sgml
Subject: Formating in a codeblock
Message-ID: <59b82599.-1@webcrossing.la2eafNXanI>
Date: Fri, 6 Mar 2009 15:06:06 -0800
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit