Search found 13 matches

by kris
Mon Mar 20, 2017 6:59 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to continue the numbering of the previous list
Replies: 9
Views: 5249

Re: How to continue the numbering of the previous list

Hi again, thanks for the quick answer. The parent:: was just a try to resolve this, I already tested without and did not work. Now I looked at the code of the output and for some reason I see this: <ol class="ol continue"> ... </ol> Is this the normal behaviour? Not sure why it is an attri...
by kris
Mon Mar 20, 2017 2:23 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to continue the numbering of the previous list
Replies: 9
Views: 5249

Re: How to continue the numbering of the previous list

Hi Radu, thanks for the suggestions. I'm not sure what I'm doing wrong, but the script doesn't seem to enter my <if>. I added it inside the <ol>. I'm not sure how to check there if the original tag had the outputclass attribute set to 'continue': <xsl:template match="*[contains(@class, ' topic/...
by kris
Tue Mar 14, 2017 7:54 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to continue the numbering of the previous list
Replies: 9
Views: 5249

Re: How to continue the numbering of the previous list

Hi Radu, thanks for the pointer, I managed to resolve it for PDF. Now I need to do the same for XHTML. I think the definition of how to handle lists is in the plugins/myplugin/xsl/xslhtml/dita2htmlImpl.xsl file, right? I couldn't figure out how that works. The ol template seems only to set some attr...
by kris
Fri Mar 03, 2017 4:41 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Translated note label variables - where?
Replies: 7
Views: 2385

Re: Translated note label variables - where?

My plugin generates PDF. Does the same apply?
by kris
Fri Mar 03, 2017 1:13 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Translated note label variables - where?
Replies: 7
Views: 2385

Re: Translated note label variables - where?

Well, I was hoping you will tell me :) I just noticed that in my environment, the note labels are strings in the string-[lang]-[loc].xml files under the DITA-OT2.0.1\xsl\common . I guess, DITA-OT fetches these strings with some getString, but that's just an assumption :) Please, let me know how DITA...
by kris
Thu Mar 02, 2017 2:32 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Translated note label variables - where?
Replies: 7
Views: 2385

Re: Translated note label variables - where?

Hi Radu, I followed the article but bumped into a doubt. At some point it says to use getString. If I check the definition of getString in the dita-utilities.xsl file, it says: <!-- Deprecated. Use getVariable template instead. --> What is the best practice? As much as I can see, the original code s...
by kris
Mon Jan 09, 2017 6:00 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to continue the numbering of the previous list
Replies: 9
Views: 5249

Re: How to continue the numbering of the previous list

radu_pisoi wrote:Hi,

What output format are you trying to customize? PDF or HTML?
PDF.

Thanks,
Kris
by kris
Fri Jan 06, 2017 6:56 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to continue the numbering of the previous list
Replies: 9
Views: 5249

How to continue the numbering of the previous list

Hi all,

Imagine that I have two ordered lists, and some text in between.
Is there any chance to continue the numbering of the first list in the second one?

Thanks,
Kris
by kris
Mon Dec 12, 2016 3:48 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Translated note label variables - where?
Replies: 7
Views: 2385

Translated note label variables - where?

Hi, I learned here in another topic, that variables to customize the note labels and images are defined in the 'DITA-OT2.x/plugins/org.dita.pdf2/cfg/common/vars/en.xml'. I found that for translations of the note labels, DITA-OT uses the files like strings-fr-fr.xml under 'DITA-OT2.x/xsl/common'. How...
by kris
Fri Dec 09, 2016 9:24 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customize notes
Replies: 10
Views: 4847

Re: Customize notes

Thanks for the response, I will try this. Another question: I would like to see the same icons in oXygen, when editing an xml file. I found that it uses the icons that are located in the folder C:\Program Files\Oxygen XML Author 17\frameworks\dita\img. However, to use the exact same look, I need to:...
by kris
Fri Dec 02, 2016 8:17 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customize notes
Replies: 10
Views: 4847

Re: Customize notes

Hi Radu,

Thanks for the info about the note separator.
I would still need to know if there is a solution about the big gap that appears because of the image size. (See point 1. in the original post.)
Thanks for any response!
Kris
by kris
Thu Aug 04, 2016 1:39 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customize notes
Replies: 10
Views: 4847

Re: Customize notes

Oxygen Preferences says 1.8, but when we generate the .pdf files, we use a script. That uses a folder called DITA-OT2.0.1.
by kris
Mon Aug 01, 2016 7:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customize notes
Replies: 10
Views: 4847

Customize notes

Hi all, I have notes in my documents, like <note type="danger">Text</note>. We use DITA-OT to generate pdf. I have some doubts: 1. I customized the image for some notes, now they are smaller than before. It looks to me that the image is put on a fixed-size area. Hence, now we have a big an...