Search found 93 matches

by chrispitude
Sun Jan 12, 2020 2:39 pm
Forum: Common Problems
Topic: Unwrapping element inserts extra spaces
Replies: 5
Views: 182

Re: Unwrapping element inserts extra spaces

Hi Sorin,

It was Radu that taught me about schema-awareness when we ran into a similar issue with extra blank lines showing up in the editor due to this effect. :)
by chrispitude
Sun Jan 12, 2020 2:37 pm
Forum: Feature Request
Topic: What about Git support?
Replies: 71
Views: 20114

Re: What about Git support?

Important note: (thanks to alex_jitianu) The Oxygen's Git plugin is based on the JGit library, which supports at least the precommit Git hooks. If you are running on Windows, you need to: 1. Install Cygwin. You'll need to nstall the Git packages in Cygwin too, because the hook scripts want to execu...
by chrispitude
Wed Jan 08, 2020 3:26 pm
Forum: Common Problems
Topic: Can I use 'html5' DITA-OT plugins with PDF Chemistry?
Replies: 3
Views: 251

Re: Can I use 'html5' DITA-OT plugins with PDF Chemistry?

Hi Julien, Thanks for your reply. Unfortunately my original post mistakenly referenced the wrong transformation name. Here is the corrected question: When I install this plugin into the Oxygen DITA-OT, it modifies the " DITA Map HTML5 " output as expected. However, it does not affect the "DITA Map P...
by chrispitude
Wed Jan 08, 2020 5:06 am
Forum: Common Problems
Topic: Unwrapping element inserts extra spaces
Replies: 5
Views: 182

Re: Unwrapping element inserts extra spaces

It seems like the text-mode unwrap operation should be enhanced to be schema-aware so it knows which elements are space-preserved and which are not.
by chrispitude
Mon Jan 06, 2020 12:32 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Need a concrete example of a custom build file
Replies: 3
Views: 161

Re: Need a concrete example of a custom build file

Hi Mark,

I was able to get a working build file here:

topic20945.html

Hopefully this helps!

- Chris
by chrispitude
Tue Dec 31, 2019 8:57 pm
Forum: Common Problems
Topic: Can I use 'html5' DITA-OT plugins with PDF Chemistry?
Replies: 3
Views: 251

Can I use 'html5' DITA-OT plugins with PDF Chemistry?

Hi all, I have a DITA-OT plugin that modifies the 'html5' output by plugging into the following extension points: dita.xsl.topicpull dita.xsl.strings dita.xsl.html5 When I install this plugin into the Oxygen DITA-OT, it modifies the "DITA Map PDF - based on HTML5 & CSS" output as expected. However, ...
by chrispitude
Mon Dec 30, 2019 9:05 pm
Forum: Feature Request
Topic: What about Git support?
Replies: 71
Views: 20114

Re: What about Git support?

havip, this Git plugin has become one of the most-loved features of Oxygen in our team. Give it a try!!
by chrispitude
Wed Dec 25, 2019 6:37 pm
Forum: Feature Request
Topic: Refactoring: delete an attribute value
Replies: 3
Views: 959

Re: Refactoring: delete an attribute value

Hi all,

I've submitted an enhancement request for a new XML refactoring operation that can delete a value out of an attribute.
by chrispitude
Sat Dec 21, 2019 3:13 pm
Forum: Common Problems
Topic: How do I automatically run a post-processing utility on the PDF file?
Replies: 7
Views: 326

Re: How do I automatically run a post-processing utility on the PDF file?

I got this working by updating my script to accept a wildcard pattern, then using "${output.dir}/*.pdf" as the filename argument: <?xml version="1.0" encoding="UTF-8"?> <project basedir="." default="dist"> <!--The DITA OT default build file--> <import file="${dita.dir}\build.xml"/> <target name="dis...
by chrispitude
Fri Dec 20, 2019 11:27 pm
Forum: Other Issues
Topic: Null warning when pushing to Git origin
Replies: 9
Views: 528

Re: Null warning when pushing to Git origin

Hi Sorin,

Do you have an ETA for the next revision of the Git plugin? I have to say, it's been such a valuable addition to our authoring flow that it's hard not to anticipate the improvements!
by chrispitude
Fri Dec 20, 2019 11:05 pm
Forum: Feature Request
Topic: Refactoring: delete an attribute value
Replies: 3
Views: 959

