Search found 47 matches

by surangamas
Sat Jul 01, 2017 6:38 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Java exception when running PDF transformation
Replies: 1
Views: 1177

Java exception when running PDF transformation

Hi: I recently tried out Oxygen XML Author 19 and moved my old Framework directory from version 15.2 to the new location for version 19. To do a test run, I ran a PDF transformation using the old scenario on version 19, and within one to two seconds, a Java exception error showed up, and I clicked m...
by surangamas
Thu May 26, 2016 6:20 pm
Forum: Other Issues
Topic: HTML to DITA conversion using the built-in h2d plugin
Replies: 2
Views: 2825

Re: HTML to DITA conversion using the built-in h2d plugin

Hi Radu:
OK, I'll give that a try, thank you.
by surangamas
Wed May 25, 2016 7:50 pm
Forum: Other Issues
Topic: HTML to DITA conversion using the built-in h2d plugin
Replies: 2
Views: 2825

HTML to DITA conversion using the built-in h2d plugin

Hi: I am trying to get this to work, but don't know what was missing in the process. I was following the instruction here: http://idratherbewriting.com/md2html2ditav2/ to automate conversion of Markdown files to HTML and ultimately to DITA, and I had written a script based on the tutorial in the URL...
by surangamas
Fri May 20, 2016 12:23 am
Forum: Other Issues
Topic: problem with rendering Webhelp using a DITA map that references DITA files in other locations
Replies: 6
Views: 2857

Re: problem with rendering Webhelp using a DITA map that references DITA files in other locations

Hi Costin: Sorry this is a little off-topic, a quick question: where are the CSS files that control the look and feel of the Oxygen editor? I mean, let's say for Menucascade, if I want the font inside this element to show as green-color font on the editor screen (just for the sake of this discussion...
by surangamas
Fri May 20, 2016 12:02 am
Forum: Other Issues
Topic: problem with rendering Webhelp using a DITA map that references DITA files in other locations
Replies: 6
Views: 2857

Re: problem with rendering Webhelp using a DITA map that references DITA files in other locations

I meant: setting "fix.external.refs.com.oxygenxml" to "true" did fix my problem, thanks again.
by surangamas
Fri May 20, 2016 12:01 am
Forum: Other Issues
Topic: problem with rendering Webhelp using a DITA map that references DITA files in other locations
Replies: 6
Views: 2857

Re: problem with rendering Webhelp using a DITA map that references DITA files in other locations

Hi Costin:

Setting "fix.external.refs.com.oxygenxml" did fix this problem, thank you for your help!
by surangamas
Thu May 19, 2016 5:39 pm
Forum: Other Issues
Topic: problem with rendering Webhelp using a DITA map that references DITA files in other locations
Replies: 6
Views: 2857

problem with rendering Webhelp using a DITA map that references DITA files in other locations

Hi: I was testing the Webhelp transformation with Oxygen yesterday, and came across a problem: if I create a DITA map file ( a bookmap file to be exact) that topic-references DITA files that are not in the same directory as the DITA map file, although Oxygen could still transform files to Webhelp, b...
by surangamas
Wed May 18, 2016 4:09 pm
Forum: Other Issues
Topic: Restart page numbering from 1 in each chapter in PDF
Replies: 6
Views: 3888

Re: Restart page numbering from 1 in each chapter in PDF

To experiment this a bit, I selected the locally installed DITA-OT to process PDF transform, uncommented the code in commons.xsl, and the result was still the same - page number did not restart at each chapter. I began to wonder whether this had anything to do with my DITA map, so I am including the...
by surangamas
Wed May 18, 2016 3:33 pm
Forum: Other Issues
Topic: Restart page numbering from 1 in each chapter in PDF
Replies: 6
Views: 3888

Re: Restart page numbering from 1 in each chapter in PDF

Hi Radu:

I am not using the default DITA-OT that came with Oxygen; I am using the custom DITA-OT which I believe is version 1.8, that came with Oxygen v. 17.1. The custom DITA-OT was the one I modified.

