Article View: adobe.framemaker.sgml
Article #161Re: Can I get the current page number?
From: systecgmbhnuremberg
Date: Fri, 30 Jan 2009 08:21
Date: Fri, 30 Jan 2009 08:21
33 lines
2766 bytes
2766 bytes
Hello JackSony, The page number is an artefact of paginated publishing, and as much a layout thing as "14pt, Times New Roman" is. Even if it was possible to include page numbers in the XML, one shouldn�t: The main reason to use XML is to separate content/structure from layout. To achieve the page number display you are talking about, you could do either one thing: 1. In the final FM source, from which you wan�t to produce PDF, edit the master pages to contain a cross reference to a cross reference marker that sits on the last page of the last file of your book that is to be published to PDF. This way, the "Y" in "page X of Y" gets updated properly. Mind: If you last file is an Index, it is not enough to put the cross reference marker into the Index heading. If the index has more than one page, this is not the last page. To avoid this, you might add a last chapter file to your book after the index, that says "this page is intentionally left blank" or something and contains the cross reference marker. 2. You might use TOOLBOX, a plugin collection for FrameMaker. This plugin collection contains a plugin for that: On your master pages you use a special variable called "LastPage". When started, the plugin determines the last page number and fills it into the variable. You find more information on the following page (trial download): <http://www.systec-gmbh.com/en/sites/downloads_epub.php> In there theres documentation that describes all modules of TOOLBOX. Hope this helps. With kind regards, Franz. | FINALLY: Adobe FrameMaker 9 and TCS 2 have arrived! | Training, Software, Support, Plugins, Services | Everything from one expert provider! <http://www.systec-gmbh.com/en/sites/toolbox.php> <http://www.systec-gmbh.com/en/sites/ditapack.php> <http://www.systec-gmbh.com/en/sites/3dpack.php> | phone +49 911 99 89 55 - 600 | fax +49 911 99 89 55 - 663 | E-Mail info@systec-gmbh.com | Schreiberhauer Str. 5, 90475 N�rnberg | Internet www.systec-gmbh.com | CEO Dipl.-Ing. (FH) Georg Eck, Dipl.-Btw. (FH) Manfred Papp | Amtsgericht N�rnberg HRB 9369 Umsatzsteuer-Identifikationsnummer DE 133560519
Technical Details
Message-ID:
<59b6ab48.14@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b6ab48.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,c874d41f564b515c X-Google-Attributes: gidfcc08,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII From: systecgmbhnuremberg@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.framemaker.sgml Subject: Re: Can I get the current page number? Message-ID: <59b6ab48.14@webcrossing.la2eafNXanI> Date: Fri, 30 Jan 2009 00:21:10 -0800 References: <59b6ab48.-1@webcrossing.la2eafNXanI> Lines: 49 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit