๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.framemaker.sgml
3 messages
3 total messages Started by Mikael_Sten Wed, 29 Oct 2008 15:47
XML files with xrefs in book
#646
Author: Mikael_Sten
Date: Wed, 29 Oct 2008 15:47
14 lines
1230 bytes
Hello,
I have a book with several chapter files in xml format.
The chapters have xrefs to each other, which works fine when working with the FM book.

My problem is saving the book as PDF. I get one big PDF file, but the references are still pointing to separate PDF files.
Example:
A link from chapter_1 to chapter_2 gives an error saying "Cannot find chapter_2.pdf".
If I swap the xml files to FM binary files in the book, it works as it should: the page of chapter_2 is shown in the big PDF file.

Has anyone had the same problem and maybe a solution for it?
I use FrameMaker 8 with all availabvle patches installed.

Best Regards
Mikael
Re: XML files with xrefs in book
#502
Author: 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
Re: XML files with xrefs in book
#483
Author: systecgmbhnuremberg
Date: Tue, 23 Dec 2008 08:54
28 lines
1723 bytes
Hello Mr. Sten,

For the XML dialect DITA there is a very good API client from leximation that can convert XML>FM on the fly, so you would
1. Work with XML files for input
2. convert them to PDF automatically
3. Publish the subsequent book afterwards.

If you wanted the book to have TOC, Title, Index a.s.o, you might use the DITA-Services of SYSTEC, which are exactly for this kind of thing.

Hope this helps,
With kind regardsm
Franz.

[SYSTEC - the document processing company.]
 <http://www.systec-gmbh.com/sites/toolbox.php>
 <http://www.systec-gmbh.com/sites/ditapack.php>
 <http://www.systec-gmbh.com/sites/3dpack.php>
____________
|Schreiberhauer Str. 5 |D-90475 Nuernberg - Germany
|Phone +49 911 998955-625 |Fax +49 911 998955-663
|e-Mail info@systec-gmbh.com |Internet: www.systec-gmbh.com
|Redaction, Translation: www.systec-td.de |ePublishing, Solutions: www.systec-it.de
____________
|CEO: Dipl.-Ing. (FH) Georg Eck, Dipl.-Btw. (FH) Manfred Papp
|Amtsgericht N๏ฟฝrnberg HRB 9369
|Umsatzsteuer-Identifikationsnummer DE 133560519
______________
|"We innovate things that work better."
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads