Search found 30 matches

by shanweizhong
Wed Jun 12, 2019 6:10 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to set the keep-with-next property
Replies: 2
Views: 1416

Re: How to set the keep-with-next property

Thanks Dan. My bad. I enclosed the element that follows in the <p> tag... Please ignore my question.
by shanweizhong
Tue Jun 11, 2019 7:55 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to set the keep-with-next property
Replies: 2
Views: 1416

How to set the keep-with-next property

Hi guys, I'm using Oxygen Author 21.1 and the "DITA Map PDF - based on HTML5 & CSS" transformation. There are many occasions that I want a paragraph to stay with the next element. For example, an introductory sentence and the list or table below it. I tried to add the following code in...
by shanweizhong
Mon Jun 10, 2019 7:50 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Title property not working after upgrading to version 21.1
Replies: 15
Views: 4629

Re: Title property not working after upgrading to version 21.1

It seems to be weird. When <note> is embedded in <li>, the "margin-bottom" style stops working but the "border-top" and "border-bottom" styles keep working...

Cheers,
Michael
by shanweizhong
Mon Jun 10, 2019 7:25 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Title property not working after upgrading to version 21.1
Replies: 15
Views: 4629

Re: Title property not working after upgrading to version 21.1

Thanks Costin. My bad. I was looking at the notes embedded in bullets...

Cheers,
Michael
by shanweizhong
Thu Jun 06, 2019 7:01 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Title property not working after upgrading to version 21.1
Replies: 15
Views: 4629

Re: Title property not working after upgrading to version 21.1

Hello, I think one workaround is to use the padding-top property instead of margin. The margin is discarded, but the padding not. Many regards, Dan Hi Dan, I'm not sure if it is a related issue, but I found that the "margin-bottom" property also stopped working for "note", as sh...
by shanweizhong
Tue Jun 04, 2019 1:06 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Title property not working after upgrading to version 21.1
Replies: 15
Views: 4629

Re: Title property not working after upgrading to version 21.1

The margin behavior change that Dan mentions is a result of this discussion: "How do I suppress margin-top/margin-bottom at the top/bottom of the content bounding box?" https://www.oxygenxml.com/forum/topic20016.html As Dan says, this is needed for body content that flows across multiple ...
by shanweizhong
Tue Jun 04, 2019 1:05 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Title property not working after upgrading to version 21.1
Replies: 15
Views: 4629

Re: Title property not working after upgrading to version 21.1

Dan wrote: Fri May 31, 2019 12:35 pm Hello,

I think one workaround is to use the padding-top property instead of margin. The margin is discarded, but the padding not.

Many regards,
Dan
Thanks so much, Dan. The padding-top property really worked! :-)

Cheers,
Michael
by shanweizhong
Thu May 30, 2019 1:36 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Title property not working after upgrading to version 21.1
Replies: 15
Views: 4629

Re: Title property not working after upgrading to version 21.1

Thanks Dan. I tried that but it did not work. I also tried to set the "margin-top" property of "front-page/front-page-title" and "bookmap/booktitle" and they did not work either. My ditamap file is as follows: <bookmap> <booktitle> <mainbooktitle> <ph keyref="prod_...
by shanweizhong
Thu May 30, 2019 12:16 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Position of the publication TOC
Replies: 2
Views: 1526

Re: Position of the publication TOC

I see. Thanks Ionela. Then I guess I'd better not consider moving the publication TOC.

Cheers,
Michael
by shanweizhong
Wed May 29, 2019 7:54 am
Forum: Common Problems
Topic: Extra space added for <codeblock> and <codeph>
Replies: 11
Views: 5935

Re: Extra space added for <codeblock> and <codeph>

Radu wrote: Thu May 23, 2019 2:49 pm Hi,

We released Oxygen 21.1 and it should have this fix included.

Regards,
Radu
Hi Radu,

I tested and I think the fix is not included in 21.1.

Cheers,
Michael
by shanweizhong
Wed May 29, 2019 7:51 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Title property not working after upgrading to version 21.1
Replies: 15
Views: 4629

Title property not working after upgrading to version 21.1

In my Oxygen Author 21, I used the following CSS code to style my PDF document title on the cover page, and it worked fine. *[class~="front-page/front-page-title"] { display: block; text-align: center; margin-top: 34%; font-size: 2.6em; font-weight: bold; line-height: 105%; } However, afte...
by shanweizhong
Wed May 29, 2019 6:38 am
Forum: Common Problems
Topic: Extra space added for <codeblock> and <codeph>
Replies: 11
Views: 5935

Re: Extra space added for <codeblock> and <codeph>

You are quite right, Dan. I added the following code into my customization css and the problem was solved:

Code: Select all

code{
	padding:0 0 !important;
}
Thanks again!

Cheers,
Michael
by shanweizhong
Wed May 29, 2019 6:21 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Position of the publication TOC
Replies: 2
Views: 1526

Position of the publication TOC

Hi guys, For the "DITA Map WebHelp Responsive" transformation scenario in Oxygen Author 21, the location of the publication TOC in each topic is changed from the right side to the left side. I guess I can change it back to the right side by editing the wt_topic.html file, but I'm not sure ...
by shanweizhong
Tue May 28, 2019 2:46 am
Forum: Common Problems
Topic: Extra space added for <codeblock> and <codeph>
Replies: 11
Views: 5935

Re: Extra space added for <codeblock> and <codeph>

Hi Dan, It is not that obvious in the generated PDF. If you copy the text into a text editor, you will see an extra space before the punctuation mark. I tested again and found that there is no extra space in the .fo file. Guess the issue might be related to the process that transforms the .fo and .h...
by shanweizhong
Mon May 27, 2019 6:18 am
Forum: Common Problems
Topic: Extra space added for <codeblock> and <codeph>
Replies: 11
Views: 5935

Re: Extra space added for <codeblock> and <codeph>

Hi Dan, I tried your code and the issue was basically fixed. However, for the <codeph> before a punctuation mark, such as a comma or a period, an extra space is still inserted before the punctuation mark. I think it is not a padding issue because for <codeph> between two words, everything is okay. A...
by shanweizhong
Mon May 27, 2019 3:01 am
Forum: Common Problems
Topic: Extra space added for <codeblock> and <codeph>
Replies: 11
Views: 5935

Re: Extra space added for <codeblock> and <codeph>

Tried Oxygen 21.1 and found that the issue was not fixed. In addition, my document title goes up and overlaps with the company icon. I think the "margin-top" property does not work properly in the following code: /* Document title on cover page */ *[class~="front-page/front-page-title...
by shanweizhong
Mon May 27, 2019 2:38 am
Forum: Common Problems
Topic: Extra space added for <codeblock> and <codeph>
Replies: 11
Views: 5935

Re: Extra space added for <codeblock> and <codeph>

Thanks so much, guys. I will try to upgrade to Oxygen 21.1 then.

Cheers,
Michael
by shanweizhong
Thu May 16, 2019 5:47 am
Forum: Common Problems
Topic: Extra space added for <codeblock> and <codeph>
Replies: 11
Views: 5935

Extra space added for <codeblock> and <codeph>

Hi everyone, I'm using "DITA Map PDF - based on HTML5 & CSS" in XML Author 21 to generate PDF documents, and I found sometimes an extra space is inserted for the <codeblock> and <codeph> tags. For the following code, and extra space is inserted at the beginning of the code block: by re...
by shanweizhong
Wed Oct 25, 2017 11:42 pm
Forum: Common Problems
Topic: Variable style in tooltips in 19.1
Replies: 2
Views: 1980

Re: Variable style in tooltips in 19.1

I see. Thanks Cosmin.
cosmin_andrei wrote:Hi Michael,

We are aware of this issue and has been already resolved by our development team. It should be probably available in the next maintenance build which will be released in a few days.
by shanweizhong
Tue Oct 24, 2017 5:07 am
Forum: Common Problems
Topic: Variable style in tooltips in 19.1
Replies: 2
Views: 1980

Variable style in tooltips in 19.1

Hi everyone, I just upgraded to XML Author 19.1 and I found that the variables, such as product names, in the tooltips of the navigation links (WebHelp Responsive), are displayed in a different style. I think that is distracting. Do you have any idea how I can remove the special style for the variab...
by shanweizhong
Wed Sep 27, 2017 3:22 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Video Tutorials in Webhelp Responsive
Replies: 6
Views: 5131

Re: Video Tutorials in Webhelp Responsive

Thanks Radu. My final solution is to manually create an image of the video, with a play button on top of it, and then link the image to the real video-playing topic. Cheers, Michael Hi, I think you can use the video/@poster [1] attribute to specify an URL of an image shown until the user plays or se...
by shanweizhong
Fri Sep 22, 2017 12:34 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Video Tutorials in Webhelp Responsive
Replies: 6
Views: 5131

Re: Video Tutorials in Webhelp Responsive

Thanks Ionela. I checked those topics before and I know how to insert videos into DITA topics directly. However, the requirement that I got is to use images (frames from videos) on one page, with a play button on top of each image, and if users click the image or the play button, another window if o...
by shanweizhong
Thu Sep 21, 2017 7:56 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Video Tutorials in Webhelp Responsive
Replies: 6
Views: 5131

Re: Video Tutorials in Webhelp Responsive

Hi Bogdan, I need to include a list of video images like this (with a play button on top of an image) in a DITA file. Do you have any suggestions how I can do that? The code in your example can be used in a HTML file, but I guess it would be very different in the source DITA file, and I don't know h...
by shanweizhong
Tue Sep 19, 2017 6:28 am
Forum: Common Problems
Topic: Poster file not included in web help
Replies: 2
Views: 1701

Re: Poster file not included in web help

Got it. Thanks Radu.

Cheers,
Michael
by shanweizhong
Mon Sep 18, 2017 5:03 am
Forum: Common Problems
Topic: Poster file not included in web help
Replies: 2
Views: 1701

Poster file not included in web help

Hi folks, I embedded a video in one of my topics, and to avoid the initial black screen of the video, I used a poster file, as shown below: <object data="../media/video/App_Search.mp4" outputclass="video" width="356" height="200"> <param name="poster"...
by shanweizhong
Wed Jul 12, 2017 12:06 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: "colspec" setting not respected in Chemistry CSS processor
Replies: 9
Views: 3903

Re: "colspec" setting not respected in Chemistry CSS processor

Hi, oXygen XML v19.1 will be released this fall. You can follow the release/build RSS feed here: http://www.oxygenxml.com/rssBuildID.xml Unfortunately, the fix for this issue implies more than some CSS snippets, so please contact us on support AT oxygenxml DOT com in case you need a patch. Regards,...
by shanweizhong
Tue Jul 11, 2017 12:14 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: "colspec" setting not respected in Chemistry CSS processor
Replies: 9
Views: 3903

Re: "colspec" setting not respected in Chemistry CSS processor

Hello, I confirm this is a bug in DITA Map PDF - WYSIWYG transformation from oXygen XML version 19.0 . The bug has already been resolved in our current development stream and the fix will be included in the next version of oXygen XML (version 19.1 ). If this issue is important for your use-case, pl...
by shanweizhong
Mon Jul 10, 2017 2:44 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: "colspec" setting not respected in Chemistry CSS processor
Replies: 9
Views: 3903

"colspec" setting not respected in Chemistry CSS processor

Hi guys, I'm using the Chemistry CSS processor (DITA Map PDF - WYSIWYG) in XML Author 19.0 to generate PDF documents, and I found that the following table column settings are not respected: <colspec colwidth="1.0*"/> <colspec colwidth="2.36*"/> The two columns in a table are alwa...