Search found 53 matches

by bloodnok
Wed Jun 03, 2020 5:03 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Suppressing conditional errors
Replies: 4
Views: 199

Re: Suppressing conditional errors

What a fabulously simple solution!

Many thanks, Radu.
by bloodnok
Fri May 29, 2020 11:19 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Suppressing conditional errors
Replies: 4
Views: 199

Re: Suppressing conditional errors

Fairly certain my scenario is like your first example. I've a variables.dita file with this entry: <ph id="llAirgap" props="AirGap">Air Gap </ph> Other entries embed the above, for example: <ph id="llAnalyst"><ph conref="#variables/llAirgap"/>Analyst</ph> The ditaval for the transform says: <prop ac...
by bloodnok
Thu May 28, 2020 8:33 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Suppressing conditional errors
Replies: 4
Views: 199

Suppressing conditional errors

I get the following error during transformation [DOTX010E][ERROR]: Unable to find target for conref="#variables/llAirgap". There's an understandable if annoying reason for the toolkit to throw the error: the variable it's complaining about is conditional and was excluded in this particular transform...
by bloodnok
Mon May 04, 2020 8:07 pm
Forum: Common Problems
Topic: Unexpected change of font inside <pre>
Replies: 9
Views: 539

Re: Unexpected change of font inside <pre>

Great feedback from the Support team and a usable solution. Thanks Julien.
by bloodnok
Sat Apr 25, 2020 3:07 am
Forum: Common Problems
Topic: Unexpected change of font inside <pre>
Replies: 9
Views: 539

Re: Unexpected change of font inside <pre>

<t>I tried both <ph> and the <codeph> to no effect. Either results with the san serif font on "ssh-rsa". <codeph> was worse as it also breaks the HTML rendering.<br/> <br/> However, if I replace the non-breaking hyphen and the non-breaking space with normal characters, the font change doesn't occur....
by bloodnok
Sat Apr 18, 2020 9:11 pm
Forum: Common Problems
Topic: Unexpected change of font inside <pre>
Replies: 9
Views: 539

Re: Unexpected change of font inside <pre>

Regarding hyphenation, I modified my CSS:

Code: Select all

/*RSA kludge*/
.nobreak{
  hyphens: none;
  overflow-wrap: break-word;
}
The "hyphens" directive is ignored by Chemistry.
by bloodnok
Sat Apr 18, 2020 6:22 am
Forum: Common Problems
Topic: Unexpected change of font inside <pre>
Replies: 9
Views: 539

Re: Unexpected change of font inside <pre>

BTW: if I disable the .nobreak CSS, I still get the unexpected font change but the text just runs off the side of the page.
evenmorebroken.png
evenmorebroken.png (51.22 KiB) Viewed 467 times
by bloodnok
Thu Apr 16, 2020 6:58 am
Forum: Common Problems
Topic: Unexpected change of font inside <pre>
Replies: 9
Views: 539

Re: Unexpected change of font inside <pre>

We're running oxygen-pdf-chemistry-22.0. Here's the CSS: /*RSA kludge*/ .nobreak{ overflow-wrap: break-word; } Another issue is the hyphenation in the code block: How can I suppress that? It's supposed to represent the output from an ASCII terminal. I was expecting the lines to just break at the edge.
by bloodnok
Wed Apr 15, 2020 1:47 am
Forum: Common Problems
Topic: Unexpected change of font inside <pre>
Replies: 9
Views: 539

Unexpected change of font inside <pre>

Trying to display a ssh public key. This is my source: <codeblock outputclass="nobreak"><ph conref="variables.dita#variables/llPrompt"/> <userinput>cat ~/.ssh/authorized_keys</userinput> ssh‑rsa AAAADAQABAAABAQDn2hZvQiXAAAAB3NzaC1yc2EDWNQ9AOF6JvcoMbDGUrh0C6WWTdDvQZA0vTwAbeIdjkAlcoRN1BU9BL...
by bloodnok
Wed Apr 01, 2020 2:06 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp Responsive warning messages
Replies: 5
Views: 350

Re: Webhelp Responsive warning messages

Hi Radu, Here's another message that I'm unable to resolve on my own: [exec] [pipeline] I/O error reported by XML parser processing file:/var/folders/1h/ss92rmxj6tg1rx9rfblmmvkw0000gn/T/temp20200331155800562/kibanapdns.dita.indexterms: /var/folders/1h/ss92rmxj6tg1rx9rfblmmvkw0000gn/T/temp20200331155...
by bloodnok
Fri Mar 20, 2020 12:23 am
Forum: Common Problems
Topic: Applying fill color to SVG doesn't work
Replies: 8
Views: 455

Re: Applying fill color to SVG doesn't work

That's great news. Thank Julien!
by bloodnok
Tue Mar 17, 2020 12:21 am
Forum: Common Problems
Topic: Applying fill color to SVG doesn't work
Replies: 8
Views: 455

Re: Applying fill color to SVG doesn't work

Hi Radu, The issue is that the SVG fill colour fails to survive to the Chemistry generated PDF. It works in HTML. I generate an HTML file with one CSS file, then clone the HTML and apply my print CSS. The SVG fill works for both HTML files. My workflow usually discards the intermediate HTML file wit...
by bloodnok
Thu Mar 12, 2020 6:40 am
Forum: Common Problems
Topic: Applying fill color to SVG doesn't work
Replies: 8
Views: 455

Re: Applying fill color to SVG doesn't work

The SVG is embedded in our DITA source and thus in the transitional HTML file and the "fill" request is in a CSS file referenced by the HTML.

Thanks
by bloodnok
Tue Mar 03, 2020 8:26 pm
Forum: Common Problems
Topic: Applying fill color to SVG doesn't work
Replies: 8
Views: 455

Applying fill color to SVG doesn't work

Added a "fill" directive to my CSS to change the colour of the SVG in my output.

Code: Select all

span.uicontrol{
  color: #3D7FA5; /*Lastline Blue*/
  fill: #3D7FA5; /*Lastline Blue*/
}
"color" works but "fill" doesn't. The SVG were rendered in their original colour. Is this a known issue?

Thanks
by bloodnok
Fri Dec 20, 2019 8:24 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp Responsive warning messages
Replies: 5
Views: 350

Webhelp Responsive warning messages

Wondering about these warnings: [exec] [pipeline] Warning at xsl:stylesheet on line 15 column 54 of dita-utilities.xsl: [exec] [pipeline] Stylesheet module plugin:org.dita.base:xsl/common/dita-utilities.xsl is included or [exec] [pipeline] imported more than once. This is permitted, but may lead to ...
by bloodnok
Mon Dec 16, 2019 10:47 pm
Forum: Common Problems
Topic: Stop font load error
Replies: 1
Views: 252

Stop font load error

Running Chemistry, I see the following error [exec] WARN org.apache.fop.apps.FOUserAgent - Unable to load font file: file:/System/Library/Fonts/Apple%20Color%20Emoji.ttc. Reason: java.io.IOException: Font is too large. If you need this font in your PDF, see the userguide about increasing the maximum...
by bloodnok
Mon Nov 18, 2019 9:42 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp Responsive - jquery version
Replies: 1
Views: 227

Webhelp Responsive - jquery version

One of our customers has run Qualys against our software, which includes the Webhelp Responsive package. The scan complained about the version of Jquery being used. I've been unable to find out if the scan marked a vulnerability or if it was just complaining about how old the package is but this is ...
by bloodnok
Wed Jun 12, 2019 6:52 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp Responsive - svg.dita.indexterms error
Replies: 3
Views: 806

Webhelp Responsive - svg.dita.indexterms error

When building my webhelp project, the processor is throwing an error: [exec] [pipeline] I/O error reported by XML parser processing file:/var/folders/1h/ss92rmxj6tg1rx9rfblmmvkw0000gn/T/temp20190612084545324/svg.dita.indexterms: /var/folders/1h/ss92rmxj6tg1rx9rfblmmvkw0000gn/T/temp20190612084545324/...
by bloodnok
Tue Jun 04, 2019 3:26 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp Responsive - pinning the Main page menu
Replies: 1
Views: 362

Webhelp Responsive - pinning the Main page menu

If I can't eliminate the Main page, is there a way of pinning its menu open by default? It's collapsed to the first level, which in my implementation, is very short and not very interesting.
by bloodnok
Fri May 31, 2019 10:43 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp Responsive - eliminating the "Main" page
Replies: 1
Views: 360

Webhelp Responsive - eliminating the "Main" page

My management likes the Webhelp layout and tools but wants the output to start at my first content topic, not at the Main page provided by the template. I've searched the documentation to no avail. Has anyone modified the template to just generate Topic, Search, and Index Term pages? Can you share h...
by bloodnok
Thu May 23, 2019 10:47 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp Responsive - ant build error
Replies: 5
Views: 705

