From Johann.richard at dspfactory.ch Tue Apr 1 01:27:22 2003 From: Johann.richard at dspfactory.ch (Johann Richard) Date: Tue, 1 Apr 2003 11:27:22 +0200 Subject: [xep-support] XEP 3.3.x problem w/ list-block Message-ID: Hello, I have a problem w/ XEP 3.3.x (Stamped Client) on elements, of which I think it might be a bug in XEP 3.3.x. I use Norm Walsh's DocBook XSLT 1.56.0 files to create PDF's. (However, I think, the version of the XSLT's doesn't matter). If I process the following small section w/ these files, and run the resulting XSL:FO through XEP, I get very weird output. It seems as if the element did not get enough place to be rendered as it should be.
Title instr(<instr>) set: 0 res: 1
Observations ------------ [1] When I use XEP 3.2.x, the same generated FO renders beautifully. (I added an example as PDF). [2] When I remove the "provisional-distance-between-starts", then the label (obviously) is narrowed in its width, but the body renders correcly. [3] When I *change* the "provisional-distance-between-starts" to some smaller values, I can see how the list-body items start to unwrap to eventually be completely on one line (as expected). Again, the label is narrowed in its width. [4] Strange: If I display the PDF in Acrobat Reader 5.1.0, I can see the "set:" and "res:" text displayed *right-to-left* above the "0"es. If I, however, zoom in above 111%, the "set:" and "res:" text is not anymore displayed(!). In Acrobat 4, this doesn't happen, instead the "set:" and "res:" text is always displayed *right-to-left* above the "0"es. Might be an Acrobat Reader issue, though. [5] I use W2K, JVM 1.4.1 from SUN [6] For your convenience, I added the XML, the FO file as well as the generated PDF's. [7] The "zvon.fo" is a much simpler FO example from ZVON.org that renders OK both in XEP 3.3.x and XEP 3.2.3. QUESTION: Might this be a bug in XEP or do I need to customize Norm's Stylesheets (that worked well until now)? From my understanding, the FO that is generated by Norm's XSLT Stylesheets is "compliant", although a *bit* complex sometimes. It might however be, that there is some non-compliant output, or that I missed something important. Did anyone else see this "out in the wild"? Any comment or hint or solution appreciated. Best regards, Johann Richard ******************************************** Johann Richard IC & DSP Design Engineer Dspfactory SA Champs-Montants 12a 2074 Marin-Epagnier Switzerland Tel: +41 32 755 7462 Fax: +41 32 755 7401 e-mail: mailto:johann.richard at dspfactory.ch http://www.dspfactory.com ******************************************** <>< Re: deemed! -------------- next part -------------- A non-text attachment was scrubbed... Name: xep.xml Type: text/xml Size: 383 bytes Desc: xep.xml URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: xep.pdf Type: application/octet-stream Size: 9638 bytes Desc: xep.pdf URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: xep-3.2.3.pdf Type: application/octet-stream Size: 2177 bytes Desc: xep-3.2.3.pdf URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: xep.fo Type: application/octet-stream Size: 41533 bytes Desc: xep.fo URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: zvon.fo Type: application/octet-stream Size: 1884 bytes Desc: zvon.fo URL: From dvd at renderx.com Tue Apr 1 01:47:26 2003 From: dvd at renderx.com (David Tolpin) Date: Tue, 1 Apr 2003 14:47:26 +0500 (AMST) Subject: [xep-support] XEP 3.3.x problem w/ list-block Message-ID: <200304010947.h319lQtf037019@adat.davidashen.net> > I have a problem w/ XEP 3.3.x (Stamped Client) on > elements, of which I think it might be a bug in XEP 3.3.x. > This is not a bug in XEP. XEP used to be a 'common-sense' formatter, namely, it stopped inheritance of indents over reference-areas' boundaries. Since version 3.2, there is an option XEP2_COMPATIBLE_MODE. When it is true, XEP still does the same as before. When it is false, XEP inherits everything everywhere. Since version 3.3, this option is set to false by default. Thus start-indent set on list-item-body is inherited through the table to table-cells' contents. The problem can be remedied in two ways. Firstly, XEP2_COMPATIBLE_MODE=true can be set in xep.xml or on the command line. Secondly, docbook stylesheets can be fixed to explicitely reset indents on containers' boundaries. David Tolpin ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From Johann.richard at dspfactory.ch Tue Apr 1 03:16:23 2003 From: Johann.richard at dspfactory.ch (Johann Richard) Date: Tue, 1 Apr 2003 13:16:23 +0200 Subject: [xep-support] XEP 3.3.x problem w/ list-block Message-ID: David, > This is not a bug in XEP. > > XEP used to be a 'common-sense' formatter, namely, it stopped inheritance > of indents over reference-areas' boundaries. Since version 3.2, there is > an option XEP2_COMPATIBLE_MODE. When it is true, XEP still does the same > as before. When it is false, XEP inherits everything everywhere. Mea culpa! Obviously, I've missed that one. Thanks for pointing it out and my apologies for the noise :) Regards, Johann Richard ******************************************** Johann Richard IC & DSP Design Engineer Dspfactory SA Champs-Montants 12a 2074 Marin-Epagnier Switzerland Tel: +41 32 755 7400 Fax: +41 32 755 7401 e-mail: mailto:johann.richard at dspfactory.ch http://www.dspfactory.com ******************************************** <>< Re: deemed! ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From sheehan at altova.com Wed Apr 2 10:01:17 2003 From: sheehan at altova.com (Gerald D. Sheehan) Date: Wed, 2 Apr 2003 13:01:17 -0500 Subject: [xep-support] Validation fails Message-ID: <9C80CCD520150E48BCFA7716ABDEFED838F917@teaparty.bos.altova.com> Hi Support, I am using testing the latest version of your plug in with XMLSPY...while using 3.21 I didn't get any errors However now I am using version 3.31 of the plug in and I am getting these 2 errors: The validation error report is: font family & font size cannot occur at element fo:region-body Is this true? Regards, ... Jerry Sheehan ... IT Support Engineer ... Altova, Inc. - markup your mind! =================================================================== The new ALTOVA product-line: xmlspy 5 - stylevision 5 - authentic 5 Award-winning tools for developers - web designers - business-users NEW: xsl:fo Designer, WSDL Documentation, HTML->XML, XSLT Debugger, Java/C#/C++ Code Generation, Integration for Oracle 9i, Tamino, CMS Visit www.altova.com to download your free evaluation copy today! =================================================================== The information transmitted in this message and/or as an attachment to it is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Altova GmbH and Altova, Inc. do not accept legal responsibility for the contents of this message. Any views or opinions presented are solely those of the author and do not necessarily represent those of Altova GmbH and Altova, Inc. unless otherwise specifically stated. Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: From grig at renderx.com Wed Apr 2 10:34:49 2003 From: grig at renderx.com (Nikolai Grigoriev) Date: Wed, 2 Apr 2003 22:34:49 +0400 Subject: [xep-support] Validation fails References: <9C80CCD520150E48BCFA7716ABDEFED838F917@teaparty.bos.altova.com> Message-ID: <01db01c2f946$a972b890$7f01000a@grig> Hi Gerald, > I am using testing the latest version of your plug in with XMLSPY. > while using 3.21 I didn't get any errors However now I am using > version 3.31 of the plug in and I am getting these 2 errors: > The validation error report is: > font family & font size cannot occur at element fo:region-body > Is this true? Font family and size on regions are reported as errors in XEP since version 3.0, released several months ago; nothing changed in XEP 3.31 wrt 3.21 in this respect. As for the contents of the error message: specifying font properties on fo:region-body makes no sense since no text node may ever inherit these values - fo:region-* are empty nodes. To specify default font for a region, you have to set it on fo:flow/fo:static-content that fills that region, or on a higher element (fo:page-sequence or fo:root). This is a typical problem when using XEP with XSL-FO stylesheets generated by Stylevision 5.3. To go ahead, you should set one of XEP options to ignore validity problems: - DISCARD_IF_NOT_VALID=false instructs XEP to go ahead despite validation errors (you see the messages but XEP does not stop); - VALIDATE=false turns validation completely off. Best regards, Nikolai Grigoriev RenderX ----- Original Message ----- From: Gerald D. Sheehan To: xep-support at renderx.com Sent: Wednesday, April 02, 2003 10:01 PM Subject: [xep-support] Validation fails Hi Support, I am using testing the latest version of your plug in with XMLSPY.while using 3.21 I didn't get any errors However now I am using version 3.31 of the plug in and I am getting these 2 errors: The validation error report is: font family & font size cannot occur at element fo:region-body Is this true? Regards, ... Jerry Sheehan ... IT Support Engineer ... Altova, Inc. - markup your mind! ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From sheehan at altova.com Wed Apr 2 10:59:51 2003 From: sheehan at altova.com (Gerald D. Sheehan) Date: Wed, 2 Apr 2003 13:59:51 -0500 Subject: [xep-support] Validation fails Message-ID: <9C80CCD520150E48BCFA7716ABDEFED82E524E@teaparty.bos.altova.com> Hi Nikolai, Are you implying then that this is a bug in StyleVision? Ignoring the validity problems doesn't solve my issue since it will not give me my results in the PDF preview. I don't have this problem using the Apache FOP Processor. Thanks for your help in clarifying this. Regards, ... Jerry Sheehan ... IT Support Engineer ... Altova, Inc. - markup your mind! =================================================================== The new ALTOVA product-line: xmlspy 5 - stylevision 5 - authentic 5 Award-winning tools for developers - web designers - business-users NEW: xsl:fo Designer, WSDL Documentation, HTML->XML, XSLT Debugger, Java/C#/C++ Code Generation, Integration for Oracle 9i, Tamino, CMS Visit www.altova.com to download your free evaluation copy today! =================================================================== The information transmitted in this message and/or as an attachment to it is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Altova GmbH and Altova, Inc. do not accept legal responsibility for the contents of this message. Any views or opinions presented are solely those of the author and do not necessarily represent those of Altova GmbH and Altova, Inc. unless otherwise specifically stated. Thank you! -----Original Message----- From: Nikolai Grigoriev [mailto:grig at renderx.com] Sent: Wednesday, April 02, 2003 1:35 PM To: xep-support at renderx.com Cc: Gerald D. Sheehan Subject: Re: [xep-support] Validation fails Hi Gerald, > I am using testing the latest version of your plug in with XMLSPY. > while using 3.21 I didn't get any errors However now I am using > version 3.31 of the plug in and I am getting these 2 errors: The > validation error report is: font family & font size cannot occur at > element fo:region-body Is this true? Font family and size on regions are reported as errors in XEP since version 3.0, released several months ago; nothing changed in XEP 3.31 wrt 3.21 in this respect. As for the contents of the error message: specifying font properties on fo:region-body makes no sense since no text node may ever inherit these values - fo:region-* are empty nodes. To specify default font for a region, you have to set it on fo:flow/fo:static-content that fills that region, or on a higher element (fo:page-sequence or fo:root). This is a typical problem when using XEP with XSL-FO stylesheets generated by Stylevision 5.3. To go ahead, you should set one of XEP options to ignore validity problems: - DISCARD_IF_NOT_VALID=false instructs XEP to go ahead despite validation errors (you see the messages but XEP does not stop); - VALIDATE=false turns validation completely off. Best regards, Nikolai Grigoriev RenderX ----- Original Message ----- From: Gerald D. Sheehan To: xep-support at renderx.com Sent: Wednesday, April 02, 2003 10:01 PM Subject: [xep-support] Validation fails Hi Support, I am using testing the latest version of your plug in with XMLSPY.while using 3.21 I didn't get any errors However now I am using version 3.31 of the plug in and I am getting these 2 errors: The validation error report is: font family & font size cannot occur at element fo:region-body Is this true? Regards, ... Jerry Sheehan ... IT Support Engineer ... Altova, Inc. - markup your mind! ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From grig at renderx.com Wed Apr 2 12:18:05 2003 From: grig at renderx.com (Nikolai Grigoriev) Date: Thu, 3 Apr 2003 00:18:05 +0400 Subject: [xep-support] Validation fails References: <9C80CCD520150E48BCFA7716ABDEFED82E524E@teaparty.bos.altova.com> Message-ID: <024201c2f955$029d6100$7f01000a@grig> Hi Jerry, > Are you implying then that this is a bug in StyleVision? It's a difficult issue :-). By the very design of XSL, nothing precludes specifying unused inheritable properties anywhere in the object tree; so I have no right to claim that this is incorrect XSL. However, it is hard to believe that a no-op attribute is deliberately added to the stylesheet only to make it bigger :-). Whatever the intended meaning of fo:region/@font-size is, it cannot be achieved this way - and therefore it is probably a bug. That's why we are issuing a validation error. There are other questionable points in StyleVision 5.3: - it puts margin-* attributes on side regions (fo:region-before/after), which is not permitted by the spec (this one is definitely a bug); - order of regions does not follow the content model gven in the Recommendation (this is more an inconsistency than a bug: we issue a warning). > Ignoring the > validity problems doesn't solve my issue since it will not give me my > results in the PDF preview. It's a configuration problem. Looks like StyleVision expects formatter output to be like FOP, and treats any other diagnostics as errors. If you turn off all output from XEP, it works. For instance, I have XEP installed in C:\XEP under Win2000 and the following string in Tools->XSL-FO Options->FO Processor in Stylesheet Designer: C:\XEP\xep.bat -DVALIDATE=false -quiet PDF preview works for me. > I don't have this problem using the Apache FOP Processor. It means that StyleVision is probably tuned for FOP :-). Best regards, Nikolai Grigoriev RenderX ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From xep-support at illumino.com.au Wed Apr 2 17:13:19 2003 From: xep-support at illumino.com.au (Peter Bray) Date: Thu, 3 Apr 2003 11:13:19 +1000 (EST) Subject: [xep-support] RFC: Alternate XEP Wrapper for UNIX Message-ID: Greetings All, Attached is an alternate wrapper script for XEP 3.x (for systems using the *.sh scripts). I would greatly appreciate if others could comment on it, suggest enhancements etc, so that one day it might be considered a suitable replacement for the current shell scripts supplied with XEP. My drivers for writing a replacement including: - The ability to have a generic script in my PATH which can handle any version of XEP. - Better naming convention for the XEP entry points. ( I use XEP from GNU Make files and like them to be both XEP version independent and as clear as possible ) - Support for java memory options to be specified at run-time. - Support for concurrent installation of XEP (ie multiple versions - which is actually better supported in the original version of the script - see the later part of the attached file) - Bug that *.sh script do not get the executable bit set on installation. Possible issues with the current release: - May have to set JAVA_HOME to XEP_JAVA_HOME (this is not required for Sun JDK 1.3/1.4 on Solaris Intel - your mileage may vary) - Removal of support for com.render.xep.Driver - Additional error catching code to support other systems (or to catch assumptions I've made which may not be true) Installation - Place the script in a directory in your PATH - Make it executable (chmod +x xep-wrapper) - Create symlinks to it as described at the top of the script - Update the variables in the configuration section for your site - Execute in debugging mode first to validate the constructed command line. Example: DO=echo xep-xsldriver -fo - Execute the command for real and validate the results - Experiment with the environment variables: XEP_JAVA_OPTIONS XEP_JAVA_CLASSPATH XEP_DIST_HOME XEP_MAIN_JARFILE XEP_JAVA_HOME The following is an example of a command line generated by my Makefile: XEP_JAVA_OPTIONS="-Xmx150m -Xms150m" xep-xsldriver -fo SystemAdministration.fo-saxon-xep Comments and suggestions most welcome, Peter Bray Sydney, Australia -------------- next part -------------- #!/bin/sh # # Shell Wrapper for RenderX's XEP (http://www.renderx.com/) # # # One-time setup: # ln -s xep-wrapper xep # ln -s xep-wrapper xep-validate # ln -s xep-wrapper xep-transform # ln -s xep-wrapper xep-xsldriver # # Usage: # xep ... # xep-validate ... # xep-transform ... # xep-xsldriver ... # # # $Id: xep-wrapper,v 1.6 2003/03/27 05:21:08 software Exp $ # # # Configuration # XEP_DIST_HOME=${XEP_DIST_HOME:-/pkgs/xep-3.3.1} XEP_MAIN_JARFILE=${XEP_MAIN_JARFILE:-xep331_client.jar} XEP_JAVA_HOME=${XEP_JAVA_HOME:-/pkgs/j2sdk-1.4.1/jre} # # User Run-Time Configuration # # Examples: # XEP_JAVA_OPTIONS="-Xmx120m -Xms120m" # XEP_JAVA_CLASSPATH="/path/file1.jar:/path/file2.jar" # # # Setup and verify configuration # if [ ! -d "${XEP_DIST_HOME}" ] then echo "${0}: Unable to find XEP distribution (${XEP_DIST_HOME}) - Aborting" exit 1 fi if [ ! -d "${XEP_JAVA_HOME}" ] then echo "${0}: Unable to find Java distribution (${XEP_JAVA_HOME}) - Aborting" exit 2 fi xep_lib="${XEP_DIST_HOME}/lib" xep_classpath="${XEP_JAVA_CLASSPATH}" for jarfile in \ tools.jar \ ${XEP_MAIN_JARFILE} \ cryptix32.jar \ cryptix32-pgp.jar \ saxon.jar \ xt.jar do if [ "${jarfile}" != "tools.jar" -a ! -f "${xep_lib}/${jarfile}" ] then echo "${0}: Unable to find ${xep_lib}/${jarfile} - Aborting" exit 3 fi xep_classpath="${xep_classpath}:${xep_lib}/${jarfile}" done application=`basename ${0}` case "${application}" in xep) xep_main=com.renderx.xep.Driver ;; xep-xsldriver) xep_main=com.renderx.xep.XSLDriver ;; xep-validate) xep_main=com.renderx.xep.JAXPDriver ;; xep-transform) xep_main=com.renderx.xep.Validator ;; *) echo "$0: Unknown XEP application : ${application} - Aborting" exit 4; esac # # Run with DO=echo to see the generated command line # ${DO} ${XEP_JAVA_HOME}/bin/java \ ${XEP_JAVA_OPTIONS} \ -classpath "${xep_classpath}" \ -Dcom.renderx.xep.ROOT="${XEP_DIST_HOME}" \ ${xep_main} "${@}" exit # # The original script # XEP_DIST=${XEP_DIST:-/pkgs/xep-3.3.1} # # Lets keep it simple and use the installation generated shell scripts # (Thus this wrapper style simply provides a convenient name # and location independence) # application=`basename ${0}` case "${application}" in xep) XEP_SCRIPT=run.sh ;; xep-xsldriver) XEP_SCRIPT=xep.sh ;; xep-validate) XEP_SCRIPT=validate.sh ;; xep-transform) XEP_SCRIPT=transform.sh ;; *) echo "$0: Unknown XEP application : ${application} - Aborting" exit 1; esac exec ${XEP_DIST}/${XEP_SCRIPT} "${@}" From ulf.carlsson at semcon.se Thu Apr 3 01:26:57 2003 From: ulf.carlsson at semcon.se (Ulf Carlsson) Date: Thu, 3 Apr 2003 11:26:57 +0200 Subject: [xep-support] Memory usage Message-ID: Hello, Does xep store images using fo:external-graphic with src attribute with either file: or url() in the memory when it creates the pdf output or stores xep images on harddrive and fetch it when needed. Regards, Ulf ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From dvd at renderx.com Thu Apr 3 01:42:44 2003 From: dvd at renderx.com (David Tolpin) Date: Thu, 3 Apr 2003 14:42:44 +0500 (AMST) Subject: [xep-support] Memory usage In-Reply-To: from "Ulf Carlsson" at Apr 03, 2003 11:26:57 AM Message-ID: <200304030942.h339gja1059289@adat.davidashen.net> > > Hello, > Does xep store images using fo:external-graphic with src attribute with > either file: or url() in the memory when it creates the pdf output or stores > xep images on harddrive and fetch it when needed. images are never stored in memory. ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From jim.melton at acm.org Thu Apr 3 10:22:00 2003 From: jim.melton at acm.org (Jim Melton) Date: Thu, 03 Apr 2003 11:22:00 -0700 Subject: [xep-support] Second attempt: PDF file property "Created" not being set Message-ID: <4.3.2.7.2.20030403112114.03c359e8@gmstimap.oraclecorp.com> (This is a second attempt to get a response to my question, first sent out on 19 March. Replies appreciated!) When I render XSL FO into PDF, the resulting PDF file has the usual set of properties that one can view by going (in Acrobat, on Windows, at least) to the File menu and choosing Document Properties, then selecting Summary. I have learned how to set some of these properties, such as the Title, Subject, and Author. The Creator and Producer fields are hard-coded to XEP-related information, which is fine. However, the Created field seems to always be garbage, while the Modified date seems to contain the date that the PDF was created. Am I doing anything wrong to cause this, or is this a minor problem with XEP that might be fixed in some upcoming release? Thanks! Jim ======================================================================== Jim Melton --- Editor of ISO/IEC 9075-* (SQL) Phone: +1.801.942.0144 Oracle Corporation Oracle Email: mailto:jim.melton at oracle.com 1930 Viscounti Drive Standards email: mailto:jim.melton at acm.org Sandy, UT 84093-1063 Personal email: mailto:jim at melton.name USA Fax : +1.801.942.3345 ======================================================================== = Facts are facts. However, any opinions expressed are the opinions = = only of myself and may or may not reflect the opinions of anybody = = else with whom I may or may not have discussed the issues at hand. = ======================================================================== ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From jeff.beal at ansys.com Thu Apr 3 11:48:24 2003 From: jeff.beal at ansys.com (Jeff Beal) Date: Thu, 3 Apr 2003 14:48:24 -0500 Subject: [xep-support] fo:marker property inheritance Message-ID: When using fo:retrieve-marker to put text in a page header, are properties inherited based on the location of the or the location of the ? Jeff Beal Tools Specialist ANSYS, Inc. (724) 514-3150 ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From grig at renderx.com Thu Apr 3 12:02:11 2003 From: grig at renderx.com (Nikolai Grigoriev) Date: Fri, 4 Apr 2003 00:02:11 +0400 Subject: [xep-support] Second attempt: PDF file property "Created" not being set References: <4.3.2.7.2.20030403112114.03c359e8@gmstimap.oraclecorp.com> Message-ID: <029f01c2fa1c$0057d660$7f01000a@grig> Hi Jim, > (This is a second attempt to get a response to my question, first sent out > on 19 March. Replies appreciated!) (We missed that. I am sorry.) > However, the Created field seems to always be garbage, while the Modified > date seems to contain the date that the PDF was created. I could not reproduce the effect. In the code, we set only the /Created field; and Acrobat (both 4 and 5) has no problems to decipher it. If I remember correctly, you run some extra PDF optimizer after XEP - could it be that the optimizer sets /Modified to its own date, and mangles /Created? One possible reason may be that we use Unicode to encode all strings, including dates. (This is not strictly necessary, but didn't cause any problems so far). Could you please turn off Unicode support in annotations, e.g. by adding before , and retry your tests? If it solves the problem, it will mean that we have to write dates in PDFEncoding in all cases - an easy fix to be done in the next maintenance release. But if the problem persists, I would like to have a look at a sample PDF file. Best regards, Nikolai Grigoriev RenderX ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From grig at renderx.com Thu Apr 3 12:13:34 2003 From: grig at renderx.com (Nikolai Grigoriev) Date: Fri, 4 Apr 2003 00:13:34 +0400 Subject: [xep-support] fo:marker property inheritance References: Message-ID: <02c001c2fa1d$bb1a6520$7f01000a@grig> Jeff, > When using fo:retrieve-marker to put text in a page header, > are properties inherited based on the location of the > or the location > of the ? It takes properties from fo:retrieve-marker. The XSL spec says: [6.11.3. fo:marker] XSL> Property values set on an fo:marker or its ancestors XSL> will not be inherited by the children of the fo:marker XSL> when they are retrieved by an fo:retrieve-marker. [6.11.4. fo:retrieve-marker] XSL> The properties and traits specified on the ancestors XSL> of the fo:retrieve-marker are taken into account when XSL> formatting the children of the retrieved fo:marker XSL> as if the children had the same ancestors as the XSL> fo:retrieve-marker. Best regards, Nikolai Grigoriev RenderX ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From jim.melton at acm.org Thu Apr 3 16:23:32 2003 From: jim.melton at acm.org (Jim Melton) Date: Thu, 03 Apr 2003 17:23:32 -0700 Subject: [xep-support] Second attempt: PDF file property "Created" not being set In-Reply-To: <029f01c2fa1c$0057d660$7f01000a@grig> References: <4.3.2.7.2.20030403112114.03c359e8@gmstimap.oraclecorp.com> Message-ID: <4.3.2.7.2.20030403170800.03c354d8@gmstimap.oraclecorp.com> Nikolai, At 00:02 2003-04-04 +0400 Friday, Nikolai Grigoriev wrote: >Hi Jim, > > > (This is a second attempt to get a response to my question, first sent out > > on 19 March. Replies appreciated!) > >(We missed that. I am sorry.) No problem...you get tons of email and your response time is almost always extremely good. > > However, the Created field seems to always be garbage, while the Modified > > date seems to contain the date that the PDF was created. > >I could not reproduce the effect. In the code, we set only the /Created >field; and Acrobat (both 4 and 5) has no problems to decipher it. >If I remember correctly, you run some extra PDF optimizer after >XEP - could it be that the optimizer sets /Modified to its own date, >and mangles /Created? In fact, I don't run any PDF optimizations after XEP. What I sometimes do is renumber the pages, especially if I need to put a separately-generated cover page in front of the document and so forth. But the symptom that I described occurs whether I do the page renumbering or not. In particular, a document that I created about 10 days ago was created using XEP 3.2.2 Client, which generated PDF 1.4 output. When I open that document and invoke File | Document | Summary, the Document Summary box includes these two lines: Created: 0?xxx?x 00:00:00 (where each "x" is really a hollow square box indicating that I don't have a font installed that has that character in it) Modified: 2003-03-25 20:21:43 >One possible reason may be that we use Unicode to encode all strings, >including dates. (This is not strictly necessary, but didn't cause >any problems so far). Could you please turn off Unicode support >in annotations, e.g. by adding >before , and retry your tests? Wow! That solved the problem! I re-generated the exact same document using the identical .fo file, except that I put the PI into it immediately before fo:root. The result, when I open the document and invoke File | Document | Summary is a Document Summary box in which those two lines read: Created: 2003-04-03 05:18:33 Modified: Not available Now, the remaining problem is that the Created *time* is off by 12 hours! At the time I generated the document, the actual time (according to my computer!) was 17:18, not 05:18. I suspect that you're using a 12-hour timeclock representation and not outputting AM or PM, but I would strongly prefer that you use a 24-hour timeclock representation. >If it solves the problem, it will >mean that we have to write dates in PDFEncoding in all cases - an easy fix >to be done in the next maintenance release. But if the problem >persists, I would like to have a look at a sample PDF file. Looks like that was the solution, so I'll await a fix in the next maintenance release. (No rush...minor problem, of course.) Many thanks! Jim ======================================================================== Jim Melton --- Editor of ISO/IEC 9075-* (SQL) Phone: +1.801.942.0144 Oracle Corporation Oracle Email: mailto:jim.melton at oracle.com 1930 Viscounti Drive Standards email: mailto:jim.melton at acm.org Sandy, UT 84093-1063 Personal email: mailto:jim at melton.name USA Fax : +1.801.942.3345 ======================================================================== = Facts are facts. However, any opinions expressed are the opinions = = only of myself and may or may not reflect the opinions of anybody = = else with whom I may or may not have discussed the issues at hand. = ======================================================================== ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From idealcms at gmx.de Fri Apr 4 03:28:01 2003 From: idealcms at gmx.de (idealcms at gmx.de) Date: Fri, 4 Apr 2003 13:28:01 +0200 (MEST) Subject: [xep-support] XEP 3 + XALAN Message-ID: <30344.1049455681@www60.gmx.net> Hi, is there a possibility to use XALAN (extensions) with XEP 3+? Kind regards, Jan -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From idealcms at gmx.de Fri Apr 4 03:30:24 2003 From: idealcms at gmx.de (idealcms at gmx.de) Date: Fri, 4 Apr 2003 13:30:24 +0200 (MEST) Subject: [xep-support] Text positioning Message-ID: <17579.1049455824@www60.gmx.net> Hi, we'd like to align a paragraph of text to the bottom of a page. Example: Chapter 1 (<- should appear at the topmost right corner of the page) Introductory text (<- should be aligned to the bottom of the page) Could you give a code snippet as example how to do this with XEP? Best regards, Jan -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From peshkov at renderx.com Fri Apr 4 04:02:16 2003 From: peshkov at renderx.com (Alexander Peshkov) Date: Fri, 4 Apr 2003 16:02:16 +0400 Subject: [xep-support] XEP 3 + XALAN In-Reply-To: <30344.1049455681@www60.gmx.net> References: <30344.1049455681@www60.gmx.net> Message-ID: <7716932727.20030404160216@renderx.com> Hello Jan, XEP is JAXP-aware: it is therefore possible to replace Saxon with Xalan. Presuming that you use the latest Xalan (2.5), you will need the following modifications in xep.bat: - in the classpath, replace saxon.jar by jars from Xalan: xalan.jar, xercesImpl.jar, and xml-apis.jar; - add system properties to the Java call. to pick Xalan as the default XSLT processor and Xerces as the default parser: -Djavax.xml.transform.TransformerFactory= org.apache.xalan.processor.TransformerFactoryImpl -Djavax.xml.parsers.SAXParserFactory= org.apache.xerces.jaxp.SAXParserFactoryImpl Best regards, Alexander Peshkov mailto:peshkov at renderx.com RenderX igd> Hi, igd> is there a possibility to use XALAN (extensions) with XEP 3+? igd> Kind regards, igd> Jan ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From peshkov at renderx.com Fri Apr 4 04:24:05 2003 From: peshkov at renderx.com (Alexander Peshkov) Date: Fri, 4 Apr 2003 16:24:05 +0400 Subject: [xep-support] Text positioning In-Reply-To: <17579.1049455824@www60.gmx.net> References: <17579.1049455824@www60.gmx.net> Message-ID: <12718242551.20030404162405@renderx.com> Hello Jan, Vertical text alignment is normally defined for the whole region. To have parts of text with different alignment you have to use separate regions. In your case I would suggest the following: 1. Place "Chapter 1" in static content with display-align="before" specified on fo:region-before and text-align="right" specified on fo:static-content. 2. Place the rest of the text ("Introductory text") inside normal flow with display-align="after" specified on fo:region-body. A code snippet illustrates this: Chapter 1 Introductory text Hope this helps. Best regards, Alexander Peshkov mailto:peshkov at renderx.com RenderX igd> Hi, igd> we'd like to align a paragraph of text to the bottom of a page. igd> Example: igd> Chapter 1 (<- should appear at the topmost right corner of the page) igd> Introductory text (<- should be aligned to the bottom of the page) igd> Could you give a code snippet as example how to do this with XEP? igd> Best regards, igd> Jan ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From Bill.Henning at AntaresSolutions.com Fri Apr 4 05:15:40 2003 From: Bill.Henning at AntaresSolutions.com (Bill Henning) Date: Fri, 04 Apr 2003 08:15:40 -0500 Subject: [xep-support] Border-Collapse Implementation Message-ID: I read in a previous message that border collapsing is not supported in XEP. When do you anticipate that this feature will be added? Bill ------------------------------------------------------------------------------ CONFIDENTIALITY NOTICE: This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that you are strictly prohibited from printing, storing, disseminating, distributing or copying this communication. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank You, Antares Management Solutions. ============================================================================== ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From dvd at renderx.com Fri Apr 4 08:28:45 2003 From: dvd at renderx.com (David Tolpin) Date: Fri, 4 Apr 2003 21:28:45 +0500 (AMST) Subject: [xep-support] Border-Collapse Implementation In-Reply-To: from "Bill Henning" at Apr 04, 2003 08:15:40 AM Message-ID: <200304041628.h34GSjbV070121@adat.davidashen.net> > I read in a previous message that border collapsing is not supported in > XEP. When do you anticipate that this feature will be added? Bill, we are working on a number of improvements, border collapsing is one of them, and the list is rather long. The best way to get informed about new versions is to subscribe to xep-announce. A good way to get something you really need if you need it urgently is to contact our marketing/sales people and negotiate a custom order. David ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From evtrigt at ambrac.nl Mon Apr 7 07:09:38 2003 From: evtrigt at ambrac.nl (Els van Trigt) Date: Mon, 07 Apr 2003 16:09:38 +0200 Subject: [xep-support] Multi-columns in indexes-unequal column length Message-ID: <000a01c2fd0f$54599910$6500a8c0@ambrac.nl> Dear RenderX, When generating indexes in a three-column-page layout, we get columns of uneven length, depending on the fact whether the relevant block containing the index-item info completely fits at the bottom of a column or moves to the top of the next column. No keep-together attribute is set on the containing block. Is this default behaviour? Can this be helped by setting another attribute? (What we need is the opposite of the "keep-together" attribute.) Thanks, Els van Trigt Ambrac Information Management Pieterstraat 11 3512 JT Utrecht Telefoon: 030-2316942 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.465 / Virus Database: 263 - Release Date: 3/25/2003 ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From dvd at renderx.com Mon Apr 7 07:27:12 2003 From: dvd at renderx.com (David Tolpin) Date: Mon, 7 Apr 2003 19:27:12 +0500 (AMST) Subject: [xep-support] Multi-columns in indexes-unequal column length In-Reply-To: <000a01c2fd0f$54599910$6500a8c0@ambrac.nl> from "Els van Trigt" at Apr 07, 2003 04:09:38 PM Message-ID: <200304071427.h37ERCgV012741@adat.davidashen.net> > What we need is the opposite of the "keep-together" attribute. orphans="1" widows="1" ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From raf at fastnet.ch Mon Apr 7 23:21:28 2003 From: raf at fastnet.ch (=?iso-8859-1?Q?Rapha=EBl_Splivalo?=) Date: Tue, 8 Apr 2003 08:21:28 +0200 Subject: [xep-support] Color in PDF Message-ID: <002801c2fd97$16b5fdf0$23020cac@fastnet.ch> Dear RenderX, After comparing a document generated by XEP and one other made with Acrobat Distiler, I was wondered why colors between the two PDF were a little bit different. Do you have an idee ? Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: From grig at renderx.com Tue Apr 8 01:03:00 2003 From: grig at renderx.com (Nikolai Grigoriev) Date: Tue, 8 Apr 2003 12:03:00 +0400 Subject: [xep-support] Color in PDF References: <002801c2fd97$16b5fdf0$23020cac@fastnet.ch> Message-ID: <010901c2fda5$548e5380$0701010a@africa> Raphael, > After comparing a document generated by XEP > and one other made with Acrobat Distiler, I was > wondered why colors between the two PDF were > a little bit different. Do you have an idee ? XEP's PDF generator maps colors to PDF device spaces (/DeviceGray, /DeviceRGB, and /DeviceCMYK) with no additional calibration. Distiller has a richer set of options to control color transfer: just look at the menu under Settings->Job Options->Color. Tweaking these may slightly modify your colors. If you need an exact match to XEP PDF generator, choose the simplest option, "Leave colors unchanged". Best regards, Nikolai Grigoriev RenderX ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From Ewan.Thonger at bskyb.com Wed Apr 9 02:47:30 2003 From: Ewan.Thonger at bskyb.com (Thonger, Ewan) Date: Wed, 9 Apr 2003 10:47:30 +0100 Subject: [xep-support] column index in rx:flow-section Message-ID: When using an rx:flow-section, is there any XSLT variable or function available to determine when a new column has been started? Failing that, is there any variable or function to return the current column? Thanks, Ewan. ----------------------------------------------------------------------- Information in this email may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. ----------------------------------------------------------------------- ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From gkholman at CraneSoftwrights.com Wed Apr 9 03:42:23 2003 From: gkholman at CraneSoftwrights.com (G. Ken Holman) Date: Wed, 09 Apr 2003 06:42:23 -0400 Subject: [xep-support] column index in rx:flow-section In-Reply-To: Message-ID: <5.2.0.9.0.20030409063940.02af89e0@pop.storm.ca> At 2003-04-09 10:47 +0100, Thonger, Ewan wrote: >When using an rx:flow-section, is there any XSLT variable or function >available to determine when a new column has been started? Failing that, is >there any variable or function to return the current column? XSLT happens long before XSL-FO happens. The XSL architecture specifies transformation to be arms-length from formatting. Transformation cannot act on the result of formatting in XSL-FO. The relationship between transformation and formatting burdens the transformation process with providing contingencies from which the formatter chooses based on the situation in which it finds itself. This revelation was important to another quester on another XSL-FO list yesterday. I hope this helps, though I concede it isn't what you are looking for. ................. Ken -- Upcoming hands-on courses: Europe (XSLT/XPath): May 5, 2003 - Europe (XSL-FO): May 16, 2003 - (XSLT/XPath and/or XSL-FO) North America: June 16-20, 2003 G. Ken Holman mailto:gkholman at CraneSoftwrights.com Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) ISBN 0-13-065196-6 Definitive XSLT and XPath ISBN 0-13-140374-5 Definitive XSL-FO ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-10-1 Practical Formatting Using XSL-FO Male Breast Cancer Awareness http://www.CraneSoftwrights.com/f/bc ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From grig at renderx.com Wed Apr 9 03:50:03 2003 From: grig at renderx.com (Nikolai Grigoriev) Date: Wed, 9 Apr 2003 14:50:03 +0400 Subject: [xep-support] column index in rx:flow-section References: Message-ID: <013801c2fe85$cdc43a90$0701010a@africa> Ewan, > When using an rx:flow-section, is there any XSLT variable or function > available to determine when a new column has been started? It is impossible to track at XSLT level. The formatter receives an XSL FO instance as output: no information ever flows back to influence XSLT processing. > Failing that, is > there any variable or function to return the current column? No, there is nothing of the kind. It could be an element (something like ); but there is no provision for that in XSL recommendation. Best regards, Nikolai Grigoriev RenderX ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From Ewan.Thonger at bskyb.com Wed Apr 9 05:59:52 2003 From: Ewan.Thonger at bskyb.com (Thonger, Ewan) Date: Wed, 9 Apr 2003 13:59:52 +0100 Subject: [xep-support] column index in rx:flow-section Message-ID: Ah yes, that makes sense. Thanks (to Ken also), Ewan. -----Original Message----- From: Nikolai Grigoriev [mailto:grig at renderx.com] Sent: Wednesday, April 09, 2003 11:50 AM To: xep-support at renderx.com Subject: Re: [xep-support] column index in rx:flow-section Ewan, > When using an rx:flow-section, is there any XSLT variable or function > available to determine when a new column has been started? It is impossible to track at XSLT level. The formatter receives an XSL FO instance as output: no information ever flows back to influence XSLT processing. > Failing that, is > there any variable or function to return the current column? No, there is nothing of the kind. It could be an element (something like ); but there is no provision for that in XSL recommendation. Best regards, Nikolai Grigoriev RenderX ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html . ----------------------------------------------------------------------- Information in this email may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. ----------------------------------------------------------------------- ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From kjh at entel.com Thu Apr 17 13:32:00 2003 From: kjh at entel.com (Kenneth J. Hughes) Date: Thu, 17 Apr 2003 16:32:00 -0400 Subject: [xep-support] test Message-ID: <5.2.0.9.0.20030417160155.030c8d60@mail.entel.com> I haven't received any traffic from xep-support for over a week. Has everyone fully mastered XSL-FO? Has RenderX perfected its near-perfect XEP? Is there nothing left to talk about? Is there anybody in there? Just nod if you can hear me... Cheers, Kenneth J. Hughes kjh at entel.com Entelechy Corporation http://www.entel.com/ ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From dvd at renderx.com Thu Apr 17 16:15:00 2003 From: dvd at renderx.com (David Tolpin) Date: Fri, 18 Apr 2003 04:15:00 +0500 (AMST) Subject: [xep-support] test In-Reply-To: from "Kenneth J. Hughes" at Apr 17, 2003 04:32:00 PM Message-ID: <200304172315.h3HNF0Hj000414@adat.davidashen.net> Kenneth, xep-support is up and running; it is simply because the code is rather stable during three last months without major changes in the kernel despite the change of inheritance defaults there are no messages in the list. It happened before and is normal -- just means that problems are basically resolved and we have more clients supported through dedicated e-mail communication than through the public list (and we really have a lot). I think that as soon as we release the next version that is going to provide significant enhancements, we will have much higher traffic in xep-support. David Tolpin RenderX ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From jim.melton at acm.org Thu Apr 17 16:09:24 2003 From: jim.melton at acm.org (Jim Melton) Date: Thu, 17 Apr 2003 17:09:24 -0600 Subject: [xep-support] Inter-document references Message-ID: <4.3.2.7.2.20030417163416.03c82530@gmstimap.oraclecorp.com> Gentlepeople, I am feeling unusually stupid today, so I'm turning to you for some advice, guidance, or outright solutions ;^) Please forgive the length of this note, but I want to be sure that I communicate my issue. I am the editor for a multi-part ISO standard (SQL). This requires that I periodically (roughly 3 times a year) publish working drafts of the complete suite of 9 parts ("part" = "separate document", each having its own cover page, numbering, index, etc.). Of course, once work has completed on a new generation of the standard, I publish the actual, final standards themselves. At less-frequent intervals, I must publish a single part (e.g., a brand new part that did not exist at the time of the previous publication of the existing parts, or even an Amendment to one or more existing parts). In the published documents (working drafts or standards), I have chapters and sections whose printed appearance is something like this: 4 Concepts 4.1 Data types 4.1.2 Character string types In my XML sources for these documents, I use an element (e.g., ,
) with an id attribute to give a symbolic name to the chapter or section (e.g., Concepts...,
Data types...). The number (e.g., 4, 4.1, 4.1.2) is automatically computed based on the position in the document as a whole. Within a given document, I can symbolically reference a chapter/section by referencing the value of the id attribute (e.g., ), which my XSLT stylesheet (which, as you see, picks up the chapter's/section's computed number and specified title) transforms to a link, such as: Section 4.1, "Data types" When XEP renders that to PDF, I have a nice "hot link" from the reference to the reference section. So far, so good. Now for my problem: Very frequently, from one part/document (e.g., part 5) I need to reference a chapter/section (and even other things that have such symbolic attributes) that is defined in another part/document (e.g., part 2). Obviously, the required information is not so easily available for such interdocument references. I would plan to use a different element (e.g., ) for interdocument references. The only idea I've had so far is to write a new XSLT stylesheet that processes each of my documents (one at a time, manually --- since I haven't gotten around to worrying about scripting issues) and outputs some sort of file containing nothing beyond the "values" of every symbol in that document. Then, when I'm processing document 5 through my "real" stylesheet, it would somehow access all of the "symbol" files and pick up the chapter/section number and title. Question 1) Does that seem like a reasonable approach? Are there better approaches that I have managed to overlook or suppress? Question 2) Would it be better if that "symbol" file were a plain text file (how would I access such information in XSLT?) or an XML file (something like ; from jim.melton@acm.org on Thu, Apr 17, 2003 at 05:09:24PM -0600 References: <4.3.2.7.2.20030417163416.03c82530@gmstimap.oraclecorp.com> Message-ID: <20030417183123.A26528@sco.com> The DocBook XSL stylesheets have implemented two-thirds of what you are trying to do. DocBook uses olink to link to another DocBook document. The stylesheets have a target collection mode that outputs the cross reference information instead of the regular output. It outputs XML so it can be easily parsed again on the second pass. On the second pass, the name of the data file is passed to the stylesheet as a parameter. The stylesheet opens the data file and parses the data. When an olink is encountered, it looks up the information and resolves the cross reference, generating text if the olink is empty. Currently it does not form active links between PDF documents, only between HTML documents. For PDF output, if the olink target is within the current document, it does form an active internal link. But for external documents, it just resolves the cross reference as plain text. It will optionally add a title from the other document to provide context. So I'll also interested in learning how the external linking function in PDF can be made to work. Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 The SCO Group fax: (831) 429-1887 email: bobs at sco.com On Thu, Apr 17, 2003 at 05:09:24PM -0600, Jim Melton wrote: > Gentlepeople, > > I am feeling unusually stupid today, so I'm turning to you for some advice, > guidance, or outright solutions ;^) Please forgive the length of this > note, but I want to be sure that I communicate my issue. > > I am the editor for a multi-part ISO standard (SQL). This requires that I > periodically (roughly 3 times a year) publish working drafts of the > complete suite of 9 parts ("part" = "separate document", each having its > own cover page, numbering, index, etc.). Of course, once work has > completed on a new generation of the standard, I publish the actual, final > standards themselves. At less-frequent intervals, I must publish a single > part (e.g., a brand new part that did not exist at the time of the previous > publication of the existing parts, or even an Amendment to one or more > existing parts). > > In the published documents (working drafts or standards), I have chapters > and sections whose printed appearance is something like this: > > 4 Concepts > > 4.1 Data types > > 4.1.2 Character string types > > In my XML sources for these documents, I use an element (e.g., , >
) with an id attribute to give a symbolic name to the chapter or > section (e.g., Concepts...,
id="datatypes">Data types...). The number (e.g., 4, 4.1, > 4.1.2) is automatically computed based on the position in the document as a > whole. > > Within a given document, I can symbolically reference a chapter/section by > referencing the value of the id attribute (e.g., ref="datatypes"/>), which my XSLT stylesheet (which, as you see, picks up > the chapter's/section's computed number and specified title) transforms to > a link, such as: > > > Section 4.1, "Data types" > > > > When XEP renders that to PDF, I have a nice "hot link" from the reference > to the reference section. > > So far, so good. > > Now for my problem: > > Very frequently, from one part/document (e.g., part 5) I need to reference > a chapter/section (and even other things that have such symbolic > attributes) that is defined in another part/document (e.g., part > 2). Obviously, the required information is not so easily available for > such interdocument references. > > I would plan to use a different element (e.g., ref="concepts"/>) for interdocument references. > > The only idea I've had so far is to write a new XSLT stylesheet that > processes each of my documents (one at a time, manually --- since I haven't > gotten around to worrying about scripting issues) and outputs some sort of > file containing nothing beyond the "values" of every symbol in that > document. Then, when I'm processing document 5 through my "real" > stylesheet, it would somehow access all of the "symbol" files and pick up > the chapter/section number and title. > > Question 1) Does that seem like a reasonable approach? Are there better > approaches that I have managed to overlook or suppress? > > Question 2) Would it be better if that "symbol" file were a plain text file > (how would I access such information in XSLT?) or an XML file (something > like title="Concepts/>)? I assume that the > information contained in an XML file would be more easily accessed in my XSLT. > > Question 3) Once I have that information, how can I turn the text (e.g., > Section 4.2, "Data types", in Part 2) into a "hot link" that will cause > Acrobat to open the file containing part 2 and position it at the start of > Section 4.2 --- or at least on the same page? (I'm aware of the > external-destination attribute, but have not been successful at making > referenced PDF documents open at the right place.) I'm unclear on whether > or how the rx:outline and rx:bookmark extensions would help, particularly > when there might be literally hundreds of referenceable destinations in a > given document. > > Any help, advice, guidance, or outright solutions will be greatly appreciated. > > Thanks! > Jim > ======================================================================== > Jim Melton --- Editor of ISO/IEC 9075-* (SQL) Phone: +1.801.942.0144 > Oracle Corporation Oracle Email: mailto:jim.melton at oracle.com > 1930 Viscounti Drive Standards email: mailto:jim.melton at acm.org > Sandy, UT 84093-1063 Personal email: mailto:jim at melton.name > USA Fax : +1.801.942.3345 > ======================================================================== > = Facts are facts. However, any opinions expressed are the opinions = > = only of myself and may or may not reflect the opinions of anybody = > = else with whom I may or may not have discussed the issues at hand. = > ======================================================================== > > ------------------- > (*) To unsubscribe, send a message with words 'unsubscribe xep-support' > in the body of the message to majordomo at renderx.com from the address > you are subscribed from. > (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html > -- Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 The SCO Group fax: (831) 429-1887 email: bobs at sco.com ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From dvd at renderx.com Thu Apr 17 22:43:19 2003 From: dvd at renderx.com (David Tolpin) Date: Fri, 18 Apr 2003 10:43:19 +0500 (AMST) Subject: [xep-support] Inter-document references In-Reply-To: from "Jim Melton" at Apr 17, 2003 05:09:24 PM Message-ID: <200304180543.h3I5hJnC001646@adat.davidashen.net> > > Question 3) Once I have that information, how can I turn the text (e.g., > Section 4.2, "Data types", in Part 2) into a "hot link" that will cause > Acrobat to open the file containing part 2 and position it at the start of > Section 4.2 --- or at least on the same page? (I'm aware of the > external-destination attribute, but have not been successful at making > referenced PDF documents open at the right place.) I'm unclear on whether > or how the rx:outline and rx:bookmark extensions would help, particularly > when there might be literally hundreds of referenceable destinations in a > given document. Jim, there will be good implementation of links to named destination in the next release of XEP. That's what you need for interdocument links to a particular location. Just wait a little. David ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From grig at renderx.com Thu Apr 17 23:47:45 2003 From: grig at renderx.com (Nikolai Grigoriev) Date: Fri, 18 Apr 2003 10:47:45 +0400 Subject: [xep-support] Inter-document references References: <4.3.2.7.2.20030417163416.03c82530@gmstimap.oraclecorp.com> Message-ID: <004801c30576$8601f1a0$0701010a@africa> Jim, > The only idea I've had so far is to write a new XSLT stylesheet that > processes each of my documents (one at a time, manually --- since I haven't > gotten around to worrying about scripting issues) and outputs some sort of > file containing nothing beyond the "values" of every symbol in that > document. Then, when I'm processing document 5 through my "real" > stylesheet, it would somehow access all of the "symbol" files and pick up > the chapter/section number and title. > > Question 1) Does that seem like a reasonable approach? Are there better > approaches that I have managed to overlook or suppress? I wonder why do you need a separate"symbol" file. If all parts are similar in their structure, you can set up a generic template to exract section/chapter references from both local and remote documents. To automate the thing, you will need an index of all parts to map numbers to file names, conveniently specified in a separate XML file. More or less like this (untested, just to show the idea): parts-index.xml: ... Stylesheet (very roughly): > Question 2) Would it be better if that "symbol" file were a plain text file > (how would I access such information in XSLT?) or an XML file (something > like title="Concepts/>)? I assume that the > information contained in an XML file would be more easily accessed in my XSLT. That's true. But my suggestion is to work directly from source files, without intermediate data. Using document() function, you can work conveniently with multiple source files. > Question 3) Once I have that information, how can I turn the text (e.g., > Section 4.2, "Data types", in Part 2) into a "hot link" that will cause > Acrobat to open the file containing part 2 and position it at the start of > Section 4.2 --- or at least on the same page? (I'm aware of the > external-destination attribute, but have not been successful at making > referenced PDF documents open at the right place.) This requires support for named destinations in PDF files produced by XEP. It is not yet available in the current version, but already implemented and under final testing; so in few weeks at most it will be delivered to XEP users. The syntax will be as follows: external-destination="url(file://somefile.pdf#someplace)" will open PDF file 'somefile.pdf' in the same Acrobat window (without going to a browser) and jump to a named destination 'someplace' inside it. Named destinations will be created by @id attributes in the source FO; so the above URL would bring you to the same place as internal-destination="someplace" in somefile.fo. That's what I tried to show in the above sample code. (I can unveil a secret: the above syntax for file links works even in the current version. Named destinations are not created however; so referenced PDF documents always open at the first page). Best regards, Nikolai Grigoriev RenderX ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From jim.melton at acm.org Thu Apr 17 23:25:21 2003 From: jim.melton at acm.org (Jim Melton) Date: Fri, 18 Apr 2003 00:25:21 -0600 Subject: [xep-support] Inter-document references In-Reply-To: <20030417183123.A26528@sco.com> References: <4.3.2.7.2.20030417163416.03c82530@gmstimap.oraclecorp.com> <4.3.2.7.2.20030417163416.03c82530@gmstimap.oraclecorp.com> Message-ID: <4.3.2.7.2.20030418002408.049833b8@gmstimap.oraclecorp.com> Bob, Thanks for the pointer. I'll look a bit deeper at DocBook's stylesheets and see how they do it. But it sounds something like my thoughts on how to approach this, from what you describe. Thanks again, Jim At 18:31 2003-04-17 -0700 Thursday, Bob Stayton wrote: >The DocBook XSL stylesheets have implemented two-thirds of >what you are trying to do. DocBook uses olink to link >to another DocBook document. The stylesheets have a >target collection mode that outputs the cross reference >information instead of the regular output. It outputs >XML so it can be easily parsed again on the second pass. > >On the second pass, the name of the data file is passed >to the stylesheet as a parameter. The stylesheet opens the >data file and parses the data. When an olink is encountered, >it looks up the information and resolves the cross reference, >generating text if the olink is empty. ======================================================================== Jim Melton --- Editor of ISO/IEC 9075-* (SQL) Phone: +1.801.942.0144 Oracle Corporation Oracle Email: mailto:jim.melton at oracle.com 1930 Viscounti Drive Standards email: mailto:jim.melton at acm.org Sandy, UT 84093-1063 Personal email: mailto:jim at melton.name USA Fax : +1.801.942.3345 ======================================================================== = Facts are facts. However, any opinions expressed are the opinions = = only of myself and may or may not reflect the opinions of anybody = = else with whom I may or may not have discussed the issues at hand. = ======================================================================== ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From jim.melton at acm.org Thu Apr 17 23:23:56 2003 From: jim.melton at acm.org (Jim Melton) Date: Fri, 18 Apr 2003 00:23:56 -0600 Subject: [xep-support] Inter-document references In-Reply-To: <200304180543.h3I5hJnC001646@adat.davidashen.net> References: Message-ID: <4.3.2.7.2.20030418002303.047fe568@gmstimap.oraclecorp.com> David, You guys are amazing. Almost every question I ask is answered with "It's nearly ready". One of these days, I'll ask for a difficult feature that you haven't almost got ready ;^) Many thanks! Jim At 10:43 2003-04-18 +0500 Friday, you wrote: > > > > Question 3) Once I have that information, how can I turn the text (e.g., > > Section 4.2, "Data types", in Part 2) into a "hot link" that will cause > > Acrobat to open the file containing part 2 and position it at the start of > > Section 4.2 --- or at least on the same page? (I'm aware of the > > external-destination attribute, but have not been successful at making > > referenced PDF documents open at the right place.) I'm unclear on whether > > or how the rx:outline and rx:bookmark extensions would help, particularly > > when there might be literally hundreds of referenceable destinations in a > > given document. > >Jim, > >there will be good implementation of links to named destination in the >next release of XEP. That's what you need for interdocument links to >a particular location. > >Just wait a little. > >David >------------------- >(*) To unsubscribe, send a message with words 'unsubscribe xep-support' >in the body of the message to majordomo at renderx.com from the address >you are subscribed from. >(*) By using the Service, you expressly agree to these Terms of Service >http://www.renderx.com/tos.html ======================================================================== Jim Melton --- Editor of ISO/IEC 9075-* (SQL) Phone: +1.801.942.0144 Oracle Corporation Oracle Email: mailto:jim.melton at oracle.com 1930 Viscounti Drive Standards email: mailto:jim.melton at acm.org Sandy, UT 84093-1063 Personal email: mailto:jim at melton.name USA Fax : +1.801.942.3345 ======================================================================== = Facts are facts. However, any opinions expressed are the opinions = = only of myself and may or may not reflect the opinions of anybody = = else with whom I may or may not have discussed the issues at hand. = ======================================================================== ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From jim.melton at acm.org Fri Apr 18 12:00:28 2003 From: jim.melton at acm.org (Jim Melton) Date: Fri, 18 Apr 2003 13:00:28 -0600 Subject: [xep-support] Inter-document references In-Reply-To: <004801c30576$8601f1a0$0701010a@africa> References: <4.3.2.7.2.20030417163416.03c82530@gmstimap.oraclecorp.com> Message-ID: <4.3.2.7.2.20030418125825.04983148@gmstimap.oraclecorp.com> Nicolai, Many thanks for the suggestion! I will try it today or tonight, but that is precisely the kind of thing I would prefer to use. I am pretty thrilled at the possibility (even though I completed the stylesheet last night to build that external XML file that I assumed I'd have to build). When I get the suggestion working, I'll confirm the approach and try to post stylesheet fragments that are fully tested so perhaps others can benefit from your suggestion, too. Thanks again! Jim At 10:47 2003-04-18 +0400 Friday, Nikolai Grigoriev wrote: >Jim, > > > The only idea I've had so far is to write a new XSLT stylesheet that > > processes each of my documents (one at a time, manually --- since I >haven't > > gotten around to worrying about scripting issues) and outputs some sort of > > file containing nothing beyond the "values" of every symbol in that > > document. Then, when I'm processing document 5 through my "real" > > stylesheet, it would somehow access all of the "symbol" files and pick up > > the chapter/section number and title. > > > > Question 1) Does that seem like a reasonable approach? Are there better > > approaches that I have managed to overlook or suppress? > >I wonder why do you need a separate"symbol" file. If all parts are similar >in their structure, you can set up a generic template to exract >section/chapter >references from both local and remote documents. To automate the thing, >you will need an index of all parts to map numbers to file names, >conveniently >specified in a separate XML file. More or less like this (untested, just to >show >the idea): > >parts-index.xml: > > > > > ... > > > >Stylesheet (very roughly): > > > select="document('parts-index')/parts/part"/> > > > > > > > > count="chapter | section" from="$root" /> > > > > > > > internal-destination={@ref}> > > > > > > > > > > >external-destination="url(file://{$filename}.pdf#{@ref})"> > > > > > > > > > Question 2) Would it be better if that "symbol" file were a plain text >file > > (how would I access such information in XSLT?) or an XML file (something > > like > title="Concepts/>)? I assume that the > > information contained in an XML file would be more easily accessed in my >XSLT. > >That's true. But my suggestion is to work directly from source files, >without >intermediate data. Using document() function, you can work conveniently >with multiple source files. > > > Question 3) Once I have that information, how can I turn the text (e.g., > > Section 4.2, "Data types", in Part 2) into a "hot link" that will cause > > Acrobat to open the file containing part 2 and position it at the start of > > Section 4.2 --- or at least on the same page? (I'm aware of the > > external-destination attribute, but have not been successful at making > > referenced PDF documents open at the right place.) > >This requires support for named destinations in PDF files produced >by XEP. It is not yet available in the current version, but already >implemented and under final testing; so in few weeks at most it will >be delivered to XEP users. The syntax will be as follows: > >external-destination="url(file://somefile.pdf#someplace)" > >will open PDF file 'somefile.pdf' in the same Acrobat window (without >going to a browser) and jump to a named destination 'someplace' inside it. >Named destinations will be created by @id attributes in the source FO; >so the above URL would bring you to the same place as >internal-destination="someplace" in somefile.fo. That's what I tried >to show in the above sample code. > >(I can unveil a secret: the above syntax for file links works even in the >current version. Named destinations are not created however; >so referenced PDF documents always open at the first page). ======================================================================== Jim Melton --- Editor of ISO/IEC 9075-* (SQL) Phone: +1.801.942.0144 Oracle Corporation Oracle Email: mailto:jim.melton at oracle.com 1930 Viscounti Drive Standards email: mailto:jim.melton at acm.org Sandy, UT 84093-1063 Personal email: mailto:jim at melton.name USA Fax : +1.801.942.3345 ======================================================================== = Facts are facts. However, any opinions expressed are the opinions = = only of myself and may or may not reflect the opinions of anybody = = else with whom I may or may not have discussed the issues at hand. = ======================================================================== ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From jim.melton at acm.org Sat Apr 19 11:16:42 2003 From: jim.melton at acm.org (Jim Melton) Date: Sat, 19 Apr 2003 12:16:42 -0600 Subject: [xep-support] Inter-document references In-Reply-To: <004801c30576$8601f1a0$0701010a@africa> References: <4.3.2.7.2.20030417163416.03c82530@gmstimap.oraclecorp.com> Message-ID: <4.3.2.7.2.20030419113126.049ec630@gmstimap.oraclecorp.com> Nikolai, Your proposed strategy works wonderfully! I am not posting my actual XSLT code because it is so specialized to my requirements that it probably wouldn't help anybody else. However, if anybody reading this list wishes to see it, I have no objections to my sending it to them. Your note outlining the strategy mentioned that you wonder why do I need a separate "symbol" file; one possible reason has come to light. The documents in my suite of parts add up to about 300,000 lines of source text (several megabytes of XML). An XSLT transformation from XML to XSL FO that formerly took under 10 seconds now takes about 45 seconds. That is approximately a 5:1 reduction in speed. I do not currently believe that this will be a significant problem for me (because these conversions are done at most several times a month, not several times a day). However, I think that the strategy of using a separate "symbol" file would cause a much smaller loss of speed. Now, I have a few follow-on questions for both Nikolai and David: The need to create "named destinations" in my PDF files in order to have my links open the PDF file at the correct place suggests that additional PDF code will be generated by XEP at certain places in the PDF file. 1) Will *every* place in my source XML file that has an ID attribute result in one of those "named destinations" in the corresponding PDF file? Or will it be only those places for which I explicitly generate some XSL FO code (e.g., an extension in the rx: namespace)? Or will it be only those places for which there is actually some reference? (The last choice seems unlikely, because the references will be in a different document entirely.) 2) How "big" (e.g., how many bytes) will the PDF code for a single "named destination"? As David may recall, I have already encountered a problem of extreme PDF file sizes caused by vast numbers of internal references, which I have currently disabled (but would like to re-enable when possible). If every element with an ID attribute results in adding 50 or 100 bytes (never mind 200 or 300 bytes!) to the PDF file, this is likely to be prohibitive! 3) Have you guys made any progress in reducing the size of the PDF code corresponding to a "hot link" within a single PDF file? When I last used that so prolifically, it was something like 250 to 300 bytes per reference. You told me then that you might be able to reduce to as little as 150 bytes, which would make a very significant difference to me. Can you update me on this situation? Again, MANY THANKS! Jim At 10:47 2003-04-18 +0400 Friday, you wrote: >Jim, > > > The only idea I've had so far is to write a new XSLT stylesheet that > > processes each of my documents (one at a time, manually --- since I >haven't > > gotten around to worrying about scripting issues) and outputs some sort of > > file containing nothing beyond the "values" of every symbol in that > > document. Then, when I'm processing document 5 through my "real" > > stylesheet, it would somehow access all of the "symbol" files and pick up > > the chapter/section number and title. > > > > Question 1) Does that seem like a reasonable approach? Are there better > > approaches that I have managed to overlook or suppress? > >I wonder why do you need a separate"symbol" file. If all parts are similar >in their structure, you can set up a generic template to exract >section/chapter >references from both local and remote documents. To automate the thing, >you will need an index of all parts to map numbers to file names, >conveniently >specified in a separate XML file. More or less like this (untested, just to >show >the idea): > >parts-index.xml: > > > > > ... > > > >Stylesheet (very roughly): > > > select="document('parts-index')/parts/part"/> > > > > > > > > count="chapter | section" from="$root" /> > > > > > > > internal-destination={@ref}> > > > > > > > > > > >external-destination="url(file://{$filename}.pdf#{@ref})"> > > > > > > > > > Question 2) Would it be better if that "symbol" file were a plain text >file > > (how would I access such information in XSLT?) or an XML file (something > > like > title="Concepts/>)? I assume that the > > information contained in an XML file would be more easily accessed in my >XSLT. > >That's true. But my suggestion is to work directly from source files, >without >intermediate data. Using document() function, you can work conveniently >with multiple source files. > > > Question 3) Once I have that information, how can I turn the text (e.g., > > Section 4.2, "Data types", in Part 2) into a "hot link" that will cause > > Acrobat to open the file containing part 2 and position it at the start of > > Section 4.2 --- or at least on the same page? (I'm aware of the > > external-destination attribute, but have not been successful at making > > referenced PDF documents open at the right place.) > >This requires support for named destinations in PDF files produced >by XEP. It is not yet available in the current version, but already >implemented and under final testing; so in few weeks at most it will >be delivered to XEP users. The syntax will be as follows: > >external-destination="url(file://somefile.pdf#someplace)" > >will open PDF file 'somefile.pdf' in the same Acrobat window (without >going to a browser) and jump to a named destination 'someplace' inside it. >Named destinations will be created by @id attributes in the source FO; >so the above URL would bring you to the same place as >internal-destination="someplace" in somefile.fo. That's what I tried >to show in the above sample code. > >(I can unveil a secret: the above syntax for file links works even in the >current version. Named destinations are not created however; >so referenced PDF documents always open at the first page). > >Best regards, >Nikolai Grigoriev >RenderX > > >------------------- >(*) To unsubscribe, send a message with words 'unsubscribe xep-support' >in the body of the message to majordomo at renderx.com from the address >you are subscribed from. >(*) By using the Service, you expressly agree to these Terms of Service >http://www.renderx.com/tos.html ======================================================================== Jim Melton --- Editor of ISO/IEC 9075-* (SQL) Phone: +1.801.942.0144 Oracle Corporation Oracle Email: mailto:jim.melton at oracle.com 1930 Viscounti Drive Standards email: mailto:jim.melton at acm.org Sandy, UT 84093-1063 Personal email: mailto:jim at melton.name USA Fax : +1.801.942.3345 ======================================================================== = Facts are facts. However, any opinions expressed are the opinions = = only of myself and may or may not reflect the opinions of anybody = = else with whom I may or may not have discussed the issues at hand. = ======================================================================== ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From jim.melton at acm.org Sat Apr 19 15:41:47 2003 From: jim.melton at acm.org (Jim Melton) Date: Sat, 19 Apr 2003 16:41:47 -0600 Subject: [xep-support] Feature suggestion Message-ID: <4.3.2.7.2.20030419163642.03d98938@gmstimap.oraclecorp.com> Today, I generate (create XML, transform to XSL FO, render to PDF) documents with multiple page-numbering schemes. For example, a hypothetical document's pages might begin with page "i" (the cover page) and continue through page "x", then start renumbering at page "1" and continue through page "220". Those are the values that I print at the bottom of each page. When I open the PDF file generated by XEP 3.2.2 in Acrobat, the "page number" box at the lower left of the Acrobat window indicates (in my hypothetical example) pages 1 through 230 instead of i through x and 1 through 220. Of course, I can manually renumber using Acrobat's Document -> Number Pages capability so the display in that "page number" box matches the page number printed at the bottom of each page, but that's tedious and a bit error prone. Is it possible for XEP to generate PDF with the pages already properly numbered from Acrobat's point of view? If that capability is already available, I cannot find it. If not, could it be provided? Thanks! Jim ======================================================================== Jim Melton --- Editor of ISO/IEC 9075-* (SQL) Phone: +1.801.942.0144 Oracle Corporation Oracle Email: mailto:jim.melton at oracle.com 1930 Viscounti Drive Standards email: mailto:jim.melton at acm.org Sandy, UT 84093-1063 Personal email: mailto:jim at melton.name USA Fax : +1.801.942.3345 ======================================================================== = Facts are facts. However, any opinions expressed are the opinions = = only of myself and may or may not reflect the opinions of anybody = = else with whom I may or may not have discussed the issues at hand. = ======================================================================== ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From dvd at renderx.com Sat Apr 19 22:49:52 2003 From: dvd at renderx.com (David Tolpin) Date: Sun, 20 Apr 2003 10:49:52 +0500 (AMST) Subject: [xep-support] Feature suggestion In-Reply-To: from "Jim Melton" at Apr 19, 2003 04:41:47 PM Message-ID: <200304200549.h3K5nqmc033791@adat.davidashen.net> > > Is it possible for XEP to generate PDF with the pages already properly > numbered from Acrobat's point of view? > > If that capability is already available, I cannot find it. If not, could > it be provided? Jim, this functionality is a long waiting one in our 'TODO' list. We will surely implement it (in fact, we are half the way towards it), but I cannot promise any timeline. David ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From dvd at renderx.com Sat Apr 19 22:55:22 2003 From: dvd at renderx.com (David Tolpin) Date: Sun, 20 Apr 2003 10:55:22 +0500 (AMST) Subject: [xep-support] Re: NullPointerException In-Reply-To: from "Jim Melton" at Apr 19, 2003 04:24:53 PM Message-ID: <200304200555.h3K5tapX033932@adat.davidashen.net> Jim, your message was rejected by the list manager because it was too long. Thank you for the bug report, we will be looking into the problem and provide a fix soon (hopefully). David > > Sigh... > > I built a very small XML file with which to test a modification I wanted to > make to my stylesheet that generates XSL FO. This small file is really an > existing document that is successfully transformed into XSL FO and then > successfully rendered into PDF, but with 99% of the document content > deleted and the remaining headers, etc. modified to ensure I recognize the > test I'm running ;^) > > It transformed to XSL FO just fine, but rendering it into PDF with XEP > 3.2.2 yielded this: > > {!Exception in thread "main" java.lang.NullPointerException > at com.renderx.xep.lib.EventLogger.info(EventLogger.java:216) > at com.renderx.xep.lib.EventLogger.error(EventLogger.java:249) > at com.renderx.xep.Driver.log(Driver.java:302) > at com.renderx.xep.Driver.main(Driver.java:428) > > Curiously, it generated a file whose extension says that it's a PDF file, > but Acrobat cannot open it ("There was an error opening this document. The > file is damaged and cannot be repaired.") > > I have attached to this message a ZIP file containing my XML source file, > its associated DTD, the stylesheet used to transform XML to XSL FO, and the > XSL FO file itself. I've also included the PDF file in the ZIP file, in > case it offers any clues. > > I hope I'm just doing something incredibly obvious and silly! > > Help, as always, is deeply appreciated, > Jim ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From jim.melton at acm.org Sun Apr 20 11:41:58 2003 From: jim.melton at acm.org (Jim Melton) Date: Sun, 20 Apr 2003 12:41:58 -0600 Subject: [xep-support] Feature suggestion In-Reply-To: <200304200549.h3K5nqmc033791@adat.davidashen.net> References: Message-ID: <4.3.2.7.2.20030420124132.049e7728@gmstimap.oraclecorp.com> David, Fair enough! Thanks for the quick response. Thanks, J At 10:49 2003-04-20 +0500 Sunday, you wrote: > > > > Is it possible for XEP to generate PDF with the pages already properly > > numbered from Acrobat's point of view? > > > > If that capability is already available, I cannot find it. If not, could > > it be provided? > >Jim, > >this functionality is a long waiting one in our 'TODO' list. We >will surely implement it (in fact, we are half the way towards >it), but I cannot promise any timeline. ======================================================================== Jim Melton --- Editor of ISO/IEC 9075-* (SQL) Phone: +1.801.942.0144 Oracle Corporation Oracle Email: mailto:jim.melton at oracle.com 1930 Viscounti Drive Standards email: mailto:jim.melton at acm.org Sandy, UT 84093-1063 Personal email: mailto:jim at melton.name USA Fax : +1.801.942.3345 ======================================================================== = Facts are facts. However, any opinions expressed are the opinions = = only of myself and may or may not reflect the opinions of anybody = = else with whom I may or may not have discussed the issues at hand. = ======================================================================== ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From WSwain at nutracorp.com Mon Apr 21 12:07:20 2003 From: WSwain at nutracorp.com (Wick Swain) Date: Mon, 21 Apr 2003 13:07:20 -0600 Subject: [xep-support] display-align problems Message-ID: The book "XSL-FO" published by O'Reilly instructs that to align text in the bottom of a table cell I should specify the following cell attribute: display-align="after" I've tried this and no matter what value I specify for the "display-align" attribute, my text is always vertically centered The XEP spec sheet shows that display-align is supported so please let me know if this is not what "display-align" does or if I am somehow mis-using it. I will include an example below. Thanks. -Wick Swain I expect this text to appear at the bottom of the cell, but it is vertically centered instead -------------- next part -------------- An HTML attachment was scrubbed... URL: From PIERRES at hthk.com Mon Apr 21 23:30:27 2003 From: PIERRES at hthk.com (PIERRES at hthk.com) Date: Tue, 22 Apr 2003 14:30:27 +0800 Subject: [xep-support] Does XEP support Chinese characters? Message-ID: Hello, I want to know whether I can embed a chinese font in XEP for postscript output. If so, which types of font I can use? Thanks! Pierre So -------------- next part -------------- An HTML attachment was scrubbed... URL: From peshkov at renderx.com Tue Apr 22 00:57:03 2003 From: peshkov at renderx.com (Alexander Peshkov) Date: Tue, 22 Apr 2003 11:57:03 +0400 Subject: [xep-support] display-align problems In-Reply-To: References: Message-ID: <1642618445.20030422115703@renderx.com> Hello Wick, In your example you have table with only one table cell without any dimensions specified. In such a case table will shrink to minimum necessary size to accommodate it's content. display-align would not have any effect since where is no empty space in block progression dimension. In this particular case 'centering' effect is just a result of placement 9pt high text in 50pt high line. I suppose you wanted to have 50pt high table cell with 9pt high text aligned at the bottom. To achieve this you should wrap you fo:table-cell in fo:table-row with height="50pt" instead of line-height. Take a look at example below: I expect this text to appear at the bottom of the cell. Hope this helps. Best regards, Alexander Peshkov mailto:peshkov at renderx.com RenderX WS> The book "XSL-FO" published by O'Reilly instructs that to align text in WS> the bottom of a table cell I should specify the following cell WS> attribute: WS> display-align="after" WS> I've tried this and no matter what value I specify for the WS> "display-align" attribute, my text is always vertically centered The WS> XEP spec sheet shows that display-align is supported so please let me WS> know if this is not what "display-align" does or if I am somehow WS> mis-using it. WS> I will include an example below. WS> Thanks. WS> -Wick Swain WS> WS> > WS> WS> WS> WS> WS> WS> WS> WS> WS> WS> WS> WS> border="1.0pt solid black"> WS> I expect this text to WS> appear at the bottom of the cell, but it is vertically centered WS> instead WS> WS> WS> WS> WS> WS> ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From peshkov at renderx.com Tue Apr 22 01:29:15 2003 From: peshkov at renderx.com (Alexander Peshkov) Date: Tue, 22 Apr 2003 12:29:15 +0400 Subject: [xep-support] Does XEP support Chinese characters? In-Reply-To: References: Message-ID: <1494550112.20030422122915@renderx.com> Hello Pierre, Current version of XEP doesn't support two byte encodings in PostScript. The only possible workaround I can suggest is to render your document to PDF and transform it into PostScript using some third party tool (i.e. Acrobat Distiller). Best regards, Alexander Peshkov mailto:peshkov at renderx.com RenderX Phc> Hello, Phc> I want to know whether I can embed a chinese font in XEP for postscript Phc> output. Phc> If so, which types of font I can use? Phc> Thanks! Phc> Pierre So ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From PIERRES at hthk.com Tue Apr 22 03:05:48 2003 From: PIERRES at hthk.com (PIERRES at hthk.com) Date: Tue, 22 Apr 2003 18:05:48 +0800 Subject: [xep-support] Does XEP support Chinese characters? Message-ID: Hi Alexander, Thanks for your reply! But I could like to know when will XEP support double byte characters? Thanks! Pierre So -----Original Message----- From: Alexander Peshkov [mailto:peshkov at renderx.com] Sent: Tuesday, April 22, 2003 4:29 PM To: PIERRES at hthk.com Subject: Re: [xep-support] Does XEP support Chinese characters? Hello Pierre, Current version of XEP doesn't support two byte encodings in PostScript. The only possible workaround I can suggest is to render your document to PDF and transform it into PostScript using some third party tool (i.e. Acrobat Distiller). Best regards, Alexander Peshkov mailto:peshkov at renderx.com RenderX Phc> Hello, Phc> I want to know whether I can embed a chinese font in XEP for postscript Phc> output. Phc> If so, which types of font I can use? Phc> Thanks! Phc> Pierre So ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From dvd at renderx.com Tue Apr 22 06:03:13 2003 From: dvd at renderx.com (David Tolpin) Date: Tue, 22 Apr 2003 18:03:13 +0500 (AMST) Subject: [xep-support] Does XEP support Chinese characters? In-Reply-To: from "PIERRES@hthk.com" at Apr 22, 2003 06:05:48 PM Message-ID: <200304221303.h3MD3DJu001797@adat.davidashen.net> > > Hi Alexander, > > Thanks for your reply! > But I could like to know when will XEP support double byte characters? > Pierre, we have been recently redesigned our Postscript backend in order to make future enhancements possible. We will be working on more features in Postscript output in the coming months. David Tolpin RenderX ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From relliquest at planet.nl Tue Apr 22 11:13:22 2003 From: relliquest at planet.nl (Jim Quest) Date: Tue, 22 Apr 2003 20:13:22 +0200 Subject: [xep-support] external graphics as embedded-PDF In-Reply-To: <200304172315.h3HNF0Hj000414@adat.davidashen.net> Message-ID: <003d01c308fa$dc6aaa50$1400000a@amd> Dear All, Am I understanding it correctly that XEP is able to embed pre-existing PDFs into its output? With the lack of SVG support, I am considering creating PDF-renditions of my graphics and embedding them into my final output. However, I am unable to find documentation about how to embed PDFs. Help! ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From Lagemaat at oriana-automatisering.com Tue Apr 22 12:17:24 2003 From: Lagemaat at oriana-automatisering.com (Geurt Lagemaat) Date: Tue, 22 Apr 2003 21:17:24 +0200 Subject: [xep-support] Processing inline symbols Message-ID: <000501c30903$ce2ea0a0$0200a8c0@CC24129b> Dear list, I have a XML source document like: Some sample text here with a ÝA; radical symbol from the Symbol font and a A0; closed block symbol from the ZapfDingbats font. The contents of the text-element is formatted with the Times Roman font. The question is how do I assign the correct font to the symbols inside the text element? Regards, Geurt Lagemaat Oriana Automatisering ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From cleeds at medata.com Tue Apr 22 13:08:26 2003 From: cleeds at medata.com (Clay Leeds) Date: Tue, 22 Apr 2003 13:08:26 -0700 Subject: [xep-support] Processing inline symbols In-Reply-To: <000501c30903$ce2ea0a0$0200a8c0@CC24129b> References: <000501c30903$ce2ea0a0$0200a8c0@CC24129b> Message-ID: <3EA5A13A.4060402@medata.com> I believe you would format it like this: Some sample text here with a ÝA; radical symbol from the Symbol font and a A0; closed block symbol from the ZapfDingbats font. That *should* do it. If you have problems, you might look here (in your FOP directory) for more information: examples\fo\advanced\cid-fonts.pdf Hope this helps! Web Maestro Clay Geurt Lagemaat wrote: > Dear list, > > I have a XML source document like: > Some sample text here with a ÝA; radical symbol from the Symbol > font and a A0; closed block symbol from the ZapfDingbats font. > > The contents of the text-element is formatted with the Times Roman font. The > question is how do I assign the correct font to the symbols inside the text > element? > > > Regards, > > Geurt Lagemaat > Oriana Automatisering > > > ------------------- > (*) To unsubscribe, send a message with words 'unsubscribe xep-support' > in the body of the message to majordomo at renderx.com from the address > you are subscribed from. > (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html -- Clay Leeds - cleeds at medata.com Web Developer - Medata, Inc. - http://www.medata.com PGP Public Key: https://mail.medata.com/pgp/cleeds.asc ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From eliot at isogen.com Tue Apr 22 13:27:28 2003 From: eliot at isogen.com (W. Eliot Kimber) Date: Tue, 22 Apr 2003 15:27:28 -0500 Subject: [xep-support] Processing inline symbols References: <000501c30903$ce2ea0a0$0200a8c0@CC24129b> <3EA5A13A.4060402@medata.com> Message-ID: <3EA5A5B0.3090302@isogen.com> Clay Leeds wrote: > I believe you would format it like this: > > Some sample text here with a font-family="Symbol">ÝA; radical symbol from the Symbol > font and a A0; > closed block symbol from the ZapfDingbats font. You should also be able to simply put the appropriate symbol font at the end of the list of fonts you are using, e.g.: The use or non-use of UTF-8 will not affect your ability to refer to any character, although it may affect the ability of your text editor or content management system to correctly handle the file. Using numeric character references, as in the example above, is the safest approach but should never be necessary unless you are using tools that cannot handle Unicode characters above 255 correctly (for example, editors that can only handle pure ASCII). Cheers, Eliot -- W. Eliot Kimber, eliot at isogen.com Consultant, ISOGEN International 1016 La Posada Dr., Suite 240 Austin, TX 78752 Phone: 512.656.4139 ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From Kevin.Ross at iVerticalLeap.com Tue Apr 22 16:19:45 2003 From: Kevin.Ross at iVerticalLeap.com (Kevin Ross) Date: Tue, 22 Apr 2003 18:19:45 -0500 Subject: [xep-support] Ant Task ClassCastException Message-ID: <014d01c30925$a9e76520$7801a8c0@upstairs> I get a java.lang.ClassCastException when trying to use the ant task. I have tried multiple variations on the classpaths, with no luck. FYI- I am a moderately experienced ANT user, so it seems to me that my paths are correct. I have no source to the task, and there is no stack trace, so I can't possibly have a clue what is wrong. The complaint is on the call to I am using: XEP331 xep3ant100 Apache Ant version 1.5.1 compiled on October 2 2002 JDK 1.4.1 WIN XP PRO Any thoughts are appreciated, Kevin Ross ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From PIERRES at hthk.com Wed Apr 23 04:04:18 2003 From: PIERRES at hthk.com (PIERRES at hthk.com) Date: Wed, 23 Apr 2003 19:04:18 +0800 Subject: [xep-support] Does XEP support Chinese characters? Message-ID: Hi David, I have another issue about Chinese font. I am not able to generate PDF file using Chinese TrueType font, it always prompt me "There was an error processing a page. There was a problem reading this document (122)" in acrobat reader. But XEP has no error reported. Could you have any ideas to solve it? Thanks! Pierre So -----Original Message----- From: David Tolpin [mailto:dvd at renderx.com] Sent: Tuesday, April 22, 2003 9:03 PM To: xep-support at renderx.com Subject: Re: [xep-support] Does XEP support Chinese characters? > > Hi Alexander, > > Thanks for your reply! > But I could like to know when will XEP support double byte characters? > Pierre, we have been recently redesigned our Postscript backend in order to make future enhancements possible. We will be working on more features in Postscript output in the coming months. David Tolpin RenderX ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From Lagemaat at oriana-automatisering.com Wed Apr 23 05:07:46 2003 From: Lagemaat at oriana-automatisering.com (Geurt Lagemaat) Date: Wed, 23 Apr 2003 14:07:46 +0200 Subject: [xep-support] Processing inline symbols In-Reply-To: <3EA5A5B0.3090302@isogen.com> Message-ID: <000b01c30990$f3fe3650$0200a8c0@CC24129b> W. Eliot Kimber wrote: >You should also be able to simply put the appropriate symbol font at the >end of the list of fonts you are using, e.g.: > Thank you, this approach works. There is something strange however. In: ∗ = asteriskmath symbol, √ radical symbol and ∝ proportional symbol only the asteriskmath and the proportional symbols are printed but NOT the radical symbol. The symbol entry in fonts.xml looks like: The stylesheet is using: 'Times Roman', Symbol, 'Zapf Dingbats' Any idea? >The use or non-use of UTF-8 will not affect your ability to refer to any >character, although it may affect the ability of your text editor or >content management system to correctly handle the file. Using numeric >character references, as in the example above, is the safest approach >but should never be necessary unless you are using tools that cannot >handle Unicode characters above 255 correctly (for example, editors that >can only handle pure ASCII). We still working with ascii encoding for some reasons (CMS and tooling). Regards, Geurt Lagemaat Oriana Automatisering ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From peshkov at renderx.com Wed Apr 23 06:58:29 2003 From: peshkov at renderx.com (Alexander Peshkov) Date: Wed, 23 Apr 2003 17:58:29 +0400 Subject: [xep-support] Ant Task ClassCastException In-Reply-To: <014d01c30925$a9e76520$7801a8c0@upstairs> References: <014d01c30925$a9e76520$7801a8c0@upstairs> Message-ID: <338594698.20030423175829@renderx.com> Hello Kevin, Just add XEPTask.jar to the Ant CLASSPATH and the problem will gone. I mean CLASSPATH of the environment where Ant is being executed. By the way, in XEP Ant Task documentation it is stated as a first step of configuration. :-) Best regards, Alexander Peshkov mailto:peshkov at renderx.com RenderX KR> I get a java.lang.ClassCastException when trying to use the ant task. I KR> have tried multiple variations on the classpaths, with no luck. FYI- I KR> am a moderately experienced ANT user, so it seems to me that my paths KR> are correct. I have no source to the task, and there is no stack trace, KR> so I can't possibly have a clue what is wrong. KR> The complaint is on the call to KR> I am using: KR> XEP331 KR> xep3ant100 KR> Apache Ant version 1.5.1 compiled on October 2 2002 KR> JDK 1.4.1 KR> WIN XP PRO KR> Any thoughts are appreciated, KR> Kevin Ross KR> KR> KR> default="printWarehouseWorksheetSummary"> KR> KR> KR> KR> KR> KR> KR> KR> value="${home.jacobson}/templates/batch/batchRouteAndPick.xsl"/> KR> KR> KR> KR> KR> KR> classpathref="xep-classpath"/> KR> KR> KR> KR> KR> KR> KR> KR> KR> KR> style="${print.xsl}" format="PDF"> KR> KR> value="${home.xep}"/> KR> > KR> KR> KR> KR> KR> ------------------- KR> (*) To unsubscribe, send a message with words 'unsubscribe xep-support' KR> in the body of the message to majordomo at renderx.com from the address KR> you are subscribed from. KR> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From peshkov at renderx.com Wed Apr 23 06:58:47 2003 From: peshkov at renderx.com (Alexander Peshkov) Date: Wed, 23 Apr 2003 17:58:47 +0400 Subject: [xep-support] Does XEP support Chinese characters? In-Reply-To: References: Message-ID: <468612944.20030423175847@renderx.com> Hello Pierre, It looks like a problem with font embedding. What kind of font are you using? Could you send me an except from your fonts.xml file related to this font? (you may send the whole file) Best regards, Alexander Peshkov mailto:peshkov at renderx.com RenderX Phc> Hi David, Phc> I have another issue about Chinese font. Phc> I am not able to generate PDF file using Chinese TrueType font, Phc> it always prompt me "There was an error processing a page. There was a Phc> problem reading this document (122)" in acrobat reader. Phc> But XEP has no error reported. Phc> Could you have any ideas to solve it? Phc> Thanks! Phc> Pierre So Phc> -----Original Message----- Phc> From: David Tolpin [mailto:dvd at renderx.com] Phc> Sent: Tuesday, April 22, 2003 9:03 PM Phc> To: xep-support at renderx.com Phc> Subject: Re: [xep-support] Does XEP support Chinese characters? >> >> Hi Alexander, >> >> Thanks for your reply! >> But I could like to know when will XEP support double byte characters? >> Phc> Pierre, Phc> we have been recently redesigned our Postscript backend in order Phc> to make future enhancements possible. We will be working on more Phc> features in Postscript output in the coming months. Phc> David Tolpin Phc> RenderX Phc> ------------------- Phc> (*) To unsubscribe, send a message with words 'unsubscribe xep-support' Phc> in the body of the message to majordomo at renderx.com from the address Phc> you are subscribed from. Phc> (*) By using the Service, you expressly agree to these Terms of Service Phc> http://www.renderx.com/tos.html Phc> ------------------- Phc> (*) To unsubscribe, send a message with words 'unsubscribe xep-support' Phc> in the body of the message to majordomo at renderx.com from the address Phc> you are subscribed from. Phc> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From eliot at isogen.com Wed Apr 23 07:15:10 2003 From: eliot at isogen.com (W. Eliot Kimber) Date: Wed, 23 Apr 2003 09:15:10 -0500 Subject: [xep-support] Processing inline symbols References: <000b01c30990$f3fe3650$0200a8c0@CC24129b> Message-ID: <3EA69FEE.5080006@isogen.com> Geurt Lagemaat wrote: > Thank you, this approach works. There is something strange however. In: > > ∗ = asteriskmath symbol, √ radical symbol and ∝ > proportional symbol > > only the asteriskmath and the proportional symbols are printed but NOT the > radical symbol. This always means that a glyph for the character is not available in any of the fonts specified. On Win2K you can use the CharMap utility to see what glyphs a font actually provides. Fonts are evaluated in the order listed in the font-family property, so the first font that has a glyph for a character determines what glyph shows up (you can demonstrate this by putting your dingbats or greek font first in the list and see what happens :-)). I also find it useful to put a dingbat or wingdings-type font as the only global font to make sure that all flow objects are having their fonts set appropriately at a lower level when using a root-level font is not appropriate (for example, where different page sequences use very different fonts such that a single default font is not useful). Cheers, Eliot -- W. Eliot Kimber, eliot at isogen.com Consultant, ISOGEN International 1016 La Posada Dr., Suite 240 Austin, TX 78752 Phone: 512.656.4139 ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From Kevin.Ross at iVerticalLeap.com Wed Apr 23 08:32:10 2003 From: Kevin.Ross at iVerticalLeap.com (Kevin Ross) Date: Wed, 23 Apr 2003 09:32:10 -0600 Subject: [xep-support] Ant Task ClassCastException In-Reply-To: <338594698.20030423175829@renderx.com> Message-ID: <00e201c309ad$85f0d150$74caa8c0@ISS> >>By the way, in XEP Ant Task documentation it is stated as a first step >>of configuration. :-) I can read, thanks ;) Since the client administrator with little knowledge of Java is deploying this package, I am trying to make the installation steps as few/simple as possible, otherwise I have to spend time supporting the installation process, time and time again. Is there a reason why the does not work with a @classpathref in this case? @see http://ant.apache.org/manual/CoreTasks/taskdef.html Using this method of throwing all jars for all new tasks in the ANT environment seems quite intrusive and unnecessary. If I had to do this with each new taskdef for each script, the ANT lib directory would be crowded. This script defines and provides a valid classpath. My question is: why doesn't my script work with your ANT task when it has with others? -Kevin -----Original Message----- From: owner-xep-support at www.renderx.com [mailto:owner-xep-support at www.renderx.com] On Behalf Of Alexander Peshkov Sent: Wednesday, April 23, 2003 7:58 AM To: Kevin Ross Subject: Re: [xep-support] Ant Task ClassCastException Hello Kevin, Just add XEPTask.jar to the Ant CLASSPATH and the problem will gone. I mean CLASSPATH of the environment where Ant is being executed. By the way, in XEP Ant Task documentation it is stated as a first step of configuration. :-) Best regards, Alexander Peshkov mailto:peshkov at renderx.com RenderX KR> I get a java.lang.ClassCastException when trying to use the ant task. I KR> have tried multiple variations on the classpaths, with no luck. FYI- I KR> am a moderately experienced ANT user, so it seems to me that my paths KR> are correct. I have no source to the task, and there is no stack trace, KR> so I can't possibly have a clue what is wrong. KR> The complaint is on the call to KR> I am using: KR> XEP331 KR> xep3ant100 KR> Apache Ant version 1.5.1 compiled on October 2 2002 KR> JDK 1.4.1 KR> WIN XP PRO KR> Any thoughts are appreciated, KR> Kevin Ross KR> KR> KR> default="printWarehouseWorksheetSummary"> KR> KR> KR> KR> KR> KR> KR> KR> value="${home.jacobson}/templates/batch/batchRouteAndPick.xsl"/> KR> KR> KR> KR> KR> KR> classpathref="xep-classpath"/> KR> KR> KR> KR> KR> KR> KR> KR> KR> KR> style="${print.xsl}" format="PDF"> KR> KR> value="${home.xep}"/> KR> > KR> KR> KR> KR> KR> ------------------- KR> (*) To unsubscribe, send a message with words 'unsubscribe xep-support' KR> in the body of the message to majordomo at renderx.com from the address KR> you are subscribed from. KR> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From dvd at renderx.com Wed Apr 23 08:08:10 2003 From: dvd at renderx.com (David Tolpin) Date: Wed, 23 Apr 2003 20:08:10 +0500 (AMST) Subject: [xep-support] Ant Task ClassCastException In-Reply-To: <00e201c309ad$85f0d150$74caa8c0@ISS> from "Kevin Ross" at Apr 23, 2003 09:32:10 AM Message-ID: <200304231508.h3NF8Ami011146@adat.davidashen.net> > Is there a reason why the does not work with a @classpathref > in this case? @see http://ant.apache.org/manual/CoreTasks/taskdef.html > Kevin, RenderX has allocated as many human resources as it found feasible at a particular stage of development to Ant task. XEPTask can be efficiently used for launching XEP and eliminating startup overhead. It is stable and documented. It is provided as an optional component and does what it is intended for for each kind of licenses it is supplied with. Users willing to improve or modify XEP Task are welcome to license Developer (including stamped) or Server (including stamped) editions of the software and obtain the source code. The licenses will include dedicated e-mail support, patches and fixes are welcome and credits are given. The reason behind a particular design of each of XEP components is to provide stable and usable code within constraints imposed by the development process. David Tolpin CTO RenderX ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From Kevin.Ross at iVerticalLeap.com Wed Apr 23 10:03:03 2003 From: Kevin.Ross at iVerticalLeap.com (Kevin Ross) Date: Wed, 23 Apr 2003 11:03:03 -0600 Subject: [xep-support] Ant Task ClassCastException In-Reply-To: <200304231508.h3NF8Ami011146@adat.davidashen.net> Message-ID: <00ec01c309ba$375cc6e0$74caa8c0@ISS> Hello David, How would I implore my client to spend more for a developer license and access to the source, only to make a fix and submit it to you? I will pay you so I can fix it myself and make it work properly, then give you the fix for free? David, I am an open-source advocate, and I am very active in the community. If you will open your source to the ANT task to me, I would be willing to look into the problem, as well as share a fix with RenderX. I will not however, pay more to fix your product/accessory. Please forgive my tone, I am responding defensively as I see your message in the offense. I am trying to solve a problem, not criticize any particular solution you have to date. Kevin Ross -----Original Message----- From: owner-xep-support at www.renderx.com [mailto:owner-xep-support at www.renderx.com] On Behalf Of David Tolpin Sent: Wednesday, April 23, 2003 9:08 AM To: xep-support at renderx.com Subject: Re: [xep-support] Ant Task ClassCastException > Is there a reason why the does not work with a @classpathref > in this case? @see http://ant.apache.org/manual/CoreTasks/taskdef.html > Kevin, RenderX has allocated as many human resources as it found feasible at a particular stage of development to Ant task. XEPTask can be efficiently used for launching XEP and eliminating startup overhead. It is stable and documented. It is provided as an optional component and does what it is intended for for each kind of licenses it is supplied with. Users willing to improve or modify XEP Task are welcome to license Developer (including stamped) or Server (including stamped) editions of the software and obtain the source code. The licenses will include dedicated e-mail support, patches and fixes are welcome and credits are given. The reason behind a particular design of each of XEP components is to provide stable and usable code within constraints imposed by the development process. David Tolpin CTO RenderX ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From dvd at renderx.com Wed Apr 23 09:10:22 2003 From: dvd at renderx.com (David Tolpin) Date: Wed, 23 Apr 2003 21:10:22 +0500 (AMST) Subject: [xep-support] Ant Task ClassCastException -- offtopic In-Reply-To: <00ec01c309ba$375cc6e0$74caa8c0@ISS> from "Kevin Ross" at Apr 23, 2003 11:03:03 AM Message-ID: <200304231610.h3NGAM8R011967@adat.davidashen.net> This thread is off-topic for xep-support. If you have further questions please continue privately. David Tolpin RenderX ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From bobs at sco.com Wed Apr 23 10:25:43 2003 From: bobs at sco.com (Bob Stayton) Date: Wed, 23 Apr 2003 10:25:43 -0700 Subject: [xep-support] conditional page break? Message-ID: <20030423102543.B7915@sco.com> Is there any way to implement a conditional "need" page break in XSL-FO and XEP? I know about keeps, but sometimes it is hard to code a stylesheet to handle all the possible combinations of elements and block nesting to get the right keep working. What I'm looking for is an FO instruction that says "if I don't have x inches of space left on the current page, break to the next page". This is like the old troff .ne instruction. Is this possible? -- Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 The SCO Group fax: (831) 429-1887 email: bobs at sco.com ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From WSwain at nutracorp.com Wed Apr 23 15:15:18 2003 From: WSwain at nutracorp.com (Wick Swain) Date: Wed, 23 Apr 2003 16:15:18 -0600 Subject: [xep-support] Message-ID: Is anyone out there using the "display-align" attribute of ? Is there a better way to align text at the bottom of a table cell (I can't get it to go anywhere except in the center of the cell). According to the XEP site display-align is supported, but I haven't been able to make it work. Thanks for any info. -Wick Swain -------------- next part -------------- An HTML attachment was scrubbed... URL: From skorgen at intersystems.com Thu Apr 24 11:37:44 2003 From: skorgen at intersystems.com (Susan Korgen) Date: Thu, 24 Apr 2003 14:37:44 -0400 Subject: [xep-support] Required "path" values for XEP? Message-ID: <03Apr24.145259edt.119592@gateway.intersystems.com> I've just installed Java 1.4.1 and the XEP trial. I can't run any of the XEP commands. For example, this simple test fails: java com.renderx.xep.XSLDriver -help This failure takes the form of an unknown command or inability to find the file or library, no matter where my current directory is when I issue the command. I'm not experienced with Java or XEP, but I do think the problems I'm having would be erased if I knew what my system PATH and CLASSPATH values are supposed to be for XEP. My CLASSPATH value has no setting, currently, and my PATH is quite boring. Thanks for any advice. Susan ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From WSwain at nutracorp.com Thu Apr 24 14:49:13 2003 From: WSwain at nutracorp.com (Wick Swain) Date: Thu, 24 Apr 2003 15:49:13 -0600 Subject: [xep-support] Adobe Postscript Fonts in XEP Message-ID: Does XEP allow me to use Adobe Postscript fonts in my pdf output? When I specify a postscript font that is installed on my machine I get the following error: could not find a font matching 'GillSans-Condensed', trying 'Helvetica' I know this is not an acrobat issue, because I am able to select the font from Acrobat. Any ideas on how to use and embed postscript fonts in a pdf file would be appreciated Thanks. =Wick Swain -------------- next part -------------- An HTML attachment was scrubbed... URL: From WSwain at nutracorp.com Thu Apr 24 17:23:04 2003 From: WSwain at nutracorp.com (Wick Swain) Date: Thu, 24 Apr 2003 18:23:04 -0600 Subject: [xep-support] Adobe Postscript Fonts in XEP Message-ID: Found it in the useguide, ch 5. Sorry for not checking here first. I am still perplexed with my earlier "display-align" issue, though, which the XEP Spec (spec.pdf - p7) says is supported. Is anyone successfully using this attribute? Thanks. -Wick -----Original Message----- From: Wick Swain Sent: Thursday, April 24, 2003 3:49 PM To: xep-support at www.renderx.com Subject: [xep-support] Adobe Postscript Fonts in XEP Does XEP allow me to use Adobe Postscript fonts in my pdf output? When I specify a postscript font that is installed on my machine I get the following error: could not find a font matching 'GillSans-Condensed', trying 'Helvetica' I know this is not an acrobat issue, because I am able to select the font from Acrobat. Any ideas on how to use and embed postscript fonts in a pdf file would be appreciated Thanks. =Wick Swain -------------- next part -------------- An HTML attachment was scrubbed... URL: From gkholman at CraneSoftwrights.com Thu Apr 24 19:52:14 2003 From: gkholman at CraneSoftwrights.com (G. Ken Holman) Date: Thu, 24 Apr 2003 22:52:14 -0400 Subject: [xep-support] In-Reply-To: Message-ID: <5.2.0.9.0.20030424225039.02b34990@pop.storm.ca> At 2003-04-23 16:15 -0600, Wick Swain wrote: >Is anyone out there using the display-alignattribute of ? Sure! A working example is below. >Is there a better way to align text at the bottom of a table cell (I cant >get it to go anywhere except in the center of the cell). According to the >XEP site display-align is supported, but I havent been able to make it work. Works just fine ... not sure why it isn't working for you. Your subject line is showing an *empty* table-cell element ... but I suspect that is just a typo. ....................... Ken This is a test of three cells in a table Hello world Hello world Hello world
-- Upcoming hands-on courses: Europe (XSLT/XPath): May 5, 2003 - Europe (XSL-FO): May 16, 2003 - (XSLT/XPath and/or XSL-FO) North America: June 16-20, 2003 G. Ken Holman mailto:gkholman at CraneSoftwrights.com Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) ISBN 0-13-065196-6 Definitive XSLT and XPath ISBN 0-13-140374-5 Definitive XSL-FO ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-10-1 Practical Formatting Using XSL-FO Male Breast Cancer Awareness http://www.CraneSoftwrights.com/f/bc ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From PIERRES at hthk.com Thu Apr 24 21:30:19 2003 From: PIERRES at hthk.com (PIERRES at hthk.com) Date: Fri, 25 Apr 2003 12:30:19 +0800 Subject: [xep-support] Does XEP support Chinese characters? Message-ID: Hello, Thanks for your helpful support! I found the problem of chinese output in pdf was solved. I downloaded the asia font pack for acrobat reader in www.adobe.com, and I choose using the open type font MSungStd-Light-Acro defined in fonts.xml. I found it's fine since the rendering speed was as normal and also the pdf size was small. But I still want to handle the chinese output for postscript. Because our postscript printer has some residential chinese fonts, I tried to use the same approach as the pdf one to generate a postscript file and then patch postscript file to replace the MSungStd-Light-Acro font name with the printer's chinese font name. But problem arised, I found the postscript file's chinese characters was different from the original .fo file one. I tried to put four chinese characters for test, i.e. ???? (in hex: A46A A470 B371 A659) which is in Big-5 encoding, Our printer's internal chinese font also use Big-5 encoding, but the characters in postscript file become "Y'\\\017 032T\003" (the middle two spaces are two nonprintable characters 90 5C in hex). Could I have any way to force the XEP not alter the chinese characters in the postscript output? Pierre So -----Original Message----- From: Alexander Peshkov [mailto:peshkov at renderx.com] Sent: Wednesday, April 23, 2003 9:59 PM To: PIERRES at hthk.com Subject: Re[2]: [xep-support] Does XEP support Chinese characters? Hello Pierre, It looks like a problem with font embedding. What kind of font are you using? Could you send me an except from your fonts.xml file related to this font? (you may send the whole file) Best regards, Alexander Peshkov mailto:peshkov at renderx.com RenderX Phc> Hi David, Phc> I have another issue about Chinese font. Phc> I am not able to generate PDF file using Chinese TrueType font, Phc> it always prompt me "There was an error processing a page. There was a Phc> problem reading this document (122)" in acrobat reader. Phc> But XEP has no error reported. Phc> Could you have any ideas to solve it? Phc> Thanks! Phc> Pierre So Phc> -----Original Message----- Phc> From: David Tolpin [mailto:dvd at renderx.com] Phc> Sent: Tuesday, April 22, 2003 9:03 PM Phc> To: xep-support at renderx.com Phc> Subject: Re: [xep-support] Does XEP support Chinese characters? >> >> Hi Alexander, >> >> Thanks for your reply! >> But I could like to know when will XEP support double byte characters? >> Phc> Pierre, Phc> we have been recently redesigned our Postscript backend in order Phc> to make future enhancements possible. We will be working on more Phc> features in Postscript output in the coming months. Phc> David Tolpin Phc> RenderX Phc> ------------------- Phc> (*) To unsubscribe, send a message with words 'unsubscribe xep-support' Phc> in the body of the message to majordomo at renderx.com from the address Phc> you are subscribed from. Phc> (*) By using the Service, you expressly agree to these Terms of Service Phc> http://www.renderx.com/tos.html Phc> ------------------- Phc> (*) To unsubscribe, send a message with words 'unsubscribe xep-support' Phc> in the body of the message to majordomo at renderx.com from the address Phc> you are subscribed from. Phc> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From peshkov at renderx.com Fri Apr 25 01:50:18 2003 From: peshkov at renderx.com (Alexander Peshkov) Date: Fri, 25 Apr 2003 12:50:18 +0400 Subject: [xep-support] Does XEP support Chinese characters? In-Reply-To: References: Message-ID: <114987199.20030425125018@renderx.com> Hello Pierre, Unfortunately, as I mentioned in my previous letter, two byte encodings are not supported in XEP PostScript output yet. Please follow the announcements. Best regards, Alexander Peshkov mailto:peshkov at renderx.com RenderX Phc> Hello, Phc> Thanks for your helpful support! Phc> I found the problem of chinese output in pdf was solved. Phc> I downloaded the asia font pack for acrobat reader in www.adobe.com, Phc> and I choose using the open type font MSungStd-Light-Acro defined in Phc> fonts.xml. Phc> I found it's fine since the rendering speed was as normal and also the pdf Phc> size was small. Phc> But I still want to handle the chinese output for postscript. Phc> Because our postscript printer has some residential chinese fonts, Phc> I tried to use the same approach as the pdf one to generate a postscript Phc> file Phc> and then patch postscript file to replace the MSungStd-Light-Acro font name Phc> with the printer's chinese font name. Phc> But problem arised, I found the postscript file's chinese characters was Phc> different from the original .fo file one. Phc> I tried to put four chinese characters for test, i.e. ???? (in hex: A46A Phc> A470 B371 A659) which is in Big-5 encoding, Phc> Our printer's internal chinese font also use Big-5 encoding, Phc> but the characters in postscript file become "Y'\\\017 032T\003" (the Phc> middle two spaces are two nonprintable characters 90 5C in hex). Phc> Could I have any way to force the XEP not alter the chinese characters in Phc> the postscript output? Phc> Pierre So Phc> -----Original Message----- Phc> From: Alexander Peshkov [mailto:peshkov at renderx.com] Phc> Sent: Wednesday, April 23, 2003 9:59 PM Phc> To: PIERRES at hthk.com Phc> Subject: Re[2]: [xep-support] Does XEP support Chinese characters? Phc> Hello Pierre, Phc> It looks like a problem with font embedding. What kind of font are you Phc> using? Could you send me an except from your fonts.xml file related to this Phc> font? (you may send the whole file) Phc> Best regards, Phc> Alexander Peshkov mailto:peshkov at renderx.com Phc> RenderX Phc>> Hi David, Phc>> I have another issue about Chinese font. Phc>> I am not able to generate PDF file using Chinese TrueType font, Phc>> it always prompt me "There was an error processing a page. There was a Phc>> problem reading this document (122)" in acrobat reader. Phc>> But XEP has no error reported. Phc>> Could you have any ideas to solve it? Phc>> Thanks! Phc>> Pierre So Phc>> -----Original Message----- Phc>> From: David Tolpin [mailto:dvd at renderx.com] Phc>> Sent: Tuesday, April 22, 2003 9:03 PM Phc>> To: xep-support at renderx.com Phc>> Subject: Re: [xep-support] Does XEP support Chinese characters? >>> >>> Hi Alexander, >>> >>> Thanks for your reply! >>> But I could like to know when will XEP support double byte characters? >>> Phc>> Pierre, Phc>> we have been recently redesigned our Postscript backend in order Phc>> to make future enhancements possible. We will be working on more Phc>> features in Postscript output in the coming months. Phc>> David Tolpin Phc>> RenderX Phc>> ------------------- Phc>> (*) To unsubscribe, send a message with words 'unsubscribe xep-support' Phc>> in the body of the message to majordomo at renderx.com from the address Phc>> you are subscribed from. Phc>> (*) By using the Service, you expressly agree to these Terms of Service Phc>> http://www.renderx.com/tos.html Phc>> ------------------- Phc>> (*) To unsubscribe, send a message with words 'unsubscribe xep-support' Phc>> in the body of the message to majordomo at renderx.com from the address Phc>> you are subscribed from. Phc>> (*) By using the Service, you expressly agree to these Terms of Service Phc> http://www.renderx.com/tos.html Phc> ------------------- Phc> (*) To unsubscribe, send a message with words 'unsubscribe xep-support' Phc> in the body of the message to majordomo at renderx.com from the address Phc> you are subscribed from. Phc> (*) By using the Service, you expressly agree to these Terms of Service Phc> http://www.renderx.com/tos.html Phc> ------------------- Phc> (*) To unsubscribe, send a message with words 'unsubscribe xep-support' Phc> in the body of the message to majordomo at renderx.com from the address Phc> you are subscribed from. Phc> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From peshkov at renderx.com Fri Apr 25 01:56:20 2003 From: peshkov at renderx.com (Alexander Peshkov) Date: Fri, 25 Apr 2003 12:56:20 +0400 Subject: [xep-support] Required "path" values for XEP? In-Reply-To: <03Apr24.145259edt.119592@gateway.intersystems.com> References: <03Apr24.145259edt.119592@gateway.intersystems.com> Message-ID: <1891349210.20030425125620@renderx.com> Hello Susan, Please try to use standard launch scripts included in distribution (xep.bat for Windows, xep.sh for Unix/Linux). They already contain all necessary parameters. Please refer to "XEP User Guide" for XEP configuration details. Best regards, Alexander Peshkov mailto:peshkov at renderx.com RenderX SK> I've just installed Java 1.4.1 and the XEP trial. I can't run any of the SK> XEP commands. SK> For example, this simple test fails: java com.renderx.xep.XSLDriver -help SK> This failure takes the form of an unknown command or inability to find the SK> file or library, SK> no matter where my current directory is when I issue the command. SK> I'm not experienced with Java or XEP, but I do think the problems I'm SK> having would be erased SK> if I knew what my system PATH and CLASSPATH values are supposed to be for XEP. SK> My CLASSPATH value has no setting, currently, and my PATH is quite boring. SK> Thanks for any advice. SK> Susan SK> ------------------- SK> (*) To unsubscribe, send a message with words 'unsubscribe xep-support' SK> in the body of the message to majordomo at renderx.com from the address SK> you are subscribed from. SK> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From PIERRES at hthk.com Fri Apr 25 03:11:58 2003 From: PIERRES at hthk.com (PIERRES at hthk.com) Date: Fri, 25 Apr 2003 18:11:58 +0800 Subject: [xep-support] Does XEP support Chinese characters? Message-ID: Hi Alex, I know XEP currently not support double byte characters. But I just try to do some post-processing of XEP postscript output to fulfull our need. I am trying another way as a workaround. Let the chinese characters I tested before pretend to be an ascii string, and I encode the string in xml as follows: ¤j¤p³q¦Y but the postscript output is as follows: (\000?\000j\000?\000p\000?\000q\000?\000Y) Every characters have a prefix character \000. If I removed all the \000 characters from the above string, the result matched the previous encoded string in XML. How could you prevent the \000 characters output as above? I wish my questions won't bother you too much. Pierre So -----Original Message----- From: Alexander Peshkov [mailto:peshkov at renderx.com] Sent: Friday, April 25, 2003 4:50 PM To: PIERRES at hthk.com Subject: Re[4]: [xep-support] Does XEP support Chinese characters? Hello Pierre, Unfortunately, as I mentioned in my previous letter, two byte encodings are not supported in XEP PostScript output yet. Please follow the announcements. Best regards, Alexander Peshkov mailto:peshkov at renderx.com RenderX Phc> Hello, Phc> Thanks for your helpful support! Phc> I found the problem of chinese output in pdf was solved. Phc> I downloaded the asia font pack for acrobat reader in www.adobe.com, Phc> and I choose using the open type font MSungStd-Light-Acro defined in Phc> fonts.xml. Phc> I found it's fine since the rendering speed was as normal and also the pdf Phc> size was small. Phc> But I still want to handle the chinese output for postscript. Phc> Because our postscript printer has some residential chinese fonts, Phc> I tried to use the same approach as the pdf one to generate a postscript Phc> file Phc> and then patch postscript file to replace the MSungStd-Light-Acro font name Phc> with the printer's chinese font name. Phc> But problem arised, I found the postscript file's chinese characters was Phc> different from the original .fo file one. Phc> I tried to put four chinese characters for test, i.e. ???? (in hex: A46A Phc> A470 B371 A659) which is in Big-5 encoding, Phc> Our printer's internal chinese font also use Big-5 encoding, Phc> but the characters in postscript file become "Y'\\\017 032T\003" (the Phc> middle two spaces are two nonprintable characters 90 5C in hex). Phc> Could I have any way to force the XEP not alter the chinese characters in Phc> the postscript output? Phc> Pierre So Phc> -----Original Message----- Phc> From: Alexander Peshkov [mailto:peshkov at renderx.com] Phc> Sent: Wednesday, April 23, 2003 9:59 PM Phc> To: PIERRES at hthk.com Phc> Subject: Re[2]: [xep-support] Does XEP support Chinese characters? Phc> Hello Pierre, Phc> It looks like a problem with font embedding. What kind of font are you Phc> using? Could you send me an except from your fonts.xml file related to this Phc> font? (you may send the whole file) Phc> Best regards, Phc> Alexander Peshkov mailto:peshkov at renderx.com Phc> RenderX Phc>> Hi David, Phc>> I have another issue about Chinese font. Phc>> I am not able to generate PDF file using Chinese TrueType font, Phc>> it always prompt me "There was an error processing a page. There was a Phc>> problem reading this document (122)" in acrobat reader. Phc>> But XEP has no error reported. Phc>> Could you have any ideas to solve it? Phc>> Thanks! Phc>> Pierre So Phc>> -----Original Message----- Phc>> From: David Tolpin [mailto:dvd at renderx.com] Phc>> Sent: Tuesday, April 22, 2003 9:03 PM Phc>> To: xep-support at renderx.com Phc>> Subject: Re: [xep-support] Does XEP support Chinese characters? >>> >>> Hi Alexander, >>> >>> Thanks for your reply! >>> But I could like to know when will XEP support double byte characters? >>> Phc>> Pierre, Phc>> we have been recently redesigned our Postscript backend in order Phc>> to make future enhancements possible. We will be working on more Phc>> features in Postscript output in the coming months. Phc>> David Tolpin Phc>> RenderX Phc>> ------------------- Phc>> (*) To unsubscribe, send a message with words 'unsubscribe xep-support' Phc>> in the body of the message to majordomo at renderx.com from the address Phc>> you are subscribed from. Phc>> (*) By using the Service, you expressly agree to these Terms of Service Phc>> http://www.renderx.com/tos.html Phc>> ------------------- Phc>> (*) To unsubscribe, send a message with words 'unsubscribe xep-support' Phc>> in the body of the message to majordomo at renderx.com from the address Phc>> you are subscribed from. Phc>> (*) By using the Service, you expressly agree to these Terms of Service Phc> http://www.renderx.com/tos.html Phc> ------------------- Phc> (*) To unsubscribe, send a message with words 'unsubscribe xep-support' Phc> in the body of the message to majordomo at renderx.com from the address Phc> you are subscribed from. Phc> (*) By using the Service, you expressly agree to these Terms of Service Phc> http://www.renderx.com/tos.html Phc> ------------------- Phc> (*) To unsubscribe, send a message with words 'unsubscribe xep-support' Phc> in the body of the message to majordomo at renderx.com from the address Phc> you are subscribed from. Phc> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From skorgen at intersystems.com Fri Apr 25 09:15:27 2003 From: skorgen at intersystems.com (Susan Korgen) Date: Fri, 25 Apr 2003 12:15:27 -0400 Subject: [xep-support] Required "path" values for XEP? In-Reply-To: <03Apr25.052335edt.119532@gateway.intersystems.com> References: <03Apr24.145259edt.119592@gateway.intersystems.com> <03Apr24.145259edt.119592@gateway.intersystems.com> Message-ID: <03Apr25.123105edt.120196@gateway.intersystems.com> Hello Alexander, Thank you very much for responding. The user guide (as provided with the trial version) has no information about Windows launch scripts that I could find. Nor did any of the readme.txt files and so forth. Thanks for the tip. Yes, in this degenerate age, a full-time Windows user can be THAT ignorant of command-line usage ("what's a launch file?") ! I invoked the xep.bat launch file that you suggested for Windows. I invoked it using the -xml, -xsl, and -format -pdf options, as shown in the user guide pages 3-4. My sources were the XEP example files. Everything worked great. Nice job. I will be trying some of my own XML and XSL files next. Susan At 12:56 PM 4/25/2003 +0400, you wrote: >Hello Susan, > >Please try to use standard launch scripts included in distribution >(xep.bat for Windows, xep.sh for Unix/Linux). They already contain all >necessary parameters. Please refer to "XEP User Guide" for XEP >configuration details. > >Best regards, >Alexander Peshkov mailto:peshkov at renderx.com >RenderX > > >SK> I've just installed Java 1.4.1 and the XEP trial. I can't run any of the >SK> XEP commands. > >SK> For example, this simple test fails: java com.renderx.xep.XSLDriver -help > >SK> This failure takes the form of an unknown command or inability to find >the >SK> file or library, >SK> no matter where my current directory is when I issue the command. > >SK> I'm not experienced with Java or XEP, but I do think the problems I'm >SK> having would be erased >SK> if I knew what my system PATH and CLASSPATH values are supposed to be >for XEP. >SK> My CLASSPATH value has no setting, currently, and my PATH is quite boring. > >SK> Thanks for any advice. >SK> Susan > >SK> ------------------- >SK> (*) To unsubscribe, send a message with words 'unsubscribe xep-support' >SK> in the body of the message to majordomo at renderx.com from the address >SK> you are subscribed from. >SK> (*) By using the Service, you expressly agree to these Terms of >Service http://www.renderx.com/tos.html > > >------------------- >(*) To unsubscribe, send a message with words 'unsubscribe xep-support' >in the body of the message to majordomo at renderx.com from the address >you are subscribed from. >(*) By using the Service, you expressly agree to these Terms of Service >http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From skorgen at intersystems.com Fri Apr 25 09:59:38 2003 From: skorgen at intersystems.com (Susan Korgen) Date: Fri, 25 Apr 2003 12:59:38 -0400 Subject: [xep-support] problem with DBX2PDF.XSL ? Message-ID: <03Apr25.131526edt.119383@gateway.intersystems.com> When I run the XEP 3.3.1 trial on one of our DocBook XML files, I get the error message shown in the attachment to this email. The offending text seems to be in the XEP-supplied sample file, dbx2pdf.xsl. The snippet below contains the only instances of "content-width" or "content-height" that I could find in any xml, dtd, mod, ent, or xsl file. It is from dbx2pdf.xsl: % % What's up? Thanks, Susan -------------- next part -------------- A non-text attachment was scrubbed... Name: XEPErrors2.bmp Type: application/octet-stream Size: 83762 bytes Desc: not available URL: From bobs at sco.com Fri Apr 25 11:07:07 2003 From: bobs at sco.com (Bob Stayton) Date: Fri, 25 Apr 2003 11:07:07 -0700 Subject: [xep-support] problem with DBX2PDF.XSL ? In-Reply-To: <03Apr25.131526edt.119383@gateway.intersystems.com>; from skorgen@intersystems.com on Fri, Apr 25, 2003 at 12:59:38PM -0400 References: <03Apr25.131526edt.119383@gateway.intersystems.com> Message-ID: <20030425110707.C13992@sco.com> On Fri, Apr 25, 2003 at 12:59:38PM -0400, Susan Korgen wrote: > When I run the XEP 3.3.1 trial on one of our DocBook XML files, I get the > error message shown in the attachment to this email. This comment at the top of dbx2pdf.xsl suggests that it might not be appropriate for your own DocBook files: -- Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 The SCO Group fax: (831) 429-1887 email: bobs at sco.com ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From skorgen at intersystems.com Fri Apr 25 13:40:11 2003 From: skorgen at intersystems.com (Susan Korgen) Date: Fri, 25 Apr 2003 16:40:11 -0400 Subject: [xep-support] problem with DBX2PDF.XSL ? In-Reply-To: <03Apr25.144004edt.119394@gateway.intersystems.com> References: <03Apr25.131526edt.119383@gateway.intersystems.com> <03Apr25.131526edt.119383@gateway.intersystems.com> Message-ID: <03Apr25.165616edt.120441@gateway.intersystems.com> I think there is hope. Remember these lines from DBX2PDF.XSL? % % I commented out those lines and ran my same test again. Everything worked great (I have a 57-page PDF output file!) except for column width in the tables. For each instance of bad column width in the PDF output file, XEP reported an error message to the console screen. I thought this was good. But the errors shouldn't happen. These new errors might be related to the 4 lines of code I commented out. Or not. It seems to me that they are. I've heard there are a number of issues, some open and some resolved, that relate to the mapping of table specifications from XML to PDF. Have I stumbled upon one of these well-known issues? If so, what then? But regardless of how well or badly XEP is handling tables these days, there's no avoiding the observation that the error I originally reported in this email thread is triggered by source text found only in DBX2PDF.XSL. It's not as though XEP has encountered some weird element in my XML file, or in one of my DTDs, that it can't handle. In my test, XEP did encounter plenty of weird things, and it did handle them: by making them into ordinary paragraphs in the PDF output file. That I can work with, by fine-tuning the stylesheet later on. That is not the problem. First, DBX2PDF.XSL should have correct syntax. That is, the XEP tool should be willing to accept the syntax that is provided in its own example stylesheets. Next, we'll see if I continue to have problems with tables. Pointers? Thank you so much. Susan At 11:07 AM 4/25/2003 -0700, you wrote: >On Fri, Apr 25, 2003 at 12:59:38PM -0400, Susan Korgen wrote: > > When I run the XEP 3.3.1 trial on one of our DocBook XML files, I get the > > error message shown in the attachment to this email. > >This comment at the top of dbx2pdf.xsl suggests that it >might not be appropriate for your own DocBook files: > > > > > > >-- > >Bob Stayton 400 Encinal Street >Publications Architect Santa Cruz, CA 95060 >Technical Publications voice: (831) 427-7796 >The SCO Group fax: (831) 429-1887 > email: bobs at sco.com >------------------- >(*) To unsubscribe, send a message with words 'unsubscribe xep-support' >in the body of the message to majordomo at renderx.com from the address >you are subscribed from. >(*) By using the Service, you expressly agree to these Terms of Service >http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From dvd at renderx.com Fri Apr 25 13:58:01 2003 From: dvd at renderx.com (David Tolpin) Date: Sat, 26 Apr 2003 01:58:01 +0500 (AMST) Subject: [xep-support] problem with DBX2PDF.XSL ? In-Reply-To: from "Susan Korgen" at Apr 25, 2003 04:40:11 PM Message-ID: <200304252058.h3PKw1vr032736@adat.davidashen.net> Susan, dbx2pdf.xsl is a stylesheet originated two years ago and used to format our documentation; by no way it is a general-purpose tool to format DocBook XML. Meanwhile, XEP can be (and actually is) used to convert DocBook documents to PDF. Detailed instructions and links to resources are available at: http://xep.xattic.com/xep/usage/docbooktk.html Sincerely, David Tolpin RenderX > > I think there is hope. Remember these lines from DBX2PDF.XSL? > ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From skorgen at intersystems.com Fri Apr 25 14:45:54 2003 From: skorgen at intersystems.com (Susan Korgen) Date: Fri, 25 Apr 2003 17:45:54 -0400 Subject: [xep-support] problem with DBX2PDF.XSL ? In-Reply-To: <03Apr25.172934edt.120268@gateway.intersystems.com> References: Message-ID: <03Apr25.180151edt.119486@gateway.intersystems.com> Thanks, I will look into it. At 01:58 AM 4/26/2003 +0500, you wrote: >Susan, > >dbx2pdf.xsl is a stylesheet originated two years ago and used >to format our documentation; by no way it is a general-purpose >tool to format DocBook XML. > >Meanwhile, XEP can be (and actually is) used to convert DocBook >documents to PDF. Detailed instructions and links to resources >are available at: > > http://xep.xattic.com/xep/usage/docbooktk.html > >Sincerely, >David Tolpin >RenderX > > > > > I think there is hope. Remember these lines from DBX2PDF.XSL? > > >------------------- >(*) To unsubscribe, send a message with words 'unsubscribe xep-support' >in the body of the message to majordomo at renderx.com from the address >you are subscribed from. >(*) By using the Service, you expressly agree to these Terms of Service >http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From PIERRES at hthk.com Fri Apr 25 19:13:19 2003 From: PIERRES at hthk.com (PIERRES at hthk.com) Date: Sat, 26 Apr 2003 10:13:19 +0800 Subject: FW: Re[4]: [xep-support] Does XEP support Chinese characters? Message-ID: Hi Alex, I found the problem was solved again. I found XEP always convert each character reference entity into a double byte characters in postscript output. So I changed the previous encoding as follows: ꑪꑰ덱ꙙ Then the output was what I expected. But if character reference entity always become two byte characters in postscript output, I could like to know how I could output a normal ascii characters (i.e. one btye only) using character reference entity. Thanks! Pierre So -----Original Message----- From: Pierre So (HTHK - Senior Systems Analyst, IITB) Sent: Friday, April 25, 2003 6:12 PM To: 'xep-support at renderx.com' Subject: RE: Re[4]: [xep-support] Does XEP support Chinese characters? Hi Alex, I know XEP currently not support double byte characters. But I just try to do some post-processing of XEP postscript output to fulfull our need. I am trying another way as a workaround. Let the chinese characters I tested before pretend to be an ascii string, and I encode the string in xml as follows: ¤j¤p³q¦Y but the postscript output is as follows: (\000?\000j\000?\000p\000?\000q\000?\000Y) Every characters have a prefix character \000. If I removed all the \000 characters from the above string, the result matched the previous encoded string in XML. How could you prevent the \000 characters output as above? I wish my questions won't bother you too much. Pierre So -----Original Message----- From: Alexander Peshkov [mailto:peshkov at renderx.com] Sent: Friday, April 25, 2003 4:50 PM To: PIERRES at hthk.com Subject: Re[4]: [xep-support] Does XEP support Chinese characters? Hello Pierre, Unfortunately, as I mentioned in my previous letter, two byte encodings are not supported in XEP PostScript output yet. Please follow the announcements. Best regards, Alexander Peshkov mailto:peshkov at renderx.com RenderX Phc> Hello, Phc> Thanks for your helpful support! Phc> I found the problem of chinese output in pdf was solved. Phc> I downloaded the asia font pack for acrobat reader in www.adobe.com, Phc> and I choose using the open type font MSungStd-Light-Acro defined in Phc> fonts.xml. Phc> I found it's fine since the rendering speed was as normal and also the pdf Phc> size was small. Phc> But I still want to handle the chinese output for postscript. Phc> Because our postscript printer has some residential chinese fonts, Phc> I tried to use the same approach as the pdf one to generate a postscript Phc> file Phc> and then patch postscript file to replace the MSungStd-Light-Acro font name Phc> with the printer's chinese font name. Phc> But problem arised, I found the postscript file's chinese characters was Phc> different from the original .fo file one. Phc> I tried to put four chinese characters for test, i.e. ???? (in hex: A46A Phc> A470 B371 A659) which is in Big-5 encoding, Phc> Our printer's internal chinese font also use Big-5 encoding, Phc> but the characters in postscript file become "Y'\\\017 032T\003" (the Phc> middle two spaces are two nonprintable characters 90 5C in hex). Phc> Could I have any way to force the XEP not alter the chinese characters in Phc> the postscript output? Phc> Pierre So Phc> -----Original Message----- Phc> From: Alexander Peshkov [mailto:peshkov at renderx.com] Phc> Sent: Wednesday, April 23, 2003 9:59 PM Phc> To: PIERRES at hthk.com Phc> Subject: Re[2]: [xep-support] Does XEP support Chinese characters? Phc> Hello Pierre, Phc> It looks like a problem with font embedding. What kind of font are you Phc> using? Could you send me an except from your fonts.xml file related to this Phc> font? (you may send the whole file) Phc> Best regards, Phc> Alexander Peshkov mailto:peshkov at renderx.com Phc> RenderX Phc>> Hi David, Phc>> I have another issue about Chinese font. Phc>> I am not able to generate PDF file using Chinese TrueType font, Phc>> it always prompt me "There was an error processing a page. There was a Phc>> problem reading this document (122)" in acrobat reader. Phc>> But XEP has no error reported. Phc>> Could you have any ideas to solve it? Phc>> Thanks! Phc>> Pierre So Phc>> -----Original Message----- Phc>> From: David Tolpin [mailto:dvd at renderx.com] Phc>> Sent: Tuesday, April 22, 2003 9:03 PM Phc>> To: xep-support at renderx.com Phc>> Subject: Re: [xep-support] Does XEP support Chinese characters? >>> >>> Hi Alexander, >>> >>> Thanks for your reply! >>> But I could like to know when will XEP support double byte characters? >>> Phc>> Pierre, Phc>> we have been recently redesigned our Postscript backend in order Phc>> to make future enhancements possible. We will be working on more Phc>> features in Postscript output in the coming months. Phc>> David Tolpin Phc>> RenderX Phc>> ------------------- Phc>> (*) To unsubscribe, send a message with words 'unsubscribe xep-support' Phc>> in the body of the message to majordomo at renderx.com from the address Phc>> you are subscribed from. Phc>> (*) By using the Service, you expressly agree to these Terms of Service Phc>> http://www.renderx.com/tos.html Phc>> ------------------- Phc>> (*) To unsubscribe, send a message with words 'unsubscribe xep-support' Phc>> in the body of the message to majordomo at renderx.com from the address Phc>> you are subscribed from. Phc>> (*) By using the Service, you expressly agree to these Terms of Service Phc> http://www.renderx.com/tos.html Phc> ------------------- Phc> (*) To unsubscribe, send a message with words 'unsubscribe xep-support' Phc> in the body of the message to majordomo at renderx.com from the address Phc> you are subscribed from. Phc> (*) By using the Service, you expressly agree to these Terms of Service Phc> http://www.renderx.com/tos.html Phc> ------------------- Phc> (*) To unsubscribe, send a message with words 'unsubscribe xep-support' Phc> in the body of the message to majordomo at renderx.com from the address Phc> you are subscribed from. Phc> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From ulf.carlsson at semcon.se Mon Apr 28 01:28:40 2003 From: ulf.carlsson at semcon.se (Ulf Carlsson) Date: Mon, 28 Apr 2003 10:28:40 +0200 Subject: [xep-support] Default font for XEP Message-ID: Hello, If there's no font-family specified in the fo-document, what is XEP default font? Thanks in advanced Ulf -------------- next part -------------- An HTML attachment was scrubbed... URL: From peshkov at renderx.com Mon Apr 28 07:42:45 2003 From: peshkov at renderx.com (Alexander Peshkov) Date: Mon, 28 Apr 2003 18:42:45 +0400 Subject: [xep-support] Default font for XEP In-Reply-To: References: Message-ID: <19111371591.20030428184245@renderx.com> Hello Ulf, XEP use font family set by FALLBACK_FONT_FAMILY property when where is no font specified or font specified in the XSL FO document cannot be found. 'Helvetica' ia a default value of this property. Please refer to "XEP 3.x User Guide" for additional details about XEP options. Best regards, Alexander Peshkov mailto:peshkov at renderx.com RenderX UC> Hello, UC> If there's no font-family specified in the fo-document, UC> what is XEP default font? UC> Thanks in advanced UC> Ulf ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From mikeferrando at yahoo.com Mon Apr 28 14:25:14 2003 From: mikeferrando at yahoo.com (Mike Ferrando) Date: Mon, 28 Apr 2003 14:25:14 -0700 (PDT) Subject: [xep-support] XEP Postscript fonts and unicode (5.3) Message-ID: <20030428212514.94699.qmail@web10102.mail.yahoo.com> Friends, I was reading over 5.3. PostScript Fonts and Unicode (userguide.pdf). I was wondering what the next step is to embed these fonts. Before in Apache I created xml files using java and then added them to my userconfig.xml (fonts.xml) so that they could be found. However, that did not embed the fonts. The userguide.pdf reads: With XEP, it is possible to use such fonts, and access characters from them by their regular Unicode values. All you need is to write an extension to the Adobe Glyph List, in the same format as the original AGL 1.2 file. The file is then registered in the font description inside fonts.xml: glyph-list attribute of a ?font? element contains a path to the extended glyph list. All glyph names not mentioned in the extension will get their default Unicode positions. Note that glyph lists are ascribed to single fonts: different fonts in your system may use different glyph naming systems. "write an extension"... How do I do this? When I do it where is the file place, in the XEP folders or in the Acrobat folders? I will be using NCR (&# 299;) not '&#i macron'. I did find sites like this that you can download fonts with full unicode (like the ones they are talking about making here). I can down load these files and unpack them. But where do they need to be? http://igloo.its.unimelb.edu.au/linux-online/ghostscript.html ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/ But again, what is the last step to link all this together so that I get the same charents.pdf as seen at the XEP site? http://www.renderx.com/testcases.html Have you run the charents.fo on your XEP and did it turn out the same as the pdf at their site? If so, let me have just a little more of your kind help and I will be up and running. Thanks, Mike Ferrando Washington, DC C:\XEP>xep -fo charents.fo -pdf charents.pdf (document (validate {?file:/C:/XEP/charents.fo: line 5: [warning] Non-zero padding on 'fo:region-bod y' is a RenderX extension.} {?file:/C:/XEP/charents.fo: line 5: [warning] Non-zero border on 'fo:region-body ' is a RenderX extension.} {?file:/C:/XEP/charents.fo: line 8: [warning] Non-zero padding on 'fo:region-bod y' is a RenderX extension.} {?file:/C:/XEP/charents.fo: line 8: [warning] Non-zero border on 'fo:region-body ' is a RenderX extension.} {?file:/C:/XEP/charents.fo: line 9: [warning] Non-zero padding on 'fo:region-bef ore' is a RenderX extension.} [validation total: 5 warnings]) [system-id file:/C:/XEP/charents.fo] (compile (masters (sequence-master [master-name first-page])(sequence-master [ma ster-name all-pages])(sequence-master [master-name sequence])) (sequence [master-reference sequence](static-content [flow-name xsl-region-befor e])(flow [flow-name xsl-region-body] {?could not find a font matching 'NewtonAM Bold', trying 'Helvetica'} {?could not find a font matching 'TimesCyr Bold', trying 'Helvetica'} {?could not find a font matching 'NewtonAM', trying 'Helvetica'} {?could not find a font matching 'NewtonAM Italic', trying 'Helvetica'} ))) (format (sequence [master-reference sequence](flow [page-number 1][page-number 2]) (static-content [page-number 1][page-number 2][region-name xsl-region-before]) )) (generate [output-format pdf][page-number 1][page-number 2])) C:\XEP> __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From Kevin.Ross at iVerticalLeap.com Mon Apr 28 18:57:27 2003 From: Kevin.Ross at iVerticalLeap.com (Kevin Ross) Date: Mon, 28 Apr 2003 20:57:27 -0500 Subject: [xep-support] XEP 3 + XALAN In-Reply-To: <7716932727.20030404160216@renderx.com> Message-ID: <007401c30df2$b0cf7ae0$7801a8c0@upstairs> I am getting a ClassNotFoundException when I try to utilize Xalan and Xerces (latest stable release 2.5.0). Has anyone else seen this problem? [java] java.lang.NoClassDefFoundError: com/jclark/xsl/sax/XSLProcessorImpl [java] at com.renderx.xep.Driver.init(Driver.java:30) [java] at com.renderx.xep.XSLDriver.main(XSLDriver.java:276) [java] Exception in thread "main" Here are all the parameters: [java] Executing 'C:\Program Files\Java\j2re1.4.1_01\bin\java.exe' with arguments: [java] '-Djava.endorsed.dirs=c:\jacobson\lib' [java] '-Xmx256m' [java] '-Dcom.renderx.xep.VALIDATE=false' [java] '-Dcom.renderx.xep.ROOT=E:\tools\XEP-3.3.1' [java] '-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.Tra nsformerFactoryImpl' [java] '-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFa ctoryImpl' [java] '-classpath' [java] 'E:\tools\XEP-3.3.1\lib\cryptix32-pgp.jar;E:\tools\XEP-3.3.1\lib\cryptix 32.jar;E:\tools\XEP-3.3.1\lib\xep331_client_stamped.jar;C:\jacobson\lib\ xalan-2.5.0.jar;C:\jacobson\lib\xerces-2.4.0.jar;C:\jacobson\lib\xml-api s.jar' [java] 'com.renderx.xep.XSLDriver' [java] '-quiet' [java] '-xml' [java] 'c:\jacobson/bin/print/input.xml' [java] '-xsl' [java] 'c:\jacobson/templates/batch/batchRouteAndPick.xsl' [java] '-pdf' [java] 'c:\jacobson/bin/print/output.pdf' [java] [java] The ' characters around the executable and arguments are [java] not part of the command. FYI- I am using the ANT task to perform this, but it is just mimicking what the xep.bat does. Note that I have already proven this method is working with the saxon.jar and xt.jar, so I have ruled out a bad script. Now I just need to get some Xalan specific functionality, hence the need for the JAXP switch. Thanks in advance, Kevin Ross -----Original Message----- From: owner-xep-support at www.renderx.com [mailto:owner-xep-support at www.renderx.com] On Behalf Of Alexander Peshkov Sent: Friday, April 04, 2003 6:02 AM To: idealcms at gmx.de Subject: Re: [xep-support] XEP 3 + XALAN Hello Jan, XEP is JAXP-aware: it is therefore possible to replace Saxon with Xalan. Presuming that you use the latest Xalan (2.5), you will need the following modifications in xep.bat: - in the classpath, replace saxon.jar by jars from Xalan: xalan.jar, xercesImpl.jar, and xml-apis.jar; - add system properties to the Java call. to pick Xalan as the default XSLT processor and Xerces as the default parser: -Djavax.xml.transform.TransformerFactory= org.apache.xalan.processor.TransformerFactoryImpl -Djavax.xml.parsers.SAXParserFactory= org.apache.xerces.jaxp.SAXParserFactoryImpl Best regards, Alexander Peshkov mailto:peshkov at renderx.com RenderX igd> Hi, igd> is there a possibility to use XALAN (extensions) with XEP 3+? igd> Kind regards, igd> Jan ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From Kevin.Ross at iVerticalLeap.com Mon Apr 28 19:10:10 2003 From: Kevin.Ross at iVerticalLeap.com (Kevin Ross) Date: Mon, 28 Apr 2003 21:10:10 -0500 Subject: [xep-support] XEP 3 + XALAN In-Reply-To: <7716932727.20030404160216@renderx.com> Message-ID: <007501c30df4$7721f000$7801a8c0@upstairs> My initial message still hasn't shown yet, so here are my findings so far: Xep.bat uses com.renderx.xep.XSLDriver, so I took a look at transform.bat, and saw the com.renderx.xep.JAXPDriver. I've altered the script to use the JAXPDriver, but, same exception, different stack trace: [java] java.lang.NoClassDefFoundError: com/jclark/xsl/sax/XSLProcessorImpl [java] at com.renderx.xep.Driver.init(Driver.java:30) [java] at com.renderx.xep.JAXPDriver.(JAXPDriver.java:189) [java] at com.renderx.xep.JAXPDriver.(JAXPDriver.java:163) [java] at com.renderx.xep.JAXPDriver.main(JAXPDriver.java:130) [java] Exception in thread "main" Here's the parameters: [java] Executing 'C:\Program Files\Java\j2re1.4.1_01\bin\java.exe' with arguments: [java] '-Djava.endorsed.dirs=c:\jacobson\lib' [java] '-Xmx256m' [java] '-Dcom.renderx.xep.VALIDATE=false' [java] '-Dcom.renderx.xep.ROOT=E:\tools\XEP-3.3.1' [java] '-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.Tra nsformerFactoryImpl' [java] '-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFa ctoryImpl' [java] '-classpath' [java] 'E:\tools\XEP-3.3.1\lib\cryptix32-pgp.jar;E:\tools\XEP-3.3.1\lib\cryptix 32.jar;E:\tools\XEP-3.3.1\lib\xep331_client_stamped.jar;C:\jacobson\lib\ xalan-2.5.0.jar;C:\jacobson\lib\xerces-2.4.0.jar;C:\jacobson\lib\xml-api s.jar' [java] 'com.renderx.xep.JAXPDriver' [java] '-xml' [java] 'c:\jacobson/bin/print/input.xml' [java] '-xsl' [java] 'c:\jacobson/templates/batch/batchRouteAndPick.xsl' [java] '-out' [java] 'c:\jacobson/bin/print/output.pdf' [java] '-format' [java] 'PDF' [java] [java] The ' characters around the executable and arguments are [java] not part of the command. Any help is welcome, Kevin Ross -----Original Message----- From: owner-xep-support at www.renderx.com [mailto:owner-xep-support at www.renderx.com] On Behalf Of Alexander Peshkov Sent: Friday, April 04, 2003 6:02 AM To: idealcms at gmx.de Subject: Re: [xep-support] XEP 3 + XALAN Hello Jan, XEP is JAXP-aware: it is therefore possible to replace Saxon with Xalan. Presuming that you use the latest Xalan (2.5), you will need the following modifications in xep.bat: - in the classpath, replace saxon.jar by jars from Xalan: xalan.jar, xercesImpl.jar, and xml-apis.jar; - add system properties to the Java call. to pick Xalan as the default XSLT processor and Xerces as the default parser: -Djavax.xml.transform.TransformerFactory= org.apache.xalan.processor.TransformerFactoryImpl -Djavax.xml.parsers.SAXParserFactory= org.apache.xerces.jaxp.SAXParserFactoryImpl Best regards, Alexander Peshkov mailto:peshkov at renderx.com RenderX igd> Hi, igd> is there a possibility to use XALAN (extensions) with XEP 3+? igd> Kind regards, igd> Jan ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From Kevin.Ross at iVerticalLeap.com Mon Apr 28 19:36:27 2003 From: Kevin.Ross at iVerticalLeap.com (Kevin Ross) Date: Mon, 28 Apr 2003 21:36:27 -0500 Subject: [xep-support] XEP 3 + XALAN In-Reply-To: <007501c30df4$7721f000$7801a8c0@upstairs> Message-ID: <007601c30df8$234375e0$7801a8c0@upstairs> I wanted to make sure the environment was good...it is: [java] Relevant properties: [java] ========================================== [java] com.renderx.xep.VALIDATE: false [java] com.renderx.xep.ROOT: E:\tools\XEP-3.3.1 [java] java.endorsed.dirs: c:\jacobson\lib [java] javax.xml.transform.TransformerFactory: org.apache.xalan.processor.TransformerFactoryImpl [java] javax.xml.parsers.SAXParserFactory: org.apache.xerces.jaxp.SAXParserFactoryImpl [java] Class.forName() JAXP transformer and parser: [java] ========================================== [java] javax.xml.transform.TransformerFactory: class org.apache.xalan.processor.TransformerFactoryImpl [java] javax.xml.parsers.SAXParserFactory: class org.apache.xerces.jaxp.SAXParserFactoryImpl -K -----Original Message----- From: owner-xep-support at www.renderx.com [mailto:owner-xep-support at www.renderx.com] On Behalf Of Kevin Ross Sent: Monday, April 28, 2003 9:10 PM To: xep-support at renderx.com Subject: RE: [xep-support] XEP 3 + XALAN My initial message still hasn't shown yet, so here are my findings so far: Xep.bat uses com.renderx.xep.XSLDriver, so I took a look at transform.bat, and saw the com.renderx.xep.JAXPDriver. I've altered the script to use the JAXPDriver, but, same exception, different stack trace: [java] java.lang.NoClassDefFoundError: com/jclark/xsl/sax/XSLProcessorImpl [java] at com.renderx.xep.Driver.init(Driver.java:30) [java] at com.renderx.xep.JAXPDriver.(JAXPDriver.java:189) [java] at com.renderx.xep.JAXPDriver.(JAXPDriver.java:163) [java] at com.renderx.xep.JAXPDriver.main(JAXPDriver.java:130) [java] Exception in thread "main" Here's the parameters: [java] Executing 'C:\Program Files\Java\j2re1.4.1_01\bin\java.exe' with arguments: [java] '-Djava.endorsed.dirs=c:\jacobson\lib' [java] '-Xmx256m' [java] '-Dcom.renderx.xep.VALIDATE=false' [java] '-Dcom.renderx.xep.ROOT=E:\tools\XEP-3.3.1' [java] '-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.Tra nsformerFactoryImpl' [java] '-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFa ctoryImpl' [java] '-classpath' [java] 'E:\tools\XEP-3.3.1\lib\cryptix32-pgp.jar;E:\tools\XEP-3.3.1\lib\cryptix 32.jar;E:\tools\XEP-3.3.1\lib\xep331_client_stamped.jar;C:\jacobson\lib\ xalan-2.5.0.jar;C:\jacobson\lib\xerces-2.4.0.jar;C:\jacobson\lib\xml-api s.jar' [java] 'com.renderx.xep.JAXPDriver' [java] '-xml' [java] 'c:\jacobson/bin/print/input.xml' [java] '-xsl' [java] 'c:\jacobson/templates/batch/batchRouteAndPick.xsl' [java] '-out' [java] 'c:\jacobson/bin/print/output.pdf' [java] '-format' [java] 'PDF' [java] [java] The ' characters around the executable and arguments are [java] not part of the command. Any help is welcome, Kevin Ross -----Original Message----- From: owner-xep-support at www.renderx.com [mailto:owner-xep-support at www.renderx.com] On Behalf Of Alexander Peshkov Sent: Friday, April 04, 2003 6:02 AM To: idealcms at gmx.de Subject: Re: [xep-support] XEP 3 + XALAN Hello Jan, XEP is JAXP-aware: it is therefore possible to replace Saxon with Xalan. Presuming that you use the latest Xalan (2.5), you will need the following modifications in xep.bat: - in the classpath, replace saxon.jar by jars from Xalan: xalan.jar, xercesImpl.jar, and xml-apis.jar; - add system properties to the Java call. to pick Xalan as the default XSLT processor and Xerces as the default parser: -Djavax.xml.transform.TransformerFactory= org.apache.xalan.processor.TransformerFactoryImpl -Djavax.xml.parsers.SAXParserFactory= org.apache.xerces.jaxp.SAXParserFactoryImpl Best regards, Alexander Peshkov mailto:peshkov at renderx.com RenderX igd> Hi, igd> is there a possibility to use XALAN (extensions) with XEP 3+? igd> Kind regards, igd> Jan ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From dvd at renderx.com Mon Apr 28 22:05:29 2003 From: dvd at renderx.com (David Tolpin) Date: Tue, 29 Apr 2003 10:05:29 +0500 (AMST) Subject: [xep-support] XEP 3 + XALAN In-Reply-To: <007401c30df2$b0cf7ae0$7801a8c0@upstairs> from "Kevin Ross" at Apr 28, 2003 08:57:27 PM Message-ID: <200304290505.h3T55VQR057192@adat.davidashen.net> > > I am getting a ClassNotFoundException when I try to utilize Xalan and > Xerces (latest stable release 2.5.0). > > [java] '-classpath' > [java] > 'E:\tools\XEP-3.3.1\lib\cryptix32-pgp.jar;E:\tools\XEP-3.3.1\lib\cryptix > 32.jar;E:\tools\XEP-3.3.1\lib\xep331_client_stamped.jar;C:\jacobson\lib\ > xalan-2.5.0.jar;C:\jacobson\lib\xerces-2.4.0.jar;C:\jacobson\lib\xml-api > s.jar' As your output shows, there is no Clark's XT in your path. While JAXPDriver can use any JAXP-compliant XSLT implementation (and actually does -- you don't have to manually set anything -- it loads what it finds), it still uses XT for internal purposes, because it is faster and smaller. Usually many times faster and smaller than XALAN. As it is clearly shown in the examples, XT must be in the classpath. David ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From Kevin.Ross at iVerticalLeap.com Tue Apr 29 08:05:09 2003 From: Kevin.Ross at iVerticalLeap.com (Kevin Ross) Date: Tue, 29 Apr 2003 09:05:09 -0600 Subject: [xep-support] XEP 3 + XALAN In-Reply-To: <200304290505.h3T55VQR057192@adat.davidashen.net> Message-ID: <001501c30e60$be2e71f0$74caa8c0@ISS> >>it still uses XT for internal purposes, >>because it is faster and smaller. Usually many times faster >>and smaller than XALAN. Even so, it is more important to me to be functional, than fast, and I have code that works with Xalan, where I've had no luck with XT after many hours. So the previous message stating, "XEP is JAXP-aware" is not entirely true? Would it be possible to get a patch that allows me to use a JAXP transformer? Thank you, Kevin Ross -----Original Message----- From: owner-xep-support at www.renderx.com [mailto:owner-xep-support at www.renderx.com] On Behalf Of David Tolpin Sent: Monday, April 28, 2003 11:05 PM To: xep-support at renderx.com Subject: Re: [xep-support] XEP 3 + XALAN > > I am getting a ClassNotFoundException when I try to utilize Xalan and > Xerces (latest stable release 2.5.0). > > [java] '-classpath' > [java] > 'E:\tools\XEP-3.3.1\lib\cryptix32-pgp.jar;E:\tools\XEP-3.3.1\lib\cryptix > 32.jar;E:\tools\XEP-3.3.1\lib\xep331_client_stamped.jar;C:\jacobson\lib\ > xalan-2.5.0.jar;C:\jacobson\lib\xerces-2.4.0.jar;C:\jacobson\lib\xml-api > s.jar' As your output shows, there is no Clark's XT in your path. While JAXPDriver can use any JAXP-compliant XSLT implementation (and actually does -- you don't have to manually set anything -- it loads what it finds), it still uses XT for internal purposes, because it is faster and smaller. Usually many times faster and smaller than XALAN. As it is clearly shown in the examples, XT must be in the classpath. David ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From dvd at renderx.com Tue Apr 29 07:58:21 2003 From: dvd at renderx.com (David Tolpin) Date: Tue, 29 Apr 2003 19:58:21 +0500 (AMST) Subject: [xep-support] XEP 3 + XALAN In-Reply-To: <001501c30e60$be2e71f0$74caa8c0@ISS> from "Kevin Ross" at Apr 29, 2003 09:05:09 AM Message-ID: <200304291458.h3TEwLOq061157@adat.davidashen.net> > > >>it still uses XT for internal purposes, > >>because it is faster and smaller. Usually many times faster > >>and smaller than XALAN. > > Even so, it is more important to me to be functional, than fast, and I > have code that works with Xalan, where I've had no luck with XT after > many hours. > > So the previous message stating, "XEP is JAXP-aware" is not entirely > true? > > Would it be possible to get a patch that allows me to use a JAXP > transformer? > Kevin, please read the documentation. XEP is JAXP-aware. It uses both a JAXP-compliant component to load SAX parser and call XSLT transformer for xml+xsl->fo transformation and XT for its internal purposes. You have to have both XALAN and XT in the path. XT is an immanent part of XEP. It is not used for xml+xsl->fo transformations. David Tolpin ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From Kevin.Ross at iVerticalLeap.com Tue Apr 29 10:33:02 2003 From: Kevin.Ross at iVerticalLeap.com (Kevin Ross) Date: Tue, 29 Apr 2003 11:33:02 -0600 Subject: [xep-support] XEP 3 + XALAN In-Reply-To: <200304291458.h3TEwLOq061157@adat.davidashen.net> Message-ID: <002101c30e75$6695c640$74caa8c0@ISS> Great! Thanks, that clears it up, I was unclear that XT would be used as internal only, and not for the xsl->xsl:fo transformation -----Original Message----- From: owner-xep-support at www.renderx.com [mailto:owner-xep-support at www.renderx.com] On Behalf Of David Tolpin Sent: Tuesday, April 29, 2003 8:58 AM To: xep-support at renderx.com Subject: Re: [xep-support] XEP 3 + XALAN > > >>it still uses XT for internal purposes, > >>because it is faster and smaller. Usually many times faster > >>and smaller than XALAN. > > Even so, it is more important to me to be functional, than fast, and I > have code that works with Xalan, where I've had no luck with XT after > many hours. > > So the previous message stating, "XEP is JAXP-aware" is not entirely > true? > > Would it be possible to get a patch that allows me to use a JAXP > transformer? > Kevin, please read the documentation. XEP is JAXP-aware. It uses both a JAXP-compliant component to load SAX parser and call XSLT transformer for xml+xsl->fo transformation and XT for its internal purposes. You have to have both XALAN and XT in the path. XT is an immanent part of XEP. It is not used for xml+xsl->fo transformations. David Tolpin ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo at renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html From jmeyer at cstlink.com Wed Apr 30 10:57:34 2003 From: jmeyer at cstlink.com (John Meyer) Date: Wed, 30 Apr 2003 13:57:34 -0400 Subject: [xep-support] URL resolution Message-ID: <07D4D31324C87742B85778F6B3EC234431A6DC@ppp-64-115-191-30.broadviewnet.net> Does xep provide any hooks to use application url resolution? Due to security and design considerations, our application uses and internal naming system and does not directly expose any of its contents via URL. Unforetunately, I can't find any way to allow the xep pdf producer to find images in our database using our naming system. For xsl transformations, we use the JAXP URIResolver interface and related methods. I am hoping a similar solution could be used in the H4PDF class. John Meyer Senior Software Engineer Clinician Support Technology -------------- next part -------------- An HTML attachment was scrubbed... URL: