Search found 123 matches

by mdslup
Fri Sep 14, 2018 4:41 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS-Based PDF question about footers
Replies: 1
Views: 696

CSS-Based PDF question about footers

I'm using the @page attributes to create headers and footers.

For example, in my @bottom-left I specify

@bottom-left {
content: "Part number: XXX";
}

I'd like to have the "XXX" be in a different color, but I can't figure out how to do that. Any tips?
by mdslup
Fri Sep 07, 2018 9:01 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS-based PDF: Question about Avoid rules
Replies: 2
Views: 710

Re: CSS-based PDF: Question about Avoid rules

Thanks.

I would like to be able to control them separately - a column break is not as bad as a page break.

Thanks very much!
by mdslup
Fri Sep 07, 2018 3:25 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS-based PDF: Question about Avoid rules
Replies: 2
Views: 710

CSS-based PDF: Question about Avoid rules

I have a rule to avoid breaking in the middle of a step, like this: *[class ~= "task/step"] { page-break-inside: avoid; } My question is: When I am using a 2-column layout, does that rule also tell it to avoid breaking across the column, or does it apply only to breaking across a page? All my testin...
by mdslup
Fri Aug 24, 2018 4:13 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS-based PDF: Table font size
Replies: 2
Views: 772

CSS-based PDF: Table font size

I have a CSS rule that I expect to control all text size in my PDF:

.body {
font-size: 13px;
}

However, the text size within a table seems to be *larger* in my merged HTML file, but *smaller* in my resulting PDF.

Is table text size controlled elsewhere?
by mdslup
Thu Aug 23, 2018 11:53 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Oxygen 20.1, webhelp classic - missing note images?
Replies: 1
Views: 652

Oxygen 20.1, webhelp classic - missing note images?

I'm trying to move over completely to Oxygen 20.1. I just ran my normal content with the DITA Map WebHelp Classic (deprecated) transformation scenario, and I notice that none of the notes, warnings, and icons have their associated images. Was this removed in this version?
by mdslup
Wed Aug 22, 2018 4:09 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Controlling size of SVG logo in header
Replies: 2
Views: 875

Controlling size of SVG logo in header

The code for my page attribute is below. Basically, it puts a gray bar across the top, with a logo in the top left and document name in the top right, with a page counter on the bottom. I'm trying to use an SVG for the logo. However, the height attribute does not seem to be applying; the logo comes ...
by mdslup
Wed Aug 22, 2018 12:35 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp classic, modfying XSL - can I case off of profiling attributes or transform parameters?
Replies: 4
Views: 892

Re: Webhelp classic, modfying XSL - can I case off of profiling attributes or transform parameters?

By the way is there a mapping of transformation variables to XSLT variables somewhere that I could look at?
by mdslup
Tue Aug 21, 2018 11:07 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Responsive output functionally changed
Replies: 2
Views: 1131

Re: Responsive output functionally changed

This also worked for me! The menu wasn't showing up when I viewed the page on mobile, but this fixed that. It also let me reverse the menu and topic body within the topic pages, so that the topic content appears first, before the menu (which was better for my particular use case).

Thanks!
by mdslup
Fri Aug 17, 2018 3:19 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp classic, modfying XSL - can I case off of profiling attributes or transform parameters?
Replies: 4
Views: 892

Webhelp classic, modfying XSL - can I case off of profiling attributes or transform parameters?

Oxygen 20.0. I'm modifying some of the XSL for the webhelp classic transformation (my favorite transformation scenario, it's so good, please don't remove it!). I'd like to create an if statement that is dependent on one or both of the following: * The transformation scenario parameters (such as args...
by mdslup
Thu Aug 16, 2018 9:43 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS-Based PDF: Uppercase/lowercase CAUTION vs Warning
Replies: 3
Views: 922

Re: CSS-Based PDF: Uppercase/lowercase CAUTION vs Warning

Great, thanks. I was able to get it to work using the 2nd way. I'd like to try using the first way and create a new plug-in. I have 2 questions about this: * What plug-in should I copy to get started? I thought that it was "com.oxygenxml.pdf.css", but you've indicated that is the WYSIWYG scenario. W...
by mdslup
Thu Aug 16, 2018 2:35 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS-Based PDF: Uppercase/lowercase CAUTION vs Warning
Replies: 3
Views: 922

CSS-Based PDF: Uppercase/lowercase CAUTION vs Warning

Using the new HTML5 CSS-based PDF. I notice that note type="caution" produces a "CAUTION", while note type="warning" produces a "Warning". I can't figure out why this is. I found the file com.oxygenxml.pdf.css\css\core\-i18n-en.css which says: *[class ~= "topic/note"][type = "caution"]:before { cont...
by mdslup
Wed Aug 15, 2018 12:50 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS-based PDF: Make borders go all the way across page
Replies: 1
Views: 806

CSS-based PDF: Make borders go all the way across page

Here is what my @page looks like: @page { size: us-letter landscape; column-count: 2; column-gap: 0.5in; margin-left: 0.1in; margin-right: 0.1in; margin-top: 0.1in; margin-bottom: 0.5in; } I'd like to have a border go all the way across the bottom of the page and override the margins. When I add som...
by mdslup
Wed Aug 15, 2018 12:46 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Page Margin Boxes in landscape
Replies: 2
Views: 701

Re: Page Margin Boxes in landscape

You're right, I should have just tested this myself. Thanks.
by mdslup
Tue Aug 14, 2018 11:07 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS HTML5 PDF - can't import google font
Replies: 2
Views: 707

Re: CSS HTML5 PDF - can't import google font

I was able to solve this by going to Options > Preferences > Proxy and changing to "Direct Connection".
by mdslup
Tue Aug 14, 2018 2:32 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS HTML5 PDF - can't import google font
Replies: 2
Views: 707

CSS HTML5 PDF - can't import google font

According to this site on fonts, https://www.oxygenxml.com/doc/versions/20.1/ug-chemistry/topics/ch_fonts.html#ch_basic_fonts I should be able to put @import url('https://fonts.googleapis.com/css?family=Montserrat:300,300i,400,500,700i'); at the top of my css file. However, doing this causes my enti...
by mdslup
Tue Aug 14, 2018 1:15 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Page Margin Boxes in landscape
Replies: 2
Views: 701

Page Margin Boxes in landscape

Using CSS/HTML5 PDF transform. This site describes Page Margin Boxes: https://www.oxygenxml.com/doc/versions/20.1/ug-chemistry/topics/ch_page_formatting.html#ariaid-title5 When I set the @page to be in landscape mode, do the boxes shift appropriately? In other words, when in landscape mode, is "top-...
by mdslup
Mon Aug 13, 2018 11:16 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS-based PDF: Don't need the cover and TOC pages
Replies: 2
Views: 729

Re: CSS-based PDF: Don't need the cover and TOC pages

Thanks Costin. I couldn't make the XSL solution work, but I suspect it might be that I'm using the jumping off points wrong. I'll keep working on it. More importantly, I was at least able to fix my links by resetting the "page" target-counter in my CSS file. I still have to remove the blank page man...
by mdslup
Thu Aug 09, 2018 3:26 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS-based PDF: Don't need the cover and TOC pages
Replies: 2
Views: 729

CSS-based PDF: Don't need the cover and TOC pages

Part of my job is creating procedural documents (between 2-6 pages). These are designed to be printed and used by a technician without access to power or internet. Oftentimes, the procedure I create is just a single topic file...I don't even need a map. I notice that the CSS-based PDF transformation...
by mdslup
Wed Aug 08, 2018 10:04 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS-based PDF: Changes to DPI
Replies: 4
Views: 1039

Re: CSS-based PDF: Changes to DPI

OK, I fixed this, but still feel like I shouldn't have had to do this.

My jpg image is specified as 300 dpi. The pdf transform is changing the pdi. I used the following css to force the pdi to 300 dpi:

*[class ~= "topic/image"] {
image-resolution: 300dpi;
}
by mdslup
Wed Aug 08, 2018 9:33 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS-based PDF: Changes to DPI
Replies: 4
Views: 1039

Re: CSS-based PDF: Changes to DPI

I will send an email.
by mdslup
Wed Aug 08, 2018 9:27 pm
Forum: Common Problems
Topic: In Oxygen 20.1, why is webhelp classic deprecated?
Replies: 7
Views: 1537

Re: In Oxygen 20.1, why is webhelp classic deprecated?

Oh, that's super helpful! Thanks.
by mdslup
Tue Aug 07, 2018 1:49 am
Forum: Common Problems
Topic: In Oxygen 20.1, why is webhelp classic deprecated?
Replies: 7
Views: 1537

Re: In Oxygen 20.1, why is webhelp classic deprecated?

Hi Ionela, I've thought more about it and wanted to point why I think the classic webhelp is actually more beneficial to users. Here's a screenshot of my manual generated from classic webhelp. Here's a good benefit of this view: Note that the left side of the screen always shows me where I am, withi...
by mdslup
Tue Aug 07, 2018 12:05 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS-based PDF: Changes to DPI
Replies: 4
Views: 1039

CSS-based PDF: Changes to DPI

My source image is 400x300, with both horizontal and vertical resolutions of 300 DPI. When I transform using the CSS-PDF scenario, the images get changed to 140 DPI. This makes the images bigger than I want in the PDF. I verified this by: * Confirming that the merged file had links to the images wit...
by mdslup
Mon Aug 06, 2018 10:02 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: New CSS-based PDF output - how to specify number of columns?
Replies: 2
Views: 681

New CSS-based PDF output - how to specify number of columns?

I do a lot of landscape orientation with 2 or 3 columns. I was able to do this with XSL, but I can't find in the documentation how # of columns is specified in the new CSS-based PDF output. Can anyone help?
by mdslup
Wed Aug 01, 2018 2:06 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Apply formatting to first column of table based on "otherprops" attribute value
Replies: 6
Views: 1124

Re: Apply formatting to first column of table based on "otherprops" attribute value

Would a find and replace of some kind not work?

You could do a simple find and replace across all your legacy files:

FIND: otherprops=cheader
REPLACE: outputclass=cheader

Alternatively, you could do some kind of xpath, xquery, xslt hacking to change all your source files.
by mdslup
Tue Jul 31, 2018 10:49 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp responsive - not having an index results in errors
Replies: 3
Views: 853

Re: Webhelp responsive - not having an index results in errors

Email sent.

Can I just use a blank index? If so, where does the index file go?