Re: Refactoring: delete an attribute value

We need a similar solution for DITA authoring in Oxygen XML Author. Specifically, we need a way to remove a specific profiling condition value from the @props attribute throughout the entire project. Delete just that value from @props if there are multiple values Remove the @props attribute complete...
by chrispitude
Thu Dec 12, 2019 3:07 pm
Forum: Common Problems
Topic: How do I automatically run a post-processing utility on the PDF file?
Replies: 7
Views: 326

Re: How do I automatically run a post-processing utility on the PDF file?

The executable is now found, thank you!

How can I pass the name of the PDF being generated by the transformation? Currently, <arg/> is hardcoded but this transformation will be used by any number of books. This might be the tricky part...
by chrispitude
Wed Dec 11, 2019 7:11 pm
Forum: Common Problems
Topic: How do I automatically run a post-processing utility on the PDF file?
Replies: 7
Views: 326

Re: How do I automatically run a post-processing utility on the PDF file?

Hi Julien, Thank you! I put together the following build_wrapper.xml file: <?xml version="1.0" encoding="UTF-8"?> <project basedir="." default="dist"> <property name="scriptFolder" value="${basedir}\..\prj\tools\annotate_highlighted_changes" /> <!--The DITA OT default build file--> <import file="C:\...
by chrispitude
Thu Dec 05, 2019 9:42 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Generation of Table of contents and index page
Replies: 9
Views: 922

Re: Generation of Table of contents and index page

