[Date Prev][Date Next]
[Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[New search]
To: Framers List <framers@xxxxxxxxxxxxxx>, <framers@xxxxxxxxx>
Subject: JW:HELP:DocBook in Frame 7, chapter styling
From: Joseph Woodard <jwoodard@xxxxxxxx>
Date: Tue, 30 Jul 2002 20:12:57 +0000 (GMT)
Sender: owner-framers@xxxxxxxxx
Now that I have Frame 7, I can struggle to grasp a real implementation of DocBook elements, something I've had to emulate with with Frame 5.5 until now. Frame seems like it should be an excellent XML editor, so I'm trying to earn my pilot's license by studying Adobe docs and Sarah's excellent "Framemaker 7" book. I don't understand styling behavior with the elements 'Chapter' and 'Title'. Can anyone recommend a guru or publication? I have encountered 2 puzzles that have me scratching my head. SETUP: I use Frame 7 on Windows 98. I've copied the XML application files for DocBook from my Frame installation directory C:\adobe\framemaker7.0\structure\xml\xdocbook\app to a crash-and-burn directory: C:\junk\docbook\xml\xdocbook\app I set an environmental variable STRUCTDIR in my windows 'autoexec.bat' file to point to the 'junk' directory: set STRUCTDIR="c:\junk\docbook" and rebooted to make sure STRUCTDIR was in the environment of all executing programs. (STRUCTDIR forms the pathway to files in the XML application, as described in the file 'structapps.fm' in that same directory.) I open a new document using the XDocBook template file named 'template'. FIRST PUZZLE: If I insert a chapter element. The EDD says that insertion of a Chapter container element should automatically insert a Title child element. It works! the Chapter contains a Title. However the Chapter element is associated with an exceptional 'body' paragraph tag using Chapter numbering and 36 point Times Roman, whereas the chapter Title element is associated with a ChapterTitle paragraph tag with no numbering and 36 point Times Roman. Chapter numbering is difficult to maintain when the numbering is kept in an exceptional body tag, rather than in the ChapterTitle tag. If I put numbering in the ChapterTitle tag, I end up with two Chapter numbers, one after the other. I hope you're with me so far. Section elements and associated Title child elements seem to work properly, however. Each respective Title element contains the section numbering and the parent Section element doesn't create any numbering. QUESTION: how do I change the Chapter element's numbering? Do I have to edit the EDD? Is there something I can more easily in Frame, then perhaps export a new EDD? SECOND PUZZLE: If I change the Chapter element to an Appendix element, styling rules in the EDD say that the Title of Sect1 changes association from a Sect1Title paragraph tag to a Sect2TitleA tag. This changes its numbering so that the first number is Alpha, corresponding to Appendix A, rather than Chapter 1, for example. The same changes should occur in Title elements in Sect2, Sect3, Sect4, and Sect 5, but don't. The styles rules in the EDD say it should work. That is: Chapter 1 "title" 1.1 "Sect1 title" 1.1.1 "Sect2 title" 1.1.1.1 "Sect3 title" Section 3 paragraph body Should change to Appendix A "title" A.1 "Sect1 A title" A.1.1 "Sect2 A title" A.1.1.1 "Sect3 title" Section 3 paragraph body But every section at and below Sect2 doesn't change paragraph tag, as the EDD states so its numbering doesn't change as the Sect1 title tag does when it changes from Sect1Title to Sect1TitleA. QUESTION: is this a bug in the delivered docbook? How shoudl I fix it? Pant, pant... =========================================================================== Joseph Woodard, (510)748-9811, 2050 Eagle Ave., Apt 1, Alameda, CA 94501 Email: jwoodard@best.com On the web at http://jwoodard.best.vwh.net =========================================================================== Joseph Woodard, (510)748-9811, 2050 Eagle Ave., Apt 1, Alameda, CA 94501 Email: jwoodard@best.com On the web at http://jwoodard.best.vwh.net ** To unsubscribe, send a message to majordomo@omsys.com ** ** with "unsubscribe framers" (no quotes) in the body. **