Re: [Framers] Structure Emphasis and Xref elements break lines

2019-10-30 Thread cuc tu
Thank you, Lynne. My problem was expecting the frame document to automatically 
update the element definitions after updating the EDD and template when 
reopening. I also tried resetting the structured application. Now, I even have 
the xrefs doing what I want.

Thank you,
C2


Date: Wed, 30 Oct 2019 11:48:59 -0700
From: "Lynne A. Price" 
To: framers@lists.frameusers.com
Subject: Re: [Framers] Structure Emphasis and Xref elements break
    lines
Message-ID: <65dc6338-3849-61f8-663d-619360dae...@txstruct.com>
Content-Type: text/plain; charset=utf-8; format=flowed

C2,
 ??? Use a TextRangeFormatting ...

Open the EDD, template, and structured document. If you have not already
done so, make the template the current document and use File > Import >?
Element Definitions...
 ??? --Lynne

--
Lynne A. Price
Text Structure Consulting, Inc.
Specializing in structured FrameMaker consulting, application development, and 
training
lpr...@txstruct.comhttp://www.txstruct.com
voice/fax: (510) 583-1505  cell phone: (510) 421-2284
___

This message is from the Framers mailing list

Send messages to framers@lists.frameusers.com
Visit the list's homepage at  http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at 
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listad...@frameusers.com


Re: [Framers] Structure Emphasis and Xref elements break lines

2019-10-30 Thread Lynne A. Price

On 10/30/2019 10:16 AM, cuc tu wrote:

Howdy Framers,

I have emphasis and xref elements defined as containers without any formatting. 
They break the line as a new paragraph, so how do I get them to be inline? I 
thought of having them use an inline heading paragraph format, but the emphasis 
styling is applied as an attribute so I would not see a difference between bold 
and italic.


C2,
    Use a TextRangeFormatting element in a text format rule to specify 
that a container is a text range in the current paragraph. You can 
specify individual font properties or apply a character format within 
such a rule. And you can format the element based on an attribute. You 
might want to use something like:


1.  If context is: [emphasis="bold"]
  Text range.
  Font properties
  Weight: Bold
 Else, if context is [emphasis="italic"]
   Text range
   Font properties
   Angle: Italic

which has the structure:


    
[emphasis="bold"]
   
  
  
   
    
   
  
    
    
    
[emphasis="italic"]
   
  
  
   
    
   
  
    


Also, how do changes to the EDD and template get applied to an existing structured fm 
file? For example, I changed the EDD  element to use a numbered paragraph 
format, but that seemed to have no affect. My FM doc does not ask for a structured 
app, but it seems to follow the one I've applied.

Open the EDD, template, and structured document. If you have not already 
done so, make the template the current document and use File > Import >  
Element Definitions to update the template to use the element 
definitions defined in the EDD. Save the template. Then switch to the 
structured document. Use File > Import > Formats to import all formats 
into the structured document. Next, use File > Import > Element 
Definitions to import the element definitions from the template into the 
structured document. Make sure to check the box to remove format overrides.


Note 1: You could import element definitions from the EDD, but then FM 
would display any relevant warning messages again.


Note 2: You can import templates before importing element definitions, 
but then any assignment of paragraph or character properties made in the 
EDD will be lost. You can always remove such overrides by importing 
element definitions from the current document and checking the box to 
remove overrides.


    --Lynne

--
Lynne A. Price
Text Structure Consulting, Inc.
Specializing in structured FrameMaker consulting, application development, and 
training
lpr...@txstruct.comhttp://www.txstruct.com
voice/fax: (510) 583-1505  cell phone: (510) 421-2284

___

This message is from the Framers mailing list

Send messages to framers@lists.frameusers.com
Visit the list's homepage at  http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at 
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listad...@frameusers.com

[Framers] Structure Emphasis and Xref elements break lines

2019-10-30 Thread cuc tu
Howdy Framers,

I have emphasis and xref elements defined as containers without any formatting. 
They break the line as a new paragraph, so how do I get them to be inline? I 
thought of having them use an inline heading paragraph format, but the emphasis 
styling is applied as an attribute so I would not see a difference between bold 
and italic. That might be OK as I'm not really interested in a fully formatted 
document, just something easier to edit. I send XML output as the deliverable.

Also, how do changes to the EDD and template get applied to an existing 
structured fm file? For example, I changed the EDD  element to use a 
numbered paragraph format, but that seemed to have no affect. My FM doc does 
not ask for a structured app, but it seems to follow the one I've applied.

Thanks,
C2
___

This message is from the Framers mailing list

Send messages to framers@lists.frameusers.com
Visit the list's homepage at  http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at 
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listad...@frameusers.com