Search found 142 matches

by shudson310
Fri Mar 20, 2020 6:36 pm
Forum: Common Problems
Topic: Generate chapter minitoc
Replies: 8
Views: 2306

Re: Generate chapter minitoc

I figured it out:

Code: Select all

/* The dotted line between the topic name and the page number. */
*[class~="chapter/minitoc-links"] *[class~="topic/link"] a:after {
    content: leader('.') target-counter(attr(href), page) !important;
}
Just had to look at that merged-html a little more closely!
by shudson310
Fri Mar 20, 2020 6:28 pm
Forum: Common Problems
Topic: Generate chapter minitoc
Replies: 8
Views: 2306

Re: Generate chapter minitoc

I tried adding a style like:

Code: Select all

/* The dotted line between the topic name and the page number. */
*[class~="chapter/minitoc-links"] *[class~="topic/link"]:after {
    content: leader('-') target-counter(attr(href), page) !important;
    color: navy;
}
Doesn't seem to work. Suggestions?
by shudson310
Fri Mar 20, 2020 5:48 pm
Forum: Common Problems
Topic: Generate chapter minitoc
Replies: 8
Views: 2306

Re: Generate chapter minitoc

I don't see any information in the documentation for adding page numbers to the minitoc? This would be similar to how the main TOC displays page numbers and leaders.
by shudson310
Thu Mar 19, 2020 7:52 pm
Forum: Common Problems
Topic: Generate chapter minitoc
Replies: 8
Views: 2306

Re: Generate chapter minitoc

Is there a way to generate the page numbers in the minitoc, as is done in xsl:fo? For printed output, it is imperative that we provide the page numbers with the chapter minitoc.
by shudson310
Sat Dec 21, 2019 1:18 am
Forum: Common Problems
Topic: Password Protect PDF Output
Replies: 5
Views: 668

Re: Password Protect PDF Output

Is there a way to use this config inside of a custom framework? I'd like to distribute this across the team, rather than per desktop install... Thanks, --Scott Hi, If you are producing the PDF from Oxygen using our DITA to PDF using CSS transformation scenario, in the Oxygen installation folder you ...
by shudson310
Wed Oct 02, 2019 4:02 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: WebHelp customization: Localized text in HTML fragment
Replies: 9
Views: 1437

Re: WebHelp customization: Localized text in HTML fragment

That worked very well! Thank you for the troubleshooting assistance! #bestcustomerservice
by shudson310
Thu Sep 26, 2019 10:49 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: WebHelp customization: Localized text in HTML fragment
Replies: 9
Views: 1437

Re: WebHelp customization: Localized text in HTML fragment

In my understanding, the localization features provided by Oxygen are limited to the interface of the output (e. g. search field placeholder text etc.). I use HTML fragments containing localized content, too. It's wrapped in several div elements with the lang attribute. In a first approach, I used ...
by shudson310
Wed Jul 31, 2019 6:58 pm
Forum: Common Problems
Topic: Table continuation headers
Replies: 10
Views: 2307

Re: Table continuation headers

The headers for the table are continued, but we want the title to also flow to the next page with a (continued) label. This is supported in the FOP transforms, but I haven't found a way to to the table title continuation in Chemistry.
by shudson310
Wed Jul 31, 2019 5:04 pm
Forum: Common Problems
Topic: Table continuation headers
Replies: 10
Views: 2307

Re: Table continuation headers

Is table title continuation supported in Chemistry?
by shudson310
Fri Apr 05, 2019 5:08 pm
Forum: Feature Request
Topic: Support for deployment on Azure
Replies: 2
Views: 1284

Re: Support for deployment on Azure

Perfect. Thanks!

--Scott
by shudson310
Thu Apr 04, 2019 10:44 pm
Forum: Feature Request
Topic: Support for deployment on Azure
Replies: 2
Views: 1284

Support for deployment on Azure

Please add support for deployment to Azure.
by shudson310
Tue Feb 12, 2019 2:18 am
Forum: Other Issues
Topic: Schematron: catch inconsistent spelling
Replies: 1
Views: 700