Hi Dan, We have <indexterms> in our DITA (it's content converted from FrameMaker), but we don't want to generate the index or its TOC entry at this time. How do we suppress index generation in PDF Chemistry? At https://www.oxygenxml.com/doc/versions/21.1/ug-pdf-css/topics/dcpp_table_of_contents.html...
by chrispitude
Thu Dec 05, 2019 6:16 pm
Forum: Common Problems
Topic: using external font files from Windows in PDF Chemistry
Replies: 1
Views: 139

using external font files from Windows in PDF Chemistry

We use Microsoft Visio in a Windows 10 environment to create SVG figures. Thus, the SVG files contain references to the "Arial" and "Courier New" font families. When we use PDF Chemistry in a linux environment to publish our books, these fonts are not resolved and instead fall back to Times. Althoug...
by chrispitude
Tue Dec 03, 2019 6:31 am
Forum: Common Problems
Topic: How do I automatically run a post-processing utility on the PDF file?
Replies: 7
Views: 326

How do I automatically run a post-processing utility on the PDF file?

I have a post-processing utility that we run on our published PDF files. However, it's cumbersome for our writers to run it manually each time they publish a PDF with PDF Chemistry. Is there a way to run an external utility automatically as a part of the PDF Chemistry transformation? I don't see an ...
by chrispitude
Sat Nov 30, 2019 4:38 am
Forum: Common Problems
Topic: Is it possible to access map variables from Customization CSS?
Replies: 8
Views: 477

Re: Is it possible to access map variables from Customization CSS?

Dan, this worked absolutely *perfectly* - thank you so much!!
by chrispitude
Sat Nov 30, 2019 4:36 am
Forum: Feature Request
Topic: table row profiling is difficult
Replies: 2
Views: 196

Re: table row profiling is difficult

We use background colors to indicate profiling attributes, and we do see table rows highlighted as expected when the attributes are applied. We had some initial difficulty on actually *applying* conditions to table rows, but we shared the following two methods within our team and it helped: Click an...
by chrispitude
Sat Nov 30, 2019 4:28 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: updating bookmap with nest subtopic structure in a topic file
Replies: 5
Views: 246

Re: updating bookmap with nest subtopic structure in a topic file

I've updated the script to behave as follows: When a topic is open, all map references** to that topic are updated. When a map is open but a topic is not, all map references** to topics in the open map are updated. When no map or topic is open and the current map context is set to <Current map>, all...
by chrispitude
Sat Nov 30, 2019 4:22 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customize related-links section
Replies: 2
Views: 174

Re: Customize related-links section

We use a prefix of "See Also" for our related links, in both the editor and the PDF output. Here's the CSS we use for that: html:root [class~="topic/linklist"] > strong { display: none; } *[class ~= "topic/related-links"]::before { content: "See Also"; font-weight: bold; page-break-after: avoid; mar...
by chrispitude
Thu Nov 21, 2019 3:37 pm
Forum: Common Problems
Topic: Hiding a valid attribute from Attributes View
Replies: 9
Views: 1444

Re: Hiding a valid attribute from Attributes View

Hmm, I might have hit a more serious problem. When I hid the @class attribute, all my CSS customizations that use @class stopped working. I assumed that rejectAttributes would hide attributes from the Attributes view, but I didn't expect it to suppress them from the internal machinery inside Oxygen....
by chrispitude
Thu Nov 21, 2019 3:14 pm
Forum: Common Problems
Topic: Hiding a valid attribute from Attributes View
Replies: 9
Views: 1444

Re: Hiding a valid attribute from Attributes View

Thanks Radu! The ability to override is certainly a good one, and we wouldn't want to lose that ability. But in the meantime, it would be nice to mention at https://www.oxygenxml.com/doc/versions/21.1/ug-editor/topics/configuring-content-completion-proposals.html?hl=cc_config.xml#configuring-content...
by chrispitude
Thu Nov 21, 2019 2:40 am
Forum: Common Problems
Topic: Hiding a valid attribute from Attributes View
Replies: 9
Views: 1444

Re: Hiding a valid attribute from Attributes View

Are cc_config.xml files incremental? I've extended the DITA framework. In my <framework>/resources/ directory, I created the following cc_config.xml file to hide some DITA attributes: <?xml version="1.0" encoding="UTF-8"?> <?xml-model href="http://www.oxygenxml.com/ns/ccfilter/config/ccConfigSchemaF...
by chrispitude
Wed Nov 20, 2019 4:52 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: updating bookmap with nest subtopic structure in a topic file
Replies: 5
Views: 246

Re: updating bookmap with nest subtopic structure in a topic file

Thanks Radu! It has been working well in practice. When a user has made changes to a topic's subtopic structure, they (1) run the tool from the menu item, (2) click into the DITA Maps Manager, which reloads the changed map file, then (3) click back into the editing window, which expands the map to t...
by chrispitude
Mon Nov 18, 2019 7:28 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: updating bookmap with nest subtopic structure in a topic file
Replies: 5
Views: 246

Re: updating bookmap with nest subtopic structure in a topic file

Hi Radu, This is great information and Java is surely the right way to do this. Unfortunately I don't know any Java beyond "hello world" and so such a solution is not workable in my timeframe (which is tomorrow-ish!). For now, I have written a perl script that takes one or more topic filenames as in...
by chrispitude
Mon Nov 18, 2019 2:52 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: updating bookmap with nest subtopic structure in a topic file
Replies: 5
Views: 246

updating bookmap with nest subtopic structure in a topic file

Hi all, Many of our topic files have subtopics nested in the same physical topic file. For example, <topic id="CIHJIEEE"> <title>About This Manual</title> <topic id="X2Tw8aq9SqTGl9W3GCTN5-w"> <title>Audience</title> </topic> <topic id="BABFAGGE"> <title>Related Publications</title> </topic> <topic i...
by chrispitude
Fri Nov 15, 2019 3:57 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How can I change monospace elements to sans-serif
Replies: 9
Views: 382

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

I second what Dan said - use the CSS Style Inspector! It will show you any CSS properties that are overriding your setting.
by chrispitude
Tue Nov 12, 2019 8:45 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Quickly creating an initial custom dictionary file
Replies: 1
Views: 134

Quickly creating an initial custom dictionary file

I have a set of ten books that have many terms specific to our industry. I wanted to create a custom Hunspell dictionary (.dic, .aff) that contains the words I want to be valid for our books. If you have access to a linux-like environment (I use WSL in Windows 10), you can do the following: 1. Run "...
by chrispitude
Tue Nov 12, 2019 4:12 pm
Forum: Feature Request
Topic: What about Git support?
Replies: 71
Views: 20114

Re: What about Git support?

The situation with our shared project file became unworkable. Despite telling everyone not to include it in commits, it still accidentally got staged/committed/conflicted. For now, we have a MASTER project file in the repo, then each writer copies it to their own working copy. I added the following ...