Date   

Re: Chapter numbering issue when using <topicgroup>

Chris Brand
 

Hi Toshihiko

 

Thanks! I'm using FOP and not AH for PDF conversion. Do you have an idea where this specific template of yours has to be placed in the pdf2 section? I tried all possible files but it had no effect ...

 

Greez,

Chris.

 

Von: main@dita-users.groups.io <main@dita-users.groups.io> Im Auftrag von Toshihiko Makita
Gesendet: Samstag, 20. Juni 2020 15:41
An: main@dita-users.groups.io
Betreff: Re: [dita-users] Chapter numbering issue when using <topicgroup>

 

Hi Chiris,

As <topicgroup> is specialization of topicref, it affects numbering wrongly. To avoid this problem, I always skip <topicgroup> in the merged middle file processing in PDF output.

See https://github.com/AntennaHouse/pdf5-ml/blob/master/com.antennahouse.pdf5.ml/xsl/dita2fo_convmerged.xsl Line 163 or near.

Hope this helps.

Regards,

-- 
/*----------------------------------------------------------------------- 
 Toshihiko Makita
 Development Group. Antenna House, Inc. Ina Branch
 Web site:
 http://www.antenna.co.jp/
 http://www.antennahouse.com/
 -----------------------------------------------------------------------*/


Re: Chapter numbering issue when using <topicgroup>

Chris Brand
 

Hi Mica

 

<topicset> behaves same as <topicgroup> in PDF generation when it comes to wrong chapter numbers.

 

Greez,

Chris.

 

Von: main@dita-users.groups.io <main@dita-users.groups.io> Im Auftrag von Mica Semrick
Gesendet: Freitag, 19. Juni 2020 20:28
An: main@dita-users.groups.io; Chris Brand via groups.io <chrizzbee74@...>
Betreff: Re: [dita-users] Chapter numbering issue when using <topicgroup>

 

Hi,

You can try <topicset> instead.

-m

On June 19, 2020 8:12:48 AM PDT, "Chris Brand via groups.io" <chrizzbee74@...> wrote:

Hi
In my map structure, I started to use <topicgroup> with profiling. My chapters are all numbered based on a template derived from the DITA Generator code. This worked nice so far. I understood that <topicgroup> elements do not affect the map structure. In the PDF output this is indeed true, the <topicgroup> element doesn't show up and is not included in the TOC. But all children of the <topicgroup> are counted up one level, thus creating a false numbering.

Example:

1 Chapter
<topicgroup>
   1.1.1 Chapter
   1.1.2 Chapter
</topicgroup>
1.2 Chapter

I expect that the output is like this:

1 Chapter
<topicgroup>
   1.1 Chapter
   1.2 Chapter
</topicgroup>
1.3 Chapter

So the children of the <topicgroup> get the wrong chapter depth assigned.

Anyone knows a fix?

Thanks,
Chris.


Re: Chapter numbering issue when using <topicgroup>

Toshihiko Makita
 

Hi Chiris,

As <topicgroup> is specialization of topicref, it affects numbering wrongly. To avoid this problem, I always skip <topicgroup> in the merged middle file processing in PDF output.

See https://github.com/AntennaHouse/pdf5-ml/blob/master/com.antennahouse.pdf5.ml/xsl/dita2fo_convmerged.xsl Line 163 or near.

Hope this helps.

Regards,

-- 
/*----------------------------------------------------------------------- 
 Toshihiko Makita
 Development Group. Antenna House, Inc. Ina Branch
 Web site:
 http://www.antenna.co.jp/
 http://www.antennahouse.com/
 -----------------------------------------------------------------------*/


Re: Diagram XML markup/definition language within DITA?

Daud Vyd
 

Roger, this looks like exactly what I was looking for. Thank you!


From: main@dita-users.groups.io <main@dita-users.groups.io> on behalf of Hadley, Roger (Hillsboro) via groups.io <roger.hadley@...>
Sent: Thursday, June 18, 2020 7:59 PM
To: main@dita-users.groups.io <main@dita-users.groups.io>
Subject: Re: [dita-users] Diagram XML markup/definition language within DITA?
 