So are you saying that this code would only work with DITA-OT 2.x?
by surangamas
Wed May 18, 2016 12:27 am
Forum: Other Issues
Topic: Restart page numbering from 1 in each chapter in PDF
Replies: 6
Views: 3888

Re: Restart page numbering from 1 in each chapter in PDF

Hi Radu: Thanks for the reply. Maybe I didn't mention this in my original post: even if I uncomment the code mentioned above without modifying anything, the page number is still not reset to one; it still runs continuously from one until the end, let alone resetting it for every chapter. I uncomment...
by surangamas
Mon May 16, 2016 7:49 pm
Forum: Other Issues
Topic: Restart page numbering from 1 in each chapter in PDF
Replies: 6
Views: 3888

Restart page numbering from 1 in each chapter in PDF

Hi: I am trying to find a way to restart page number from 1 for each chapter in the PDF output, instead of using the default continuous page numbering that DITA-OT offers. I was trying to uncomment parts of this code in "commons.xsl": <xsl:template name="startPageNumbering"> <!--...
by surangamas
Fri May 06, 2016 8:02 pm
Forum: Other Issues
Topic: XSL template for chapter titles
Replies: 1
Views: 1566

XSL template for chapter titles

Hi: I was wondering if anyone knows which XSL template is responsible for generating and outputting chapter titles to PDF? What I am trying to do is to create a value for the outputclass for a particular chapter's title wherein if the user specifies that value in the outputclass field of the chapter...
by surangamas
Thu May 05, 2016 7:09 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: problem related to bibliography (bookmap/bibliolist)
Replies: 9
Views: 3237

Re: problem related to bibliography (bookmap/bibliolist)

Great, thank you! Please keep us posted of this update.
by surangamas
Thu May 05, 2016 3:16 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: problem related to bibliography (bookmap/bibliolist)
Replies: 9
Views: 3237

Re: problem related to bibliography (bookmap/bibliolist)

I guess the ultimate resolution is to let the parser know that the bibliography page should be treated just like an index or figure list page, instead of a regular topic.
by surangamas
Thu May 05, 2016 2:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: problem related to bibliography (bookmap/bibliolist)
Replies: 9
Views: 3237

Re: problem related to bibliography (bookmap/bibliolist)

Hi Radu: Thanks for the help, although your XPath was good, but it didn't resolve my problem: I still see the logo on the header of the bibliography page. I checked "stage1.xml", the Bibliography page was still treated like any other topic, so I guess that was why the parser treated it as ...
by surangamas
Wed May 04, 2016 3:20 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: problem related to bibliography (bookmap/bibliolist)
Replies: 9
Views: 3237

Re: problem related to bibliography (bookmap/bibliolist)

Hi Radu:

One thing I didn't quite understand from your reply is this : "If you want to inspect the class of the element used in the DITA map you can use the 'map-id' key and the @id of the topic you are processing."

Exactly what do I have to do to my DITA map? Thanks.
by surangamas
Tue May 03, 2016 10:28 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: problem related to bibliography (bookmap/bibliolist)
Replies: 9
Views: 3237

Re: problem related to bibliography (bookmap/bibliolist)

Hi Radu: Thank you for the reply, I followed your instruction and replace <xsl:when> with your code: <xsl:when test="*[contains(key('map-id', @id)[1]/@class, ' bookmap/bibliolist ')]" /> , the entire code looks like this: <xsl:template name="insertBodyFirstHeader"> <fo:static-con...
by surangamas
Mon May 02, 2016 7:48 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: problem related to bibliography (bookmap/bibliolist)
Replies: 9
Views: 3237

problem related to bibliography (bookmap/bibliolist)

