🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker.sgml
Article #502

Re: XML files with xrefs in book

#502
From: Russ Ward
Date: Wed, 29 Oct 2008 17:28
11 lines
1900 bytes
Mikael,

This sounds like one of the many quirks (perhaps bugs) related to how FrameMaker handles non-FM files in books. The current book model doesn't play well with XML files as chapters and this seems like yet another problem. Apparently, if an xref does not target another .fm file in the book, Frame assumes that the target file is not in the book and therefore will not be in the book PDF.

There have been discussions here about this in the past. The solution that I use is to run an API client before publishing that converts all XML files to .fm files, and redirect all xrefs appropriately. Then, book features work as expected and PDFs come out as normal. This is not feasible, however, without the automation from the API client.

There may be some who would say that the best approach is to use XML and books the way that the designers did account for... that is, the whole book becomes an XML document with entity references to the separate chapters. In my work, though, this model was not appropriate... rather, I needed a binary FM book to act like a book, except with XML files as chapters. So, I think I understand your situation.

Is API programming or FrameScript an option for you? I think it may be the only way to get what you are looking for.

Russ
Technical Details
Message-ID: <59b6e120.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.germany.com!feeder.erje.net!news4us.nl!webcrossing
References: <59b6e120.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,a12036a47d1f9e86
X-Google-Attributes: gidfcc08,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Russ Ward" <russ@weststreetconsulting.com>
Newsgroups: adobe.framemaker.sgml
Subject: Re: XML files with xrefs in book
Message-ID: <59b6e120.0@webcrossing.la2eafNXanI>
Date: Wed, 29 Oct 2008 10:28:24 -0700
References: <59b6e120.-1@webcrossing.la2eafNXanI>
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.germany.com!feeder.erje.net!news4us.nl!webcrossing