Search found 328 matches

by chrispitude
Mon Oct 12, 2020 2:51 am
Forum: General XML Questions
Topic: MathML: How to insert line breaks?
Replies: 11
Views: 6573

Re: MathML: How to insert line breaks?

chrispitude wrote:
Thu Oct 08, 2020 11:45 pm
MathJax 2.x renders the linebreak but MathJax 3.x does not. I added a comment here:

https://github.com/mathjax/MathJax/issues/2495
Here's the reply to my comment in the MathJax issue discussion:
It is scheduled for second-quarter next year.
by chrispitude
Thu Oct 08, 2020 11:45 pm
Forum: General XML Questions
Topic: MathML: How to insert line breaks?
Replies: 11
Views: 6573

Re: MathML: How to insert line breaks?

MathJax 2.x renders the linebreak but MathJax 3.x does not. I added a comment here:

https://github.com/mathjax/MathJax/issues/2495
by chrispitude
Wed Oct 07, 2020 3:41 pm
Forum: Common Problems
Topic: Automatically keeping introduction paragraphs with their content
Replies: 2
Views: 764

Automatically keeping introduction paragraphs with their content

Hi everyone, We implemented an automatic way keep introduction paragraphs with their content, and I wanted to share it here. (Note that although we specialize @paginate from @outputclass, this method works perfectly with @outputclass too.) For example, <p>The following figure shows blah blah:</p> <f...
by chrispitude
Tue Oct 06, 2020 4:46 pm
Forum: Feature Request
Topic: Using a more recent PDF version for PDF production
Replies: 13
Views: 2292

Re: Using a more recent PDF version for PDF production

I forgot to mention, currently PDF Chemistry seems to create a PDF file with a v1.4 header, but that uses a v1.5 feature (xref streams). This causes some pickier readers to fail to open the file (older versions of evince on linux, and I think I found another one but I forget). For details, see: http...
by chrispitude
Tue Oct 06, 2020 4:37 pm
Forum: Feature Request
Topic: Using a more recent PDF version for PDF production
Replies: 13
Views: 2292

Re: Using a more recent PDF version for PDF production

It's been a year and a half since I started this thread. Is there possibly a way to provide a transformation parameter to pass to Apache FOP to write PDF v1.5 files to gain the benefits of smaller PDF file size?
by chrispitude
Tue Oct 06, 2020 4:01 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: MathFlow
Replies: 17
Views: 1555

Re: MathFlow

If I select DITA/Insert/Insert Equation , yes, LibreOffice Math appears. Here I am able to create an equation; however, how to insert this into the dita is still not clear to me. Hi Katie, When you insert a new equation from Oxygen, it opens LibreOffice Math with a temporary MathML file for you to ...
by chrispitude
Tue Oct 06, 2020 3:48 pm
Forum: Common Problems
Topic: Discussion about the Oxygen Git Plugin v2.3.0
Replies: 8
Views: 1004

Re: Discussion about the Oxygen Git Plugin v2.3.0

Thanks Sorin! Perhaps there can be a v2.3.1 in our future? :)
by chrispitude
Mon Oct 05, 2020 3:32 pm
Forum: Common Problems
Topic: Discussion about the Oxygen Git Plugin v2.3.0
Replies: 8
Views: 1004

Discussion about the Oxygen Git Plugin v2.3.0

I am happy to see that a new version of the Oxygen Git plugin, v2.3.0, is available! It is great to see continued development on this plugin, as it has become the backbone of our document development environment. I started this thread to discuss it, and I have a question to start things off. When I ...
by chrispitude
Thu Oct 01, 2020 3:53 pm
Forum: Feature Request
Topic: Allow CSS content: to be set in oxy|processing-instruction
Replies: 4
Views: 851

Re: Allow CSS content: to be set in oxy|processing-instruction

I attached the wrong SVG file, it's this one:

gentext.svg.zip
(1.31 KiB) Downloaded 112 times
by chrispitude
Thu Oct 01, 2020 3:50 pm
Forum: Feature Request
Topic: Allow CSS content: to be set in oxy|processing-instruction
Replies: 4
Views: 851

Re: Allow CSS content: to be set in oxy|processing-instruction

Wow Radu, this is like magic - thank you! I created a base 18x13px SVG icon with Inkscape: gentext.svg.zip then rendered it to a PNG: gentext.png and it looks great in the editor! image.png We use the following CSS rule to draw a dotted line around scoped keyrefs, and the icon fits nicely inside: *[...
by chrispitude
Wed Sep 30, 2020 4:09 pm
Forum: Feature Request
Topic: Allow CSS content: to be set in oxy|processing-instruction
Replies: 4
Views: 851

Allow CSS content: to be set in oxy|processing-instruction

We have an external tool that populates the target text of cross-book (scoped) <xref> elements. To tell the difference between user-written tool-generated link text, the tool inserts a <?snps gentext?> XML processing instruction to indicate generated text content: <p>Also see <xref keyref="cc_seuser...
by chrispitude
Tue Sep 29, 2020 4:18 pm
Forum: Common Problems
Topic: How to exclude text using both a DITIVAL file and "props"?
Replies: 2
Views: 427

Re: How to exclude text using both a DITIVAL file and "props"?

And in Oxygen 22.1 we added some extra flexibility in the fact that if in the "FIlters" tab you specify a filter (for example by filling the "Exclude from output..." table) and then in the Parameters tab you use the "args.filter" parameter to specify the path to your DITAVAL (or dita vals), Oxygen ...
by chrispitude
Tue Sep 29, 2020 4:08 pm
Forum: Common Problems
Topic: How to locate position of a topic within DITA Map Manager?
Replies: 3
Views: 414

Re: How to locate position of a topic within DITA Map Manager?

This is a very useful feature. If it is not the default setting to link, I think it should be!
by chrispitude
Mon Sep 28, 2020 5:34 pm
Forum: Common Problems
Topic: DITA-OT HTML5 processing in PDF Chemistry
Replies: 6
Views: 1583

Re: DITA-OT HTML5 processing in PDF Chemistry

Hi Dan, Many thanks for your instructions! I will likely need them at some point to figure something out. But fortunately, I found my issue through code inspection. I realized that preprocess is called first, then merged2merged is called later to possibly replace it. My issue was that my <xsl:next-m...
by chrispitude
Wed Sep 23, 2020 10:15 pm
Forum: Common Problems
Topic: DITA-OT HTML5 processing in PDF Chemistry
Replies: 6
Views: 1583

Re: DITA-OT HTML5 processing in PDF Chemistry

For certain cross-references, we have a special title-only link text format specified with @outputclass: <xref href="#tableid" outputclass="title"/> We then have code applied by the dita.xsl.topicpull extension point to implement it: <!-- a cross-reference with outputclass=='title' always uses the t...
by chrispitude
Tue Sep 22, 2020 6:49 pm
Forum: General XML Questions
Topic: MathML: How to insert line breaks?
Replies: 11
Views: 6573

Re: MathML: How to insert line breaks?

Some additional data - the LibreOffice Math open-source equation editor does not understand the <mspace linebreak='newline' /> element, but the MathFlow commercial equation editor does (including creating multi-line equations).
by chrispitude
Mon Sep 21, 2020 9:51 pm
Forum: General XML Questions
Topic: MathML: How to insert line breaks?
Replies: 11
Views: 6573

Re: MathML: How to insert line breaks?

Hmmm, I need a solution to this too! We have multi-line equations in our books that are not breaking in the PDF Chemistry output using any of the methods I've tried.
by chrispitude
Mon Sep 14, 2020 2:32 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Synchronizing XML formatting between Oxygen and external tools (+ Git)
Replies: 9
Views: 918

Re: Synchronizing XML formatting between Oxygen and external tools (+ Git)

I agree that integrated Java-based solutions would be best. I wish I had the Java knowledge and free time to pursue this! The DITA migration is not even my full-time job. I'm just a technical writer with a spare-time investigation into DITA that somehow turned into a full multi-group migration effor...
by chrispitude
Mon Sep 14, 2020 2:22 pm
Forum: Feature Request
Topic: Handling file/directory rename reference adjustment in large projects
Replies: 8
Views: 1034

Re: Handling file/directory rename reference adjustment in large projects

In addition, master files consume entries in the DITA Maps Manager context, which is quite problematic. We have issue EXM-45202 filed for this. Yes, good news on that, my colleague Cosmin just fixed the issue, if it goes through all out internal QA and review stages we might have for you a beta kit...
by chrispitude
Sun Sep 13, 2020 5:44 pm
Forum: Feature Request
Topic: Handling file/directory rename reference adjustment in large projects
Replies: 8
Views: 1034

Handling file/directory rename reference adjustment in large projects

We have ~100 DITA bookmap files that reference ~20,000 DITA topic files. (This is just in one Git repo, and we have multiple repos.) Our writers are asking how to rename files and directories and have affected references updated automatically. In addition to books, we have release notes for all prod...
by chrispitude
Sun Sep 13, 2020 5:42 pm
Forum: Feature Request
Topic: Master Files: Present a dialog box when "Remove from Disk" is selected
Replies: 2
Views: 516

Re: Master Files: Present a dialog box when "Remove from Disk" is selected

Hi jhanna,

Your idea is a good one. Thanks for suggesting it.
by chrispitude
Fri Sep 11, 2020 5:04 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Synchronizing XML formatting between Oxygen and external tools (+ Git)
Replies: 9
Views: 918

Re: Synchronizing XML formatting between Oxygen and external tools (+ Git)

Hi Radu, Thanks for filing the low-priority enhancement! My perl utility reads in a ditamap, makes some changes, and writes it back out. As a workaround, I implemented this: Hash all actual element strings (with linefeeds, etc.) in input file by a normalized-whitespace version of the element. Search...
by chrispitude
Thu Sep 10, 2020 3:51 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Refactoring a DITA Map considers the profiling conditions
Replies: 1
Views: 371

Refactoring a DITA Map considers the profiling conditions

Hi SyncroSoft folks, I owe you a huge thank you for Oxygen being cleverer than I expected. We just had our first major documentation release using Oxygen/DITA/Git. I needed to provide a way for our writers to remove the @rev attribute from their DITA content. But there was a catch - I needed to pres...
by chrispitude
Wed Sep 09, 2020 3:11 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Synchronizing XML formatting between Oxygen and external tools (+ Git)
Replies: 9
Views: 918

Re: Synchronizing XML formatting between Oxygen and external tools (+ Git)

Hi Radu, Is it even feasible to ask for an "Allow line breaks before />" option in your serializer? I realize I'm the only person asking for this. I don't know if you're using your own serializer or a standardized one. Most serializers accessible from perl/Pythron/etc. provide control over indent, l...
by chrispitude
Wed Sep 09, 2020 1:10 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Synchronizing XML formatting between Oxygen and external tools (+ Git)
Replies: 9
Views: 918

Re: Synchronizing XML formatting between Oxygen and external tools (+ Git)

Hi Radu, I ran into my first obstacle. Let's say I start with this DITA content: <p><xref href="#creating_the_virtual_top_level_netlist/fig_ipq_mw3_qlb" type="fig"/> shows a 2D and 3D view of a top-level design with an SoC and memory design.</p> <fig id="fig_ipq_mw3_qlb"> <title>2D and 3D views of a...
by chrispitude
Tue Sep 08, 2020 2:14 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Synchronizing XML formatting between Oxygen and external tools (+ Git)
Replies: 9
Views: 918

Re: Synchronizing XML formatting between Oxygen and external tools (+ Git)

Thanks Radu, this is exactly what I needed! Does the "Format and Indent" operation behave identically to new content/element creation in the topic editor and the DITA Maps Manager? If so, then what I can do is Run Format and Indent on every file in the repo Write a simple perl script to read/write t...
by chrispitude
Mon Sep 07, 2020 11:20 pm
Forum: Feature Request
Topic: Link viewer that lists incoming and outgoing links
Replies: 5
Views: 1185

Re: Link viewer that lists incoming and outgoing links

Thanks Sorin, I'll do some experiments with Master Files performance. Back to the OP's request, my writers have been asking for the same things as the OP. They want all information needed to understand the big-picture context of a topic in a collaborative context, so they understand the ramification...
by chrispitude
Mon Sep 07, 2020 9:57 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Synchronizing XML formatting between Oxygen and external tools (+ Git)
Replies: 9
Views: 918

Synchronizing XML formatting between Oxygen and external tools (+ Git)

Hi all, We have some external tools that we run from Oxygen to update our DITA topics and maps. For example, Update topics with target text for cross-book xrefs Update maps with corrected subtopic structure for nested topic structures in a single file These external utilities are currently written i...
by chrispitude
Wed Sep 02, 2020 3:02 am
Forum: Feature Request
Topic: Provide a dockable Profiling Conditions view
Replies: 3
Views: 671

Re: Provide a dockable Profiling Conditions view

If possible, it would also be useful to hotlink this Profiling Conditions view to the DITA Maps Manager view as well.
by chrispitude
Sat Aug 22, 2020 4:02 pm
Forum: Common Problems
Topic: DITA-OT HTML5 processing in PDF Chemistry
Replies: 6
Views: 1583

Re: DITA-OT HTML5 processing in PDF Chemistry

Julien, this is exactly the information I needed - thank you!