Glad to hear that you solved the low resolution problem. I would like to make a couple of suggestions on your Writer Facet r/w rules:

1. The Notation rules do not specify the format of the graphics within FM nor do they specify the desired output format; they specify the name of the notation that appears in the entity declarations at the beginning of the exported XML. These entity declarations will be something like:

     <!ENTITY graphic/n/ SYSTEM "test-/m/.CGM" NDATA "/not/">

where /n/ and /m/ are numbers and /not/ is a notation name that must be declared in the DTD. Since your r/w rules specify exporting both PDF and TIFF files as CGM, the notation should probably be something likke "CGM" or "cgm" to indicate what you will be providing with the XML file and not PDF or TIFF to indicate what you used in FrameMaker. You might try leaving out the Notation rule and see whether the default is acceptable.

2. You have r/w rules for PDF and TIFF facets. If you use other formats now or might in the future and want to convert whatever comes up to CGM, you can use one rule for every facet type that doesn't have a rule of its own:

    writer facet default {
        convert referenced graphics;
        export to file "test-.CGM" as "CGM";
        }

adding a Notation rule if necessary. This single writer rule will replace the two you have now as well as supporting addition graphic formats.

    --Lynne

On 7/24/2019 7:46 AM, cuc tu wrote:
   writer facet "PDF" {
     notation is "PDF";
     convert referenced graphics;
     export to file "test-.CGM" as "CGM";
   }
   writer facet "TIFF" {
     notation is "TIFF";
     convert referenced graphics;
     export to file "test-.CGM" as "CGM";
   }


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

_______________________________________________

This message is from the Framers mailing list

Send messages to [email protected]
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 [email protected]

Reply via email to