Search found 26 matches

by GHogarth
Tue Mar 17, 2020 2:38 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Conditional behaviour for front matter
Replies: 1
Views: 187

Conditional behaviour for front matter

Hi there;
I'm looking for a simple way I can use the same map for both PDF and HTML output, but only have the frontmatter (copyright & TOC) appear in the PDF output. I've done a bunch of reading, and have only ended up more confused than when I started. <grin>

Grant
by GHogarth
Mon Mar 16, 2020 6:39 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: ISSUE: Markdown output comes out as a single line
Replies: 10
Views: 782

Re: ISSUE: Markdown output comes out as a single line

Hi Radu.
I added

Code: Select all

.md
as a parameter to my version of the markdown transformation scenario.
I had not used quotes, but also did not use the period; FWIW, adding the period made no difference in the output. <smile>

Grant
by GHogarth
Mon Mar 16, 2020 6:39 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: ISSUE: Markdown output comes out as a single line
Replies: 10
Views: 782

RESOLVED: Markdown output comes out as a single line

Hi Radu.
I discovered that I also needed to set the

Code: Select all

transtype
value for the transformation to markdown to get the correct output format.
Grant
by GHogarth
Fri Mar 13, 2020 5:38 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: ISSUE: Markdown output comes out as a single line
Replies: 10
Views: 782

Re: ISSUE: Markdown output comes out as a single line

Thanks!
I'm confused though.
Per your bug [https://github.com/jelovirt/org.lwdita/issues/65]
I tried adding "out.ext" with a value of "md" (no quotes) to the transform, but it doesn't seem to have taken.
Am I editing the wrong place/file?
In ignorance and appreciation,
Grant
by GHogarth
Fri Mar 13, 2020 5:10 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: ISSUE: Markdown output comes out as a single line
Replies: 10
Views: 782

Re: ISSUE: Markdown output comes out as a single line

Hi Radu <oXygen/> XML Editor 22.0, build 2020021016 DITA-OT ver 3.x as bundled =========== Discovered if I rename the file to "abc123.MD", the file is handled correctly. "abc123.HTML" (what gets produced by the transform), comes in as an single line. Is there a way to change the default extention ap...
by GHogarth
Wed Mar 11, 2020 1:13 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: ISSUE: Markdown output comes out as a single line
Replies: 10
Views: 782

ISSUE: Markdown output comes out as a single line

Starting from a DITA book, I have tried both the regular Markdown and the GitHub-flavored Markdown Transformations, and both produce the output as a single line, which renders all the output as if it was a *very* long title. :? All the interior markup appears to be correct, there are just not the CR...
by GHogarth
Tue Mar 10, 2020 7:36 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Content reuse bug? Or User ignorance error?
Replies: 1
Views: 198

Content reuse bug? Or User ignorance error?

When I try to create reusable content, (per https://www.oxygenxml.com/doc/versions/22.0/ug-editor/topics/eppo-creating-reusable-content.html), Oxygen replaces everything in the topic with the entire topic. See this GIF (https://app.box.com/s/2ccmf8rwwishen5kqgns2k05g1r4b84b) for an illustration. The...
by GHogarth
Tue Feb 25, 2020 10:30 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: User-created plugin not importing
Replies: 3
Views: 261

User-created plugin not importing

Hello all; Following the instructions at https://www.oxygenxml.com/doc/versions/22.0/ug-editor/topics/simple-dita-ot-plugin.html#simple-dita-ot-plugin I tried to create a new plugin. (org.dita.html.confluence) by cloning org.dita.html5 and changing all occurrences of "HTML5" to "html.confluence". Ho...
by GHogarth
Tue Feb 25, 2020 4:39 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to disable table and figure title auto caption labeling
Replies: 9
Views: 4595

Re: How to disable table and figure title auto caption labeling

Hrrumph! For Oxygen 22 (and probably 21), I thought that the file is:
{DITA-OT}\dita-ot-3.4\plugins\org.dita.html5\xsl\tables.xsl
and the "xsl:choose" section to comment out is lines 376-424
But commenting out those lines doesn't change the behaviour. :(
by GHogarth
Tue Feb 25, 2020 1:17 am
Forum: Other Issues
Topic: Githook problem
Replies: 8
Views: 990

Re: Githook problem

I got this from the dita-users group: Mica Semrick mica@silentumbrella.com commented: I'd expect that since you are using windows, git, when run from oxygen, has no knowledge of your cygwin environment and thus cannot launch your script with bash. I'd guess that you'd need to give the file an extens...
by GHogarth
Fri Jan 10, 2020 6:38 pm
Forum: Other Issues
Topic: Githook problem
Replies: 8
Views: 990

Re: Githook problem

Thanks. Query posted. Will let you know what I hear back.
by GHogarth
Thu Jan 09, 2020 9:04 pm
Forum: Other Issues
Topic: Githook problem
Replies: 8
Views: 990

Re: Githook problem

Thanks Alex. No luck. I've installed cygwin, installed git in that, and set the Java_Home variable in the path (user path, not system path, if that makes a difference) Installed java version is 11. Running the following in a Git Bash window works. git add . git commit -m "bash commit" As this is bas...
by GHogarth
Thu Jan 09, 2020 6:07 pm
Forum: Feature Request
Topic: What about Git support?
Replies: 101
Views: 27258

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 execut...
by GHogarth
Thu Jan 09, 2020 6:03 pm
Forum: Other Issues
Topic: Githook problem
Replies: 8
Views: 990

Re: Githook problem

Yes, Win 10. Thanks! :)
by GHogarth
Tue Jan 07, 2020 11:42 pm
Forum: Other Issues
Topic: Githook problem
Replies: 8
Views: 990

Githook problem

Has anyone worked with githooks as part of their commit to a github repo? The following script works when I run it from Git BASH or a command window, but seems to be ignored when I commit from inside oXygen. #!/bin/sh set -x # In order to run this pre-commit hook the user will need the following set...
by GHogarth
Thu Nov 14, 2019 1:13 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Changing formatting of index in DITA>PDF output
Replies: 1
Views: 264

Changing formatting of index in DITA>PDF output

Hi there. I'd like to change how the index is laid out in a PDF file created from DITA using the DITA MAP based on HTML5 & CSS transformation. What I want is to have the page numbers appear on the same line as the index text, rather than on the line below. How do I achieve this? Current: index entry...
by GHogarth
Tue Nov 12, 2019 8:48 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DOTX031E error for file in same directory
Replies: 6
Views: 664

Re: DOTX031E error for file in same directory

Yes, it is contained in the <shortdesc>, and removing it from that location removes the error.
Thank you Radu!
by GHogarth
Fri Nov 08, 2019 2:46 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: DOTX031E error for file in same directory
Replies: 6
Views: 664

Re: DOTX031E error for file in same directory

No error on page open/validation for either the host page or the target page.. The only errors on the Book ditamap validation are for having too long a shortdesc in several topics (none of them are the problem one or the one it it referencing) , and a couple of unreferenced keys. I have tried removi...
by GHogarth
Thu Nov 07, 2019 7:29 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DOTX031E error for file in same directory
Replies: 6
Views: 664

Re: DOTX031E error for file in same directory

Here is the Map structure: I have bolded the relevant lines. ------------------------------------------------- *** BOOKMAP *** <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE bookmap PUBLIC "-//OASIS//DTD DITA BookMap//EN" "bookmap.dtd"> <bookmap> <booktitle> <mainbooktitle>Partner IR Database Impl...
by GHogarth
Wed Nov 06, 2019 6:41 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DOTX031E error for file in same directory
Replies: 6
Views: 664

DOTX031E error for file in same directory

Hi: I'm getting the following error on a transform. System ID: C:\DEV\GPSS\c_join_function.dita Scenario: GPSS (PDF (CSS Formatter - HTML5)) Input file: C:\DEV\GPSS\GPSS.ditamap Engine name: DITA-OT Severity: error Description: [DOTX031E]: The file c_find_function.dita is not available to resolve li...
by GHogarth
Wed Oct 09, 2019 6:50 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA->Markdown: How to get a single output file?
Replies: 2
Views: 365

DITA->Markdown: How to get a single output file?

Hi all;
I'm going from DITA to Markdown (to feed readme.io).
I would like to produce a single .md output file from multiple DITA source files. The default creates an index file and a 1:1 (input:ouptput) collection of .md files.
by GHogarth
Tue Sep 24, 2019 6:56 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Cross-references: How do I remove the "on page <page #>"
Replies: 1
Views: 275

Cross-references: How do I remove the "on page <page #>"

Hi all;
I would like to remove the "on page <page #>" portion of my cross references, as my document will only be online. Not sure how to do this.
Thanks
Grant
by GHogarth
Wed Sep 18, 2019 11:12 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Suppressing the Number for Parts
Replies: 3
Views: 468

Re: Suppressing the Number for Parts

Hi Dan, thanks for this. Unfortunately, your first two links 403 on me. :(
by GHogarth
Fri Sep 13, 2019 9:12 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Suppressing the Number for Parts
Replies: 3
Views: 468

Suppressing the Number for Parts

Hi there... I can't find a way to suppress the number that is applied when I use the "part" element. I'm sure that there must be one.
by GHogarth
Tue Aug 27, 2019 11:04 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Running transformation scenario on Dita map fails because th
Replies: 4
Views: 1930

Re: Running transformation scenario on Dita map fails because th

I still get this error with XML Editor 21.1, build 2019071807 It doesn't matter if args.grammar.cache is set to yes or no. AFAIK, I have no filter conditions and no ditaval set. At least, I didn't set any. Scenario: DITA Map HTML5 Engine name: DITA-OT Error Message: Transformation failed. C:\Program...