Re: [Framers] Updating Entity Declarations in XML Output and Working with CGM Graphics (cuc tu)

2019-08-23 Thread Klaus Daube
On 22 Aug 2019 at 8:44, Lynne A. Price wrote:

> C2,
>     There's a maker.ini setting that will help with the spaces, but may
> affect other spaces. I'll look up the details later today.
>      --Lynne
> 
> 
> On 8/22/2019 7:13 AM, cuc tu wrote:
> > Another small issue I'm having is with xref elements and following text.
> > After the xref, the space gets dropped but I think that just happens
> > when Frame opens the XML file. [
> > shows a typical trigger timing diagram.]

The relevant maker.ini entry is this (came in with FM-10):
  RemoveExtraWhiteSpacesOnXMLImport 
  On: Remove spaces (for example) after inline images;
  Off: keeps spaces on xml import in place.

FYI: I maintain a list of  maker.ini entries at 
https://www.daube.ch/docu/fmaker65.html

Klaus
~~
Klaus Daube Phone:  +41-44-381 37 77
Schäracher 11   Mail:   kl...@daube.ch
CH-8053 Zürich  Web:www.daube.ch


___

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] Updating Entity Declarations in XML Output and Working with CGM Graphics (cuc tu)

2019-08-22 Thread Lynne A. Price

C2,
   There's a RemoveExtraWhiteSpacesOnXMLImport setting in maker.ini.  
It is initially set to On. When it is On, when FM reads an XML document, 
it condenses a sequence of spaces and newlines into a single space. It 
assumes that an element that is declared to be EMPTY in XML does not 
interrupt such a sequence. That assumption makes sense for something 
like a marker element, so that if the XML contains a marker element on a 
separate line, for example, it does not come into FM with a space on 
either side of the marker. System variable elements and cross-reference 
elements have similar declarations in XML. However, since they usually 
produce visible content in the FM document, I think they should be 
treated like text rather than empty elements during import.


    If your XML documents do not have sequences of white space that you 
want to condense to a single space, you can set 
RemoveExtraWhiteSpacesOnXMLImport to Off. Alternatively, you can use 
XSLT to change the space after a cross-reference to something that will 
import as a space. I haven't tested it, but I believe the character 
reference  will do what you want.


    --Lynne


On 8/22/2019 8:44 AM, Lynne A. Price wrote:

C2,
   There's a maker.ini setting that will help with the spaces, but may 
affect other spaces. I'll look up the details later today.

    --Lynne


On 8/22/2019 7:13 AM, cuc tu wrote:
Another small issue I'm having is with xref elements and following 
text. After the xref, the space gets dropped but I think that just 
happens when Frame opens the XML file. ["o00090_fig_2_3"/> shows a typical trigger timing diagram.] 



--
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] Updating Entity Declarations in XML Output and Working with CGM Graphics (cuc tu)

2019-08-22 Thread Lynne A. Price

C2,
   There's a maker.ini setting that will help with the spaces, but may 
affect other spaces. I'll look up the details later today.

    --Lynne


On 8/22/2019 7:13 AM, cuc tu wrote:

Another small issue I'm having is with xref elements and following text. After the xref, the space gets 
dropped but I think that just happens when Frame opens the XML file. [ shows a typical trigger timing diagram.]



--
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] Updating Entity Declarations in XML Output and Working with CGM Graphics (cuc tu)

2019-08-22 Thread cuc tu
Thank you, Lynne.

The contract requires CGM. I only found Larson software that will edit in 
native CGM format and I read that the latest version Illustrator can export CGM 
format. I do not have either of these.

Another small issue I'm having is with xref elements and following text. After 
the xref, the space gets dropped but I think that just happens when Frame opens 
the XML file. [ shows a typical trigger 
timing diagram.]

Your other info helped me resolve my declaration issues.

Thank you,
C2



From: "Lynne A. Price" 
To: framers@lists.frameusers.com
Subject: Re: [Framers] Updating Entity Declarations in XML Output and
Working with CGM Graphics

Do you want CGM? You can specify a different format with a r/w rule such as:

 ??? export to file "graphic.jpg" as "JPG" ;

See the Structure Application Developer's Guide and Structure
Application Developer Reference for details.
 ??? --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