Search found 23 matches

by josecotes
Thu Nov 17, 2022 7:50 am
Forum: XSLT and FOP
Topic: Notices page after cover page but before TOC
Replies: 1
Views: 635

Notices page after cover page but before TOC

Hi all, I am trying to move the Notices page before the TOC . I have the following code on my front-matter.xsl : <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.1"> <xsl:import href="create_co...
by josecotes
Wed Nov 09, 2022 11:19 pm
Forum: XSLT and FOP
Topic: Plugins created with the PDF Plugin Generator don't work anymore
Replies: 1
Views: 647

Plugins created with the PDF Plugin Generator don't work anymore

Hi all, I had created a PDF Plugin using the https://dita-generator.elovirta.com. In the past these used to work fine, but they don't work anymore. I am in Oxygen 25. What steps do I follow? 1. Once customized, I download the plugin from the site 2. I copy the folder into frameworks --> dita --> DIT...
by josecotes
Thu Aug 16, 2018 9:07 pm
Forum: XSLT and FOP
Topic: Formatting Topic Titles depending on the parent
Replies: 3
Views: 3248

Re: Formatting Topic Titles depending on the parent

Hi Costin,

Thanks for the reply. But is there a way to do this using XSL-FO? We have very old plugins that I don't want to re-write into CSS plugins.

Thanks,
by josecotes
Thu Aug 16, 2018 8:25 am
Forum: XSLT and FOP
Topic: Formatting Topic Titles depending on the parent
Replies: 3
Views: 3248

Formatting Topic Titles depending on the parent

Hi all, I have a bookmap as follows: <bookmap xml:lang="en"> <booktitle> <booklibrary>Title</booklibrary> </booktitle> <frontmatter> <preface href="preface1.xml" toc="no"/> <booklists> <toc/> </booklists> </frontmatter> <chapter format="ditamap" href="cha...
by josecotes
Fri Apr 21, 2017 3:35 pm
Forum: XSLT and FOP
Topic: Ordered list letters instead of numbers for specific instances
Replies: 2
Views: 4052

Re: Ordered list letters instead of numbers for specific instances

Thanks a lot!

This is exactly how I implemented it and it worked:

Code: Select all

<xsl:when test="parent::node()/@outputclass='lower-alpha'">
<xsl:number format="a"/>
</xsl:when>
by josecotes
Thu Apr 20, 2017 10:13 pm
Forum: XSLT and FOP
Topic: Ordered list letters instead of numbers for specific instances
Replies: 2
Views: 4052

Ordered list letters instead of numbers for specific instances

Hi all, This is my xml: <topic><title/><body> <ol> <li>Item 1</li> <li>Item 2</li> </ol> </body></topic> When I produce a PDF it comes as this: http://josecotes.com/tmp/list1.png Now, I need letters instead of numbers for just this particular instance, so I added an outputclass="lower-alpha&quo...
by josecotes
Tue Aug 30, 2016 8:56 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Different DITA-PDF transformations based on plugin
Replies: 7
Views: 3252

Re: Different DITA-PDF transformations based on plugin

Hi Anbu, Are the instructions for DITA-OT 2.x the same as for 1.x? I am working in 1.5 and that might be the issue I am running into, as it seems that I am doing all the correct things. The catalog.xml was updated when I ran ant -f integrator. Here is the DITA-OT I am using: https://www.dropbox.com/...
by josecotes
Tue Aug 30, 2016 12:05 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Different DITA-PDF transformations based on plugin
Replies: 7
Views: 3252

Re: Different DITA-PDF transformations based on plugin

Hi Radu, I am pass the error. I made my integrator.xml like this: http://josecotes.com/tmp/plugin6.png The issue now is that it seems as if my PDF is printing with the styles from org.dita.pdf2 and not from org.dita.pdf2.client1 . In short, my customizations are not showing up at all and are default...
by josecotes
Sun Aug 28, 2016 6:55 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Different DITA-PDF transformations based on plugin
Replies: 7
Views: 3252

Re: Different DITA-PDF transformations based on plugin

Hi Radu, This is what I did in the plugin.xml file: http://josecotes.com/tmp/plugin3.png Then, on the DITA-OT folder, I ran: ant -f integrator.xml -verbose strict As instructed, I duplicated the Dita Map PDF and changed the transtype parameter to Client1 : http://josecotes.com/tmp/plugin4.png Unfort...
by josecotes
Fri Aug 19, 2016 7:12 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Different DITA-PDF transformations based on plugin
Replies: 7
Views: 3252

Different DITA-PDF transformations based on plugin

Hi all, I have created a couple custom plugins based on the org.dita.pdf2 that came with Oxygen as follows: http://josecotes.com/tmp/plugin1.png When I try to produce a PDF from Oxygen, I get the usual menu with all the options: http://josecotes.com/tmp/plugin2.png My question is. How do I add an op...
by josecotes
Sat Aug 06, 2016 12:04 am
Forum: XSLT and FOP
Topic: List and inline image alignment
Replies: 1
Views: 2705

List and inline image alignment

