🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker
Article #407

Re: Conditional Text in Headers

#407
From: Michael_Carlisle
Date: Mon, 09 Mar 2009 21:51
61 lines
3019 bytes
Arnis,

Thank you for your patience and assistance.

GOAL

From a second edition and third edition document that is one document with conditional tags:

* Generate second edition page headers (based on Head2 and Head3 paragraphs) for the second edition document or generate third edition page headers (based on Head2 and Head3 paragraphs) for the third edition document.

* Hide second edition page headers on the third edition document. Hide third edition page headers on the second edition document.

DEFINITION

2nd edition number: 2.1

3rd edition number: 201.1

<$marker1> building block is for 2nd edition header.

<$marker2> building block is for 3rd edition header.

Header/Footer $1 marker is for 2nd edition header.

Header/Footer $2 marker is for 3rd edition header.

I am putting the 2nd edition and 3rd edition section numbers on the same line with the section title, for example (with visible delimiter):

2: 2.1 | 201.1-System Administration

In the previous example, the tagged heading looks like:

(Conditional text tags) <2nd edition>2.1 | <3rd edition> 201.1 |-System Administration

(Marker tags) <Header/Footer $1>2.1 |<Header/Footer $2>201.1 |-System Administration

Here are the page headers that are generated after Running H/F 5 headers are defined with <$marker1> and <$marker2> building blocks:

<$marker1>: 2.1-System Administration

<$marker2>: 201.1-System Administration

Here is the Running H/F 5 header that is generated after conditional text is hidden:

(2nd edition hidden) 201.1-System Administration

(3rd edition hidden) 2.1-System Administration

Here is the Running H/F 5 header that is generated when the header is defined with:

<paratext[Head2,Head3]>: 2.1201.1-System Administration

<paranum[Head2,Head3]>: blank

<paranumonly[Head2,Head3]>: blank

<paratag[Head2,Head3]>: Head2 (or Head3)

Right now when I define the Running H/F 5 header with the <$marker1> building block, only second edition headers show on pages. When I want third edition page headers to show, I must edit the Running H/F 5 header by defining it with the <$marker2> building block. Those are the results that I want!

But I am wondering if there is a simple way to hide second edition or third edition headers without having to constantly edit (redefine) the Running H/F 5 header.
Technical Details
Message-ID: <59b829ed.5@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.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!g2news1.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.framemaker
Subject: Re: Conditional Text in  Headers
Message-ID: <59b829ed.5@webcrossing.la2eafNXanI>
Date: Mon, 9 Mar 2009 14:51:25 -0700
References: <59b829ed.-1@webcrossing.la2eafNXanI>
Lines: 78
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit