Re: [Framers] Mixed DTDs in a single book

2019-07-25 Thread Lynne A. Price

On 7/25/2019 3:24 PM, Rick Quatro wrote:

I have a book file that has two types of documents in it, each based on a
different DTD and structured application. Each structured application calls
a different XSLT stylesheet. Is there a way to save the book to XML and have
FrameMaker use the correct struct apps for each file? Otherwise, maybe I
combine the DTDs and stylesheets and use a single structured application?
Suggestions are appreciated.

Rick,
   You'll need to provide a good deal more information to get concrete 
suggestions. I can share some thoughts.


   What do you plan to do with the generated XML? For example, is this 
for a project where the XML version of a book is the final delivery? IF 
so, is delivering different XML documents for different book components 
acceptable?


    It should be straightforward to script or use the FDK to export 
different book components separately so that each export uses its own 
application if that is acceptable.


    Alternatively, depending how much overlap there is between the two 
DTDs, it will be more or less difficult to make a superset DTD. For 
instance, if no element names appear in both DTDs, it should be 
straightforward. If there are some common element names, does either DTD 
require a subelement or attribute that are not defined or defined 
differently in the other? Do elements with the same name in both DTDs 
correspond to the same FM object type in both? If an element is a table, 
say, in one but a cross-reference or even a container in the other,  you 
have more work to do. You can always rename elements/attributes in the 
two DTDs to be unique and then convert both sets to common required 
names with XSLT.


   Are you allowed to change the FM documents or do you have to export 
based on what you have already? Do the DTDs already exist? If so, can 
you change them?


   Combining the two XSLT transforms may well be easier than combining 
the DTDs, especially if a combined transform can test which type of 
document it is processing.


   In any case, the different types of documents can use different EDDs 
and use different formats.


    --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] Mixed DTDs in a single book

2019-07-25 Thread Rick Quatro
Hi Framers,

 

I have a book file that has two types of documents in it, each based on a
different DTD and structured application. Each structured application calls
a different XSLT stylesheet. Is there a way to save the book to XML and have
FrameMaker use the correct struct apps for each file? Otherwise, maybe I
combine the DTDs and stylesheets and use a single structured application?
Suggestions are appreciated.

 

Rick

 

Rick Quatro

Carmen Publishing Inc.

r...@frameexpert.com

585-729-6746

www.frameexpert.com/store/

 

 

 

 

___

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] Exporting graphic elements to CGM file (structured XML)

2019-07-25 Thread Lynne A. Price
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:


 

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
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] Leading white space for paragraph formats at the beginning of a text flow

2019-07-25 Thread Pat Christenson
If it's a unique paragraph tag used only at the start of a flow/frame, I've 
used an empty reference frame above the paragraph (the Advanced page of the 
Paragraph Designer). It's a more flexible solution than a master page (IMO).

Pat Christenson

-Original Message-
From: Framers 
 On 
Behalf Of Fred Ridder
Sent: Sunday, June 30, 2019 3:40 PM
To: An email list for people using Adobe FrameMaker software. 

Subject: Re: [Framers] Leading white space for paragraph formats at the 
beginning of a text flow

[EXTERNAL EMAIL]

What you describe is the way Frame works. Space above is always ignored for a 
paragraph that falls at the top of a frame.



The best approach is to add a special master page for the first page of a 
chapter that has a text frame that starts lower on the page. Inserting blank 
paragraphs is almost never an optimal solution for vertical spacing issues. The 
only time I use a paragraph that contains no text is to hold the anchor for an 
inserted object (e.g. a table, an anchored frame, a text inset).



-FR





From: Framers  on 
behalf of Peter Kelly 

Sent: Sunday, June 30, 2019 3:21

To: An email list for people using Adobe FrameMaker software.

Subject: [Framers] Leading white space for paragraph formats at the beginning 
of a text flow



Hi everyone,



I've come across this strange behavior of Frame where if I insert a paragraph 
at the beginning of a text flow, Space Before does not seem to be taken into 
account. I have to use empty carriage returns to create white space before a 
major heading at the beginning of a flow, for example. Am I missing something? 
As always grateful for any help received.



Best,

Peter

___



This message is from the Framers mailing list



Send messages to framers@lists.frameusers.com

Visit the list's homepage at  
https://urldefense.proofpoint.com/v2/url?u=https-3A__nam01.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Fwww.frameusers.com-26amp-3Bdata-3D02-257C01-257C-257C0842401689834aae91d508d6fd9035fb-257C84df9e7fe9f640afb435-257C1-257C0-257C636975193147903806-26amp-3Bsdata-3DGyL-252BD0wxkOZ5S-252BmGZSZSpYiFQwirQfvoAxcbsB7oUiY-253D-26amp-3Breserved-3D0=DwICAg=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E=L67xDH2Qec7l5uO-a2HKcLmJNlOxZMwzhkvWiwUR5jw=6n6rfTqEjC94d9g72MFuj26EgE9LldOHnmYp7unWhzQ=
 

Archives located at 
https://urldefense.proofpoint.com/v2/url?u=https-3A__nam01.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Fwww.mail-2Darchive.com-252Fframers-252540lists.frameusers.com-252F-26amp-3Bdata-3D02-257C01-257C-257C0842401689834aae91d508d6fd9035fb-257C84df9e7fe9f640afb435-257C1-257C0-257C636975193147903806-26amp-3Bsdata-3DaX1DED9i8TTcv4qZqZjqSOGb0ZWU2t8F5e-252BoAXPY2J8-253D-26amp-3Breserved-3D0=DwICAg=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E=L67xDH2Qec7l5uO-a2HKcLmJNlOxZMwzhkvWiwUR5jw=2b0MqXW3q49k7op-MqjZSyCBQBf42OYzj2H1xlb05TU=
 

Subscribe and unsubscribe at 
https://urldefense.proofpoint.com/v2/url?u=https-3A__nam01.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Flists.frameusers.com-252Flistinfo.cgi-252Fframers-2Dframeusers.com-26amp-3Bdata-3D02-257C01-257C-257C0842401689834aae91d508d6fd9035fb-257C84df9e7fe9f640afb435-257C1-257C0-257C636975193147903806-26amp-3Bsdata-3DK0FTn4nnvuM7JDyMHZatTVKcT6z5p3V39dcgvYJ1jp4-253D-26amp-3Breserved-3D0=DwICAg=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E=L67xDH2Qec7l5uO-a2HKcLmJNlOxZMwzhkvWiwUR5jw=l6nihvLi5O8GHAZTf6RjMaz3zzGN_BK5Zc2tJYrCQ6U=
 

Send administrative questions to listad...@frameusers.com

___



This message is from the Framers mailing list



Send messages to framers@lists.frameusers.com

Visit the list's homepage at  
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.frameusers.com=DwICAg=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E=L67xDH2Qec7l5uO-a2HKcLmJNlOxZMwzhkvWiwUR5jw=rV2jCD0mjyB2oZrPbzdBPykqB0SJ613k73Kntq4hhcY=
 

Archives located at 
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mail-2Darchive.com_framers-2540lists.frameusers.com_=DwICAg=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E=L67xDH2Qec7l5uO-a2HKcLmJNlOxZMwzhkvWiwUR5jw=wtvYa54GAFivXkTMmfNNXjET7YWUMRoALLuz7op1PJI=
 

Subscribe and unsubscribe at 
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.frameusers.com_listinfo.cgi_framers-2Dframeusers.com=DwICAg=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E=L67xDH2Qec7l5uO-a2HKcLmJNlOxZMwzhkvWiwUR5jw=7Q-k8YOyvWgxQSzy9mspB0SaXMcz2JhEKt9m6w8WNNU=
 

Send administrative questions to listad...@frameusers.com

___

This message is from the Framers mailing list