Schematron: catch inconsistent spelling

One of the features in Vale is that it can catch inconsistent use of a particular spelling. For example, "cancelled" and "canceled" can both be accepted forms of the word. I want to write a Schematron rule that flags a document that uses both forms of the word! You can use one or the other forms, bu...
by shudson310
Mon Sep 24, 2018 5:54 pm
Forum: Common Problems
Topic: tokenize sentences in a paragraph in Schematron
Replies: 3
Views: 1657

Re: tokenize sentences in a paragraph in Schematron

Unfortunately, it looks like the markup in the <i> sentence is getting removed. We need to preserve the markup and delete only the sentence that has <b>.
by shudson310
Mon Sep 24, 2018 1:40 am
Forum: Common Problems
Topic: tokenize sentences in a paragraph in Schematron
Replies: 3
Views: 1657

tokenize sentences in a paragraph in Schematron

I have a paragraph with multiple sentences of mixed content. I'd like to tokenize each sentence and wrap them in a <ph> element. I've tried a few approaches using tokenize, but can't seem to get them to work. <sqf:replace match="text()"> <xsl:copy> <xsl:for-each-group select="text()" group-ending-wi...
by shudson310
Thu Aug 16, 2018 7:39 pm
Forum: Offer a Service
Topic: Schematron development and training
Replies: 1
Views: 5470

Schematron development and training

Need help converting your Editorial Style rules to Schematron? Want to know how to create Schematron rules yourself?

I can help! I provide the following DITA related services: user training, user mentoring, information architecture, Schematron development

Scott Hudson
http://shudson310.blogspot.com/
by shudson310
Tue Jul 31, 2018 12:13 am
Forum: Common Problems
Topic: widows and orphans
Replies: 3
Views: 1883

Re: widows and orphans

Thanks! That was very helpful. Works well for our tasks, too.
by shudson310
Mon Jul 23, 2018 5:29 pm
Forum: Common Problems
Topic: Path to image from Cover Page for PDF
Replies: 4
Views: 2281

Re: Path to image from Cover Page for PDF

We follow the best practice from https://www.oxygenxml.com/forum/topic5247.html The bookmeta contains a data element with the keyref to the image. We have a separate sub map that resolves that keyref to in image in the project directory. I don't want to maintain separate stylesheets for every projec...
by shudson310
Fri Jul 20, 2018 11:55 pm
Forum: Common Problems
Topic: Path to image from Cover Page for PDF
Replies: 4
Views: 2281

Re: Path to image from Cover Page for PDF

Each of our projects has a logo that is specified in the bookmap: <data name="cover-image"><image id="project_icon" keyref="project_icon" align="right"> <alt>Project icon</alt> </image></data> </metadata> That keyref gets resolved to an href in the merged.html: <div name="cover-image" class="- topic...
by shudson310
Thu Jul 19, 2018 5:38 pm
Forum: Common Problems
Topic: widows and orphans
Replies: 3
Views: 1883

widows and orphans

The Chemistry documentation describes a style to control page breaks based on widows and orphans. The example only shows <p>, but is this possible with other elements? For example, I don't want an orphaned line from a step. I tried: p, tr, ul, ol, steps, step, substep, li { orphans: 4; widows: 2; } ...
by shudson310
Thu Jul 19, 2018 4:26 pm
Forum: Common Problems
Topic: Glossary formatting
Replies: 6
Views: 2389

Re: Glossary formatting

Here's my final style that works: /* Glossary formatting*/ *[class~="glossentry/glossentry"] > *[class~="glossentry/glossterm"]:before { content: oxy_xpath("(following-sibling::*//*[contains(@class, ' glossentry/glossAcronym ')]/text() | following-sibling::*//*[contains(@class, ' glossentry/glossAbb...
by shudson310
Thu Jul 19, 2018 4:22 pm
Forum: Common Problems
Topic: Glossary formatting
Replies: 6
Views: 2389

Re: Glossary formatting

