Search found 156 matches

by shudson310
Thu Feb 15, 2024 9:55 pm
Forum: Feature Request
Topic: AI Positron: more LLM compatibility
Replies: 1
Views: 174

AI Positron: more LLM compatibility

We would love to see the AI Positron addon support connections to additional LLMs, such as HuggingFace. For example, https://huggingface.co/bigcode or https://huggingface.co/Writer/palmyra-base
by shudson310
Thu Feb 01, 2024 2:34 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Prepending text to title in template
Replies: 1
Views: 284

Prepending text to title in template

Hi, I'm trying to prepend some text at the start of a title in a topic template. Unfortunately, if the user puts anything in the title prompt (using a properties file with type=dita), that title overrides anything I put in a wizard in the actual template. Here's what I have in the task template: <ti...
by shudson310
Thu Feb 01, 2024 1:55 am
Forum: Feature Request
Topic: AI Positron: Accessibility
Replies: 2
Views: 313

AI Positron: Accessibility

Hi, I’d love to see one of the possible Actions be “Improve Accessibility” where AI could be used to apply the proper markup for tables, and applying descriptive alt text for images and desc for tables.

Accessibility should be at the forefront of improving content!
by shudson310
Fri Sep 02, 2022 8:10 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Handle several languages in one CSS customization file for PDF output
Replies: 2
Views: 983

Re: Handle several languages in one CSS customization file for PDF output

We use something like this: *[class~="front-page/front-page"]:lang(en-US):after(2){ display:block; page: copyright-notice-page; /* Moves the synthetic element on a new page. */ margin-top: 0.25in; /* use margins to position the text in the page */ margin-left: 0in; margin-right: 5em; conte...
by shudson310
Wed Jun 08, 2022 6:34 pm
Forum: Common Problems
Topic: Page load performance
Replies: 1
Views: 1842

Page load performance

We've upgraded to v5.0, but page loads take at least 30 seconds. Are there any configurations to improve the load speed? Even simple topics with some keyrefs take this long. Thanks!
by shudson310
Mon Aug 09, 2021 5:37 pm
Forum: Common Problems
Topic: substring replace in Find/Replace
Replies: 2
Views: 962

Re: substring replace in Find/Replace

Worked perfectly. Thanks!
by shudson310
Fri Aug 06, 2021 6:25 pm
Forum: Common Problems
Topic: substring replace in Find/Replace
Replies: 2
Views: 962

substring replace in Find/Replace

Hello, I'm trying to fix a series of issues with some keyrefs: <xref keyref="topicname#topicname"/> I basically want to search across the keyrefs in a project or directory and remove the # and substring after. The result should be: <xref keyref="topicname"/> If I do a find in a f...
by shudson310
Tue Dec 01, 2020 12:10 am
Forum: General XML Questions
Topic: Comparing multiple strings in Schematron
Replies: 5
Views: 3179

Re: Comparing multiple strings in Schematron

Certain topics are now returning a fatal Schematron error: A sequence of more than one item is not allowed as the value in 'cast as' expression (<xref>, <xref>) My guess is that not all of these contain text to compare? I've tried adding: <sch:let name="empty"/> <sch:assert id="now014...
by shudson310
Mon Nov 30, 2020 9:42 pm
Forum: General XML Questions
Topic: Comparing multiple strings in Schematron
Replies: 5
Views: 3179

Re: Comparing multiple strings in Schematron

I was close, but just not getting it quite right.

That did it. Thanks, so much, Octavian!
by shudson310
Wed Nov 25, 2020 5:43 am
Forum: General XML Questions
Topic: Comparing multiple strings in Schematron
Replies: 5
Views: 3179

Re: Comparing multiple strings in Schematron

OK, I have it closer, but now it is triggering on all of the links? <sch:pattern> <sch:rule context="*[count(xref = 3)]"> <sch:let name="stag"><xsl:value-of select="normalize-space(xs:string(xref[@product='staging]))"/></sch:let> <sch:let name="prod"><xsl:valu...
by shudson310
Wed Nov 25, 2020 2:21 am
Forum: General XML Questions
Topic: Comparing multiple strings in Schematron
Replies: 5
Views: 3179

Comparing multiple strings in Schematron

I've got the following source: <dt><xref href="https://staging.example.com/example.html" format="html" scope="external" product="staging">My link text</xref><xref href="https://production.example.com/example.html" format="html" scope="...
by shudson310
Fri Nov 06, 2020 7:19 pm
Forum: General XML Questions
Topic: Test to see if text contains a string from a list of values
Replies: 3
Views: 2165

Re: Test to see if text contains a string from a list of values

Unfortunately, I get this error:
A sequence of more than one item is not allowed as the first argument of fn:contains() ("Access to the ", " overview module is granted to a sp...")
by shudson310
Fri Nov 06, 2020 5:05 am
Forum: General XML Questions
Topic: Test to see if text contains a string from a list of values
Replies: 3
Views: 2165

Test to see if text contains a string from a list of values

I'm trying to create a Schematron rule that will check text nodes against a list of terms in an external document. Basically, I'm trying to see if writers included a product name directly in text instead of using a keyref in DITA. I'm reading in my external document by: <sch:let name="keys"...
by shudson310
Wed Sep 23, 2020 6:08 pm
Forum: Other Issues
Topic: Share Schematron Files Across Projects
Replies: 2
Views: 1258

Re: Share Schematron Files Across Projects

Hi Daniel, I've implemented a similar scenario at a few different companies. I used oXygen's custom framework to set up the validation, transform scenarios, and other oXygen customizations. I've stored that framework in a separate tools repo when I did not have access to a webserver to deploy the fr...
by shudson310
Fri Mar 20, 2020 6:36 pm
Forum: Common Problems
Topic: Generate chapter minitoc
Replies: 8
Views: 6104

Re: Generate chapter minitoc

I figured it out: /* 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: 6104

Re: Generate chapter minitoc

I tried adding a style like: /* 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: 6104

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: 6104

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: 6
Views: 2880

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: 4266

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: 4266

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: 13
Views: 7615

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: 13
Views: 7615

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: 3977

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: 3977

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: 1714

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...
by shudson310
Mon Sep 24, 2018 5:54 pm
Forum: Common Problems
Topic: tokenize sentences in a paragraph in Schematron
Replies: 3
Views: 2962

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: 2962

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()&q...
by shudson310
Thu Aug 16, 2018 7:39 pm
Forum: Offer a Service
Topic: Schematron development and training
Replies: 1
Views: 7260

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: 3457

Re: widows and orphans

Thanks! That was very helpful. Works well for our tasks, too.