Hi Radu: I created a separate file called "bibliography.dita" that contains a list of cited works or books, and in my ditamap (bookmap), I added "bibliolist" to the backmatter, and use bibliolist's href attribute to link to "bibliography.dita". Although the bibliography...
by surangamas
Sat Apr 30, 2016 2:03 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Try to customize different styles for odd- and even-numbered page headers, but failed
Replies: 7
Views: 2903

Re: Try to customize different styles for odd- and even-numbered page headers, but failed

Hi Radu: Never mind, I found out that the problem was with the value in this variable: <xsl:variable name="mirror-page-margins" select="false()"/> . I forgot that the value wasn't changed to "true", hence the problem, thanks for your help, removing <xsl:"apply-temp...
by surangamas
Fri Apr 29, 2016 9:48 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Try to customize different styles for odd- and even-numbered page headers, but failed
Replies: 7
Views: 2903

Re: Try to customize different styles for odd- and even-numbered page headers, but failed

Hi Radu: I removed <xsl:apply-templates /> from template "insertBodyEvenHeader:, and yes, FOP did transform my PDF output successfully. Yet that still does not solve my original problem of not having different styles for odd- and even-page headers; I still have logo on the far left and chapter ...
by surangamas
Mon Apr 25, 2016 12:36 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Try to customize different styles for odd- and even-numbered page headers, but failed
Replies: 7
Views: 2903

Re: Try to customize different styles for odd- and even-numbered page headers, but failed

Hi Radu:
I just sent the Google Drive link of my customization to you, if you have trouble downloading it, please let me know, thanks again.
by surangamas
Fri Apr 22, 2016 10:43 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Try to customize different styles for odd- and even-numbered page headers, but failed
Replies: 7
Views: 2903

Re: Try to customize different styles for odd- and even-numbered page headers, but failed

Hi Radu: After I changed the value to true in <xsl:variable name="mirror-page-margins" select="false()"/>, fop output an error: ""fo:marker" is not a valid child of "fo:block"! An fo:marker is permitted only as the descendant of an fo:flow." , but if...
by surangamas
Fri Apr 22, 2016 7:19 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Try to customize different styles for odd- and even-numbered page headers, but failed
Replies: 7
Views: 2903

Try to customize different styles for odd- and even-numbered page headers, but failed

Hi: Does anyone try to customize styles for odd- and even-numbered page headers and footers, and had a hard time trying to customize styles? I have to say, no matter how hard and how many times I tried, I could only get one style for both odd- and even-numbered page headers. What I wanted to do was,...
by surangamas
Mon Apr 18, 2016 4:52 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: filepath and codeph are not using monospaced font like they should
Replies: 7
Views: 2415

Re: filepath and codeph are not using monospaced font like they should

Hi Radu: I traced my steps and I found what the problem is; the problem is NOT related to specialization, but to the custom.xsl (cfg/fo/attr) stylesheet that I customized. In that stylesheet, I imported "commons.xsl" without doing any customizations to it (in other words, I just xsl:import...
by surangamas
Mon Apr 18, 2016 3:58 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: filepath and codeph are not using monospaced font like they should
Replies: 7
Views: 2415

Re: filepath and codeph are not using monospaced font like they should

Hi Radu:

I will try that again, and will keep you posted, thanks man!
by surangamas
Mon Apr 18, 2016 9:54 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: filepath and codeph are not using monospaced font like they should
Replies: 7
Views: 2415

Re: filepath and codeph are not using monospaced font like they should

Hi Radu: I just happened to remember that I've integrated a specialization plugin before this problem started to happen; one or two of the specialized elements happen to inherit their attributes from <ph>, and you helped me a few days ago on this particular specialization. If I want to take this spe...
by surangamas
Sun Apr 17, 2016 8:17 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: filepath and codeph are not using monospaced font like they should
Replies: 7
Views: 2415

filepath and codeph are not using monospaced font like they should

Hi, I am sure this question might've been asked a few times before here, but I just couldn't find answers after searching through this forum. My problem is, after generating a few PDF files, I've noticed that <filepath> and <codeph> are not output as monospaced font as they should. I looked into pr-...