Hello, I have this issue where, as you can see, the inline image is pushing the label of the list a little bit up, so "1." is not aligned correctly: http://josecotes.com/tmp/inlipush.png This is my ol.li_llabel__content as of now. I am using vertical-align="bottom" and nothing. I...
by josecotes
Mon Jun 06, 2016 8:21 pm
Forum: XSLT and FOP
Topic: Justification of text in TOC (multi-line)
Replies: 6
Views: 4382

Re: Justification of text in TOC (multi-line)

Thanks a lot! You are right. toc-attr_fop.xsl was overwriting my settings.

Thanks!
by josecotes
Fri Jun 03, 2016 9:01 pm
Forum: XSLT and FOP
Topic: Justification of text in TOC (multi-line)
Replies: 6
Views: 4382

Re: Justification of text in TOC (multi-line)

Hi there,

I modified the DITA-OT that comes with Oxygen.

Thanks,
by josecotes
Thu Jun 02, 2016 10:21 pm
Forum: XSLT and FOP
Topic: Justification of text in TOC (multi-line)
Replies: 6
Views: 4382

Re: Justification of text in TOC (multi-line)

I have "text-align" already as start. But I believe that the problem might be that "text-align-last" is justify. But I need it to be justify. Any other clues? Here is my __toc__topic__content section: <xsl:attribute-set name="__toc__topic__content"> <xsl:attribute name=...
by josecotes
Wed Jun 01, 2016 12:13 am
Forum: XSLT and FOP
Topic: Justification of text in TOC (multi-line)
Replies: 6
Views: 4382

Justification of text in TOC (multi-line)

I have a problem I am not able to fix with the way the TOC entries are being justified when there is more than 1 line. Please see the graphics below. This is for PDF output, using a customized DITA-OT that I have develope based on the one that comes with Oxygen: http://josecotes.com/tmp/sample1.png ...
by josecotes
Tue Apr 26, 2016 11:32 pm
Forum: XSLT and FOP
Topic: Links behavior for PDFs
Replies: 1
Views: 1891

Links behavior for PDFs

Right now, when I produce my PDFs, the links are like these:

Code: Select all

See Chapter 5 (page 50) for more info.
The clickable part will be "Chapter 5".

How do I modify my links.xsl so that everything, including (page 50) is clickable?

Thanks,
by josecotes
Thu Mar 31, 2016 11:50 pm
Forum: XSLT and FOP
Topic: xsl:if that depends on if the section is inside a part/chapter or just a part
Replies: 1
Views: 2410

xsl:if that depends on if the section is inside a part/chapter or just a part

Hi there. I have this bookmap: <?xml version="1.0" encoding="utf-8"?> <bookmap> <part format ="dita" href="part1title.xml"> <chapter format="ditamap" href="chapter1-1.ditamap"/> <chapter format="ditamap" href="chapter1-2.dita...
by josecotes
Wed Dec 09, 2015 7:01 pm
Forum: XSLT and FOP
Topic: Image with for topic headings
Replies: 5
Views: 3205

Re: Image with for topic headings

Hi Radu, This is what I intended to do: http://josecotes.com/tmp/sample1.png I was able to figure it out with the help of a couple of books. Here is where I started, directly adding the graphic in the TOC generator sequence: https://books.google.com/books?id=-pO-EV3qrf8C&pg=PT180&lpg=PT180&a...
by josecotes
Wed Dec 09, 2015 6:43 pm
Forum: XSLT and FOP
Topic: One Chapter/Topic with different overall formatting in a Bookmap
Replies: 1
Views: 2033

One Chapter/Topic with different overall formatting in a Bookmap

Hi there, I have a Bookmap with the structure as below: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE bookmap PUBLIC "-//OASIS//DTD DITA BookMap//EN" "bookmap.dtd"> <bookmap xml:lang="en"> <!-- METADATA HERE --> <part format="dita" href=...
by josecotes
Thu Dec 03, 2015 11:57 pm
Forum: XSLT and FOP
Topic: Image with for topic headings
Replies: 5
Views: 3205

Re: Image with for topic headings

Hi there,

This will be for PDF output using FO.

Thanks,
by josecotes
Mon Nov 23, 2015 12:08 am
Forum: XSLT and FOP
Topic: Image with for topic headings
Replies: 5
Views: 3205

Image with for topic headings

Hi there, Is it possible to add an image -align left- in the topic heading for a particular level. I.e.: -- topic Content -- topic.topic Content -- image topic.topic.topic Content -- topic.topic As you can see I don't want to add the image to all the topic headings, but just to the ones that are top...
by josecotes
Sun Nov 22, 2015 11:55 pm
Forum: XSLT and FOP
Topic: Book title in bookmarks as first top level element
Replies: 13
Views: 8917

Re: Book title in bookmarks as first top level element

Thanks a lot! Worked like a charm.
by josecotes
Wed Nov 18, 2015 6:52 pm
Forum: XSLT and FOP
Topic: Book title in bookmarks as first top level element
Replies: 13
Views: 8917

Book title in bookmarks as first top level element

Hi there, How do I add the book title (from a bookmap/ditamap) as the main first element in my bookmark? This is how it looks like now: - Chapter 1 - Content xxxx - Content xxxx - Chapter 2 - Content xxxx - Content xxxx - Content xxxx - Chapter 3 This is what I am intending on achieving: Book title ...