Search found 16 matches

by amyers3
Tue Nov 19, 2019 6:51 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How can I change monospace elements to sans-serif
Replies: 9
Views: 328

Re: How can I change monospace elements to sans-serif

Ok - I decided to try one more time. I was able to get the codeblock to be sans serif by not using the class and by using the code element. Thanks for everybody's input.
by amyers3
Tue Nov 19, 2019 6:41 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How can I change monospace elements to sans-serif
Replies: 9
Views: 328

Re: How can I change monospace elements to sans-serif

I appreciate everybody's input, and yes, I use the css inspector. I don't know if anybody has actually tried this, but no matter what I do, codeblock is not sans serif in the pdf. In the merged html file, the codeblock font is sans serif and the inspector identifies the style in the css. But in the ...
by amyers3
Fri Nov 08, 2019 11:53 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How can I change monospace elements to sans-serif
Replies: 9
Views: 328

Re: How can I change monospace elements to sans-serif

Thanks Julien, I tried this and it didn't work, either. Codeph, codeblock, filepath are still what looks like courier. I went back to the oob pdf based on html5 transformation and the only change I made was to the oxygen-print.css file: body { font-size: 10pt; font-family: Roboto; I get the same res...
by amyers3
Fri Nov 01, 2019 10:31 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How can I change monospace elements to sans-serif
Replies: 9
Views: 328

Re: How can I change monospace elements to sans-serif

Thanks for your reply, Dan. The problem I am having is that when I set the font family as this: * { font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif !important; } These styles are correctly ignored: pre, .codeblock { font-family: monospace; } .codeph { font-family: monospace; } .filepath {...
by amyers3
Thu Oct 31, 2019 9:02 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How can I change monospace elements to sans-serif
Replies: 9
Views: 328

How can I change monospace elements to sans-serif

Hi, I am using the Ditamap PDF html5/css transformation in editor 21.1. I set my font-family to the following: * {font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif} Everything works fine except for elements that are monospace. Content in these elements is monospaced, but with a serif font. ...
by amyers3
Tue Jun 04, 2019 12:27 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: XHTML Transformation CSS Path Issues
Replies: 3
Views: 374

Re: XHTML Transformation CSS Path Issues

Hi Radu,

I am using the bundled OT with Editor 21.1.

I tried configuring the parameters as you suggest and get the same result.

Thanks,

Adam
by amyers3
Thu May 23, 2019 11:43 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: css/html PDF mini toc customization
Replies: 1
Views: 262

css/html PDF mini toc customization

Hi,

When I enable the minitoc on the args.chapter.layout parameter, I would like the toc to be a bullet list of subtopics directly after the chapter content. Is there a way to configure this when using the css/html pdf transformation?

Thanks,

Adam
by amyers3
Fri May 17, 2019 5:38 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: XHTML Transformation CSS Path Issues
Replies: 3
Views: 374

XHTML Transformation CSS Path Issues

Hi, I am using the XHTML transformation on a single .xml file. I have set the following parameters: args.css: my.css (my custom css file) args.cssroot: ${pd}/templates/css (the directory of my css file relative to the project directory) args.copycss: yes Base directory: ${cfd} Temporary files direct...
by amyers3
Thu May 16, 2019 6:02 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: glossentry xrefs in PDF include page number
Replies: 2
Views: 827

Re: glossentry xrefs in PDF include page number

Thanks for the quick reply, Dan.

I tweaked it a bit so that the page number is only removed from the glossary xref and everything looks good.

Code: Select all

*[class ~= "topic/xref"][href][type="glossentry"]:after {
    content: none !important;
}
Thanks,

Adam
by amyers3
Wed May 15, 2019 7:14 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: glossentry xrefs in PDF include page number
Replies: 2
Views: 827

glossentry xrefs in PDF include page number

Hi, I want to remove the page number from my glossentry xrefs. I am using the Editor 21 PDF html/css transformation. The *merged.html file has the following: <a class="- topic/xref xref" href="#unique_9" type="glossentry">term</a> The PDF has: term (page 396) I want the PDF to show: term Is there an...
by amyers3
Fri May 03, 2019 1:37 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Ditaval file must be in or below ditamap directory
Replies: 1
Views: 323

Ditaval file must be in or below ditamap directory

Hi, I am using webhelp responsive with feedback transformation on Editor 21.0. My ditaval files are one directory above my ditamap. I am getting this error even though I have the copy outer param set to 3. Reference to resource outside of main DITA map folder may produce potential publishing problem...
by amyers3
Thu May 02, 2019 12:58 am
Forum: Common Problems
Topic: Can't Style Context Label Text
Replies: 1
Views: 270

Can't Style Context Label Text

Hi, I am trying to style the context label text, but I can't get it to work. I feel like the content after the div should be wrapped in an element. I am generating a pdf from html5/css. This is the code in the merged output. <section class="- topic/section task/context section context" id="unique_3_...
by amyers3
Fri Apr 05, 2019 7:50 pm
Forum: Common Problems
Topic: .xpr file has absolute paths
Replies: 4
Views: 635

Re: .xpr file has absolute paths

Thanks Costin.

Adam
by amyers3
Mon Apr 01, 2019 8:52 pm
Forum: Common Problems
Topic: .xpr file has absolute paths
Replies: 4
Views: 635

.xpr file has absolute paths

Hi, I have a shared project file committed to subversion, but it is using absolute paths. The project file is in: C:/Users/me/workspace/folder/docs/dita/folder/projects The webhelp directory below (in .xpr) is part of my project. Is there a setting in oxygen that makes these entries relative to the ...
by amyers3
Sat Mar 02, 2019 2:48 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Can't Get @type from ditamap topicmeta in CSS
Replies: 2
Views: 388

Can't Get @type from ditamap topicmeta in CSS

Hi, I'm trying to add content from ditamap topicmeta. [Codebox=]<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd"> <map title="Test" xml:lang="en"> <title>Test</title> <topicmeta> <prodinfo> <prodname></prodname> <vrmlist> <vrm version="0000"/> </vrml...