Re: Webhelp Responsive - ant build error

Hi Radu, We're running oxygen-webhelp-dot-3.x.zip with dita-ot-3.2.1.zip. The three jaxb-*.jar files are where they're supposed to be. I tried Java 1.8 and a bit got further. This time my build expired at whr-dita-inner-topics with a net.sf.saxon.s9api.SaxonApiException ... Meanwhile, my ditamap bui...
by bloodnok
Tue May 21, 2019 8:59 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp Responsive - ant build error
Replies: 5
Views: 705

Re: Webhelp Responsive - ant build error

Hi Radu, I apparently have all the required plugins in my dita-ot-3.2.1 directory macgrif:dita-documentation$ ls tools/dita-ot-3.2.1/plugins/ com.oxygenxml.common com.oxygenxml.highlight com.oxygenxml.html.custom com.oxygenxml.media com.oxygenxml.pdf.css com.oxygenxml.webhelp.classic com.oxygenxml.w...
by bloodnok
Mon May 20, 2019 11:42 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp Responsive - ant build error
Replies: 5
Views: 705

Webhelp Responsive - ant build error

I can build Webhelp Responsive from OxygenXML Editor and with the dita command. But when I try running it from a simulation of our Jenkins engine, I get the following fatal error: [templatetask] Implementation of JAXB-API has not been found on module path or classpath. Any hints on what I'm overlook...
by bloodnok
Sun May 19, 2019 12:26 am
Forum: Common Problems
Topic: Applying a class to SVG
Replies: 2
Views: 687

Re: Applying a class to SVG

I've found a workaround using an ANT replaceregexp - fortunately the class="fontfab" is easy to find: <replaceregexp file="${pub.dir}/index.html" flags="gs" match="class="fontfab"" replace="height="9pt" width="9pt"" byline="true"/> Thanks for the confirmation, Dan. Hope...
by bloodnok
Wed May 15, 2019 10:46 pm
Forum: Common Problems
Topic: Applying a class to SVG
Replies: 2
Views: 687

Applying a class to SVG

I'm experimenting with embedding SVG in my docs. Found a probable bug with Chemistry. I've the following <svg-container id="opt-svg"> <svg class="fontfab" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg...
by bloodnok
Wed May 15, 2019 10:28 pm
Forum: Common Problems
Topic: unwanted returns in <codeblock>
Replies: 8
Views: 2580

Re: unwanted returns in <codeblock>

Hard returns in PDF aren't unique to Chemistry. We've had this issue since as long as we've provided PDF documentation. The workaround we used in my previous lives was to manually break the line and use the backslash character. So your source would be: # This is the actual shell cmd $gist = invoke-b...
by bloodnok
Wed Mar 27, 2019 8:08 pm
Forum: Common Problems
Topic: Cannot render the ⌥ symbol
Replies: 5
Views: 1198

Re: Cannot render the ⌥ symbol

*[class ~= "ui-d/uicontrol"], .uicontrol { font-family: "Cambria Math", Symbol; } Thanks Dan, but that doesn't work for me. First problem is I haven't Cambria Math on any of my systems. Second is the available Symbol fonts lack a bold glyph, which totally changes the appearance of my <uicontrol> it...
by bloodnok
Wed Mar 27, 2019 7:03 pm
Forum: Common Problems
Topic: Illegal reflective access
Replies: 1
Views: 617

Illegal reflective access

I'm getting the following build warning: [exec] WARNING: An illegal reflective access operation has occurred [exec] WARNING: Illegal reflective access by ro.sync.net.protocol.Installer (file:/Volumes/Documents/Documents/dita-documentation/tools/oxygen-pdf-chemistry-21.0/lib/oxygen-21.0-20190218.1533...
by bloodnok
Mon Mar 18, 2019 8:09 pm
Forum: Common Problems
Topic: Cannot render the ⌥ symbol
Replies: 5
Views: 1198

Re: Cannot render the ⌥ symbol

It turns out the issue is the <uicontrol>. When I define ⌥ out in the paragraph, it renders just fine. However, I haven't found any way of embedding single character with a different font than the default text. If you have a workaround that works, please let me know.
by bloodnok
Thu Mar 14, 2019 12:48 am
Forum: Common Problems
Topic: Chemistry ignores cell span directives
Replies: 4
Views: 1099

Re: Chemistry ignores cell span directives

Thanks for the workaround.