I use PlantUML in Oxygen for diagramming. So far using PlantUML Activity diagrams, which would not be the appropriate type of XML Schema. But PlantUML has many different diagrams types, one of which is likely appropriate. Here are some relelvant links:
https://plantuml.com/
https://blog.oxygenxml.com/topics/embedding_diagrams_in_dita_topics_using_plantuml.html


Re: Chapter numbering issue when using <topicgroup>

Mica Semrick
 

Hi,

You can try <topicset> instead.

-m


On June 19, 2020 8:12:48 AM PDT, "Chris Brand via groups.io" <chrizzbee74@...> wrote:
Hi
In my map structure, I started to use <topicgroup> with profiling. My chapters are all numbered based on a template derived from the DITA Generator code. This worked nice so far. I understood that <topicgroup> elements do not affect the map structure. In the PDF output this is indeed true, the <topicgroup> element doesn't show up and is not included in the TOC. But all children of the <topicgroup> are counted up one level, thus creating a false numbering.

Example:

1 Chapter
<topicgroup>
   1.1.1 Chapter
   1.1.2 Chapter
</topicgroup>
1.2 Chapter

I expect that the output is like this:

1 Chapter
<topicgroup>
   1.1 Chapter
   1.2 Chapter
</topicgroup>
1.3 Chapter

So the children of the <topicgroup> get the wrong chapter depth assigned.

Anyone knows a fix?

Thanks,
Chris.


Chapter numbering issue when using <topicgroup>

Chris Brand
 

Hi
In my map structure, I started to use <topicgroup> with profiling. My chapters are all numbered based on a template derived from the DITA Generator code. This worked nice so far. I understood that <topicgroup> elements do not affect the map structure. In the PDF output this is indeed true, the <topicgroup> element doesn't show up and is not included in the TOC. But all children of the <topicgroup> are counted up one level, thus creating a false numbering.

Example:

1 Chapter
<topicgroup>
   1.1.1 Chapter
   1.1.2 Chapter
</topicgroup>
1.2 Chapter

I expect that the output is like this:

1 Chapter
<topicgroup>
   1.1 Chapter
   1.2 Chapter
</topicgroup>
1.3 Chapter

So the children of the <topicgroup> get the wrong chapter depth assigned.

Anyone knows a fix?

Thanks,
Chris.


Re: XSL-FO PDF Title numbering + font style #FOP #XSLT #PDF

chichak1995@...
 

Not really sure, it was the decision authors made together, I'm just there as technical support.


[ann][webinar] Getting Started with DITA Using Oxygen XML Editor #Oxygen

alin_belu@...
 

Hello, 
 
On June 24, we will continue our weekly series of webinars with the 5th live event – “Getting Started with DITA using Oxygen XML Editor”. 
 
Sorin Carbunaru, software developer at Syncro Soft, invites you to a live discussion that will focus on introductory concepts of working with DITA documents in Oxygen XML Editor, covering everything from creating DITA maps and topics from scratch to basic publishing using out-of-the-box scenarios. Both beginner and advanced users will benefit from learning about subjects such as: 
  • The DITA UI perspective 
  • Creating and editing maps and topics 
  • Using the DITA Maps Manager 
  • Validate and Check for Completeness 
  • Basic publishing using predefined scenarios 
 
You can register for free at http://www.oxygenxml.com/evs2020-5.html
 
Check the full list of the upcoming webinars and follow the links to see more details and register for free: 
 
Regards, 
Alin


--
Alin Belu
Oxygen XML Editor


Re: XSL-FO PDF Title numbering + font style #FOP #XSLT #PDF

Julio J Vazquez
 

The real question is why are you messed that deep? That number of levels must be frustrating to authors and readers. 

Julio J. Vazquez


Re: Diagram XML markup/definition language within DITA?

Hadley, Roger (Hillsboro)
 

I use PlantUML in Oxygen for diagramming. So far using PlantUML Activity diagrams, which would not be the appropriate type of XML Schema. But PlantUML has many different diagrams types, one of which is likely appropriate. Here are some relelvant links:
https://plantuml.com/
https://blog.oxygenxml.com/topics/embedding_diagrams_in_dita_topics_using_plantuml.html


Re: XSL-FO PDF Title numbering + font style #FOP #XSLT #PDF

Nicolas Delobel
 

Hi,

By default 6th level don't have bold as font-style. I think you have to modify following attribute set (that corresponds to 6th level) to change font-style as you want.

<xsl:attribute-set name="topic.topic.topic.topic.topic.topic.title" use-attribute-sets="base-font common.title">
        <xsl:attribute name="start-indent"><xsl:value-of select="$side-col-width"/></xsl:attribute>
        <xsl:attribute name="font-style">italic</xsl:attribute>
        <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
</xsl:attribute-set>


[ANN] Declarative programming conference in Amsterdam - submission deadline

 

We are closing in on the deadline for the Declarative Amsterdam conference, the second in the series, that will take place on 8 and 9 October 2020, at the Science Park Amsterdam.

The first day will be tutorials, and the second day a symposium. We are still optimistic that it will be a real-life event, but we have plan B waiting in the wings as a virtual conference if that turns out to be necessary.

We are still open for submissions and we invite practitioners, software architects and engineers, academic researchers and others to submit proposals for tutorials and presentations.

Tutorials can be between 1.5 and 2.5 hours, and preferably include hands-on labs for participants. Presentations on the second day can be between 20 and 45 minutes. Proposals should at least include a title, duration and summary (90‒200 words). Speakers have the option of submitting a full paper or slides, which may be published on the Declarative Amsterdam website. The organizers will select talks that are most interesting to the target audience.

Submission deadline for proposals: June 28, 2020 by midnight CET

Proposals can be made via https://declarative.amsterdam/ .

Presentations decision will be made before August 15, 2020


Diagram XML markup/definition language within DITA?

Daud Vyd
 

Hello,

I'd like to create tree diagrams and flowcharts for insertion in my DITA documents. I'm familiar with tools like GraphViz but see that Oxygen-XML has support for creating similar diagrams for XML Schema visualization. Are people using Oxygen-XML or another tool to create diagrams in a format that is particularly suitable for DITA documents?

thank you,
-d. vyd


[ann] Oxygen Terminology Checker add-on has been released! #Oxygen

alin_belu@...
 

Hello, 


We want to let you know that the 
Oxygen Terminology Checker add-on has been released! 

With this add-on, you can create mappings between matched terms (words or sequences of words) and their suggested replacements. The incorrect terms that you will configure will be highlighted in the Author visual editing mode. 

You can right-click the highlights to access various actions allowing you to replace each individual highlight with suggestions or to apply the same suggestion in multiple places in the opened document. 

The add-on is free to use and it is available starting with version 21.1 of Oxygen XML Editor.

For a complete guide on how to install and use the new Oxygen Terminology Checker add-onread the following article: 


Best regards,
 
Alin 

--
Alin Belu
Oxygen XML Editor


Re: Text in SVG images not searchable in DITA-OT 3.x HTML5 output

Dan Vint
 

I found a similar problem with external links in an svg. Standalone the svg worked in the browser but referenced from the html generated the links didn't  work. In my case using a svgref element corrected the problem. I wanted to keep 2 separate files.



Sent from my Verizon, Samsung Galaxy smartphone


-------- Original message --------
From: Radu Coravu <radu_coravu@...>
Date: 6/16/20 2:52 AM (GMT-08:00)
To: main@dita-users.groups.io, dita-users@groups.io
Subject: Re: [dita-users] Text in SVG images not searchable in DITA-OT 3.x HTML5 output

Hi Yves,

You can try pasting the SVG content directly inside the DITA topic
inside an svg-container element, this should generate an HTML file
containing the embedded SVG, I think the browser will be able to allow
searching inside it if you do so.
If you are referring to the SVG using the DITA <image> tag it probably
needs to be published embedded inside the HTML instead of referenced
using <img src>.
A while back I created a plugin for this:

https://github.com/oxygenxml/dita-embed-html-mathml-svg

Regards,
Radu

Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

On 6/16/2020 12:43 PM, Yves Barbion wrote:
> Hi group
>
> I've got SVG images which contain text. If I just open the SVG in one of
> my browsers (Chrome, Firefox, Edge), the text is searchable. If I put
> the images in a DITA topic and generate HTML5 output with the DITA-OT
> 3.x, the text is no longer searchable.
>
> Any idea why this happens and how it can be fixed?
>
> Thanks
>
> Yves
>






Re: Text in SVG images not searchable in DITA-OT 3.x HTML5 output

Yves Barbion
 

Hi Radu

Your plugin works (of course! ;-) ). Thank you very much.

Kind regards

Yves

On Tue, 16 Jun 2020 at 11:52, Radu Coravu <radu_coravu@...> wrote:
Hi Yves,

You can try pasting the SVG content directly inside the DITA topic
inside an svg-container element, this should generate an HTML file
containing the embedded SVG, I think the browser will be able to allow
searching inside it if you do so.
If you are referring to the SVG using the DITA <image> tag it probably
needs to be published embedded inside the HTML instead of referenced
using <img src>.
A while back I created a plugin for this:

https://github.com/oxygenxml/dita-embed-html-mathml-svg

Regards,
Radu

Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

On 6/16/2020 12:43 PM, Yves Barbion wrote:
> Hi group
>
> I've got SVG images which contain text. If I just open the SVG in one of
> my browsers (Chrome, Firefox, Edge), the text is searchable. If I put
> the images in a DITA topic and generate HTML5 output with the DITA-OT
> 3.x, the text is no longer searchable.
>
> Any idea why this happens and how it can be fixed?
>
> Thanks
>
> Yves
>






Re: Text in SVG images not searchable in DITA-OT 3.x HTML5 output

Radu Coravu
 

Hi Yves,

You can try pasting the SVG content directly inside the DITA topic inside an svg-container element, this should generate an HTML file containing the embedded SVG, I think the browser will be able to allow searching inside it if you do so.
If you are referring to the SVG using the DITA <image> tag it probably needs to be published embedded inside the HTML instead of referenced using <img src>.
A while back I created a plugin for this:

https://github.com/oxygenxml/dita-embed-html-mathml-svg

Regards,
Radu

Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

On 6/16/2020 12:43 PM, Yves Barbion wrote:
Hi group
I've got SVG images which contain text. If I just open the SVG in one of my browsers (Chrome, Firefox, Edge), the text is searchable. If I put the images in a DITA topic and generate HTML5 output with the DITA-OT 3.x, the text is no longer searchable.
Any idea why this happens and how it can be fixed?
Thanks
Yves


Re: Text in SVG images not searchable in DITA-OT 3.x HTML5 output

David H
 

Hi Yves,

Is it possible that something in the pipeline creates a raster image preview, or even converts SVG to a raster image?

What's the current browser support for SVG images? Do they all support it?

HTH,
David


Hi group

I've got SVG images which contain text. If I just open the SVG in one of my browsers (Chrome, Firefox, Edge), the text is searchable. If I put the images in a DITA topic and generate HTML5 output with the DITA-OT 3.x, the text is no longer searchable.

Any idea why this happens and how it can be fixed?

Thanks

Yves


Text in SVG images not searchable in DITA-OT 3.x HTML5 output

Yves Barbion
 

Hi group

I've got SVG images which contain text. If I just open the SVG in one of my browsers (Chrome, Firefox, Edge), the text is searchable. If I put the images in a DITA topic and generate HTML5 output with the DITA-OT 3.x, the text is no longer searchable.

Any idea why this happens and how it can be fixed?

Thanks

Yves


[ann][webinar] Oxygen Markdown Support #Oxygen

alin_belu@...
 

Hello everyone,

Our weekly series of live events continues on June 17 with the “Oxygen Markdown Support” webinar.
 

During this live event, Alex Jitianu, lead developer at Syncro Soft, will focus on showing you how Oxygen XML Editor supports SMEs (developers, or engineers) working with Markdown documents by offering features such as: 

  • Editing support 
  • Conversion to other formats, like HTML or DITA 
  • Using Schematron rules to validate and check for completeness in a Markdown file 
  • MDITA, the authoring format of LwDITA that uses Markdown to structure information 

 

You can register for free at http://www.oxygenxml.com/evs2020-4.html 

 

Check the full list of the upcoming webinars and follow the links to see more details and register for free: 

17 June  – Oxygen Markdown Support 

 

Best regards, 
Alin

--
Alin Belu
Oxygen XML Editor