To get it to work, I commented out the following offending style in p-numbering-shallow.css: /* Topics from Front Matter and Back Matter and all other topics that follow a part should not define string sets, counters, etc.. */ *[class ~= "bookmap/frontmatter"] > *[class ~= "topic/title"]:before, *[c...
by shudson310
Thu Jul 19, 2018 4:12 pm
Forum: Common Problems
Topic: Glossary formatting
Replies: 6
Views: 2389

Re: Glossary formatting

I am able to get the CSS selector to work in the browser, but when I run the transform, it appears that my style is either overridden or stripped out during the process, so does not appear when I inspect the merged HTML. I'm using: /* Glossary formatting*/ *[class~="glossentry/glossentry"] > *[class...
by shudson310
Thu Jul 19, 2018 3:08 am
Forum: Feature Request
Topic: support text rotation
Replies: 10
Views: 5080

Re: support text rotation

The padding was the issue. I fixed as follows: *[outputclass ~= "rotated"] > * { display: block; transform: rotate(-90deg) translate(-100%) !important; text-align: left !important; margin-top: -10%; margin-bottom: 0; vertical-align:bottom; white-space: nowrap; } tr > *[outputclass ~= "rotated"] { pa...
by shudson310
Thu Jul 19, 2018 1:31 am
Forum: Feature Request
Topic: support text rotation
Replies: 10
Views: 5080

Re: support text rotation

To address the height issue, I found a similar post on StackOverflow. I still can't get the text to align at the bottom of the cell now: *[outputclass ~= "rotated"] > * { display: block; transform: rotate(-90deg) translate(-100%) !important; text-align: left !important; margin-left: 0 !important; ma...
by shudson310
Thu Jul 19, 2018 1:29 am
Forum: Common Problems
Topic: Glossary formatting
Replies: 6
Views: 2389

Re: Glossary formatting

Unfortunately, we are still not seeing the prepended Acronym in the glossary heading (glossterm).

I've tried troubleshooting with the browser and with the XPath builder.

--Scott
by shudson310
Wed Jul 18, 2018 8:55 pm
Forum: Feature Request
Topic: support text rotation
Replies: 10
Views: 5080

Re: support text rotation

Adding the <p> around the table header text and using the style provided works! That said, the table header is not tall enough, so the text overruns. How can I address the table row height?
by shudson310
Tue Jul 17, 2018 7:44 pm
Forum: Common Problems
Topic: Glossary formatting
Replies: 6
Views: 2389

Glossary formatting

I'd like to style the glossary such that the title follows the format: glossAcronym - glossterm glossdef I'm trying to use: /* Glossary formatting*/ article > *[class~="glossentry/glossentry"] > *[class~="glossentry/glossterm"]:before { content: oxy_xpath('.//*[contains(@class, ' glossentry/glossAcr...
by shudson310
Tue Jul 17, 2018 5:08 pm
Forum: Feature Request
Topic: support text rotation
Replies: 10
Views: 5080

Re: support text rotation

I saw the reply, but this request is to support the text rotation within a header cell, not rotate the entire table. I still haven't been able to get this to work:

Code: Select all

*[class ~= "rotated"] {
transform: rotate(90deg) !important;
}
by shudson310
Tue Jul 17, 2018 4:06 pm
Forum: Feature Request
Topic: support text rotation
Replies: 10
Views: 5080

support text rotation

We need to be able to rotate certain headers in our tables when @outputclass=”rotated” is specified. In our xsl:fo, we support this with: <xsl:when test="@outputclass='rotated'"> <fo:block-container reference-orientation="90" inline-progression-dimension="1in"> <fo:block xsl:use-attribute-sets="thea...
by shudson310
Thu Jul 05, 2018 7:26 pm
Forum: Common Problems
Topic: Table continuation headers
Replies: 10
Views: 2307

Table continuation headers

How can I bring over the title of a table if it spans multiple pages?

On the subsequent pages, I'd like the text to read:
Table title (continued)

The th is carried over, so there should be a way to do this?