Search found 19 matches

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: 610

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: 610

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: 553

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: 553

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: 553

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: 553

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: 732

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: 944

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: 944

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: 944

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: 944

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: 411

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: 496

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: 717

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: 526

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: 717

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: 717

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: 2152

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: 2152

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 ...

Go to advanced search