🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker
Article #405

Re: Conditional Text in Headers

#405
From: Michael_Carlisle
Date: Mon, 09 Mar 2009 19:19
35 lines
2369 bytes
"This is sort of a page-level change bar indicator . . ."

Aha! I get it, and again thank you for your extremely appreciated knowledge.

Is there a way to get the content of conditional text in headers?

My problem is that I've got a regulatory document that has two different numbering schemes, one scheme for a second edition and another for a third edition. For example, numbered second-level and third-level headings look like:

2.1-System Administration (second-level, second edition)
201.1-System Administration (second-level, third edition)
2.1.1-System Administration Tools (third-level, second edition)
201.1.1-System Adminstration Tools (third-level, third edition)

To complicate matters, second edition and third edition numbers are on the same line, for example:

2.1201.1-System Administration
2.1.1201.1.1-System Administration Tools

In the previous example, 2.1 and 2.1.1 are conditionally tagged "2nd edition." 201.1 and 201.1.1 are conditionally tagged "3rd edition". The characters "-System Administration" and "-System Administration Tools" are unconditional text.

Thanks to your invaluable assistance, I am now using the <$marker1> and <$marker2> building blocks in conjunction with the <Header/Footer $1> and <Header/Footer $2> markers to generate page headers based on second-level and third-level headings.

But is there a way to specify that a page header contains ONLY the text of a heading that is conditionally tagged "2nd edition"?

For example, I want a second edition page header that looks like:

2.1-System Administration (generated from a second-level heading)
or
201.1-System Administration (generated from a third-level heading)

NOT:

2.1201.1-System Administration
or
2.1-System Administration201.1-System Administration
Technical Details
Message-ID: <59b829ed.3@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b829ed.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: fd315,2b431298ff734cc3
X-Google-Attributes: gidfd315,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Michael_Carlisle@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.framemaker
Subject: Re: Conditional Text in  Headers
Message-ID: <59b829ed.3@webcrossing.la2eafNXanI>
Date: Mon, 9 Mar 2009 12:19:42 -0700
References: <59b829ed.-1@webcrossing.la2eafNXanI>
Lines: 47
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit