Search found 58 matches

by jnielsen
Wed Mar 31, 2010 7:45 pm
Forum: XSLT and FOP
Topic: DITA PDF2 "external-graphic" reference
Replies: 2
Views: 2053

Re: DITA PDF2 "external-graphic" reference

Wow. How have I not noticed the feature to add new parameters to the transformations before? Has that always been there? Having a fixed number of parameters has been a problem in the past.

At any rate, thank you Radu for the response. I will try this shortly.
by jnielsen
Wed Mar 17, 2010 12:30 am
Forum: XSLT and FOP
Topic: DITA PDF2 "external-graphic" reference
Replies: 2
Views: 2053

DITA PDF2 "external-graphic" reference

Hello, I am using Oxygen to transform DITA topics into PDF2 (Idiom plugin) and I have added the following code to the front-matter_1.0.xsl file: <fo:block> <fo:external-graphic src="/some/absolute/path/cis_logo.jpg"/> </fo:block> But I need the path to be relative not absolute. I am not su...
by jnielsen
Tue Jan 05, 2010 7:12 pm
Forum: Common Problems
Topic: DITA Maps Manager Text Cut-off Problem
Replies: 2
Views: 1394

DITA Maps Manager Text Cut-off Problem

I use Oxygen on my Linux PC (Centos 5.3) and have used previous versions of it successfully, but in Oxygen 11 I have a problem when viewing the DITA Maps Manager panel on the left in that it will only display the first character or so of file names or sometimes abruptly cut off in the middle of a le...
by jnielsen
Thu Nov 19, 2009 9:00 pm
Forum: General XML Questions
Topic: DITA Question: Coverpage Images/Watermark
Replies: 1
Views: 2033

DITA Question: Coverpage Images/Watermark

Hello all, I have experimented with adding header images for the PDF output on our documents made with DITA before but wasn't satisfied with the level of customizability that I saw. I have seen some more professional documents have graphics along the top and side of the page such as this PDF whitepa...
by jnielsen
Thu Aug 13, 2009 1:18 am
Forum: XSLT and FOP
Topic: DITA transform to allow multi-column PDF?
Replies: 3
Views: 3346

Re: DITA transform to allow multi-column PDF?

Thanks for the pointer Sorin. Actually I discovered where the page layout is handled and I got the two-columned code I mentioned above to work! You must edit the settings in ${frameworks}/dita/DITA-OT/demo/fo/cfg/fo/layout-masters.xsl . You must go to the section under the comment/header <!--BODY si...
by jnielsen
Fri Aug 07, 2009 5:50 pm
Forum: XSLT and FOP
Topic: DITA transform to allow multi-column PDF?
Replies: 3
Views: 3346

Re: DITA transform to allow multi-column PDF?

One poster on a forum here mentioned that you can edit the column count attribute of the region-body like <fo:region-body column-count="2"/> but where would this code be located, if anywhere, in the Idiom PDF transformation files of the DITA Open Toolkit?
by jnielsen
Fri Aug 07, 2009 5:27 pm
Forum: XSLT and FOP
Topic: DITA transform to allow multi-column PDF?
Replies: 3
Views: 3346

DITA transform to allow multi-column PDF?

I am just curious if there have been any transform solutions made for, say, a two column PDF build for DITA, such as the style that academic white papers use. I read something about Arbortext providing such a feature but have not seen much else about how this would be possible. I'm not particularly ...
by jnielsen
Mon Jul 27, 2009 11:11 pm
Forum: XSLT and FOP
Topic: How to trace a transformation process in the XSLT Debugger
Replies: 12
Views: 6016

Re: How to trace a transformation process in the XSLT Debugger

Hello, Did you set the parameters fileProtocolPrefix and customizationDir ? The parameters are used in the file path for the file from the relative directory common/vars/ . You can see the values for the parameters in the console output of a transformation of type PDF - Idiom FO Plugin that you run...
by jnielsen
Fri Jul 17, 2009 11:40 pm
Forum: XSLT and FOP
Topic: CALS Tables have no vertical borders in middle
Replies: 2
Views: 1927

CALS Tables have no vertical borders in middle

When I generate a PDF with the Idiom Plugin all the CALS tables will not display any middle vertical columns. I have the frame setting set to "all". Is there a fix for this or is this just something to request for future versions of the transformation files?
by jnielsen
Fri Jul 17, 2009 11:32 pm
Forum: XSLT and FOP
Topic: How to trace a transformation process in the XSLT Debugger
Replies: 12
Views: 6016

Re: How to trace a transformation process in the XSLT Debugger

Hi Radu, The only errors were the two I've already mentioned about "locale" and "cfg". I added the catalog.xml to the catalog settings like you suggested, and I manually configured the parameter for the locale to be set to en_US, which cuts the locale errors in half. The only rem...
by jnielsen
Mon Jul 13, 2009 11:54 pm
Forum: XSLT and FOP
Topic: How to trace a transformation process in the XSLT Debugger
Replies: 12
Views: 6016

Re: How to trace a transformation process in the XSLT Debugger

Hello Radu, Thanks for the pointers on the cfg calls and $locale. I figured that since the build.xml file was not being used that it was not passing in needed parameters. I suppose though that those are unrelated to the profiling problem. First for the profiler: it only shows the results when the de...
by jnielsen
Sat Jul 11, 2009 1:24 am
Forum: XSLT and FOP
Topic: Tracing templates in front-matter.xsl for PDF2
Replies: 4
Views: 2772

Re: Tracing templates in front-matter.xsl for PDF2

Thank you Radu! I did not know about that built-in rule. That helps me understand what is going on in the template a whole lot better now.

Thanks!

Josh
by jnielsen
Fri Jul 10, 2009 11:51 pm
Forum: XSLT and FOP
Topic: How to trace a transformation process in the XSLT Debugger
Replies: 12
Views: 6016

Re: How to trace a transformation process in the XSLT Debugger

Perhaps that is only an insignificant warning also. I've been able to do most of what I wanted already by being able to step through topic2fo_shell_1.0.xsl manually, but the only issue is that when I turn profiling on it will not show an invocation tree.
by jnielsen
Fri Jul 10, 2009 11:37 pm
Forum: XSLT and FOP
Topic: How to trace a transformation process in the XSLT Debugger
Replies: 12
Views: 6016

Re: How to trace a transformation process in the XSLT Debugger

As it turns out the second set of errors I mentioned were just warnings that a custom variable had not been set. When the "insertVariable" template is invoked on line 70 of vars.xsl it sets a variable on line 74 with the assignment: <xsl:variable name="customizationFilePath" sele...
by jnielsen
Fri Jul 10, 2009 9:20 pm
Forum: XSLT and FOP
Topic: How to trace a transformation process in the XSLT Debugger
Replies: 12
Views: 6016

Re: How to trace a transformation process in the XSLT Debugger

Great, that is quite convenient that they give the xml to you. I'm not sure if the legacy PDF did that but that beats having to modify the code to echo it to the output window and then copy it. Thank you. However now that I've tried it in the XSLT Debugger topic2fo_shell.xsl fails immediatey once yo...
by jnielsen
Wed Jul 08, 2009 8:28 pm
Forum: XSLT and FOP
Topic: How to trace a transformation process in the XSLT Debugger
Replies: 12
Views: 6016

Re: How to trace a transformation process in the XSLT Debugger

I am specifically trying to trace a PDF2 transformation with the files in the OXYGEN_INSTALL_DIR\dita\DITA-OT\demo\fo\ directory and its subdirectories, if I did not make that clear to begin with. Knowing how the process works in general though would be useful so that I could also apply it to other ...
by jnielsen
Wed Jul 08, 2009 8:23 pm
Forum: XSLT and FOP
Topic: How to trace a transformation process in the XSLT Debugger
Replies: 12
Views: 6016

How to trace a transformation process in the XSLT Debugger

I have used Oxygen's handy XSLT debugger before but I have been hard pressed to figure out how to apply it to the entire series of transformations performed in, say, a PDF transform since the debugger wants just one XML file and one XSL file run together. I am guessing that for a PDF2 transform (the...
by jnielsen
Wed Jul 08, 2009 7:52 pm
Forum: XSLT and FOP
Topic: Tracing templates in front-matter.xsl for PDF2
Replies: 4
Views: 2772

Re: Tracing templates in front-matter.xsl for PDF2

Hello Radu, I searched for topic/author which is the class value for the <author> tag in all the stylesheets from the OXYGEN_INSTALL_DIR\dita\DITA-OT\demo\fo\xsl\fo directory using the Oxygen Find/Replace in Files . In the OXYGEN_INSTALL_DIR\dita\DITA-OT\demo\fo\xsl\fo\front-matter.xsl at line 104 y...
by jnielsen
Wed Jul 08, 2009 12:50 am
Forum: XSLT and FOP
Topic: Tracing templates in front-matter.xsl for PDF2
Replies: 4
Views: 2772

Tracing templates in front-matter.xsl for PDF2

This is just a curiosity for me, but I wanted to know where the templates are that finally pull the values for what is in author tags, and copyright tags, etc for ditamap metadata in the <DITA-OT>\demo\fo\xsl\fo\front-matter.xsl file? Under the code to generate the title and subtitle there is a matc...
by jnielsen
Fri Apr 24, 2009 9:18 pm
Forum: XSLT and FOP
Topic: Question about the TOC in PDF2 output for bookmaps
Replies: 5
Views: 2553

Re: Question about the TOC in PDF2 output for bookmaps

Never mind, I figured it out. Sorry. I didn't figure it for being that easy, as just specifying <toc> and it creating it for you. Thanks for your help.

Josh
by jnielsen
Fri Apr 24, 2009 7:54 pm
Forum: XSLT and FOP
Topic: Question about the TOC in PDF2 output for bookmaps
Replies: 5
Views: 2553

Re: Question about the TOC in PDF2 output for bookmaps

So if I understand this correctly, unlike the other PDF builds, for a bookmap I will need to specify manually with <toc> tags the topic titles and its structure (nested position, etc.)? If so are there any attributes of <toc> tags that I need to know about? And also, is that the traditional way book...
by jnielsen
Fri Apr 24, 2009 4:45 pm
Forum: XSLT and FOP
Topic: Question about the TOC in PDF2 output for bookmaps
Replies: 5
Views: 2553

Re: Question about the TOC in PDF2 output for bookmaps

Hello Radu, Thank you for responding. I sent an e-mail with the details and some test files, but I will summarize the version info here. According to the relnotes.txt in the DITA-OT directory it is "DITA OT release 1.4.2.1" while the "About" window in Oxygen specifies 1.4.3. The ...
by jnielsen
Fri Apr 24, 2009 12:19 am
Forum: XSLT and FOP
Topic: Question about the TOC in PDF2 output for bookmaps
Replies: 5
Views: 2553

Question about the TOC in PDF2 output for bookmaps

When I transform one of my ditamaps in DITA to PDF2 it automatically creates the TOC but for a bookmap it does not. I traced the decision for creating the TOC to the toc_1.0.xsl file (in 'frameworks\dita\DITA-OT\demo\fo\xsl\fo') inside the <xsl:template name="createToc"> template. What do ...
by jnielsen
Tue Apr 21, 2009 6:49 pm
Forum: Other Issues
Topic: Problem with PDF build with update from 10.0 to 10.2
Replies: 2
Views: 2163

Re: Problem with PDF build with update from 10.0 to 10.2

*smacks forehead* Ok, I feel stupid now having not seen that new scenario! I was still using our old scenario and was unaware that the backend behind it had changed. This makes sense now. I do still want to work on the PDF2 implementation though, so if I run into any problems I might indeed contact ...
by jnielsen
Mon Apr 20, 2009 10:35 pm
Forum: Other Issues
Topic: Problem with PDF build with update from 10.0 to 10.2
Replies: 2
Views: 2163

Problem with PDF build with update from 10.0 to 10.2

I recently updated Oxygen from 10.0 (or whatever the original version was for 10) to 10.2 and the PDF build differs markedly from the previous version. It took me a few tests to realize that this is due because it builds to PDF2 by default instead of the "legacy" PDF. This is a problem, as...
by jnielsen
Tue Mar 24, 2009 7:09 pm
Forum: XSLT and FOP
Topic: How can I grab build paramaters to use in my xsl?
Replies: 2
Views: 1836

Re: How can I grab build paramaters to use in my xsl?

Wonderful, that works great. For future reference for anyone who wants to set a parameter in dita2htmlImpl.xsl the "Invocation Path" as I'll call it, starting with build.xml, is build.xml->build_xhtml.xml->build_general.xml->dita2xhtml.xsl->dita2htmlImpl.xsl , so build_general.xml is the &...
by jnielsen
Mon Mar 23, 2009 10:26 pm
Forum: XSLT and FOP
Topic: How can I grab build paramaters to use in my xsl?
Replies: 2
Views: 1836

How can I grab build paramaters to use in my xsl?

I would like to make a "Back" or "Return to Previous Page" link in my HTML output with dita2xhtmlImpl.xsl and I don't want to hard code it to default to index.html so I thought of somehow using the args.xhtml.toc parameter that you can set on your build to somehow feed the filena...
by jnielsen
Wed Mar 11, 2009 9:54 pm
Forum: General XML Questions
Topic: Inserting a <br/> element in HTML for root topics
Replies: 3
Views: 2990

Re: Inserting a <br/> element in HTML for root topics

Hi Josh, Indeed the XSL is applied on the pre-processed XML input. So my recommandation remains the one in post http://www.oxygenxml.com/forum/topic3366.html . You have to get the pre-processed XML content in a file and then you can check out its structure, debug it in Oxygen if you want. There are...
by jnielsen
Tue Mar 10, 2009 11:47 pm
Forum: General XML Questions
Topic: Inserting a <br/> element in HTML for root topics
Replies: 3
Views: 2990

Re: Inserting a <br/> element in HTML for root topics

I'm also aware that chunking seems to be a partial remedy, but I don't understand what makes them all the same depth in the first place. Plus chunking is a nightmare for the Table of Contents and it causes several links to point to the same place and can do crazy things for recursive functions (like...
by jnielsen
Tue Mar 10, 2009 11:43 pm
Forum: General XML Questions
Topic: Inserting a <br/> element in HTML for root topics
Replies: 3
Views: 2990

Inserting a <br/> element in HTML for root topics

I have given a more detailed explanation of the issue I am having now on the dita forms ( click here ) if you want more details on this, but I am trying to insert a <br> element before topics that are at the root of a ditamap. Through personal observation of dita2htmlImpl.xsl it appears that some co...