Re: [oXygen-user] [OXYGEN-14931] How to tell Oxygen to abort loading a large XML file?

2024-05-06 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Roger,

When you open such a large file in Oxygen, it should allow you to open 
in huge file editing mode, so maybe the next time you can pick this option:


https://www.oxygenxml.com/doc/versions/26.1/ug-editor/topics/huge-file-editor.html

Or you can try increasing Oxygen's maximum allowed memory:

https://www.oxygenxml.com/doc/versions/26.1/ug-editor/topics/increase-memory.html

Right now Oxygen is probably in an out of memory state, so you should 
probably kill it. Oxygen saves auto recovery info for all opened files 
once every 5 minutes by default, so if you re-open Oxygen and then 
re-open that other XML file which was not saved, Oxygen should prompt 
you to use the auto recovery info for it.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 5/6/24 17:12, Roger L Costello wrote:

Hi Folks,

I dragged and dropped a large (167MB) file into Oxygen. I have another 
memory-intensive operation (which I can't stop) going on at the same time, so 
Oxygen is taking a long time to load the XML file. It's been 15 minutes thus 
far and the file is still not loaded. I would like to tell Oxygen that I've 
changed my mind, don't load it. But Oxygen is completely unresponsive.

Is there any way, aside from killing the task (and losing all the changes I 
made but weren't saved), to get Oxygen to abort loading the file?

/Roger
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Add full stop to list item in Reusable content

2024-04-22 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Judith,

As  is a block-like visual element maybe you could use conref> and define the reusable content as  elements instead.


In general maybe such a style guide could be better implemented in the 
publishing customization part, in this way you could more naturally 
reuse entire  elements and rely on the publishing customization to 
add that extra "." if missing in the last .


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 4/22/24 11:07, Oudkerk, Judith wrote:


Hi All,

I was wondering if there’s a way to add a full stop to the final list 
item of reusable content. We have a list of items that are reusable, 
but each manual may use different list items. Therefore, the final 
list item may differ per manual. Since our Style guide dictates that 
only the final list item should have a full stop, it’s quite difficult 
to manage this list. Is there a way to add a full stop to the end of a 
list item outside the reusable content?


I tried putting the list items in both  and   elements, but 
then the full stop is placed on a new line in the output PDF:


XML:



PDF:



Do you have any other ideas or suggestions?

Thanks.

Kind regards,

Judith


Restricted Information and Basic Personal Data

Judith Oudkerk


 |


Technical Writer

ELEKTA | Nucletron

P.O. Box 930,


3900 AX,


Veenendaal,


The Netherlands

Visiting Address:


Waardgelder 1, 3905 TH Veenendaal

judith.oudk...@elekta.com


 |


www.elekta.com 

Nucletron B.V., registered 2730 3235
​Nucletron Operations B.V., registered 30129540​



This message is confidential and may be legally privileged or 
otherwise protected from disclosure. ​If you are not the intended 
recipient, please telephone or email the sender and delete this 
message ​and any attachment from your system; you must not copy or 
disclose the contents of this message ​or any attachment to any other 
person.
Any views expressed in this message are those of the individual 
sender, except where the sender specifies ​and with authority, states 
them to be the views of Elekta. Elekta may monitor email traffic data.



Restricted Information and Basic Personal Data


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] [OXYGEN-14072] Add custom catalog to OT build

2024-03-26 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Scott,

As you seem to have a custom DITA OT installation inside your custom 
framework, why don't you also use it as a default engine for publishing 
in the Oxygen Preferences->DITA page?


Other than that, the DITA OT needs to have a plugin containing extra 
catalogs (or as a hack you need to manually make changes to the 
"catalog-dita.xml" inside the DITA OT). There is no possibility to 
enforce an extra set of XML catalogs from the exterior when  starting 
the DITA OT. At some point I wished there was such a way:


https://github.com/dita-ot/dita-ot/issues/1515

Also Jarno Elovirta experimented at some point with a way to install 
plugins in the DITA OT without the need to change any files in the DITA 
OT folder itself, this pull request was abandoned though:


https://github.com/dita-ot/dita-ot/pull/3152

Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 3/27/24 02:08, Scott Prentice wrote:
I've got a custom framework that includes an OT installation that 
provides our custom doctype files and custom plugins. Editing topics 
that use this custom doctype is handled without problems, and using 
transformation scenarios that are supported by the embedded OT also 
works fine. But, I'd like to use an OT target that lives in the 
default Oxygen OT installation. My Oxygen DITA settings still point to 
the "built-in" OT, so when I set up a transformation scenario for the 
Oxygen OT target, it starts to work, but fails when it can't find the 
custom DTD.


When I add a pointer from [OXYGEN]/org.dita.base/catalog-dita.xml that 
references my custom catalog, the build completes fine. BUT .. I don't 
want to modify the default Oxygen installation files.


Some thoughts ..

- I don't think there's a param that I can add to the transformation 
scenario to reference my custom catalog .. is there?


- I've tried adding my catalog in Settings > XML > XML Catalog .. but 
that didn't seem to have any affect.


Is there any way to add a custom catalog without editing the default 
Oxygen files?


Currently using Oxygen 25.1.

Thanks!

...scott


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] [OXYGEN-13754] QuickFix and DITA default attributes

2024-03-13 Thread Oxygen XML Editor Support (Radu Coravu)

Hello Jirka,

As usually default attributes appear on elements in the Schematron 
schema and there is no way to know if they have been set in the schema 
or directly on the XML element.


You can use a template to filter out the class attribute, something 
similar to this older forum thread:


https://www.oxygenxml.com/forum/post54152.html#p54152

Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 3/13/24 20:36, Jirka Kosek wrote:

Hi,

I'm creating few small "refactoring actions" using Schematron and 
QuickFix for DITA in oXygen. It works except that default attributes 
are being copied when some element is copied using QuickFix. For 
example the following QuickFix



    
    sqf:fix="wrap-image">Image is misplaced and not 
enclosed by a figure.


  
    
  Move image into adjacent figure.
    
    
    
    select="$image"/>

  

    
  

Will move image



as

placement="inline" 
xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"/>


I understand that this is perhaps because QuickFix is internally 
implemented as XSLT transformation so default attributes are loaded 
from DTD during the parsing. I can live with added @class and 
@placement, but xmlns:ditaarch namespace declaration instantly 
triggers validation error in oXygen which is inconvenient? Is this 
something you can fix in next releases?


For now I've workaround that is using XSLT for performing QuickFix 
action and uses  and I intentionally do 
not copy @class attribute. But QuickFix is much more concise.


Thanks and have a nice day,

    Jirka


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] [OXYGEN-13700] cross references in reusable content

2024-03-13 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Judith,

With pleasure, maybe you can start a discussion with the Ixiasoft side 
about this.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 3/13/24 09:51, Oudkerk, Judith wrote:



Hi Radu,

Thanks for your quick and extensive reply. Unfortunately, the trick 
doesn’t work in our Eclipse/CMS web environment ☹. It did work in my 
Oxygen stand alone version, so I did something right…


Kind regards,

Judith

Judith Oudkerk


 |


Technical Writer

ELEKTA | Nucletron

P.O. Box 930,


3900 AX,


Veenendaal,


The Netherlands

Visiting Address:


Waardgelder 1, 3905 TH Veenendaal

judith.oudk...@elekta.com


 |


www.elekta.com <https://www.elekta.com/>

Nucletron B.V., registered 2730 3235
​Nucletron Operations B.V., registered 30129540​



This message is confidential and may be legally privileged or 
otherwise protected from disclosure. ​If you are not the intended 
recipient, please telephone or email the sender and delete this 
message ​and any attachment from your system; you must not copy or 
disclose the contents of this message ​or any attachment to any other 
person.
Any views expressed in this message are those of the individual 
sender, except where the sender specifies ​and with authority, states 
them to be the views of Elekta. Elekta may monitor email traffic data.


*
*

*

Restricted Information and Basic Personal Data

From:* oXygen-user  *On Behalf Of 
*Oxygen XML Editor Support (Radu Coravu)

*Sent:* Tuesday, March 12, 2024 9:59 AM
*To:* oxygen-user@oxygenxml.com
*Subject:* Re: [oXygen-user] [OXYGEN-13700] cross references in 
reusable content


Hello Judith,

An internal link inside a reused component should look like this:


    
    
    
    
    
    
    
    
    
    
    Paragraph 
    
    

So:



That "#." part is called a self link, there are some examples of it here:

https://www.oxygenxml.com/dita/1.3/specs/langRef/base/xref.html

So the "" should properly resolve in the 
HTML/PDF no matter where the entire reusable component will be used.


But this depends also on the publishing offered by Ixiasoft which we 
do not control.


About how you can insert "" constructs, 
Ixiasoft in general allows only inserting keyref links but in this 
case such a relative href link would need to be inserted in order for 
the link to work. If Ixiasoft's Oxygen integration does not offer you 
the way to insert such a link in the Author page, you can try to 
insert it in the Text editing mode and ask Ixiasoft to take such an 
use case into account for a future version.


About this remark:

Do  you offer DITA or Oxygen courses for technical authors who
would like to learn a bit more about how these kind of things work?

We do not offer training/courses. Even if we would, it would not help 
you much because you are using Oxygen with Ixiasoft which controls 
what actions and functionality the editor offers, the workflows are 
controlled by the CMS.


The DITA 1.3 specification is quite an useful set of resources about 
what the DITA standard can and cannot do.


We also have a set of videos for learning DITA with Oxygen (but they 
are with Oxygen desktop which has more functionality than the Oxygen 
products which are embedded and customized by Ixiasoft):


https://blog.oxygenxml.com/topics/learnDita.html

Hope this helps!

Regards,

Radu

Radu Coravu
Oxygen XML Editor


Restricted Information and Basic Personal Data

On 3/12/24 10:26, Oudkerk, Judith wrote:

Hi All,

A colleague of mine would like to use cross references within
reusable content. For example, he created a reusable content topic
with  elements and  elements. In the  elements, he
created an  to the  element, but in the PDF, this
does not result in a correct link. Is there a way to incorporate
 elements in reusable content? I would think it’s possible
with conkeyrefs, but I can’t figure out how to implement this. Any
suggestion would be appreciated.

We work with Oxygen embedded in Ixiasoft Eclipse  / Madcap IXIA
CCMS Web.

Thank you.

Kind regards,

Judith

PS. Do  you offer DITA or Oxygen courses for technical authors who
would like to learn a bit more about how these kind of things work?

Restricted Information and Basic Personal Data

*Judith Oudkerk**​**​**​**​***



 |



Technical Writer

ELEKTA | Nucletron

P.O. Box 930,



3900 AX,



Veenendaal,



The Netherlands

Visiting Address:



Waardgelder 1, 3905 TH Veenendaal

judith.oudk...@elekta.com <mailto:judith.oudk...@elekta.com>



 |




Re: [oXygen-user] [OXYGEN-13700] cross references in reusable content

2024-03-12 Thread Oxygen XML Editor Support (Radu Coravu)

Hello Judith,

An internal link inside a reused component should look like this:



    
    
    
    
    
    
    
    
    
    
    Paragraph 
    
    

So:




That "#." part is called a self link, there are some examples of it here:

https://www.oxygenxml.com/dita/1.3/specs/langRef/base/xref.html

So the "" should properly resolve in the 
HTML/PDF no matter where the entire reusable component will be used.


But this depends also on the publishing offered by Ixiasoft which we do 
not control.


About how you can insert "" constructs, 
Ixiasoft in general allows only inserting keyref links but in this case 
such a relative href link would need to be inserted in order for the 
link to work. If Ixiasoft's Oxygen integration does not offer you the 
way to insert such a link in the Author page, you can try to insert it 
in the Text editing mode and ask Ixiasoft to take such an use case into 
account for a future version.


About this remark:

Do  you offer DITA or Oxygen courses for technical authors who would 
like to learn a bit more about how these kind of things work? 
We do not offer training/courses. Even if we would, it would not help 
you much because you are using Oxygen with Ixiasoft which controls what 
actions and functionality the editor offers, the workflows are 
controlled by the CMS.


The DITA 1.3 specification is quite an useful set of resources about 
what the DITA standard can and cannot do.


We also have a set of videos for learning DITA with Oxygen (but they are 
with Oxygen desktop which has more functionality than the Oxygen 
products which are embedded and customized by Ixiasoft):


https://blog.oxygenxml.com/topics/learnDita.html

Hope this helps!

Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 3/12/24 10:26, Oudkerk, Judith wrote:


Hi All,

A colleague of mine would like to use cross references within reusable 
content. For example, he created a reusable content topic with  
elements and  elements. In the  elements, he created an 
 to the  element, but in the PDF, this does not result in 
a correct link. Is there a way to incorporate  elements in 
reusable content? I would think it’s possible with conkeyrefs, but I 
can’t figure out how to implement this. Any suggestion would be 
appreciated.


We work with Oxygen embedded in Ixiasoft Eclipse  / Madcap IXIA CCMS Web.

Thank you.

Kind regards,

Judith

PS. Do  you offer DITA or Oxygen courses for technical authors who 
would like to learn a bit more about how these kind of things work?



Restricted Information and Basic Personal Data

Judith Oudkerk


 |


Technical Writer

ELEKTA | Nucletron

P.O. Box 930,


3900 AX,


Veenendaal,


The Netherlands

Visiting Address:


Waardgelder 1, 3905 TH Veenendaal

judith.oudk...@elekta.com


 |


www.elekta.com 

Nucletron B.V., registered 2730 3235
​Nucletron Operations B.V., registered 30129540​



This message is confidential and may be legally privileged or 
otherwise protected from disclosure. ​If you are not the intended 
recipient, please telephone or email the sender and delete this 
message ​and any attachment from your system; you must not copy or 
disclose the contents of this message ​or any attachment to any other 
person.
Any views expressed in this message are those of the individual 
sender, except where the sender specifies ​and with authority, states 
them to be the views of Elekta. Elekta may monitor email traffic data.



Restricted Information and Basic Personal Data


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] [OXYGEN-12987] Need help with a Schematron rule

2024-02-14 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


About the "access denied" problem, we seem to have fixed it in an Oxygen 
26.1 minor bug fix release:


https://www.oxygenxml.com/build_history.html?build_id=2024012406

*Security/Schematron:* Fixed an issue regarding the validation of 
Schematron documents when such files were created or saved in a 
location considered not safe.
So maybe you can re-download and re-install Oxygen 26.1. In the Oxygen 
main menu Help->About dialog besides the version you can also find the 
build ID information as from time to time we release newer builds of the 
same version to fix more severe problems.



Regards,

Radu

Radu Coravu
Oxygen XML Editor


On 2/14/24 17:00, Frank Dissinger wrote:


Hi Franz-Josef,


Thank you very much for your help. Your code indeed does work! I don't 
know what made it fail previously...



Any idea about this error message which keeps popping up at the bottom 
of the window when I save a Schematron rule file?


access denied ("java.security.AllPermission" ""
"")

I can save the *.sch file despite this message, but it's annoying 
because it requires an additional click on the "Save anyway" button.



Regards,


Frank





Am 14.02.2024 um 13:05 schrieb Franz-Josef Knelangen:


Hi Frank,

the provided code works: added it to my rules.sch and removed the ph 
to catch all keyref‘ed elements:





No blanks allowed 
inside keyref'ed elements




Now it reports correctly – the yellow elements have red underlines in 
Oxy – they don’t come over with the clipboard:





Test Schematron









And only these 2 in the “Problems” pod:

No blanks allowed inside keyref'ed elements

No blanks allowed inside keyref'ed elements

Must be something else in your configuration…

Greetings,

Franz-Josef

*
Franz-Josef Knelangen**
*Leiter Dokumentation

Main:   +49 7634 5612-0

Facebook | Xing 
| LinkedIn 
| YouTube 



AKG Software Consulting GmbH

*AKG Software Consulting GmbH*
Uhlandstr. 12
D-79423 Heitersheim
www.akgsoftware.de 

Geschäftsführer: Dipl.-Ing. Artur K. Günther, Dipl.-Ing. Arno 
Brüggemann, Dipl.-Ing. (FH) Bernhard Feser, Dipl.-Ing. Jens Günther
Sitz der Gesellschaft: Heitersheim, HRB 310383 (Amtsgericht Freiburg 
i. Br.)**



--

*Frank Dissinger*

Documentation Manager



*CGS ORIS GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 



*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png 

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] excluding conref source files from search results

2024-01-15 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Peter,

In general it's a best practice to refer all DITA resources in your DITA 
Map, including topics which only contain reusable content.


For such topics one would usually set this processing-role attribute on 
the topicref:




A resource only topic automatically does not appear in the TOC and 
should also not be indexed by our WebHelp search engine. So in a way 
this would be the equivalent of setting the TOC=no and Search=no attributes.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 1/15/24 16:17, Peter Shauger wrote:

I may have answered my own question...
I'm not sure if this is the proper solution, or just one of the 
possible solutions, but here's what I ended up doing:

- I created a new map
- added all my conref source files to that map
- set map properties TOC=no and Search=no
That worked!



*From: *Peter 
*To: *oxygen-user 
*Date: *Monday, 15 January 2024 12:30 AM EST
*Subject: *[oXygen-user] excluding conref source files from search
results

Hi,
How do I make it, so that a conref source file does not appear in
search results?
This file is not otherwise in the TOC. It is ONLY used as conref
source.
Peter Shauger
Senior Technical Writer
Tom Sawyer Software 



___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] [OXYGEN-11669] Re: Internal links within conref'd content

2023-12-19 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Peter,

Maybe you can create a small DITA project (map + 1-2 topics) with no 
confidential information exhibiting the problem, zip it and send it to 
us (supp...@oxygenxml.com). Who knows, maybe it's a bug in the 
publishing engine.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 12/19/23 21:42, Peter Shauger wrote:

Thanks Radu!
So, this sorta works but I also found a bug, I think.
As stated, I have placed a simpletable in 2 different topics.
In both locations, the topics are chunked.
When both topics are chunked, only the internal/contained links in the 
first instance of the conref'd simpletable work.
If I "unchunk" both or even just one of the topics, then the 
internal/contained links work in both locations.



*From: *Oxygen 
*To: *oxygen-user 
*Date: *Tuesday, 19 December 2023 10:54 AM EST
*Subject: *Re: [oXygen-user] Internal links within conref'd content

Hi Peter,

Such a link would need to look like:



In the Oxygen Preferences->"DITA / Topics" page you can check the
"Use . instead of the ID of the parent topic" checkbox to always
insert links this way.


https://www.oxygenxml.com/dita/1.3/specs/archSpec/base/uri-based-addressing.html#uri-based-addressing__non-topic-with-uri

Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 12/19/23 17:22, Peter Shauger wrote:

Hi,
I am wondering if it's possible to have an internal link
within a piece of conref'd content.
For example, I have a simple table that I want to insert into
multiple locations. I know how to do that. In this table, I
have an xref in one row that points to another row in the same
table.
What I want is for this internal or "contained" link to work
in all locations where I insert the table.
Right now I can't figure out how to do this.
Has anyone done this?

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user

  



___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Internal links within conref'd content

2023-12-19 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Peter,

Such a link would need to look like:



In the Oxygen Preferences->"DITA / Topics" page you can check the "Use . 
instead of the ID of the parent topic" checkbox to always insert links 
this way.


https://www.oxygenxml.com/dita/1.3/specs/archSpec/base/uri-based-addressing.html#uri-based-addressing__non-topic-with-uri

Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 12/19/23 17:22, Peter Shauger wrote:

Hi,
I am wondering if it's possible to have an internal link within a 
piece of conref'd content.
For example, I have a simple table that I want to insert into multiple 
locations. I know how to do that. In this table, I have an xref in one 
row that points to another row in the same table.
What I want is for this internal or "contained" link to work in all 
locations where I insert the table.

Right now I can't figure out how to do this.
Has anyone done this?

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Drag and drop to install an add-on?

2023-12-07 Thread Oxygen XML Editor Support (Radu Coravu)

Hello Tony,

This should work for any third party add-on.

There is a tip here:

https://www.oxygenxml.com/doc/versions/25.1/ug-editor/topics/installing-and-updating-add-ons.html

As an alternate approach, you can add an Install button to a web page 
that links to a URL that has the syntax 
|https://host/path/to/updateSite.xml?oxygenAddonId=addOnIDValue| and 
drop the button into the application's main editing area.


Regards,

Radu

Radu Coravu
Oxygen XML Editor


On 12/7/23 13:53, Tony Graham wrote:

The Oxygen documentation includes multiple buttons that can be dragged
and dropped into Oxygen to install an add-on, e.g. at:

https://www.oxygenxml.com/doc/versions/26.0/ug-editor/topics/translator-helper-addon.html 



where the button is a link to:

https://www.oxygenxml.com/InstData/Addons/default/updateSite.xml?oxygenAddonId=com.oxygenxml.plugin.Translator 



Is this specific to Oxygen's add-ons or can anybody make a button for
their own add-on by using a URL of the right format?

Regards,


Tony Graham.
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] [OXYGEN-10249] ANT transformation scenarios .. ?

2023-11-07 Thread Oxygen XML Editor Support (Radu Coravu)

Hello Scott,

I think this is a bug which I fixed in our code about a month or two 
ago, Oxygen 26 should no longer have this bug so you can give it a try.


Probably we'll also release an Oxygen 25.1 minor bug fix release 
containing this bug fix and a couple of other bug fixes as well in a 
couple of weeks.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 11/7/23 21:23, Scott Prentice wrote:


Hi...

In O23 (maybe O24) and earlier, there was the ability to add ANT 
transformation scenarios to a framework .. but in O25, that doesn't 
seem to work. Am I missing some switch or setting to enable this?


If I open a framework in O25 that was created in O23, I can edit 
existing ANT scenarios, but just can't add them.


Settings > Document Type Associations > [select/edit framework] > 
Transformation tab ..


    - Use "+" button at bottom and select "ANT transformation"

I get nada. Is anyone else seeing this? Same for O25.0 and O25.1 .. 
haven't tested O26 yet.


Is it just me or are others seeing this?

Thanks!
...scott




___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] [OXYGEN-10021] Read only section of Xml

2023-11-05 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Karl,

What XML vocabulary are you using? DITA, DocBook, TEI, something else?

Are you editing the XML content in the Text mode or in the Author visual 
editor mode?


When editing XML in the Author visual editor mode you have a specific 
CSS property which can be set to prohibit editing in certain elements:


https://www.oxygenxml.com/doc/versions/26.0/ug-editor/topics/dg-editable-css-extension.html

If you are editing XML in the Text mode, it gets more complicated, you 
would need to build some kind of Oxygen Java based plugin which 
prohibits editing in certain places...


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 11/1/23 07:40, Karl Stubsjoen wrote:

Hello Group!

I'm wondering if there is a way to markup a section of xml as readonly 
and then for Oxygen to honor this by either blocking or warning you of 
making changes within this section.


Scenario is simple.  You have current content in some Xml node and 
then you stash historical content in some other Xml node that you 
intend to keep around but not to edit.


This would be useful to me because I'll take the current information 
in my Xml and stuff it into the historical section of my Xml as I roll 
into a new season.  The issue I am having is accidentally changing 
content in the historical section of my Xml but I intended to make 
those changes in the current Xml node.


This is not mission critical, but would be a nice feature.

Karl..


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] [OXYGEN-9493] Load external data into form control?

2023-10-18 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Scott,

If you just configure using the CSS a combo box to edit the values of an 
attribute, by default those values will be gathered either from the DTDs 
(if you have defined a choice of values for the attribute in the DTDs) 
or from our content completion configuration file which can use XSLT to 
gather values from another location. Maybe this blog post by my 
colleague Alex will help:


https://blog.oxygenxml.com/topics/controlledAttributeValues2.html

Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 10/19/23 03:06, Scott Prentice wrote:


I'm refining some metadata form controls for a custom framework, and 
it would be ideal if I was able to load the values and labels for a 
combobox from an external file (XML or preferably, JSON) rather than 
hard-coding these values into the CSS. It seems that this may be 
possible with xpath_eval(). Is anyone aware of any examples of this, 
or am I heading down a rabbit hole?


I'll keep poking at this, but thought I'd see if anyone had thoughts 
on this effort.


Thanks!
...scott



___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] [OXYGEN-9425] Association Rules in frameworks

2023-10-18 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Scott,

The "DITATopicCustomRuleMatcher" java class is where the magic happens :)

It's quite hard to identify a DITA topic or map, it could use the base 
public IDs or it could refer to specialization DTDs, it could have 
various root element names, but the "DITATopicCustomRuleMatcher" Java 
class looks at various default attributes specified in the DTD like the 
"ditaarch:DITAArchVersion" attribute to decide if an opened XML document 
is actually a DITA topic or map.


https://www.oxygenxml.com/InstData/Editor/SDK/javadoc/ro/sync/ecss/extensions/dita/topic/DITATopicCustomRuleMatcher.html#matches(java.lang.String,java.lang.String,java.lang.String,java.lang.String,org.xml.sax.Attributes)

So with this extra rule added at the end of all other rules, our base 
"DITA" and "DITA Map" frameworks will be applied on any kind of 
specialized DITA XML topic or map, without the end user having to create 
a special DITA framework extension to match their type of documents.


But once people start to create DITA framework extensions (like you do) 
for special DTD public ID, this extra rule placed at the end would no 
longer be necessary to you because you know that your topics and maps 
refer to specific DTDs. So I think it's correct that you are only using 
some very specific association rules in your DITA framework 
customization which no longer include our "DITATopicCustomRuleMatcher" 
class.


About this behavior:

but I think I'm seeing that after I remove all but the necessary rules 
from a particular framework, after some time, additional rules are 
added. When I close and save the framework, sometime later I go back 
and there are rules that match on Root Local Name .. concept, task, 
reference, etc. .. I'd swear I didn't add those. Do I have gremlins, 
or is this a feature? 
This would be a bug, but we would need some way to consistently 
reproduce it.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 10/18/23 01:54, Scott Prentice wrote:
I've got two different DITA models that are similar, and each may be 
edited at the same time in Oxygen. Their DTDs are different and use 
different Public IDs. I'm developing a framework for each which 
applies slightly different schematron validation and CSS styling. It's 
my understanding that I should be able to target each model using the 
Association Rules, and in general this seems to work fine.


Since I'm trying to be very specific about which documents are to use 
each framework, I thought I'd keep the Association Rules to a minimum, 
basically just the specific Public IDs. It's my understanding that if 
a document matches any one of these rules, the framework will be 
applied .. so no need to include extra match rules  .. right?


One association rule that I see on many DITA frameworks is a Java 
Class rule of ..


    ro.sync.ecss.extensions.dita.topic.DITATopicCustomRuleMatcher

Can someone tell me what this does and is it needed in all cases?

Also .. and I may be mistaken .. but I think I'm seeing that after I 
remove all but the necessary rules from a particular framework, after 
some time, additional rules are added. When I close and save the 
framework, sometime later I go back and there are rules that match on 
Root Local Name .. concept, task, reference, etc. .. I'd swear I 
didn't add those. Do I have gremlins, or is this a feature?


Thanks!

...scott



___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] [OXYGEN-8414] Refactoring functionality

2023-09-18 Thread Oxygen XML Editor Support (Radu Coravu)

Hello Judith,

Please see some answers below:

A somewhat related question. When I export xml files from Eclipse, 
this ‘ixia_locid’ attribute is added to certain elements. Is there a 
way to add this ‘personalised’ attribute to the attribute list? Then I 
won’t get these errors (hopefully).


This attribute is not part of the DITA specification, so Oxygen is right 
in flagging it as valid.


From what I remember when opening the same files with Oxygen in the 
Ixiasoft environment they use our APIs to tell Oxygen to skip showing 
certain validation errors. There is an example about how such a plugin 
for Oxygen can be built here:


https://github.com/oxygenxml/wsaccess-javascript-sample-plugins/tree/master/validationProblemsFilter

But unfortunately there is no user-friendly setting to precisely skip 
this error.


Also, do you have more information on this Schematron custom 
validation check? Then I can discuss with my colleagues if it’s 
something we can use and implement.


Usually if you were working with Oxygen desktop (without the Ixiasoft 
integration) and wanted to add custom Schematron rules I would suggest 
this article:


https://blog.oxygenxml.com/topics/sharing_schematron_validation_rules.html

As you are working with Ixiasoft, I think they might also have some 
material about how to customize the DITA XML framework configuration and 
then how to deliver it to all users.


Hope this helps!

Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 9/18/23 16:49, Oudkerk, Judith wrote:



Hi Radu,

Thanks for your quick answer. I tested it on the Desktop application, 
and it works.


A somewhat related question. When I export xml files from Eclipse, 
this ‘ixia_locid’ attribute is added to certain elements. Is there a 
way to add this ‘personalised’ attribute to the attribute list? Then I 
won’t get these errors (hopefully).


Also, do you have more information on this Schematron custom 
validation check? Then I can discuss with my colleagues if it’s 
something we can use and implement.


Thanks very much!

Kind regards,

Judith

Judith Oudkerk​


 |


Technical Writer

ELEKTA | Nucletron

P.O. Box 930,


3900 AX,


Veenendaal,


The Netherlands

Visiting Address:


Waardgelder 1, 3905 TH Veenendaal

judith.oudk...@elekta.com


 |


www.elekta.com <https://www.elekta.com/>

Nucletron B.V., registered 2730 3235
​Nucletron Operations B.V., registered 30129540​



This message is confidential and may be legally privileged or 
otherwise protected from disclosure. ​If you are not the intended 
recipient, please telephone or email the sender and delete this 
message ​and any attachment from your system; you must not copy or 
disclose the contents of this message ​or any attachment to any other 
person.
Any views expressed in this message are those of the individual 
sender, except where the sender specifies ​and with authority, states 
them to be the views of Elekta. Elekta may monitor email traffic data.


*
*

*

Restricted Information and Basic Personal Data

From:* oXygen-user  *On Behalf Of 
*Oxygen XML Editor Support (Radu Coravu)

*Sent:* maandag 18 september 2023 12:17
*To:* oxygen-user@oxygenxml.com
*Subject:* Re: [oXygen-user] [OXYGEN-8414] Refactoring functionality

Hello Judith,

Oxygen has the ability to create custom XML refactoring actions based 
on XSLT or XQuery and to apply such actions on multiple files from the 
local disk. We also have a predefined "Wrap element content" XML 
refactor action which would probably help in this case:


https://www.oxygenxml.com/doc/versions/25.1/ug-editor/topics/predefined-refactoring-operations-x-tools.html#predefined-refactoring-operations__dlentry_ud1_cgk_54b

But unfortunately as the files are on the Ixiasoft CMS our XML 
refactoring actions cannot run over the files from the Ixiasoft 
storage. If for example you export the project to the local disk you 
could use the Oxygen desktop application's "XML Refactoring" tool.


I think you should also consider adding a Schematron custom validation 
check in your Oxygen DITA framework customization to report such 
problems so that people will be notified when they insert text in 
cells without wrapping it in pargraphs.


Regards,

Radu

Radu Coravu
Oxygen XML Editor


Restricted Information and Basic Personal Data

On 9/18/23 12:55, Oudkerk, Judith wrote:

Hello,

I was wondering if you can use the refactoring functionality do
the following:

Replace all TEXT elements with
TEXT. In other words, add a  element to
all entry elements that already contain text (without a  element).

I’m using Oxygen XML with Eclipse (and the Ixiasoft CCMS Web 6.3
version).

I’ve been looking into the refactoring functionality, but I can’t
find a way to do this.

Thanks in advance for your help.

Kind regards,

Judith

Restricted Information and Basic Personal

Re: [oXygen-user] [OXYGEN-8414] Refactoring functionality

2023-09-18 Thread Oxygen XML Editor Support (Radu Coravu)

Hello Judith,

Oxygen has the ability to create custom XML refactoring actions based on 
XSLT or XQuery and to apply such actions on multiple files from the 
local disk. We also have a predefined "Wrap element content" XML 
refactor action which would probably help in this case:


https://www.oxygenxml.com/doc/versions/25.1/ug-editor/topics/predefined-refactoring-operations-x-tools.html#predefined-refactoring-operations__dlentry_ud1_cgk_54b

But unfortunately as the files are on the Ixiasoft CMS our XML 
refactoring actions cannot run over the files from the Ixiasoft storage. 
If for example you export the project to the local disk you could use 
the Oxygen desktop application's "XML Refactoring" tool.


I think you should also consider adding a Schematron custom validation 
check in your Oxygen DITA framework customization to report such 
problems so that people will be notified when they insert text in cells 
without wrapping it in pargraphs.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 9/18/23 12:55, Oudkerk, Judith wrote:


Hello,

I was wondering if you can use the refactoring functionality do the 
following:


Replace all TEXT elements with 
TEXT. In other words, add a  element to all 
entry elements that already contain text (without a  element).


I’m using Oxygen XML with Eclipse (and the Ixiasoft CCMS Web 6.3 version).

I’ve been looking into the refactoring functionality, but I can’t find 
a way to do this.


Thanks in advance for your help.

Kind regards,

Judith


Restricted Information and Basic Personal Data

Judith Oudkerk​


 |


Technical Writer

ELEKTA | Nucletron

P.O. Box 930,


3900 AX,


Veenendaal,


The Netherlands

Visiting Address:


Waardgelder 1, 3905 TH Veenendaal

judith.oudk...@elekta.com


 |


www.elekta.com 

Nucletron B.V., registered 2730 3235
​Nucletron Operations B.V., registered 30129540​



This message is confidential and may be legally privileged or 
otherwise protected from disclosure. ​If you are not the intended 
recipient, please telephone or email the sender and delete this 
message ​and any attachment from your system; you must not copy or 
disclose the contents of this message ​or any attachment to any other 
person.
Any views expressed in this message are those of the individual 
sender, except where the sender specifies ​and with authority, states 
them to be the views of Elekta. Elekta may monitor email traffic data.



Restricted Information and Basic Personal Data


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Understanding @colsep and @rowsep

2023-04-12 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


About this question:

So perhaps, to keep my DITA data portable and to ensure they are 
rendered correctly with other transformations, it would be safer to 
also set @colsep and @rowsep to "1". But really for each ? 
Wouldn't it be enough for ?
Setting the attributes on the table or tgroup will propagate the values 
as inherited for each table cell. So you do not need to set them 
individually on each cell. You only would do that if you want the table 
cell to have a different value of @rowsep/@colsep than the value set on 
the table.


Setting the attributes on the colspec will influence only the entries in 
that column.



Also link to CALS table specs:

https://www.oasis-open.org/specs/a502.htm


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 4/12/23 18:18, Frank Dissinger wrote:


Thank you!


Hm... These attributes were set on  and  in my DITA 
files, but not on , and the attribute value was sometimes = 
"0", sometimes = "1". Nevertheless the tables rendered correctly, but 
perhaps only because I have set up the CSS and MiramoPDF styles to 
create frames for all table cells for all  elements. I'll have 
to investigate this...



So perhaps, to keep my DITA data portable and to ensure they are 
rendered correctly with other transformations, it would be safer to 
also set @colsep and @rowsep to "1". But really for each ? 
Wouldn't it be enough for ?



Frank





Am 12.04.2023 um 16:36 schrieb Michael Boudreau:


For a CALS table, *@frame=**"**all"*draws a border around all four 
outside edges of the table; it does not affect the interior lines. 
See https://dtd.nlm.nih.gov/options/OASIS/tag-library/19990315/index.html


To indicate a table with all the grid lines visible, CALS requires 
*@frame=**"**all"*as well as *@colsep=**"**1"*and *@rowsep=**"**1"*on 
all  elements (you can omit colsep on the rightmost cells and 
rowsep on the finalrow).


--

Michael R. Boudreau

Electronic Publishing Technology Manager

The University of Chicago Press

1427 E. 60^th Street

Chicago, IL 60637

www.journals.uchicago.edu

*From: *oXygen-user  on behalf of 
Frank Dissinger 

*Date: *Wednesday, April 12, 2023 at 9:26 AM
*To: *Oxygen User Mailing List 
*Subject: *[oXygen-user] Understanding @colsep and @rowsep

Hi all,

Can someone shed some light on how the *@colsep* and*@rowsep* 
attributes are used for CALS tables? The information I found is not 
clear and detailed enough for me.


I understand that these attributes create separator lines for colums 
and rows. Do I only need these attributes when I do not set 
*@frame="all"* to create lines for particular rows or columns only?


For a normal CALS table with lines for all rows and columns (i.e. 
like a grid), is enough to set *@frame="all"* or do I additionally 
need these attributes? The code that Oxygen creates (see below) with 
these settings (i.e. without these attributes) ...


does not have these *@colsep* and*@rowsep* attributes, only 
*@frame="all"*, and is rendered as desired with my CHM and PDF 
transformations.


I have several tables with *@colsep*/*@rowsep="0" *or*="1"*. These 
attributes may have been added by FrameMaker when I converted 
unstructured content to DITA. Can I safely remove all of these 
attributes when I just want a CALS table with row and line separators 
every (like a grid)?


Regards,

Frank


--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 



*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png 



___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] IDs for new DITA topics

2023-04-02 Thread Oxygen XML Editor Support (Radu Coravu)

Hi,

In addition to what Eliot said, for the Oxygen user's guide we also have 
this rule of the topic ID equal to the file name.


We impose it with a Schematron check along with a quick fix to change 
the ID if necessary, search for "Topic ID must be equal to file name":


https://github.com/oxygenxml/userguide/blob/master/DITA/rules/rulesAdvanced.sch

Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 4/2/23 18:42, ekim...@contrext.com wrote:


As Radu points out, the DITA specification does not require that topic 
IDs be unique beyond the scope of the XML document that contains them. 
In general, especially when using keys and with the addition of the 
“same topic” fragment identifier (‘#./some-element-id’), topic IDs are 
of little practical value because you almost never need to refer to 
them unless you nest topics within a single XML document. If you are 
using keys for all references to things outside of topics and you only 
have a single topic in each DITA source file, there is never a reason 
to refer to topic IDs in your DITA source.


I used to go out of my way to make the ID of every topic that is the 
root of its XML document “topicid” just to make the point that they 
don’t need to be unique.


However, as Radu also points out, many tools assume that DITA topic 
IDs are useful (they are not) and therefore make assumptions or impose 
requirements on them. These assumptions are unfounded and the 
requirements are misguided. Nevertheless, it is the case that many 
tools do this and it’s just not worth the effort to fight it.


At ServiceNow we use the practice of making the topic ID the same as 
the topic filename, because we also impose a filename uniqueness 
requirement on our content. Filename uniqueness is also not required 
by the DITA standard but it turns out to be really useful in practice, 
especially if you are using the “keyname == filename” practice for 
assigning keys to topics and images when you add them to maps, 
something Oxygen makes very easy to do.


One reason to make the topic ID the same as (or reflect, as you show 
in your template) the topic filename is that it makes correlating 
error messages that reflect the topic ID to the source topic 
easier—many DITA processes involve combining or modifying topics in a 
way that might change their organization into files, meaning that the 
original filename may be lost even though the original ID is retained 
(i.e., chunking as implemented in newer Open Toolkit versions, which 
only changes topic IDs when necessary to make the chunked result have 
unique topic IDs).


So as much as it pains me to say so, the practical implication for 
most of users of DITA content is that topic IDs should be unique 
across your content set.


Note, however, that this is still not sufficient for determining the 
anchors used in generated outputs—as long as there is reuse the output 
processor may need to generate new unique anchor values (i.e., HTML 
file names, PDF anchors, contextual help context IDs, etc.), in which 
case the original topic filename or ID cannot be preserved—at best it 
becomes the basis for the generated value (i.e., the way Open Toolkit 
adds “-1” to topic filenames when a topic is used as both a 
resource-only topic and a normal-role topic in the same root map context).


When you are using keys, those become a natural basis for generating 
output anchors and may be completely different from the topic’s 
filename or ID. Keys are necessarily unique within a root map and 
therefore serve as a reliable basis for output anchors when uniqueness 
of anchors within the deliverable is needed (which it usually is).


Another option is to use the  element to provide hints for 
deliverable anchors. For DITA 2.0 we’ve extended the semantics of 
 to make this explicit and you can anticipate that in a 
DITA 1.3 context by implementing your own handling of  to 
determine output anchors.


And of course the ditavalref facility, with the ability to define key 
and filename prefix and suffix values, makes it possible to re-use 
topics in different parts of a map and ensure unique keys and 
filenames in the effective input to an output process.


Cheers,

E.

*From: *oXygen-user  on behalf of 
Frank Dissinger 

*Date: *Monday, March 27, 2023 at 3:44 AM
*To: *Oxygen User Mailing List 
*Subject: *[oXygen-user] IDs for new DITA topics

Hi all,

I understand that a topic ID must be unique within the scope of the 
root ditamap used for publishing the content.


FrameMaker, which I used previously, creates IDs of the type

id172OC0C03J7

So there is an arbitrary combination of 11 digits and letters.

In oXygen I have set the "DITA > ID Option" as follows:

${localName}_${id}

Which creates IDs of the following type:

task_rf2_vcg_ywb

So there is an arbitrary combination of only 9 characters, mostly 
letters. But perhaps sufficient for ensuring uniqueness...


However, when I use the "DITA > Insert > Insert New DITA Resource" 
command, oXygen does 

Re: [oXygen-user] Struggling with conkeyref/conaction=pushafter

2023-03-28 Thread Oxygen XML Editor Support (Radu Coravu)

Hello Frank,


Please see some answers below:


If the pushed content is not shown in the Oxygen Editor, then the 
feature is not really useful for me. I need to see it to have control 
over what I am doing.


As I said, Oxygen does not show the push in place where the content is 
pushed.



The conref-push content does not appear in CHM output either. Perhaps 
this has to do with the fact that I still use oXygen V21.1 to generate 
CHM output. (I made some XSL customizations which are not easy for me 
to apply to V25, a bit difficult and lengthy to explain...).


I do not know about that, if plain DITA to HTML5 in Oxygen 25.1 output 
shows the push, then the publishing works. If not, probably the way in 
which you attempt to push might be incorrect, if you send us a sample 
project we can look into this further.



It appears much simpler for me to filter the contents out. But owing 
to the way my process is set up, I would need to apply a second 
ditaval file.



Can I specify two ditaval files for the "args.filter" argument? This 
would be the best.



Yes:

https://www.dita-ot.org/dev/parameters/parameters-base.html#base__args.filter



I heard of ditvalref branch filtering and I tested this. It does not 
create the desired result as duplicates of every reused topic are 
created. This is not what I want and it messes up many topic 
references. Can I set up branch filtering differently so that no topic 
duplicates are created? Probably not...



Once you choose using branch filtering you need to use also key scopes, 
use only  keyrefs and conkeyrefs. So yes you should probably avoid this 
if you have other choices.



Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 3/28/23 15:18, Frank Dissinger wrote:


Hi Radu,


Thank you for the link. Hm...


If the pushed content is not shown in the Oxygen Editor, then the 
feature is not really useful for me. I need to see it to have control 
over what I am doing.



The conref-push content does not appear in CHM output either. Perhaps 
this has to do with the fact that I still use oXygen V21.1 to generate 
CHM output. (I made some XSL customizations which are not easy for me 
to apply to V25, a bit difficult and lengthy to explain...).



It appears much simpler for me to filter the contents out. But owing 
to the way my process is set up, I would need to apply a second 
ditaval file.



Can I specify two ditaval files for the "args.filter" argument? This 
would be the best.



And I would need a second attribute in addition to "product", 
otherwise I would have to edit each and every element that uses a 
"product" attribute. There are not so many attributes available. 
Perhaps I could (mis)use "platform"... (for indicating the project).



I heard of ditvalref branch filtering and I tested this. It does not 
create the desired result as duplicates of every reused topic are 
created. This is not what I want and it messes up many topic 
references. Can I set up branch filtering differently so that no topic 
duplicates are created? Probably not...



The reason is that my ditaval files contain conditions for creating 
variants (oem1, oem2, etc. -- no condition stands for the base 
product) of a product group (project1, project 2). The same ditaval 
conditions (oem1, oem2, etc.) are used across different product 
groups. It never occurred to me to filter on product groups (projects) 
because I use root ditamaps stored in different folders to create 
output for different product groups.



Regards,

Frank


------------
Am 27.03.2023 um 18:50 schrieb Oxygen XML Editor Support (Radu Coravu):


Hi Frank,


Maybe this will help:

https://blog.oxygenxml.com/presentation-reuse/conref_push.html


One remark, Oxygen will not show the pushed content in place but 
publishing should work.



Regards,

Radu

Radu Coravu
Oxygen XML Editor
On 3/27/23 18:05, Frank Dissinger wrote:


Hi all,


I have tested the "DITA > Push Current element" feature, but cannot 
get it to work.



I want to inject a  element into a shared topic which is 
used in two projects. The element to be injected is stored in a 
warehouse topic for project 1. What I want is to inject this element 
only when project 1 is built. When project 2 is built, the key to 
the warehouse topic resolves to a different file which doese not 
include the element. So what I hope is that the element is only 
injected when I build project 1 and that it is left out when I build 
project 2 -- without any error or warning generated in the log file 
or in Oxygen's editor window.



However, the element does not appear in project 1 and in Oxygen it 
is shown as an empty  struture. In a previous attempt the 
element was shown in the editor window, but not in output either. I 
can't remember what I did differently...



I may not have undestood this feature correctly. Can someone 
enlighten me? 

Re: [oXygen-user] Struggling with conkeyref/conaction=pushafter

2023-03-27 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


Maybe this will help:

https://blog.oxygenxml.com/presentation-reuse/conref_push.html


One remark, Oxygen will not show the pushed content in place but 
publishing should work.



Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 3/27/23 18:05, Frank Dissinger wrote:


Hi all,


I have tested the "DITA > Push Current element" feature, but cannot 
get it to work.



I want to inject a  element into a shared topic which is used 
in two projects. The element to be injected is stored in a warehouse 
topic for project 1. What I want is to inject this element only when 
project 1 is built. When project 2 is built, the key to the warehouse 
topic resolves to a different file which doese not include the 
element. So what I hope is that the element is only injected when I 
build project 1 and that it is left out when I build project 2 -- 
without any error or warning generated in the log file or in Oxygen's 
editor window.



However, the element does not appear in project 1 and in Oxygen it is 
shown as an empty  struture. In a previous attempt the element 
was shown in the editor window, but not in output either. I can't 
remember what I did differently...



I may not have undestood this feature correctly. Can someone enlighten 
me? Thank you.



Regards,

Frank


The dita code:

*
*

*file.dita*

    
  
  
    
  
    
    
  A term. The term in lib_ref.dita should be injected 
after that.

  
    Explanation
  
    


*lib_ref.dita
*

  
    
  The term to inject after the term in file.dita
  
    Explanation
  
    
  


*variables.ditamap*
    

Appearance in oXygen.
--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 



*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png 

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] IDs for new DITA topics

2023-03-27 Thread Oxygen XML Editor Support (Radu Coravu)

Hello Frank,


Please see some answers below:


I understand that a topic ID must be unique within the scope of the 
root ditamap used for publishing the content. 
Your understanding is incorrect, the topic ID must be unique inside the 
same topic file. So for example if in the "topic.dita" you have two 
inner topics, all topics existing inside the "topic.dita" must not have 
duplicate IDs. But if you have "topic1.dita" and "topic2.dita", the 
 elements in both files can have the same ID, the DITA standard 
does not impose a uniqueness restriction for the topic IDs in the 
context of the entire project.



DITA 1.3 specs:

https://www.oxygenxml.com/dita/1.3/specs/archSpec/base/uri-based-addressing.html


This addressing model makes it possible to reliably address elements 
that have values for the |@id| attribute that are unique within a 
single DITA topic, but which might not be unique within a larger XML 
document that contains multiple DITA topics.


But it is true that Oxygen and other tools attempt to create by default 
unique IDs for a created topic file in the context of the entire 
project, some CMSs may need them, sometimes the publishing (for example 
Oxygen's DITA to WebHelp output) may use these unique IDs for certain 
features.



So there is an arbitrary combination of only 9 characters, mostly 
letters. But perhaps sufficient for ensuring uniqueness...
Indeed the ${id} ID value we generate has about 9-10 unique letter-digit 
combinations. We consider this to be enough. The number of unique 
combinations is about 36 (26 letters in the English alphabet + 10 
digits) to the power 9, it's 1 followed by about 14 digits. We consider 
this to be enough for a value which is not intended to be unique by the 
DITA specification anyway.


By the way we also have a longer "${uuid}" editor variable which can be 
used and expanded, a unique sequence of 32 hexadecimal digits if you 
want something even more unique.


https://www.oxygenxml.com/doc/versions/25.1/ug-editor/topics/editor-variables.html


However, when I use the "DITA > Insert > Insert New DITA Resource" 
command, oXygen does not honor the "ID Option" setting, but creates 
IDs which are identical to the file name. 
Usually an ID derived from the title or from the file name is more user 
friendly when for example inserting references to elements inside a topic.


We would do the same by default when using the "File->New" wizard dialog 
to create the topic but the topic is not yet saved on disk so we do not 
yet know its file name or its title so we use the random value instead.



In the Oxygen Preferences->"DITA / Topics" page there is an "Use the 
filename as the value.. of the root element id" which you can uncheck if 
you want.



Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 3/27/23 11:43, Frank Dissinger wrote:


Hi all,


I understand that a topic ID must be unique within the scope of the 
root ditamap used for publishing the content.



FrameMaker, which I used previously, creates IDs of the type


id172OC0C03J7


So there is an arbitrary combination of 11 digits and letters.


In oXygen I have set the "DITA > ID Option" as follows:


${localName}_${id}


Which creates IDs of the following type:


task_rf2_vcg_ywb


So there is an arbitrary combination of only 9 characters, mostly 
letters. But perhaps sufficient for ensuring uniqueness...



However, when I use the "DITA > Insert > Insert New DITA Resource" 
command, oXygen does not honor the "ID Option" setting, but creates 
IDs which are identical to the file name.


This is not what I want and surely not suitable for ensuring uniqueness.


How can I get oXygen to honor the "ID Option" setting or make it 
otherwise generate IDs with arbitrary characters which are likely to 
be unique?



Regards,

Frank

--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 



*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png 

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Do I need a namespace declaration in dita root elements?

2023-03-22 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


One way to check if an attribute is necessary is to see if it's already 
defined with that certain value in the associated DTDs.


If you open the DITA concept for example in Oxygen in the Text mode and 
place the caret inside the  tag, then remove the attribute, 
look in the "Attributes" view, if that specific attribute still appears 
there with the value grayed out, this means that it's already defined 
with that value in the associated DTDs and it's not necessary to define 
it in the XML instance.



In your case with "xmlns:ditaarch" which is a prefix namespace mapping 
declaration it is useless if:



1) It's already declared in the DTDs (which it is).

2) It's not used anywhere in the XML document (and it isn't, there is no 
"ditaarch:abc='def'" attribute in the XML document).



So in your case the prefix namespace declaration is useless in both cases.


Regards,

Radu

Radu Coravu
Oxygen XML Editor


On 3/22/23 16:38, Frank Dissinger wrote:


Hi all,


I am cleaning up DITA files created with FrameMaker. FrameMaker has 
added a lot of unnecessary attributes, for example.



Among others, FM has added an *xmlns:ditaarch* attribute to every 
top-level dita element such as concept, task or reference. Example:



*xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"*>



Can I safely remove this attribute or is it required?


Regards,

Frank

--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 



*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png 

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Spell check exceptions per file?

2023-03-20 Thread Oxygen XML Editor Support (Radu Coravu)

Hello Frank,


I'm afraid we do not have such a functionality.


Regards,

Radu

Radu Coravu
Oxygen XML Editor


On 3/20/23 17:51, Frank Dissinger wrote:


Hi all,


When spell checking a dita file, can I mark up words to be correct in 
the current file only, i.e. without adding them to the "learned words" 
for the project or globally?



Regards,

Frank


--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 



*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png 

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] v25.1 plugins for CALS tables, LaTeX rendering

2023-03-20 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Michael,

One of our products is named Oxygen WebAuthor, it's an in-browser 
editor, you can look here in the "Customization and Integration" section 
for more details about the features you mentioned: 
https://www.oxygenxml.com/xml_web_author/whats_new.html


If you are using instead our Oxygen XML Editor desktop application, it's 
what's new does not mention those features you mentioned:


https://www.oxygenxml.com/xml_editor/whats_new.html

but the desktop application also has support for embedding Latex equations:

https://blog.oxygenxml.com/topics/adding-latex-equation-support-dita.html

Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 3/20/23 20:31, Michael Boudreau wrote:


The notes for Oxygen 25.1 mentioned plugins to support CALS tables and 
LaTeX equation rendering. Where is this documented?


--

Michael R. Boudreau

Electronic Publishing Technology Manager

The University of Chicago Press

1427 E. 60^th Street

Chicago, IL 60637

www.journals.uchicago.edu


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Learned Words

2023-03-20 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


Let's say I have a folder in my project containing the "de.tdi" or in my 
case the "en.tdi" like in this sample DITA project:



https://github.com/oxygenxml/DITA-Startup-Project/tree/master/custom-settings/learned-words


The "*.tdi" has multiple lines, on each line a learned word which must 
not be flagged as an error.


I go to the Oxygen Preferences->"Editor / Spell Check / Dictionaries" 
folder and in the "Learned words" section I set a custom location and I 
can use editor variables to set it like 
"${pd}/custom-settings/learned-words".


Then I can switch for example the "Spell Check / Dictionaries" to the 
"Project" level settings (there is a radio button at the bottom of the 
page) and whenever I open the project XPR file in the Oxygen Project 
view I will get these custom learned words being read from the project 
folder.



Regards,

Radu


Radu Coravu
Oxygen XML Editor

On 3/20/23 13:29, Frank Dissinger wrote:


Hi list,


I have a list of correctly spelt words which I collected in 
FrameMaker. How can I add them to the list of "learned words" in 
oXygen? I added them to the *.tdi file, but oXygen overwrites this 
file when I use the spell checker and so the words are gone.



Regards,

Frank

--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 



*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png 

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Validation problem

2023-02-27 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Lou,


So if you clear the entire content of the "Information" view and then 
validate the XML file, you get in the Information view only details 
about the Schematron validation being applied, right? So just the two 
lines of logging that you previously attached right?


Maybe you can email us directly (supp...@oxygenxml.com), send us some 
samples to reproduce the problem and we can try to look further into this.



Regards,

Radu

Radu Coravu
Oxygen XML Editor


On 2/27/23 16:21, Lou Burnard wrote:
Sadly, I dont think so. I suppressed the validation scenario,. and 
just ask for default validation, and again I get reports of schematron 
rules only


[ 14:19:22] - Schematron Error Scanner - start scanning 
file:/home/lou/Public/odd4crit/odd4crit_data.xml with schema: 
file:/home/lou/Public/odd4crit/out/odd4crit.rng

[ 14:19:22] - Found 7 problems


*From:* oXygen-user  on behalf of 
Oxygen XML Editor Support (Radu Coravu) 

*Sent:* Monday, February 27, 2023 2:15 PM
*To:* oxygen-user@oxygenxml.com 
*Subject:* Re: [oXygen-user] Validation problem

Hi Lou,


The problem seems to be the validation scenario named "odd4crit_data". 
You do not need a validation scenario if the XML file references 
directly the schemas. And probably in your validation scenario you 
mentioned only the Schematron validation as a stage and did not add a 
validation stage for the Relax NG based validation. So Oxygen does 
what your validation scenario says and skips Relax NG based validation,



Regards,

Radu

Radu Coravu
Oxygen XML Editor


On 2/27/23 16:03, Lou Burnard wrote:

Hi Radu
Thanks for the quick response.
When I apply the default validation scenario I see this

[ 13:58:35] - <<< Start scanning using validation scenario
  Scenario Name: odd4crit_data
  Scenario Storage Type: Global Level
  Default Scenario: No
[ 13:58:35] - << Validation Unit (1 of 1):
  File to validate URL: 
file:/home/lou/Public/odd4crit/odd4crit_data.xml 


  Validation Unit Type: XML Document
  Validation Unit Engine: 
[ 13:58:37] - Schematron Error Scanner - start scanning 
file:/home/lou/Public/odd4crit/odd4crit_data.xml 
 with schema: 
file:/home/lou/Public/odd4crit/out/odd4crit.rng 


[ 13:58:37] - Found 7 problems
[ 13:58:37] - >>
[ 13:58:37] - End >>>

When I explicitly select the URL of my RNG file, I see this:

[ 14:01:10] - start scanning 
file:/home/lou/Public/odd4crit/odd4crit_data.xml 
 with schema: 
file:/home/lou/Public/odd4crit/out/odd4crit.rng 


[ 14:01:10] - Found 2 problems
[ 14:01:10] - Schematron Error Scanner - start scanning 
file:/home/lou/Public/odd4crit/odd4crit_data.xml 
 with schema: 
file:/home/lou/Public/odd4crit/out/odd4crit.rng 


[ 14:01:10] - Found 7 problems

(which is what I would prefer to see!)

*From:* oXygen-user  
<mailto:oxygen-user-boun...@oxygenxml.com> on behalf of Oxygen XML 
Editor Support (Radu Coravu)  
<mailto:supp...@oxygenxml.com>

*Sent:* Monday, February 27, 2023 1:46 PM
*To:* oxygen-user@oxygenxml.com <mailto:oxygen-user@oxygenxml.com> 
 <mailto:oxygen-user@oxygenxml.com>

*Subject:* Re: [oXygen-user] Validation problem

Hi Lou,


Strange.


Let's say I have a stock TEI document "abc.xml" like this one below 
which has a similar reference to the TEI schemas (both as RNG and SCH):





href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng; 
<http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng> 

   type="application/xml" 
schematypens="http://relaxng.org/ns/structure/1.0; 
<http://relaxng.org/ns/structure/1.0>?>
href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng; 
<http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng> 
type="application/xml"
    schematypens="http://purl.oclc.org/dsdl/schematron; 
<http://purl.oclc.org/dsdl/schematron>?>

http://www.tei-c.org/ns/1.0; <http://www.tei-c.org/ns/1.0>>
  

  
  
  
 Some text here.
  
  



I go to the Oxygen main menu "Window->Show view" and show the 
"Information" view.


Then validate the XML document, in the Information view I get some 
information like this:



[ 15:42:54] - start scanning file:/.../abc.xml  
with schema: 
file:/../frameworks/tei/xml/tei/custom/schema/relaxng/tei_all.rng 


[ 15:42:54] - Found 1 problem
[ 15:42:54] - Schematron Error Scanner - start scanning 
file:/../abc.xml  with schema: 
file:/../tei/xml/tei/custom/schema/relaxng/tei_all.rng 


[ 15:42:54] - No problems found


Do you get similar messages in the Oxygen Information view?


Regards,

Radu

Radu Coravu
Oxygen XML Editor
On 2/27/23 15:34, Lou Burnard wrote:
I have a RELAXNG schema which contains embedded schemat

Re: [oXygen-user] Validation problem

2023-02-27 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Lou,


The problem seems to be the validation scenario named "odd4crit_data". 
You do not need a validation scenario if the XML file references 
directly the schemas. And probably in your validation scenario you 
mentioned only the Schematron validation as a stage and did not add a 
validation stage for the Relax NG based validation. So Oxygen does what 
your validation scenario says and skips Relax NG based validation,



Regards,

Radu

Radu Coravu
Oxygen XML Editor


On 2/27/23 16:03, Lou Burnard wrote:

Hi Radu
Thanks for the quick response.
When I apply the default validation scenario I see this

[ 13:58:35] - <<< Start scanning using validation scenario
  Scenario Name: odd4crit_data
  Scenario Storage Type: Global Level
  Default Scenario: No
[ 13:58:35] - << Validation Unit (1 of 1):
  File to validate URL: 
file:/home/lou/Public/odd4crit/odd4crit_data.xml

  Validation Unit Type: XML Document
  Validation Unit Engine: 
[ 13:58:37] - Schematron Error Scanner - start scanning 
file:/home/lou/Public/odd4crit/odd4crit_data.xml with schema: 
file:/home/lou/Public/odd4crit/out/odd4crit.rng

[ 13:58:37] - Found 7 problems
[ 13:58:37] - >>
[ 13:58:37] - End >>>

When I explicitly select the URL of my RNG file, I see this:

[ 14:01:10] - start scanning 
file:/home/lou/Public/odd4crit/odd4crit_data.xml with schema: 
file:/home/lou/Public/odd4crit/out/odd4crit.rng

[ 14:01:10] - Found 2 problems
[ 14:01:10] - Schematron Error Scanner - start scanning 
file:/home/lou/Public/odd4crit/odd4crit_data.xml with schema: 
file:/home/lou/Public/odd4crit/out/odd4crit.rng

[ 14:01:10] - Found 7 problems

(which is what I would prefer to see!)

*From:* oXygen-user  on behalf of 
Oxygen XML Editor Support (Radu Coravu) 

*Sent:* Monday, February 27, 2023 1:46 PM
*To:* oxygen-user@oxygenxml.com 
*Subject:* Re: [oXygen-user] Validation problem

Hi Lou,


Strange.


Let's say I have a stock TEI document "abc.xml" like this one below 
which has a similar reference to the TEI schemas (both as RNG and SCH):





href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng; 
<http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng>
   type="application/xml" 
schematypens="http://relaxng.org/ns/structure/1.0; 
<http://relaxng.org/ns/structure/1.0>?>
href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng; 
<http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng> 
type="application/xml"
    schematypens="http://purl.oclc.org/dsdl/schematron; 
<http://purl.oclc.org/dsdl/schematron>?>

http://www.tei-c.org/ns/1.0; <http://www.tei-c.org/ns/1.0>>
  

  
  
  
 Some text here.
  
  



I go to the Oxygen main menu "Window->Show view" and show the 
"Information" view.


Then validate the XML document, in the Information view I get some 
information like this:



[ 15:42:54] - start scanning file:/.../abc.xml  
with schema: 
file:/../frameworks/tei/xml/tei/custom/schema/relaxng/tei_all.rng 


[ 15:42:54] - Found 1 problem
[ 15:42:54] - Schematron Error Scanner - start scanning 
file:/../abc.xml  with schema: 
file:/../tei/xml/tei/custom/schema/relaxng/tei_all.rng 


[ 15:42:54] - No problems found


Do you get similar messages in the Oxygen Information view?


Regards,

Radu

Radu Coravu
Oxygen XML Editor
On 2/27/23 15:34, Lou Burnard wrote:
I have a RELAXNG schema which contains embedded schematron rules and 
a document which begins with two xml-model PIs like this:


            schematypens="http://relaxng.org/ns/structure/1.0; 
<http://relaxng.org/ns/structure/1.0>?>

            schematypens="http://purl.oclc.org/dsdl/schematron; 
<http://purl.oclc.org/dsdl/schematron>?>


When I validate this document using the default CTRL-SHIFT-V option, 
or using a predefined validation scenario, only Schematron validation 
errors are reported. When I validate by selecting "Validate with" and 
specifying the schema URL again, errors reported by jing also appear.


Is this the intended behaviour? Why?

I am using  XML Editor 24.1, build 2022030807 on Ubuntu 20.04



___
oXygen-user mailing list
oXygen-user@oxygenxml.com  <mailto:oXygen-user@oxygenxml.com>
https://www.oxygenxml.com/mailman/listinfo/oxygen-user  
<https://www.oxygenxml.com/mailman/listinfo/oxygen-user>


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Validation problem

2023-02-27 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Lou,


Strange.


Let's say I have a stock TEI document "abc.xml" like this one below 
which has a similar reference to the TEI schemas (both as RNG and SCH):





href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng; 

   type="application/xml" 
schematypens="http://relaxng.org/ns/structure/1.0;?>
href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng; 
type="application/xml"

    schematypens="http://purl.oclc.org/dsdl/schematron;?>
http://www.tei-c.org/ns/1.0;>
  

  
  
  
 Some text here.
  
  



I go to the Oxygen main menu "Window->Show view" and show the 
"Information" view.


Then validate the XML document, in the Information view I get some 
information like this:



[ 15:42:54] - start scanning file:/.../abc.xml with schema: 
file:/../frameworks/tei/xml/tei/custom/schema/relaxng/tei_all.rng

[ 15:42:54] - Found 1 problem
[ 15:42:54] - Schematron Error Scanner - start scanning 
file:/../abc.xml with schema: 
file:/../tei/xml/tei/custom/schema/relaxng/tei_all.rng

[ 15:42:54] - No problems found


Do you get similar messages in the Oxygen Information view?


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 2/27/23 15:34, Lou Burnard wrote:
I have a RELAXNG schema which contains embedded schematron rules and a 
document which begins with two xml-model PIs like this:


http://relaxng.org/ns/structure/1.0;?>
http://purl.oclc.org/dsdl/schematron;?>

When I validate this document using the default CTRL-SHIFT-V option, 
or using a predefined validation scenario, only Schematron validation 
errors are reported. When I validate by selecting "Validate with" and 
specifying the schema URL again, errors reported by jing also appear.


Is this the intended behaviour? Why?

I am using  XML Editor 24.1, build 2022030807 on Ubuntu 20.04



___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Inserting child elements automatically

2023-02-15 Thread Oxygen XML Editor Support (Radu Coravu)

Hello Cody,


Indeed the "InsertXrefOperation" Java operation does not have a 
parameter to specify some fixed text to insert inside the link, I added 
an internal issue based on your feedback. I do not have an easy 
workaround for you, it's possible that what you want would be possible 
with a Java based extension which would somehow listen for inserted 
links and add that text inside the inserted link.



But coming back to your use case which seems to be to always add custom 
text inside a link to a web page, I would rather suggest using a custom 
Schematron schema to signal as a validation error to the end user that 
the link is empty:



https://blog.oxygenxml.com/topics/sharing_schematron_validation_rules.html


So a Schematron schema like this would report a user friendly warning if 
there is an empty link:


http://purl.oclc.org/dsdl/schematron; 
queryBinding="xslt2"

xmlns:sqf="http://www.schematron-quickfix.com/validator/process;>
    
    
    An external link should have 
custom link text set inside.

    
    



Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 2/15/23 18:17, Cody Steele wrote:

I was following along with Frank's questions.

My interest was in editing the author action insert.url.reference for 
a web link by adding something like  
inside of the XREF element. It doesn't look like any of the arguments 
for ro.sync.ecss.extensions.dita.link.InsertXrefOperation lets you 
insert a fragment. Is it correct that I should proceed to the 
involving the DITA extension framework or is there another method that 
makes more sense to you?


Thanks,

Cody

*From:* oXygen-user  on behalf of 
Oxygen XML Editor Support (Radu Coravu) 

*Sent:* Wednesday, January 25, 2023 1:06 AM
*To:* oxygen-user@oxygenxml.com 
*Subject:* Re: [oXygen-user] Inserting child elements automatically

***Warning* This email originates from outside of Minitab. Do not open 
attachments or click links unless you are sure this email comes from a 
known sender and you know the content is safe.


Hi Frank,


Let's split your use cases in two:

1) Inserting elements using Oxygen's actions (toolbars, menus)

2) Inserting elements using the content completion window.


1)


Let's take table insertion for example:


If you edit your DITA framework extension that is defined in the 
Preferences->"Document Type Association" page, it has an 
"Author=>Actions" tab.


If you edit the action "insert.table", it calls an operation named 
"ro.sync.ecss.extensions.dita.topic.table.InsertTableOperation" with 
certain parameters. One of the parameters is named "cellFragment", you 
can set its value to "".


There are other ways to change a table, for example insert a new 
column, insert a new row. So actions like "insert.table.row.below" or 
"insert.table.column.after" which also need to be changed accordingly.



2) Inserting elements like  using the content completion window.

Your DITA extension framework customization can contain a 
"cc_config.xml" file which defines that for certain elements, if they 
are inserted, another element should be inserted inside them as well:


https://www.oxygenxml.com/doc/ug-editor/topics/configure-elements-attr-cc-individually.html#configure-elements-attr-cc-individually__examples_configuring_elements 
<https://www.oxygenxml.com/doc/ug-editor/topics/configure-elements-attr-cc-individually.html#configure-elements-attr-cc-individually__examples_configuring_elements>



Hope this helps.


Regards,

Radu


Radu Coravu
Oxygen XML Editor
On 1/24/23 11:49, Frank Dissinger wrote:


Hi list,


Whenever this is valid, I wrap text in a  element. I would like 
oXygen to automatically insert  as a child element when inserting 
,  (for the table cells of course), , 
, ... and many more. How do I do this?



Regards,

Frank

--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com 
<mailto:frank.dissin...@cgs-oris.com> | *Web* www.cgs-oris.com 
<http://www.cgs-oris.com/>


*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png 
<https://www.cgs-oris.com/signatur>


___
oXygen-user mailing list
oXygen-user@oxygenxml.com  <mailto:oXygen-user@oxygenxml.com>
https://www.oxygenxml.com/mailman/listinfo/oxygen-user  
<https://www.oxygenxml.com/mailman/listinfo/oxygen-user>



*Minitab, LLC*, Quality Plaza, 1829 Pine Hall Rd, State College PA 
16801-3210, USA
*Minitab Limited*, England and Wales, Compa

Re: [oXygen-user] Inserting current date into DITA file

2023-02-14 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


I created a small DITA OT plugin (please see attached) which adds the 
same customization you have for Miramo to all XHTML-based outputs, 
including CHM. You can look into it to see how the plugin works.


DITA OT plugins are installed something like this:


https://www.oxygenxml.com/doc/ug-editor/topics/dita-ot-install-plugin.html


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 2/14/23 10:50, Frank Dissinger wrote:


Hi Radu,


Thank you for your reply. I am afraid I am not XSLT-savvy enough to 
adapt sketched code and I have never created any DITA-OT plugin. I 
would need the exact code and precise instructions where to put that 
code in the CHM transformation...



I wonder whether the following solution I found for MiramoPDF could be 
adapted to oXygen's CHM transformation?




Copyright.dita



...\Oxygen XML Editor 
21\frameworks\dita\DITA-OT3.x\plugins\com.miramo.oris-mmpdf\config\xsl\custom.xsl

http://www.w3.org/1999/XSL/Transform;
    xmlns:xs="http://www.w3.org/2001/XMLSchema; 
exclude-result-prefixes="xs opentopic" version="2.0"

    xmlns:mm="http://www.miramo.com/XSL/Transform;
    xmlns:opentopic="http://www.idiominc.com/opentopic;>
    

*select="format-date(current-date(), '[Y0001]')"/>

    
       
    *



Could this code be added somewhere in the CHM transformation?

Regards,
Frank

------------
Am 14.02.2023 um 07:10 schrieb Oxygen XML Editor Support (Radu Coravu):


Hi Frank,


An Oxygen editor variable expands only once. You seem to need some 
kind of macro which would expand every time you publish.


So you seem to need more like a publishing customization.

For DITA XML maybe you can use the  element with a certain name:



and then create a DITA Open Toolkit XSLT-based customization plugin 
which matches this element at publishing time and replaces it with 
the current date. Are you familiar with XSLT? Would you like to 
pursue this direction? If so maybe I can try to sketch a small 
publishing plugin which would do this.



Regards,

Radu

Radu Coravu
Oxygen XML Editor
On 2/13/23 18:36, Frank Dissinger wrote:


Hi list,


How can I insert the current date into a dita file? I would like to 
have oXygen automatically update the year of a copyright notice. I 
know that I can define editor variables. But how can I embed them in 
the dita code?



If this needs to be tied to the XSL that produces the deliverable: I 
need this for CHM, which I generate with oXygen. (I have already 
found a solution for MiramoPDF. ) And I'd need to know where exactly 
to add the code... Thank you.



Regards,

Frank
--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 
<http://www.cgs-oris.com/>


*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png 
<https://www.cgs-oris.com/signatur>


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user

--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 
<http://www.cgs-oris.com/>


*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png <https://www.cgs-oris.com/signatur>

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
<>
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Expand/Collapse all with one cliock

2023-02-13 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


I'm afraid we do not have such a feature. So such an action would 
expand/collapse all sibling elements of the element on which you 
double-click or click using a certain modifier?


I added an internal issue to consider your request for a future version:


EXM-52438 Mouse shortcuts using modifiers to expand/collapse children or 
sibling elements



Regards,

Radu

Radu Coravu
Oxygen XML Editor


On 2/13/23 19:32, Frank Dissinger wrote:


Hi list,


Is it possible to expand/collapse all items at the same level with 
just one click? I tried all combinations such as Ctrl-click, 
Alt-click, Shift-Ctrl-click etc., but to know avail. I refer to the 
Project window, DITA Maps Manager and Outline view. This would be a 
useful feature. FrameMaker can do it! 



Regards,

Frank

--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 



*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png 

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Adding attributes to images inserted from DITA Reusable Components view

2023-02-13 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


With Schematron you can report a validation error for example when an 
image does not have a certain attribute. You can also add a quick fix 
action to quickly add a certain attribute to an image if missing. But 
Schematron does not automatically make changes to the content inserted 
in the document.


I suspect you used the Oxygen specific "cc_config.xml" configuration 
file to specify that the attribute @scale is required on an  element.


This indeed is not taken into account when images are inserted using the 
"DITA Reusable Components->Media" tab or the toolbar action to insert an 
image.


I added an internal issue to consider improving this in a future version:


    EXM-52437 Take into account required attributes when inserting 
image references



Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 2/13/23 19:28, Frank Dissinger wrote:


Hi list,


I have defined Schematron rules which automatically add attributes to 
 elements when inserted.


However, these rules are not applied when inserting images using the 
DITA Reusable Components view. Can this be done?



Regards,

Frank

--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 



*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png 

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Hyphenation in Author mode?

2023-02-13 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


We do not have such a possibility for the editor.

I added an internal issue to consider this for a future version:


    EXM-52436 Take into account hyphenation in the Author mode


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 2/13/23 19:22, Frank Dissinger wrote:


Can words be hyphenated automatically in Author mode?

--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 



*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png 

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Inserting current date into DITA file

2023-02-13 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


An Oxygen editor variable expands only once. You seem to need some kind 
of macro which would expand every time you publish.


So you seem to need more like a publishing customization.

For DITA XML maybe you can use the  element with a certain name:



and then create a DITA Open Toolkit XSLT-based customization plugin 
which matches this element at publishing time and replaces it with the 
current date. Are you familiar with XSLT? Would you like to pursue this 
direction? If so maybe I can try to sketch a small publishing plugin 
which would do this.



Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 2/13/23 18:36, Frank Dissinger wrote:


Hi list,


How can I insert the current date into a dita file? I would like to 
have oXygen automatically update the year of a copyright notice. I 
know that I can define editor variables. But how can I embed them in 
the dita code?



If this needs to be tied to the XSL that produces the deliverable: I 
need this for CHM, which I generate with oXygen. (I have already found 
a solution for MiramoPDF. ) And I'd need to know where exactly to add 
the code... Thank you.



Regards,

Frank
--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 



*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png 

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Image and table width in Author mode

2023-02-13 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


So:


The DITA attribute "scale" would do the trick. [But strangely enough 
only if set to about "80" %, and not "61" % , which would be the 
equivalent to "92/150" dpi). However, I do not want to scale images in 
the published output, only in the editor.


In my opinion adding the @scale attribute in the XML document just to 
make things look in a certain way in the editor is not a good way to 
proceed.


The good thing is: MiramoPDF ignores the "scale" attribute and leaves 
the images as they are in the PDF.



Looks like a bug in Miramo.


The bad thing: oXygen applies this scaling in the CHM files (as 
expected, of course).



Works as expected.



Isn't there any trick to make the oXygen editor believe the "scale" 
attribute was set to "80", but without actually applying this 
attribute to the dita data? Couldn't this be implemented somehow?


Not yet. Maybe with a Java based plugin a listener could be added to 
automatically add a default @scale attribute to each image element, such 
default attributes not being serialized in the final XML content but 
being taken into account... but this would need to be pursued further...


For our CSS-based PDF processor we have this "image-resolution" CSS 
property:


https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/dcpp_images.html

I added an internal issue based on your feedback to consider taking it 
into account in the editor as well:



    EXM-52435 Take into account image-resolution property when 
displaying images



Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 2/13/23 14:55, Frank Dissinger wrote:


Hi Radu, Kris, Stefan and Tony,


Thank you for your replies.


I do not use FrameMaker anymore, neither for editing nor for 
publishing to PDF. I use MiramoPDF for publishing to PDF and oXygen 
for publishing to CHM. Shifting back to FM is definitely not an option 
for me.



The only thing I currently do is compare how DITA files look like in 
FM and oXygen to make sure they are presented in a similar way. I must 
be sure that the files are OK. If I see them completely differently, I 
get confused and start worrying that something has gone wrong...



The DITA attribute "scale" would do the trick. [But strangely enough 
only if set to about "80" %, and not "61" % , which would be the 
equivalent to "92/150" dpi). However, I do not want to scale images in 
the published output, only in the editor. The good thing is: MiramoPDF 
ignores the "scale" attribute and leaves the images as they are in the 
PDF. The bad thing: oXygen applies this scaling in the CHM files (as 
expected, of course).



Isn't there any trick to make the oXygen editor believe the "scale" 
attribute was set to "80", but without actually applying this 
attribute to the dita data? Couldn't this be implemented somehow?



The use case is: In the editor window I would like to have a good 
estimate of how wide images are to see if they exceed the borders of 
an A4-sized page. This is especially important when I place multiple 
inline images in the same paragraph so that they are shown side by 
side. It looks ugly if there is a line break just because one of the 
image is a few pixels too wide. In FrameMaker I could see this exactly 
and then I would tweak the images a little in Photoshop to cut off a 
few pixels...



It is good to know that there is an option in MiramoPDF (and other PDF 
rendering engines) that scales images automatically down to make them 
fit on the page. But this is not applicable to the use case I have 
just described. Moreover, the images may get blurred. I always sharpen 
them when I scale them down in Photoshop and make sure that text is 
still readable.



As a workaround, can I display a kind of ruler in the oXygen window? I 
would like to see a thin vertical line at a user-defined pixel or mm 
position on the right-hand side of the editor window. This line would 
mark the end of the text column. I could do this with CSS (fixed 
width, border right), but the line shifts to the right if an image is 
wider.



Best regards,

Frank


Am 10.02.2023 um 08:42 schrieb Oxygen XML Editor Support (Radu Coravu):


Hi Frank,


Please see some remarks below:

All my images have PNG format and an "otherprops="fmdpi:xxx" 
attribute where xxx is usually 150, in some cases 140, 160 or 
similar. FrameMaker, my previous XML editor, honors this attribute 
and scales the images appropriately.


Well it honors its own Frame specific custom attributes which are not 
defined in the DITA specification.


Are you still publishing to PDF using Frame?

I notice that oXygen displays images bigger in its editor compared 
to 150 dpi images in FrameMaker.



Oxygen's default DPI is about 96 which is closer to the Web output.

Re: [oXygen-user] Image and table width in Author mode

2023-02-09 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


Please see some remarks below:

All my images have PNG format and an "otherprops="fmdpi:xxx" attribute 
where xxx is usually 150, in some cases 140, 160 or similar. 
FrameMaker, my previous XML editor, honors this attribute and scales 
the images appropriately.


Well it honors its own Frame specific custom attributes which are not 
defined in the DITA specification.


Are you still publishing to PDF using Frame?

I notice that oXygen displays images bigger in its editor compared to 
150 dpi images in FrameMaker.



Oxygen's default DPI is about 96 which is closer to the Web output.

We have some CSS settings to change the DPI when publishing DITA to PDF 
using our CSS based engine:


https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/dcpp_images.html

but we do not have settings to change the DPI in the visual editor on a 
per-image base.


I would need to reduce all images to about 66% of their size (= by 
factor 1.5). Unfortunately I do not know of any CSS style which scales 
images based on their own pixel size. Percentage values in CSS apply 
to the widht or height of the viewport.


Yes, I also do not see a possible way to do this with CSS. DITA  
elements allow setting the width or scale attributes on them. Like:




and Oxygen takes this into account. But we take it into account because 
we know it's DITA, not because of a certain CSS rule which could be 
modified to cover another attribute.



Likewise, I would  like to make sure that table columns are not too 
narrow on the PDF pages.


Most XML editors are not what you see is what you get especially because 
XML can be published to multiple formats. The PDF may have a different 
font, it splits into pages, it has a certain page width... best you can 
do is to try and make things look more like the published content in the 
visual editor and check the PDF from time to time.



Regards,

Radu

Radu Coravu
Oxygen XML Editor


On 2/9/23 15:08, Frank Dissinger wrote:


Hi list,


I publish DITA content as online help and PDF. In oXygen's Author mode 
I would like to make sure that images do not exceed the width of the 
A4-sized PDF pages. Sometimes I also place two or more inline images 
side by side in a paragraph and want to make sure if all of them fit 
on the line or if there is a line break between them.



All my images have PNG format and an "otherprops="fmdpi:xxx" attribute 
where xxx is usually 150, in some cases 140, 160 or similar. 
FrameMaker, my previous XML editor, honors this attribute and scales 
the images appropriately.



I notice that oXygen displays images bigger in its editor compared to 
150 dpi images in FrameMaker. I would need to reduce all images to 
about 66% of their size (= by factor 1.5). Unfortunately I do not know 
of any CSS style which scales images based on their own pixel size. 
Percentage values in CSS apply to the widht or height of the viewport.



Likewise, I would  like to make sure that table columns are not too 
narrow on the PDF pages.



What can I do? Any ideas are welcome.


Regards,

Frank

--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 



*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png 

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Conkeyrefs not rendered on map-level

2023-02-02 Thread Oxygen XML Editor Support (Radu Coravu)
er-requ...@oxygenxml.com 

*Gesendet:* Mittwoch, 25. Januar 2023 19:00
*An:* oxygen-user@oxygenxml.com
*Betreff:* oXygen-user Digest, Vol 139, Issue 17
Send oXygen-user mailing list submissions to
oxygen-user@oxygenxml.com

To subscribe or unsubscribe via the World Wide Web, visit
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
or, via email, send a message with subject or body 'help' to
oxygen-user-requ...@oxygenxml.com

You can reach the person managing the list at
oxygen-user-ow...@oxygenxml.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of oXygen-user digest..."


Today's Topics:

   1. Re: Inserting child elements automatically
  (Oxygen XML Editor Support (Radu Coravu))
   2. Re: Conkeyrefs not rendered on map-level
  (Oxygen XML Editor Support (Radu Coravu))


----------------------

Message: 1
Date: Wed, 25 Jan 2023 08:06:34 +0200
From: "Oxygen XML Editor Support (Radu Coravu)"

To: oxygen-user@oxygenxml.com
Subject: Re: [oXygen-user] Inserting child elements automatically
Message-ID: 
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Hi Frank,


Let's split your use cases in two:

1) Inserting elements using Oxygen's actions (toolbars, menus)

2) Inserting elements using the content completion window.


1)


Let's take table insertion for example:


If you edit your DITA framework extension that is defined in the
Preferences->"Document Type Association" page, it has an
"Author=>Actions" tab.

If you edit the action "insert.table", it calls an operation named
"ro.sync.ecss.extensions.dita.topic.table.InsertTableOperation" with
certain parameters. One of the parameters is named "cellFragment", you
can set its value to "".

There are other ways to change a table, for example insert a new column,
insert a new row. So actions like "insert.table.row.below" or
"insert.table.column.after" which also need to be changed accordingly.


2) Inserting elements like  using the content completion window.

Your DITA extension framework customization can contain a
"cc_config.xml" file which defines that for certain elements, if they
are inserted, another element should be inserted inside them as well:

https://www.oxygenxml.com/doc/ug-editor/topics/configure-elements-attr-cc-individually.html#configure-elements-attr-cc-individually__examples_configuring_elements


Hope this helps.


Regards,

Radu


Radu Coravu
Oxygen XML Editor

On 1/24/23 11:49, Frank Dissinger wrote:
>
> Hi list,
>
>
> Whenever this is valid, I wrap text in a  element. I would like
> oXygen to automatically insert  as a child element when inserting
> ,  (for the table cells of course), ,
> , ... and many more. How do I do this?
>
>
> Regards,
>
> Frank
>
> --
>
> *Frank Dissinger*
>
> Documentation Manager
>
> 
>
> *CGS Publishing Technologies International GmbH*
>
> *Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 
<http://www.cgs-oris.com>

> <http://www.cgs-oris.com/>
CGS ORIS - Homepage <http://www.cgs-oris.com/>
www.cgs-oris.com
Smart software solutions & media for the printing and packaging 
industry. Simple to use, for all of your needs related to color 
management, proofing, prototyping and certification.



>
> *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany
>
> *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99
>
> *Commercial register* Offenbach, HRB no. 21495
>
> *Managing directors* Bernd R?ckert, Christoph Thommessen
>
>
> https://www.cgs-oris.com/Signatur.png

<https://www.cgs-oris.com/signatur>
<https://www.cgs-oris.com/signatur>

CGS ORIS - Signatur <https://www.cgs-oris.com/signatur>
www.cgs-oris.com
Hainburg, Germany (December 13, 2022) – Last week CGS ORIS already 
released new versions of its proofing and prototyping solutions: Now 
the updates of the color management applications for four- and 
multi-color printing are available, too. PRESS MATCHER 4.2 and X GAMUT 
4.2 contain a great amount of...



>
> _______________
> oXygen-user mailing list
> oXygen-user@oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20230125/5ee65dde/attachment-0001.htm>


--

Message: 2
Date: Wed, 25 Jan 2023 11:38:18 +0200
From: "Oxygen XML Editor Support (Radu Coravu)"

To: oxygen-user@oxygenxml.com
Subject: Re: [oXygen-user] Conkeyrefs not rendered on map-level
Message-ID: 
Content-Type: text/plain;

Re: [oXygen-user] FM/OXY: Different DITA code for "conkeyref"

2023-01-26 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


The content inside the dlentry which has a conref is fallback content, 
it's used only if the conref does not resolve. So what's there is not 
really important. But it also needs to be there to make the XML valid 
according to the DTDs.


Oxygen by default does not generate that extra paragraph inside the dd: 
"".


So this is probably something which you defined in your framework 
customization, maybe you specified in your "cc_config.xml" for example 
that when a "dd" is inserted, Oxygen should also insert a paragraph 
inside it.


About that Schematron rule, I would refine it to skip looking inside 
elements which contain conrefs:







Regards,

Radu

Radu Coravu
Oxygen XML Editor


On 1/26/23 16:56, Frank Dissinger wrote:


Hi list,


As some of you know, I have just switched from FrameMaker to oXygen.


I discovered that the two programs create different DITA code for 
". oXygen creates an empty * *tag before 
the closing  tag. Are both codes equally correct? Or is one 
better than the other?



oXygen code:


        
**
    

FrameMaker code:

  
       




Referenced dita topic:

  
    
    Use this option to quickly find a specific color if 
many colors are loaded.Enter the first few
  letters or any part of the color name. This will select the 
first color the name of which is matched by these
  characters.If your input matches multiple colors, 
click on the small arrow to select a color from the
  list. This list contains only colors with names that contain 
the characters you have entered.

  


BTW: This difference became obvious after defining a Schematron rule 
which outputs an error for  elements which do not have any child 
elements. I have defined this rule and many similar ones because I 
want to wrap every paragraph in  wherever  is valid. The 
FM-generated code () is marked up as invalid by this rule. It 
would be a nightmare to change all these hundreds of "conkeyref"s in 
all my projects. Or should I just do without this check (i.e. the 
second "assert")?




    
    DD 
element must not contain any text.

DD does not contain any child elements
    
    


Regards,

Frank

--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 



*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png 

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Conkeyrefs not rendered on map-level

2023-01-25 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Sasha,


Usually problems can be either editing problems or publishing problems 
or problems which affect both editing and publishing.



Currently I want to switch from Oxygen 23 to 25.0 including an 
extracted build-in DITA-OT3.x with custom pdf2 plugin but In the 
updated environment we have the following effect:



In almost all DITAVAL contexts (we have a lot) the variable texts are 
not rendered into the DITA Map anymore without error messages.


This looks like an editing problem, in such cases we are interested in 
knowing what those particular error messages state. Ideally we would 
also have a small sample DITA project to reproduce the problem on our 
side. You can do this with a separate off list email.


Just a few DITAVAL contexts produce output as before.


By output do you mean publishing?


In published content topics/chapters everything is fine -> conkeyrefs 
are resolved.


So the publishing is fine? Only the DITA Maps Manager has problems 
displaying the keyrefs?


Also Oxygen Author WYSIWYG resolves all conkeyrefs as expected in 
topics and in the map.



Ok, so the main editor area seems to work.



In the pre-processing output (…_MERGED.xml) the specific map elements 
do not contain the variable text but conref attributes with wrong 
transformed links:
The conrefs contain “path/topic.dita#ElementID” instead of 
“path/ditatopic.dita#topicID/ElementID”


In correct output contexts there are no conref attrubtes rendered into 
output, just the elements with resolved text.


So there is also a publishing problem as well? Oxygen 25.0 comes bundled 
with DITA OT 3.7 from what I remember, maybe there is some 
incompatibility between your custom PDF plugin and DITA OT 3.7.


Do you have also a DITA DTD specialization plugin? If so did you install 
it in the DITA OT bundled with Oxygen 25.0?


I guess, there could be many different reasons for this. I tried a lot 
and couldn’t reproduced the problem in a simple test project. I also 
did´nt manage to simplify our project to a working state.


I somehow suspect you may have some DITA specialization for certain 
topics. I'm not sure. If you can reproduce about the same problem when 
editing and when publishing, the problem is usually somewhere in the 
DITA Open Toolkit publishing engine, some plugin which may not be installed.



Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 1/23/23 17:19, Sascha Nothofer wrote:


Hi DITA & Oxygen Users,

Currently I want to switch from Oxygen 23 to 25.0 including an 
extracted build-in DITA-OT3.x with custom pdf2 plugin but In the 
updated environment we have the following effect:



In almost all DITAVAL contexts (we have a lot) the variable texts are 
not rendered into the DITA Map anymore without error messages. Just a 
few DITAVAL contexts produce output as before.


In published content topics/chapters everything is fine -> conkeyrefs 
are resolved. Also Oxygen Author WYSIWYG resolves all conkeyrefs as 
expected in topics and in the map.


In the pre-processing output (…_MERGED.xml) the specific map elements 
do not contain the variable text but conref attributes with wrong 
transformed links:
The conrefs contain “path/topic.dita#ElementID” instead of 
“path/ditatopic.dita#topicID/ElementID”


In correct output contexts there are no conref attrubtes rendered into 
output, just the elements with resolved text.


I guess, there could be many different reasons for this. I tried a lot 
and couldn’t reproduced the problem in a simple test project. I also 
did´nt manage to simplify our project to a working state.



Maybe someone experienced a similar effect (conkeyrefs in topic 
content resolved but not in map title/data elements) and can provide 
hints for a possible cause and or solution.


What I can say so far:
- It has nothing todowith the custom pdfplugin: same problem with 
build-in pdf and html transformation scenarios.

- We are using only standard pdf parameter settings.
- It has nothing todo with filtering directly because I have deleted 
all filter atts in the conkeyref chain in scope of the problem. Also 
our props attribute specialization does not affect the problem.

- We do not use:

-  - scoped keys and ditavalref in maps

-  - push-replace

-  Same problem with and without DITA project files.

- Problem is not caused by DITA topic content structures (I have 
copied content from working to non-working context.


I'm curious if someone has already seen something like this.

Best Regards

Sascha





Kontakt | Contact   Rein Medical GmbH
T:  +49 2161 6984 - 131 Monforts Quartier 23
*M:*
Schwalmstraße 301
*F:*+49 2161 6984 - 231 41238 Mönchengladbach
*E:*sascha.notho...@reinmedical.com Germany
*W:*https://www.reinmedical.com 
*S:*



Rechtliches | Legal 
Geschäftsführer: 	Dieter Cyganek, Stephan Rein, Thorsten Godulla, 
Hisakazu Harada, Akira Suzuki

Registergericht:

Re: [oXygen-user] Inserting child elements automatically

2023-01-24 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


Let's split your use cases in two:

1) Inserting elements using Oxygen's actions (toolbars, menus)

2) Inserting elements using the content completion window.


1)


Let's take table insertion for example:


If you edit your DITA framework extension that is defined in the 
Preferences->"Document Type Association" page, it has an 
"Author=>Actions" tab.


If you edit the action "insert.table", it calls an operation named 
"ro.sync.ecss.extensions.dita.topic.table.InsertTableOperation" with 
certain parameters. One of the parameters is named "cellFragment", you 
can set its value to "".


There are other ways to change a table, for example insert a new column, 
insert a new row. So actions like "insert.table.row.below" or 
"insert.table.column.after" which also need to be changed accordingly.



2) Inserting elements like  using the content completion window.

Your DITA extension framework customization can contain a 
"cc_config.xml" file which defines that for certain elements, if they 
are inserted, another element should be inserted inside them as well:


https://www.oxygenxml.com/doc/ug-editor/topics/configure-elements-attr-cc-individually.html#configure-elements-attr-cc-individually__examples_configuring_elements


Hope this helps.


Regards,

Radu


Radu Coravu
Oxygen XML Editor

On 1/24/23 11:49, Frank Dissinger wrote:


Hi list,


Whenever this is valid, I wrap text in a  element. I would like 
oXygen to automatically insert  as a child element when inserting 
,  (for the table cells of course), , 
, ... and many more. How do I do this?



Regards,

Frank

--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 



*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png 

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] DITA Reusable Components list (Keys tab) does not update

2023-01-18 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


Right, we support rectangular selection:


https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/rectangular-selection.html#rectangular-selection__rectangular_selection_feature


About your attempt to reload the keys in the "DITA Reusable 
Components->Keys" tab, you should try to press F5 in the DITA Maps 
Manager to reload the current map's contents, this should also trigger a 
reload of keys in the side view.



Regards,

Radu


Radu Coravu
Oxygen XML Editor


On 1/18/23 15:56, Frank Dissinger wrote:


Oops, sorry... oXygen does support "rectangular selection". I first 
tried and it didn't work...  But then tried again and it does...




Am 18.01.2023 um 14:42 schrieb Frank Dissinger:


Hi Franz-Josef,


Thank you for your reply.


oXygen does not seem to support selecting text vertically (like in 
Notepad++ or MS Word, with ALT key pressed down and mouse button 
moving up or down), which I use frequently.


Notepad++ is my favorite text editor. I use it every day, e.g. for 
searching in files.



Regards,


Frank





Am 18.01.2023 um 14:14 schrieb Franz-Josef Knelangen:


Hi Frank,

can’t imagine editing ditamaps with Notepad++ when I can simply 
“open map in Editor” in Oxygen (with all bells and whistles). If I 
change a key there and save the file, the DITA Reusable Components 
view is updated automatically.


Try it, and you never go back to Notepad++ .

Greetings,

Franz-Josef

*
Franz-Josef Knelangen**
*Leiter Dokumentation

Direct:
Main:
Mobile:



+49 7634 5612-0
+49 7634 5612-0
-

Facebook | Xing 
| LinkedIn 
| YouTube 



AKG Software Consulting GmbH

*AKG Software Consulting GmbH*
Uhlandstr. 12
D-79423 Heitersheim
www.akgsoftware.de 

Geschäftsführer: Dipl.-Ing. Artur K. Günther, Dipl.-Ing. Arno 
Brüggemann, Dipl.-Ing. (FH) Bernhard Feser, Dipl.-Ing. Jens Günther
Sitz der Gesellschaft: Heitersheim, HRB 310383 (Amtsgericht Freiburg 
i. Br.)**





*Von:* oXygen-user  *Im Auftrag 
von *Frank Dissinger

*Gesendet:* Mittwoch, 18. Januar 2023 13:29
*An:* Oxygen User Mailing List 
*Betreff:* [oXygen-user] DITA Reusable Components list (Keys tab) 
does not update


Hi list,

I am used to edit ditamaps with key definitions using Notepad++. 
Having done so, I do not know how to update the list of keys in the 
DITA Reusable Components window. I can reindex the information on 
the Components tab, but there is no reindexing function for the Keys 
tab and pressing F5 does not have any effect.


What can I do other than editing the key definitions in oXygen?

Regards,

Frank


--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 



*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png 

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] CSS validation warnings

2023-01-18 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


Please see some remarks below:


/Also make sure you prefix the pseudo class value also in the 
oxy_action. /--> How do I do this?



Like this:


:root:before {
    display:block;
    content: oxy_button(action, oxy_action(
  name, 'Tags on/off ...',
  description, 'Toggle Full Tags',
  operation, 
'ro.sync.ecss.extensions.commons.operations.TogglePseudoClassOperation',

  arg-elementLocation, '.',
  arg-name, '-oxy-no-tags'
    ));
    position: fixed;
    top: 4px;
    left: 160mm;
}

:root:-oxy-no-tags, :root:-oxy-no-tags * {
    -oxy-display-tags:none;
}


Negative values do have an effect in oXygen's Author mode and they are 
essential for me. Hm...???



As I said there are two distinct aspects:

- CSS Validation using the W3C CSS validator. Negative margins are 
reported as errors by it.


- The CSS engine Oxygen uses to render the XML in the Author page, 
engine which supports negative margins.



I'll investigate to see if "margin-inline-start" is really required or 
can be replaced. I saw that it is used in one of oXygen's CSS files 
and wanted to reverse a formatting effect produced with this style.


We use this property in a single place because the DITA CSS are also 
used by our Web Author (in-browser editor). So the Oxygen desktop does 
not use this property in any way from what I looked but our Oxygen Web 
Author product which runs in a web browser uses this property as it uses 
common CSSs with the desktop application.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 1/18/23 12:56, Frank Dissinger wrote:


Hi Kris and Radu,


I refer to (2): Opening "custom.css" in oXygen.

/Also make sure you prefix the pseudo class value also in the 
oxy_action. /--> How do I do this?


Negative values do have an effect in oXygen's Author mode and they are 
essential for me. Hm...???


I'll investigate to see if "margin-inline-start" is really required or 
can be replaced. I saw that it is used in one of oXygen's CSS files 
and wanted to reverse a formatting effect produced with this style.


Do I use an oXygen framework for my custom.css? Probably... How can I 
verify this?



Regards,

Frank





Hi Frank,


There are two distinct aspects to this:


1) Installing your framework in Oxygen and editing a DITA topic in 
the Author mode using your custom framework's CSS. I tested and on my 
side Oxygen reports no error when opening and editing a DITA topic 
with your framework. So I cannot reproduce this problem you reported:



This is annoying because the "Results" window keeps popping up 
whenever I save a dita file.
2) *Opening your "custom.css" in Oxygen and validating it*. Here 
indeed some errors are reported.



2.1)



Unknown pseudo-element or pseudo-class “:no-tags”
You can avoid this error by prefixing the custom pseudo class with 
"-oxy-", something like ":root:-oxy-no-tags".


*Also make sure you prefix the pseudo class value also in the 
oxy_action.*



2.2)



*“-2em” negative values are not allowed *:
Such errors are reported by the W3C CSS validator, the CSS is 
considered invalid according to the CSS standard. We do not have 
settings to filter out errors reported by the CSS validator.



2.3)



Property “*margin-inline-start*” doesn't exist : 0
Again this property does not see to be defined in the CSS3 standard 
and is reported as such by the W3C CSS validator. We do not have a 
way to inhibit this.


Oxygen's CSS engine used to render DITA topics in the Author mode 
does not support this "margin-inline-start" property or use it in any 
way. But some browsers seem to support it.



Regards,

Radu

Radu Coravu
Oxygen XML Editor



Am 18.01.2023 um 11:46 schrieb Kristen James Eberlein:


*Frank, are you using an Oxygen framework for your custom CSS?*

Best,

Kris

Kristen James Eberlein
Chair, OASIS DITA Technical Committee
Owner, Eberlein Consulting LLC
k...@eberleinconsulting.com

Skype: kriseberlein; voice: +1 (919) 622-1501

*From:* oXygen-user  *On Behalf Of 
*Frank Dissinger

*Sent:* Wednesday, January 18, 2023 4:31 AM
*To:* Oxygen User Mailing List 
*Subject:* [oXygen-user] CSS validation warnings

Hi list,

I keep getting the following CSS validation errors for my 
"custom.css" file in oXygen V25:


  * Unknown pseudo-element or pseudo-class “:no-tags”
  * Negative values are not allowed: -0.5em /(padding)/
  * Property “margin-inline-start” doesn't exist : 0

This is annoying because the "Results" window keeps popping up 
whenever I save a dita file.


How can I tell oXygen to ignore these elements/properties/values?

I can't find the required settings under "Options > Preferences > CSS 
Validator".


Frank


--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*


Re: [oXygen-user] CSS validation warnings

2023-01-18 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


There are two distinct aspects to this:


1) Installing your framework in Oxygen and editing a DITA topic in the 
Author mode using your custom framework's CSS. I tested and on my side 
Oxygen reports no error when opening and editing a DITA topic with your 
framework. So I cannot reproduce this problem you reported:



This is annoying because the "Results" window keeps popping up 
whenever I save a dita file.
2) Opening your "custom.css" in Oxygen and validating it. Here indeed 
some errors are reported.



2.1)



Unknown pseudo-element or pseudo-class “:no-tags”
You can avoid this error by prefixing the custom pseudo class with 
"-oxy-", something like ":root:-oxy-no-tags".


Also make sure you prefix the pseudo class value also in the oxy_action.


2.2)



“-2em” negative values are not allowed :
Such errors are reported by the W3C CSS validator, the CSS is considered 
invalid according to the CSS standard. We do not have settings to filter 
out errors reported by the CSS validator.



2.3)



Property “margin-inline-start” doesn't exist : 0
Again this property does not see to be defined in the CSS3 standard and 
is reported as such by the W3C CSS validator. We do not have a way to 
inhibit this.


Oxygen's CSS engine used to render DITA topics in the Author mode does 
not support this "margin-inline-start" property or use it in any way. 
But some browsers seem to support it.



Regards,

Radu

Radu Coravu
Oxygen XML Editor


On 1/18/23 11:30, Frank Dissinger wrote:


Hi list,


I keep getting the following CSS validation errors for my "custom.css" 
file in oXygen V25:


  * Unknown pseudo-element or pseudo-class “:no-tags”
  * Negative values are not allowed: -0.5em /(padding)/
  * Property “margin-inline-start” doesn't exist : 0

This is annoying because the "Results" window keeps popping up 
whenever I save a dita file.



How can I tell oXygen to ignore these elements/properties/values?

I can't find the required settings under "Options > Preferences > CSS 
Validator".



Frank

--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 



*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png 

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Going from FrameMaker to oXygen -- @type not added automatically

2023-01-09 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


So:


Good to know that the Type and Format attributes are neither required 
nor good practice. /.../
There is a problem which may occur if you are using the @type attribute 
on and off inconsistently.


So let's say you have a DITA Map which uses it a lot like:



  
and then you decide not to use it anymore on topicrefs, so you might end 
up with something like this:




  
      
  
So the reference to "concept.dita" no longer has @type set on it, but 
the parent task.dita has type set on it. And the DITA specification 
states that in such cases the @type attribute value cascades to the 
child element. So when publishing the DITA Map content is interpreted as:




  
      
  

which will trigger a publishing warning.

Oxygen's "Validate and check for completeness" action from the "DITA 
maps manager" view should report such problems.


But in general, once you decide not to use @type in the DITA map, you 
should actively remove the attribute from the DITA Map otherwise you end 
up with @type attribute values cascading on to topicrefs which no longer 
have the @type attribute set.



I right-clicked in the Editor window and selected /"/Insert > Insert 
New DITA Resource", then I selected a custom framework template.



Thanks, I added your details to the already opened issue.


Regards,

Radu

Radu Coravu
Oxygen XML Editor


On 1/9/23 17:02, Frank Dissinger wrote:


Hi Radu,


Thank you for this clarification. Good to know that the Type and 
Format attributes are neither required nor good practice. This makes 
life easier.


/I tested and indeed, if in the DITA Maps Manager I insert a
reference to an existing topic file, the attributes are
automatically added, but if I use for example the contextual
action "Append child->New" to create a topic and insert a
reference to it, then indeed the attributes are not set on the
topicref. Is this close to how you are doing things on your side?/

I right-clicked in the Editor window and selected /"/Insert > Insert 
New DITA Resource", then I selected a custom framework template.


/
/

Regards,

Frank/

/

--------------------
Am 04.01.2023 um 06:57 schrieb Oxygen XML Editor Support (Radu Coravu):


Hi Frank,


Please see some remarks below:


I understand that the "type" and "format" attributes are required or 
at least a good practice for "topicref" elements.



They are not required and they are not a best practice either.

From what I've experienced along these years, most end users who want 
these attributes to be added automatically are usually the ones 
migrating from Framemaker or using both Oxygen and Framemaker on the 
same set of DITA files.


My general best practice for these attributes would be:


1) For the "type" attribute, never set it on any link or topicref as 
the publishing engine will infer it from the target.


2) For the "format" attribute, Oxygen by default sets it on 
references to DITA Maps and non-DITA topics, but when referencing 
DITA topics, the @format attribute is not set automatically as it's 
default value when not set is "dita".





When I insert a new dita resource into a ditamap (i.e. a new topic 
or map which I create and insert in one go), oXygen should add these 
attributes automatically. I have set the options under "Options > 
Preferences > DITA > Maps" accordingly.



However, only "format" attributes are set, "type" attributes are not 
set although I have checked both options.
Checking those "Format" and "Type" checkboxes in the "Options > 
Preferences > DITA > Maps" preferences page should work...


I tested and indeed, if in the DITA Maps Manager I insert a reference 
to an existing topic file, the attributes are automatically added, 
but if I use for example the contextual action "Append child->New" to 
create a topic and insert a reference to it, then indeed the 
attributes are not set on the topicref. Is this close to how you are 
doing things on your side?


I added an internal issue to look into fixing this problem on our 
side, adding the issue ID below for future reference:



    EXM-52131 DITA Maps Manager creating new topic does not 
automatically add type and format attributes to topicref



Hope this helps.


Regards,

Radu

Radu Coravu
Oxygen XML Editor


On 1/3/23 21:08, Frank Dissinger wrote:


Hi list,


I understand that the "type" and "format" attributes are required or 
at least a good practice for "topicref" elements.



When I insert a new dita resource into a ditamap (i.e. a new topic 
or map which I create and insert in one go), oXygen should add these 
attributes automatically. I have set the options under "Options > 
Preferences > DITA >

Re: [oXygen-user] Going from FrameMaker to oXygen / Outline View / Text duplicates

2023-01-09 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


I added an internal issue to consider adding a new setting based on what 
you want:



    EXM-52156 Outline - Setting to avoid showing text of element on 
ancestor element



The purpose of the current behavior is to make it easier to figure out 
what text content is inside a certain node hierarchy without the need to 
expand nodes. So in this case I know what text is inside the  
element's structure without expanding it.



Regards,

Radu

Radu Coravu
Oxygen XML Editor


On 1/9/23 18:47, Frank Dissinger wrote:


Hi Jang,


Just to be sure we are talking about the same thing:


Current behavior:

What I want is this:



I see no point in the current behavior. Why are empty elements marked 
as "filled" elements in oXygen?



*@SyncroSoft*

Feature request : Can the current behavior of the Outline view be 
changed to show empty elements as empty?



If the current behavior is required (for whichever reason...), I 
understand that I'd need to implement DITA contstraints. Can you be 
more specific about that? How would I do this with oXygen?



Regards,


Frank



Am 09.01.2023 um 11:27 schrieb 4everJang:

Hello Frank,

About the last point in your missing features list: the DITA specs 
allow plain text as well as block elements like  inside an . 
If you create constraints that disallow plain text (and inline 
elements) in the  you should get rid of the extra Text indicators 
in oXygen’s author view.


And I do suggest everyone to create constraints before starting to 
work with DITA, as the definitions in the so-called standard DITA 
packages allows almost everything and is not meant to be a useful 
subset of elements for anyone’s specific content domain. The first 
step in any useful DITA implementation is defining constraints and 
possibly specialisations. I often get the reply from newbie DITA 
users that they want to stick with standard DITA. Fact is that 
constraints, and even specialisations, do not take you away from the 
standard. DITA was intended to be customised, i.e. adapted to your 
particular content domain, so that it will become as useful as 
possible - without pushing you out of the standard. Any DITA tool 
should support constraints and specialisations (as long as you create 
them in the defined manner), otherwise they cannot claim to be DITA 
compliant at all.


Good luck with the transition from FM to oXygen.

*4everJang*
*Amsterdam, Netherlands*

On 9 Jan 2023, 10:37 +0100, Frank Dissinger 
, wrote:


Hi Alan,


Thank you for your reply. I fully agree with what you wrote about 
FM's Structure View. An excellent tool.



It would be great if oXygen could enhance its Outline View and make 
it work in a similar way. I am especially missing the following 
features:


  * Allow users to place the cursor between tags, or at the
beginning/end of the element contents, and indicate the position
  * Display attributes: Toggle between all/all with a value/none (no
need to waste room on the screen for a separate Attributes window)
  * Expand/collapse complete tree of elements or attributes in one
go (Shift-click)
  * Element content should not be repeated for empty wrapping
elements, this is confusing (show it only once)
For exmaple, for Text..., the "Text" is shown both for
 and . It should only be shown for .

Can I add this as feature request?


I have now switched to the oXygen Users Mailing List and will post 
any further oXygen-related issues there.



Regards,


Frank



Am 04.01.2023 um 22:05 schrieb Alan Houser:
Chiming in a bit late here. Longtime structured FrameMaker and 
oXygen user...


*Frank mentions the FrameMaker structure view. IMO, this is the 
best and most distinctive part of the FrameMaker structured 
authoring interface. Easy access to any part of the document. 
Expand/collapse at any level of the document hierarchy; locally or 
globally (e.g. expand/collapse "this" section; expand/collapse all 
sections). Full navigation capabilities. Visual feedback (and 
shortcut control) over cursor location -- beginning, middle, or end 
of an element. Configurable and interactive attribute display.*

*
*
*While most XML editors provide some sort of outline view, I've 
never seen one as full-featured and useful as the FrameMaker 
structure view.*


I occasionally use the oXygen Outline View for quick navigation in 
larger XML documents. And the "folding" feature in the edit window 
to expand/collapse content. But these don't fully replace what one 
can do with the FrameMaker structure view.


I think you will find that oXygen provides more and different 
features than Structured FrameMaker, many of which you will come to 
appreciate. I suggest (as you are doing) learning how to be most 
productive with the oXygen features and workflow. And be prepared 
to miss the FrameMaker structure view. 


-Alan
--
Alan 

Re: [oXygen-user] Git addon on M1 Mac?

2023-01-09 Thread Oxygen XML Editor Support (Radu Coravu)

Hello Scott,

I'm using Oxygen 25 with the Git add-on on an M1 Mac every day and I 
don't seem to have any issues with it.


Can you maybe send us some details about the error? Maybe a screenshot?

In addition you can also use the Oxygen main menu "Help->Report problem" 
and report a problem to us, we will receive lots of details about your 
current Oxygen installation, this might help us debug the problem further.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 1/10/23 04:00, Scott Prentice wrote:


Hi...

I'm seeing that when you install the Git addon, on Oxygen 25 installed 
on an M1 Mac, when you restart Oxygen, it generates an error and can't 
start the editor. This has been verified on two different systems. It 
works fine on a non-M1 Mac.


Is anyone else seeing this?

Oxygen .. is this something you're aware of?

Thanks!

...scott



___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Going from FrameMaker to oXygen -- Print-ready/Outline view issues

2023-01-03 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


About this specific request:


So I thought maybe I could perhaps quickly toggle the "Print-ready" 
style on and off to see the tags and better find the correct cursor 
position. Can I create a keyboard shortcut for doing this?



We do not yet have a means to set a certain keyboard shortcut for 
applying a CSS layer, we have an internal issue for this, I added your 
contact details to it and I'm pasting the issue ID below for future 
reference:



    EXM-22482 Assign hot keys for the alternate styles (CSS API)


There are other ways in which someone could for example create a custom 
Author action which sets a certain pseudo class on an element and then 
the CSS selectors can use that pseudo class to enable or disable certain 
properties. For example with the "custom.css" file I'm attaching I added 
a button directly in the Author visual editor and when the button is 
clicked, a certain CSS pseudo class is set on the root element and the 
tags are shown or hidden based on it.



Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 1/3/23 19:36, Frank Dissinger wrote:


Hi all,


This is my first posting to this list.


I am in the process of switching from FrameMaker V11 + DITA-FMx to 
oXygen V25 as my DITA editing tool. I have been using oXyen for quite 
a while as a transformation engine, but not as an editor. So in this 
respect I am still at the bottom of the learning curve.



I'd like to set up the Author mode in a way which comes close to what 
I was used in FrameMaker. I mainly worked in WYSIWYG view and with the 
Structure View, Elements and Attributes windows.



I have spent some effort on making oXygen's "Print-ready" view for the 
Editor window (in Author mode) look as WYSIWYG-ish as possible, with 
custom CSS styles that give me visual clues to the underlying XML 
structure. I then thought that I could use oXygen's Outline view in a 
similar way as FM's Structure View, but I feel quite lost in this window.


  * It does not allow me to position the cursor between the elements
  * It shows only a single attribute, not all attributes that are set
  * It shows only the attribute value, not the name
  * ...

I therefore find it hard to see the XML structure in the Outline view 
and to place the cursor precisely when I want to insert new elements.



So I thought maybe I could perhaps quickly toggle the "Print-ready" 
style on and off to see the tags and better find the correct cursor 
position. Can I create a keyboard shortcut for doing this?



Thank you.


Regards,


Frank


--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 



*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png 

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
:root:before{
display:block;
content: oxy_button(action, oxy_action(
  name, 'Toggle Full Tags', 
  description, 'Toggle Full Tags', 
  operation, 'ro.sync.ecss.extensions.commons.operations.TogglePseudoClassOperation', 
  arg-elementLocation, '.',
  arg-name, 'no-tags'
));
}

:root:no-tags, :root:no-tags * {
-oxy-display-tags:none;
}___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Going from FrameMaker to oXygen -- @type not added automatically

2023-01-03 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


Please see some remarks below:


I understand that the "type" and "format" attributes are required or 
at least a good practice for "topicref" elements.



They are not required and they are not a best practice either.

From what I've experienced along these years, most end users who want 
these attributes to be added automatically are usually the ones 
migrating from Framemaker or using both Oxygen and Framemaker on the 
same set of DITA files.


My general best practice for these attributes would be:


1) For the "type" attribute, never set it on any link or topicref as the 
publishing engine will infer it from the target.


2) For the "format" attribute, Oxygen by default sets it on references 
to DITA Maps and non-DITA topics, but when referencing DITA topics, the 
@format attribute is not set automatically as it's default value when 
not set is "dita".





When I insert a new dita resource into a ditamap (i.e. a new topic or 
map which I create and insert in one go), oXygen should add these 
attributes automatically. I have set the options under "Options > 
Preferences > DITA > Maps" accordingly.



However, only "format" attributes are set, "type" attributes are not 
set although I have checked both options.
Checking those "Format" and "Type" checkboxes in the "Options > 
Preferences > DITA > Maps" preferences page should work...


I tested and indeed, if in the DITA Maps Manager I insert a reference to 
an existing topic file, the attributes are automatically added, but if I 
use for example the contextual action "Append child->New" to create a 
topic and insert a reference to it, then indeed the attributes are not 
set on the topicref. Is this close to how you are doing things on your side?


I added an internal issue to look into fixing this problem on our side, 
adding the issue ID below for future reference:



    EXM-52131 DITA Maps Manager creating new topic does not 
automatically add type and format attributes to topicref



Hope this helps.


Regards,

Radu

Radu Coravu
Oxygen XML Editor


On 1/3/23 21:08, Frank Dissinger wrote:


Hi list,


I understand that the "type" and "format" attributes are required or 
at least a good practice for "topicref" elements.



When I insert a new dita resource into a ditamap (i.e. a new topic or 
map which I create and insert in one go), oXygen should add these 
attributes automatically. I have set the options under "Options > 
Preferences > DITA > Maps" accordingly.



However, only "format" attributes are set, "type" attributes are not 
set although I have checked both options.



Is this a bug or am I missing something?


I use oXygen V25.


Regards,


Frank


--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 



*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen




___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Custom DTDs with default Oxygen OT

2022-12-20 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Scott,

If you would only wanted your DTD specialization to be used by Oxygen 
when editing or for validation, adding a reference to the custom XML 
catalog in the Oxygen Preferences->"XML / XML Catalog" page would be enough.


But indeed for publishing the DITA OT publishing engine needs to have an 
extra plugin installed, there are no parameters which would allow 
passing a reference to an extra XML catalog to the DITA OT when it starts.


https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/dita-integrate-specialization.html

You could actually keep a separate "plugins" folder outside of the DITA 
OT main folder as long as you refer to it in the 
"DITA-OT3.x/config/configuration.properties" file:


https://www.dita-ot.org/dev/parameters/configuration-properties-file.html

But this would still mean the DITA OT folder would need to be changed, 
changes made to the "configuration.properties" followed by running the 
DITA OT integrator task which adds an extra reference to your XML 
catalog from the main DITA OT XML catalog.


And the main problem is that on Windows, Oxygen is usually installed in 
the "Program Files" folder which is read-only and making changes to 
files there is problematic if you do not have admin privileges.


Some more ways to distribute a custom DITA OT to the users:

1) Make the custom DITA OT available as an add-on:

https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/contribute-external-dita-ot-extension.html

For example here:

https://github.com/oxygenxml/dita-ot-3x-plugin

In the Oxygen main menu "Help->Install new add-ons" you can point Oxygen 
to an HTTP location containing the zipped DITA OT and Oxygen would 
download it and make it available in the "Preferences->DITA" page.


2) Add the custom DITA OT folder directly inside the framework folder. 
an Oxygen framework can provide also custom transformation scenarios and 
the custom transformation scenarios could use the 
"Parameters->"dita.dir"" parameter to refer to the custom DITA OT 
bundled with the framework.


3) If you use a Git repository for example you could also commit the 
custom DITA OT inside the repository so that everyone gets it when they 
check out the project.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 12/20/22 22:19, Scott Prentice wrote:


It's interesting to see that Chemistry apparently honors the catalog 
defined in the framework, so you can do a PDF build from content using 
a custom doctype with just the framework installed. Not exactly what I 
need, but good to know!


...scott


On 12/20/22 11:46 AM, Scott Prentice wrote:


Thanks, Stefan!

Yeah .. I was hoping to avoid having the users install a plugin .. 
just install the framework. But I can see that's not going to fly. 
I'm thinking that the simplest (least effort for the users, and least 
opportunity for error), is to provide a pre-configured OT 
installation that they can point to from Preferences. It'll just be ..


    1) Install framework,
    2) Point to custom OT in Preferences

That way if something goes sideways, they haven't messed with the 
detail Oxygen installation.


Cheers,
...scott


On 12/20/22 11:33 AM, Stefan Jung wrote:

Hey Scott,

You should bundle the grammar files in a toolkit plugin. This is 
correct. In your oxygen framework you need to configure the matching 
rules to recognize your custom grammar files. You need to install 
your plugin to the DITA-OT as well. You need to use 
the dita.specialization.catalog.relative extension point in your 
plugin.xml.


BR



Gesendet mit OX Mail

Scott Prentice http://s...@leximation.com>> 
hat am December 20, 2022 um 8:25 PM geschrieben:


I think I know the answer to this question, but want to confirm
that I'm not missing something.

I've got a set of custom DITA DTDs wrapped up in an OT plugin.
If I install this plugin in the OT, I'm able to successfully
generate output from content that uses the public IDs defined by
those DTDs. However, what I'd like is to include this plugin in
an Oxygen framework, and have the custom doctypes honored for OT
builds without "installing" the plugin.

As it stands, users can install the framework and edit topics
and maps using the custom doctypes. It validates fine and all is
well, but when they go to do an OT build, it fails to recognize
the location for the custom DTDs.

I thought there was an OT parameter that let you specify the
location of an alternate catalog file, but I'm not seeing that.
Was hoping that I could get this to work by just having the
users install the framework.

It seems like my only options are (after installing the
framework) ..

- install and integrate the "doctypes" plugin into the default
OT in Oxygen

- OR .. provide another OT that has the doctypes plugin
installed and have the users point to that as a custom DITA-OT
in Oxygen

Thoughts?

Thanks!
...scott




Re: [oXygen-user] Generate Sample XML Files --> not working correctly

2022-12-06 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Roger,

We need something to work with, if you could for example create a 
simplified sample XML Schema similar to your actual schema and 
exhibiting similar problems, then share it with us, we could take a look 
at it and maybe improve the generation.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 12/6/22 21:47, Roger L Costello wrote:

Hi Folks,

Sadly,

Tool >> Generate Sample XML Files

is not working correctly. It fails to generate lots of elements. For example, 
in my schema is an element with 11 child elements; the tool generated the 
element but with no content. It also fails on elements with a type that extends 
another type.

Yes, I know to click on "generate optional elements."

Sorry, I cannot share my schema.

I am using Oxygen version 25.0

/Roger
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] MathFlow losing support

2022-11-29 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Michael, Jean,

I confirm, Wiris is working on another solution for integrating their 
Mathtype editor with Oxygen XML desktop. From what I've heard from them 
they plan to officially release it some time at the beginning of next year.


I do not know when Wiris will fully drop support for the older Mathflow 
product, they will probably deprecate the support first, so it will take 
quite a long while.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 11/29/22 18:04, Jean Kaplansky wrote:
I'm not the final answer on this, but I believe that the expectation 
is people using Oxygen XML will move to MathType integrations for 
Oxygen XML: 
https://docs.wiris.com/mathtype/en/mathtype-integrations/mathtype-for-xml-editors.html


This is true at least for Oxygen XML Web Author. I haven't looked at 
what's supposed to happen for the Oxygen desktop version.




Jean Kaplansky

Sr. Manager, Content Strategy

Kaplan North America









On Tue, Nov 29, 2022 at 10:46 AM Michael Boudreau 
 wrote:


I recently learned that Wiris, the company that took over MathFlow
 from DesignScience,
will be ceasing support for it sometime in the near future. Does
Oxygen have plans for a replacement graphical editor for MathML in
XML documents?

-- 


Michael R. Boudreau

Electronic Publishing Technology Manager

The University of Chicago Press

1427 E. 60^th Street

Chicago, IL 60637

www.journals.uchicago.edu 

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Support for CSS pseudo-class :has()

2022-11-01 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Michael,

Oxygen supports the has() pseudo class selector and this is documented:

https://www.oxygenxml.com/doc/ug-editor/topics/has-selector.html

From what I tested in your case a selector like this should work in Oxygen:


entry:has(styled-content)
but if an extra ">" is prepended inside the has() pseudo class it stops 
working with Oxygen.


From what I tested a web browser supports both has() value styles (with 
or without the > prefix).


I also looked in the CSS specification and I added an internal issue to 
also support in Oxygen the selector if it has a leading ">".


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 11/1/22 23:09, Michael Boudreau wrote:


Hello,

Is there any chance that a future version of Oxygen will support the 
CSS pseudo-class :has() ? I tried the following rule in a stylesheet


entry:has(>styled-content){
background-color:#DDEEFF;
}

but the table cell () with a child  element 
didn’t get the expected light blue background.


--

Michael R. Boudreau

Electronic Publishing Technology Manager

The University of Chicago Press

1427 E. 60^th Street

Chicago, IL 60637

www.journals.uchicago.edu


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] XPath version in XPath toolbar?

2022-10-31 Thread Oxygen XML Editor Support (Radu Coravu)

Hello David,

Sorry for the delay.

We run both XPath 2.0 and 3.1 query expressions using the Saxon 11 
Enterprise Edition XSLT processor, providing the XSLT processor with the 
proper XPath version.


In such cases probably as you say the XSLT processor should report more 
precisely if certain expressions although supported by it are not quite 
compatible with the imposed expression version. But this is not 
something we control.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 10/27/22 05:23, David Birnbaum wrote:

Dear oxygen-user@oxygenxml.com,

If I select XPath version 3.1 in the XPath toolbar and evaluate an 
expression like:


*//l => count()*

in a document that contains ** elements, it correctly returns the 
count of those elements. If I select XPath 1.0 and evaluate the same 
expression, it correctly raises an error because it doesn't understand 
the arrow operator, which is not part of XPath 1.0. If I select XPath 
2.0 I also expect an error because the arrow operator is not part of 
XPath 2.0, but instead the result is the same as with 3.1. Am I 
mistaken in expecting 2.0 to raise an error here?


Sincerely,

David

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Table formatting: style attribute

2022-10-18 Thread Oxygen XML Editor Support (Radu Coravu)

Hello Michael,

Great, I'm glad this works for you for editing.

Probably such styling also depends on how you publish the JATS document 
further, if you produce an HTML document from it, that may work but for 
producing a PDF having HTML-related styles in the JATS file will 
probably not produce results in the PDF.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 10/17/22 18:09, Michael Boudreau wrote:


Thanks, Radu. That produced the change I need, though I limited the 
selector to th[style] and td[style].


I’m assuming that CSS declarations are acceptable content for the 
‘style’ attribute based on the example in 
https://jats.nlm.nih.gov/archiving/tag-library/1.2/attribute/style.html:




Preschool



--

Michael R. Boudreau

Electronic Publishing Technology Manager

The University of Chicago Press

1427 E. 60^th Street

Chicago, IL 60637

www.journals.uchicago.edu

*From: *oXygen-user  on behalf of 
Oxygen XML Editor Support (Radu Coravu) 

*Date: *Monday, October 17, 2022 at 12:22 AM
*To: *oxygen-user@oxygenxml.com 
*Subject: *Re: [oXygen-user] Table formatting: style attribute

Hi Michael,

We (the Oxygen XML developers) are not very familiar with the JATS format.

Oxygen uses CSS to render the JATS content in the Author visual 
editing mode. If for example you open the CSS 
"OXYGEN_INSTALL_DIR/frameworks/jats/lib/author-css/authoring-extension.css" 
CSS and add this selector to it:


*[style]{
    -oxy-style:attr(style);
}

then save your CSS and re-open your JATS file, Oxygen's visual editing 
should interpret the small CSS snippet value from any element which 
has a "style" attribute.


But is this correct according to the standard?

https://jats.nlm.nih.gov/archiving/tag-library/1.1d1/n-kkw2.html 
<https://urldefense.com/v3/__https:/jats.nlm.nih.gov/archiving/tag-library/1.1d1/n-kkw2.html__;!!BpyFHLRN4TMTrA!5UqrygK3OTCVWUckqPixZjhgdhWr64We_KH3SmfdyV6hT0Iymy8clGtEVsrSv4uWqJbpsnY3eD-nYPKvVSl8mcSD$>


with many of the elements within a NISO JATS table(

<https://urldefense.com/v3/__https:/jats.nlm.nih.gov/archiving/tag-library/1.1d1/n-by90.html__;!!BpyFHLRN4TMTrA!5UqrygK3OTCVWUckqPixZjhgdhWr64We_KH3SmfdyV6hT0Iymy8clGtEVsrSv4uWqJbpsnY3eD-nYPKvVdf-bzfM$>),
records the name of the style to be applied to the element;

The value of the @style attribute seems in the standard to indicate 
more a style name which should indicate the styling.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 10/16/22 04:45, Michael Boudreau wrote:

Is Oxygen supposed to heed the ‘style’ attribute on  and 
elements in the JATS table model when it’s rendering tables? It
doesn’t appear to be doing so.

I’m using Oxygen 25.0 on macOS X 12.6. I’m creating tables using
the JATS table model in a framework that uses CSS files copied
from the JATSKit framework. When I add a style attribute like this—

X

—the rules I hope to see on the cell don’t appear.

(For background: I’m creating tables in the JATS model by
converting tables from the OASIS model. In the OASIS model, the
 element has ‘colsep’ and ‘rowsep’ attributes to make a
rule appear on the right or bottom edge of the table cell. Since
there are no direct analogues of those attributes in the JATS
model  and  elements, I’m using the ‘style’ attribute
instead.)

-- 


Michael R. Boudreau

Electronic Publishing Technology Manager

The University of Chicago Press

1427 E. 60^th Street

Chicago, IL 60637

www.journals.uchicago.edu <http://www.journals.uchicago.edu>



___

oXygen-user mailing list

oXygen-user@oxygenxml.com

https://www.oxygenxml.com/mailman/listinfo/oxygen-user  
<https://urldefense.com/v3/__https:/www.oxygenxml.com/mailman/listinfo/oxygen-user__;!!BpyFHLRN4TMTrA!5UqrygK3OTCVWUckqPixZjhgdhWr64We_KH3SmfdyV6hT0Iymy8clGtEVsrSv4uWqJbpsnY3eD-nYPKvVV1SQ3yo$>


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Table formatting: style attribute

2022-10-16 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Michael,

We (the Oxygen XML developers) are not very familiar with the JATS format.

Oxygen uses CSS to render the JATS content in the Author visual editing 
mode. If for example you open the CSS 
"OXYGEN_INSTALL_DIR/frameworks/jats/lib/author-css/authoring-extension.css" 
CSS and add this selector to it:



*[style]{
    -oxy-style:attr(style);
}
then save your CSS and re-open your JATS file, Oxygen's visual editing 
should interpret the small CSS snippet value from any element which has 
a "style" attribute.


But is this correct according to the standard?

https://jats.nlm.nih.gov/archiving/tag-library/1.1d1/n-kkw2.html

with many of the elements within a NISO JATS table( 
), 
records the name of the style to be applied to the element; 
The value of the @style attribute seems in the standard to indicate more 
a style name which should indicate the styling.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 10/16/22 04:45, Michael Boudreau wrote:


Is Oxygen supposed to heed the ‘style’ attribute on  and  
elements in the JATS table model when it’s rendering tables? It 
doesn’t appear to be doing so.


I’m using Oxygen 25.0 on macOS X 12.6. I’m creating tables using the 
JATS table model in a framework that uses CSS files copied from the 
JATSKit framework. When I add a style attribute like this—


  style="border-bottom: solid thin black; border-right: solid thin 
black">X


—the rules I hope to see on the cell don’t appear.

(For background: I’m creating tables in the JATS model by converting 
tables from the OASIS model. In the OASIS model, the  element 
has ‘colsep’ and ‘rowsep’ attributes to make a rule appear on the 
right or bottom edge of the table cell. Since there are no direct 
analogues of those attributes in the JATS model  and  
elements, I’m using the ‘style’ attribute instead.)


--

Michael R. Boudreau

Electronic Publishing Technology Manager

The University of Chicago Press

1427 E. 60^th Street

Chicago, IL 60637

www.journals.uchicago.edu 


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Auto-insert element with cc_config

2022-10-11 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Scott,

Welcome to the Oxygen mailing list!

The DITA "Insert image" dialog has a "Figure title" text field. Once you 
fill that, it automatically inserts a figure. So what you want may not 
be that necessary.


Coming back to what you want, the "cc_config.xml" file does not have the 
ability to invoke custom actions in certain contexts.


There are other settings when creating a DITA framework extension which 
allow you to remove an item from the content completion window (for 
example remove ) and add instead of it a custom Author action with 
the same name which may perform other things when invoked:


https://blog.oxygenxml.com/topics/custom-author-action-content-completion.html

For example you can create a custom Author action which inserts an XML 
snippet like this in the document:


""


Oxygen has support for various editor variables which get expanded when 
used in XML snippets:


https://www.oxygenxml.com/doc/versions/24.1/ug-editor/topics/editor-variables.html

This "/{ask('Input URL', ///relative_url/)}/" editor variable would show 
a very simple URL chooser, so it does not show the "Insert image" dialog.


If you want to show the "Insert image" dialog, you have the option to 
create an Author action which calls a sequence of two or more other 
Author actions:


https://blog.oxygenxml.com/topics/composing-author-actions.html

Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 10/11/22 18:07, Scott Prentice wrote:


I've added the following to my cc_config file ..

**

This properly inserts an  element when a  is added, but 
the Insert Image dialog doesn't display. I tried including 
"insert.image" in the insertElements attribute, but that didn't do the 
trick.


Is it possible to get an image to be added when a fig is inserted, but 
also provide the Insert Image dialog?


Thanks!
...scott


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Relax NG validation messages

2022-09-18 Thread Oxygen XML Editor Support (Radu Coravu)

Hi David,

Oxygen uses the Jing parser to validate XML documents with RNG/RNC 
schemas so we present the messages as they are given by the parser.


I added an issue on the parser's GitHub issues list:

https://github.com/relaxng/jing-trang/issues/268

If you want you can provide more details on it, for example if you have 
an idea about how the error message should be rephrased.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 9/18/22 19:38, David Birnbaum wrote:

Dear oxygen-user@oxygenxml.com,

I have a question about the error messages  reports when 
validating a Relax NG rule that types an item as xsd:integer. My test 
XML is:




1


and my test Relax NG is:

start = stuff
stuff = element stuff { xsd:integer {minInclusive = "1"
maxInclusive = "1"} }


As I expected, both "1" and "01" pass validation. Initially I 
(erroneously) expected "1.0" to pass because I thought validation 
cared only about the value space, and not the lexical space, and it 
didn't because I had misunderstood how integer was defined. Section 
3.3.13 integer of https://www.w3.org/TR/xmlschema-2/ plainly says 
"disallowing the trailing decimal point", a limitation of the lexical 
space that automatically disallows the trailing zero.


I am, though, puzzled by the error message that  displays for 
"1.0", which reads:


character content of element "stuff" invalid; must be a decimal
number without any significant digits after the decimal point


I think that the wording of the error message suggests that "1." 
should pass, since the message seems to implies that the decimal point 
is fine, and the mistake was putting a zero after it. Yet validating 
"1." raises:


character content of element "stuff" invalid; must be an integer


This is consistent with the spec, as cited above, but also, I think, 
misleading because the *value* of "1.0" is an integer, and the 
prohibited trailing decimal point is about the lexical representation 
of the value. The error message doesn't distinguish value space from 
lexical space, although it could.


Am I alone in thinking that these two error messages could be clearer 
because the error in both cases is the same: the lexical space of 
xsd:integer does not permit a decimal point? Neither of these messages 
fingers the decimal point as the invalid part of the content.


Sincerely,

David



___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] I lost the collapse/expand capability in the XML editor ... how to restore it?

2022-06-19 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Roger,

In the Oxygen Preferences->"Editor / Edit Modes / Text" page there is an 
"Enable Folding" checkbox. Is it checked on your side?


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 6/17/22 15:03, Roger L Costello wrote:

Hi Folks,

Ya know those little triangles on the left side that allows you to collapse or 
expand an element? Well, I seem to have lost them. Now I can no longer 
collapse/expand elements. How do I restore that capability?

/Roger
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] suppress hover-over text in editor?

2022-06-13 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Alan,

Indeed I've seen people present for example pieces of XSLT content using 
Oxygen and then a large tooltip window appears while hovering over the 
XSLT content.


In the Oxygen Preferences->"Editor / Content Completion / Annotations" 
page we have a setting named "Show annotations in tooltips" which should 
disable tooltips when hovering over content in an opened XML document. 
So maybe this will help a bit.


But we do not have a setting to disable tooltips in a way globally, as 
you say in the DITA Maps Manager for example or in the results view. I 
added an internal issue based on your request to maybe add some kind of 
global tooltip off switch.


For doing a demo with Oxygen using a projector to gain more screen space 
you can also use the Oxygen main menu Window->"Hide all toolbars" and 
"Hide editor tabs" actions.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 6/13/22 22:04, Alan Houser wrote:

I've hesitated to ask this for some time ... surely I'm missing a preference or 
setting ... but I'm at a loss to find it ...

I'm generally grateful for oXygen's abundant hover-over text in the Editor and 
Results windows (DITA element and attribute definitions, inherited profiling 
metadata, character codes, OT errors, etc.). But sometimes during a demo or 
training, the hover-over text is distracting.

Is there a setting I'm missing to disable hover-over text?

-Alan


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] How to make "Toggle Line Wrap" the default?

2022-06-12 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Roger,

You can find the global "Line wrap" setting in the Oxygen 
Preferences->"Editor / Edit Modes / Text" page.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 6/12/22 20:42, Roger L Costello wrote:

Hi Folks,

I am generating XML documents that have long times.

When I view those documents, I always select Document >> Edit >> Toggle Line 
Wrap

Is there a way to make that the default? That is, how to make "Toggle Line 
Wrap" the default?

/Roger
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Important tip when using Oxygen XML

2022-05-15 Thread Oxygen XML Editor Support (Radu Coravu)

Hi, Roger, Joel,

One more thing in addition to this, the xml:space attribute does not 
need to be specified directly in the XML, it can be defined as an 
attribute with a default value in the associated schema/DTD.


For example a codeblock defined in the DITA DTD:



More about this in the user's guide:

https://www.oxygenxml.com/doc/versions/24.1/ug-editor/topics/format-and-indent-xml.html#format-and-indent-xml__dlentry_jgw_bgk_54b

Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 5/13/22 21:55, Joel Kalvesmaki wrote:

Hi Roger,

For such elements, try adding @xml:space="preserve". Oxygen will 
preserve those elements, and anyone you share your files with will 
understand that the space is meaningful.


Best wishes,

jk

On 2022-05-13 08:13, Roger L Costello wrote:

Hi Folks,

I love the "Format and Indent" button in Oxygen.

But it has a gotcha!

It replaces multiple spaces in your data with a single space. For
example, in my XML document it changed this:

GBE6   BELGRANO 6

to this:

GBE6 BELGRANO 6

See the change in the data?

GBE6   BELGRANO 6
GBE6 BELGRANO 6

Now you might think, "Well, what's the big deal? Why does it matter
that Oxygen discarded a few spaces?"

Actually, it is a huge deal!

In my use case, I have a program which checks that the TRM_IDENT value
matches every TRM_IDENT value in another XML file that had not been
formatted by Oxygen. My program kept returning an error saying that
the values don't match. It took me many hours to find the problem:
Oxygen changed the data in the first file.

I did some research and found that Oxygen has a way to specify that
space is to be preserved during a format and indent operation:
Preferences/Editor/Format/XML click on "Preserve text as it is".

If you're using Oxygen, I recommend that you open it up right now and
click on that option. If you don't, then one day you might run into
the same situation and waste many hours trying to figure out why
things aren't working.

/Roger
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user



___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Oxygen holds cut text for a long time - impressive!

2022-05-11 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Roger,

Right, like in most editing applications each opened file has its own 
undo/redo stack of changes independent of the other opened files.


In the Preferences->"Editor" page there is an undo history size setting 
which limits the undo history for each opened file to a maximum of 200 
changes. This is to conserve memory.


The undo history for an opened file is lost if the file is closed and 
re-opened.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 5/11/22 17:42, Roger L Costello wrote:

I have several tabs open. One tab contains a text file. I cut some text. Then I 
did another cut. And a few more.

Then I went to the other tabs and did a bunch of work on the data in them - 
cutting, pasting, moving things around. I did this for a couple hours.

Then I went back to the first tab. I was curious to see if the cut text was 
still hanging around, so I did Ctrl-Z. Wow! The last cut text reappeared. I did 
another Ctrl-Z and the second-to-last cut text reappeared. Another Ctrl-Z and 
the third-to-last cut text reappeared. That is impressive!

Great work Oxygen team.

/Roger
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Git an Oxy XPR project files

2022-05-06 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Stefan,

About this remark:

Usually the XPR is modified when you "publish" something. The reason 
is that oXygen always associates a file with a transformation. This 
leads to a change in the scenarioAssociation element of the XPR file. 
I think this is a very useless feature in oXygen projects.
I agree, by default we should not have saved the association directly in 
the XPR, but this can be controlled.


In the Oxygen Preferences->"Project Level Settings" page you have a 
checkbox named "Allow transformation scenario associations to be saved 
at project level" which you can uncheck and then commit the XPR which 
will get modified because of this change.


About this other remark:

It would help to have a setting which disables the file association 
completely for DITA projects. 

You mean transformation scenario association, right?

Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 5/6/22 11:54, Stefan Eike wrote:

Hi,

we usually stash the XPR to ignore it. After a while we delete the 
stashes. This is not nice, but probably the best work around. Usually 
the XPR is modified when you "publish" something. The reason is that 
oXygen always associates a file with a transformation. This leads to a 
change in the scenarioAssociation element of the XPR file. I think 
this is a very useless feature in oXygen projects.


As an idea for the oXygen development team: It would help to have a 
setting which disables the file association completely for DITA projects.

BR
Oxygen XML Editor Support (Radu Coravu)  hat 
am 06.05.2022 08:58 geschrieben:


Hi Franz-Josef,

Can you make a list of setting changes which usually seem to make the 
xpr file volatile?


In the Oxygen Preferences->"Project Level Settings" you have various 
checkboxes which can be unchecked and then the xpr file can be pushed 
to the Git repo and it should become less volatile to change when for 
example someone associates a transformation scenario to an XML document.


About handling this, probably end users should avoid committing the 
XPR, revert it from time to time if they see if it has local changes.


Regards,

Radu

Radu Coravu
Oxygen XML Editor
On 5/6/22 09:18, Franz-Josef Knelangen wrote:


Hi there,

recently we went form SVG to Git. We don’t want to commit the XPR 
every time but we also want to have project settings for the team.


How do you handle this?

- Don’t push the XPR?

- Put the XPR in the stash and let it stay there until a project 
setting is changed, push the change and back to stash again?


Any suggestions greatly appreciated.

Greetings

Franz-Josef

*AKG Software Consulting GmbH
Franz-Josef Knelangen*


Uhlandstraße 12
79423 Heitersheim
Germany

Tel.: +49 (0)7634 5612-611
Fax: +49 (0)7634 5612-300
E-Mail: _fjk@akgsoftware.de_
Internet: www.akgsoftware.de <http://www.akgsoftware.de>

Geschäftsführer: Dipl.-Ing. Artur K. Günther, Dipl.-Ing. Arno 
Brüggemann, Dipl.-Ing. (FH) Bernhard Feser, Dipl.-Ing. Jens Günther

Sitz der Gesellschaft: Heitersheim, HRB 310383 (Amtsgericht Freiburg)


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
  
___

oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user 

*Stefan Eike Consulting*
Philipp-Manz-Straße 54
48268 Greven
*Mail*: stefan-eike-consult...@mailbox.org
*Phone* : +49 163 7431585
*Web*: stefaneike.com <https://www.stefaneike.com>
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Git an Oxy XPR project files

2022-05-06 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Franz-Josef,

Can you make a list of setting changes which usually seem to make the 
xpr file volatile?


In the Oxygen Preferences->"Project Level Settings" you have various 
checkboxes which can be unchecked and then the xpr file can be pushed to 
the Git repo and it should become less volatile to change when for 
example someone associates a transformation scenario to an XML document.


About handling this, probably end users should avoid committing the XPR, 
revert it from time to time if they see if it has local changes.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 5/6/22 09:18, Franz-Josef Knelangen wrote:


Hi there,

recently we went form SVG to Git. We don’t want to commit the XPR 
every time but we also want to have project settings for the team.


How do you handle this?

- Don’t push the XPR?

- Put the XPR in the stash and let it stay there until a project 
setting is changed, push the change and back to stash again?


Any suggestions greatly appreciated.

Greetings

Franz-Josef


*AKG Software Consulting GmbH
Franz-Josef Knelangen*


Uhlandstraße 12
79423 Heitersheim
Germany

Tel.: +49 (0)7634 5612-611
Fax: +49 (0)7634 5612-300
E-Mail: _fjk@akgsoftware.de_
Internet: www.akgsoftware.de 

Geschäftsführer: Dipl.-Ing. Artur K. Günther, Dipl.-Ing. Arno 
Brüggemann, Dipl.-Ing. (FH) Bernhard Feser, Dipl.-Ing. Jens Günther

Sitz der Gesellschaft: Heitersheim, HRB 310383 (Amtsgericht Freiburg)


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


[oXygen-user] Email notifications for new Oxygen XML Blog posts

2022-02-16 Thread Oxygen XML Editor Support (Radu Coravu)

Hi everyone,

If you are interested in receiving notifications when new posts are 
published on the Oxygen XML Blog we added a new possibility to register 
to receive notifications via email using Follow.it:


https://blog.oxygenxml.com/topics/welcome.html#follow-it

Regards,

Radu

Radu Coravu
Oxygen XML Editor

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] [ann] Security maintenance builds in response to the Log4j vulnerability

2021-12-17 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Lisa,


Right now we have on our web site new installation kits fixing the 
security problem for Oxygen 24.0, 23.1 and we'll soon have the same for 
Oxygen 22.1.



For older Oxygen versions there was only one component in Oxygen uses 
the Log4j 2.x libraries, the Calabash XProc engine located in 
"OXYGEN_INSTALL_DIR\lib\xproc\calabash". If you are not using Oxygen to 
edit XProc files you can remove that "calabash" folder completely.



Or you can try to use this small free utility we provide to update all 
Log4.j 2.x libraries in your Oxygen installation:


https://github.com/oxygenxml/oxygen-log4j-patcher


Regards,

Radu

Radu Coravu
Oxygen XML Editor


On 12/17/21 16:14, McAulay, Lisa wrote:

Hi George and Oxygen Users,

I apologize for bothering you at this time, but I'm trying to 
determine my risk with Oxygen XML 21.1, build 2019120214. I see it 
lists log4j 1.2.17, which I think isn't affected by this log4j 
problem. I'm hoping so!



Best regards,
Elizabeth



*Elizabeth McAulay
Head of the Digital Library Program*
emcaulay /at/ library.ucla.edu
https://digital.library.ucla.edu/

UCLA Library Logo 

UCLA acknowledges the Gabrielino/Tongva peoples as the traditional 
land caretakers of Tovaangar (the Los Angeles basin and So. Channel 
Islands). As a land grant institution, we pay our respects to the 
Honuukvetam (Ancestors), ‘Ahiihirom (Elders) and ‘Eyoohiinkem (our 
relatives/relations) past, present and emerging.





*From:* oXygen-user  on behalf of 
George Bina 

*Sent:* Friday, December 17, 2021 5:35 AM
*To:* oXygen User ML 
*Subject:* [oXygen-user] [ann] Security maintenance builds in response 
to the Log4j vulnerability

Hi all,

We made available maintenance builds for many of our products to provide
a fix for the recent security vulnerabilities related to the Apache
Log4j library. These builds cover the latest versions of our products as
well as older versions.

The corresponding security advisory is updated with the latest
information about these issue, you can it at:
https://www.oxygenxml.com/security/advisory/CVE-2021-44228.html

The new maintenance builds that we made available up to this point are
listed below:

Oxygen XML Editor
==

Oxygen XML Editor 24.0 build 2021121518
https://www.oxygenxml.com/xml_editor/download_oxygenxml_editor.html

Oxygen XML Editor 23.1 build 2021121415
https://www.oxygenxml.com/xml_editor/software_archive_editor.html

Oxygen XML Author
==

Oxygen XML Author 24.0 build 2021121518
https://www.oxygenxml.com/xml_author/download_oxygenxml_author.html

Oxygen XML Author 23.1 build 2021121415
https://www.oxygenxml.com/xml_author/software_archive_author.html

Oxygen XML Developer
==

Oxygen XML Developer 24.0 build 2021121518
https://www.oxygenxml.com/xml_developer/download_oxygenxml_developer.html

Oxygen XML Developer 23.1 build 2021121317
https://www.oxygenxml.com/xml_developer/software_archive_developer.html

Oxygen XML Web Author
==

Oxygen XML Web Author 24.0.0 build 2021121314
https://www.oxygenxml.com/xml_web_author/download_oxygenxml_web_author.html

XML Web Author 23.1.1.2 build 2021121408
https://www.oxygenxml.com/xml_web_author/software_archive_web_author.html

Oxygen XML Web Author 22.1.0.4 build 2021121415
https://www.oxygenxml.com/xml_web_author/software_archive_web_author.html

Oxygen Content Fusion
==

Oxygen Content Fusion 4.1.4 build 2021121611
https://www.oxygenxml.com/content_fusion/download.html

Oxygen Content Fusion 3.0.1 build 2021121414
https://www.oxygenxml.com/content_fusion/software_archive_content_fusion.html

Oxygen Content Fusion 2.0.3 build 2021121417
https://www.oxygenxml.com/content_fusion/software_archive_content_fusion.html

Oxygen Feedback
==

Oxygen Feedback Enterprise 1.4.5 build 2021121314
https://www.oxygenxml.com/oxygen_feedback_enterprise/download.html

Oxygen Publishing Engine
==

Oxygen Publishing Engine 24.0 build 2021121611
https://www.oxygenxml.com/publishing_engine/download.html

Oxygen Publishing Engine 23.1 build 2021121413
https://www.oxygenxml.com/publishing_engine/software_archive_publishing_engine.html

Oxygen XML WebHelp
==

Oxygen XML WebHelp 24.0 build 2021121511
https://www.oxygenxml.com/xml_webhelp/download_oxygenxml_webhelp.html

Oxygen XML WebHelp 23.1 build 2021121412
https://www.oxygenxml.com/xml_webhelp/software_archive_webhelp.html

Oxygen PDF Chemistry
==

Oxygen PDF Chemistry 24.0 build 2021121611
https://www.oxygenxml.com/pdf_chemistry/download.html

Oxygen PDF Chemistry 23.1 build 2021121413

Re: [oXygen-user] Possible to Put Code Templates in a Framework?

2021-12-08 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Eliot,

So we have the API:


PluginWorkspaceProvider.getPluginWorkspace().importGlobalOptions(optionsFile);
You could call it twice, once with the location of the plugin's 
options.xml and once maybe with another location of an options.xml 
containing code templates.


Maybe load a project specific XML options file every time a new project 
is opened:



    @Override
    public void applicationStarted(StandalonePluginWorkspace 
pluginWorkspaceAccess) {
pluginWorkspaceAccess.getProjectManager().addProjectChangeListener(new 
ProjectChangeListener() {


    @Override
    public void projectChanged(URL oldProjectURL, URL newProjectURL) {
  File projectSpecificOptions = new File(new 
URL(newProjectURL, "options/options.xml").toURI());

  if(projectSpecificOptions != null) {
pluginWorkspaceAccess.importGlobalOptions(projectSpecificOptions);
  }
    }
  });
    }


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 12/8/21 17:08, Eliot Kimber wrote:


I may have a ready solution in that we have a add-on that serves to 
set options and that add-on is of course run on start up. Rather than 
having the code templates baked into the add-on’s options.xml I think 
it should be possible to import code templates from another 
location—I’ll dig into the API docs but if somebody has the necessary 
invocation at hand that would be helpful.


Thanks,

Eliot

_

*Eliot Kimber*

Sr Staff Content Engineer

O: 512 554 9368

M: 512 554 9368

servicenow.com <https://www.servicenow.com>

LinkedIn <https://www.linkedin.com/company/servicenow> | Twitter 
<https://twitter.com/servicenow> | YouTube 
<https://www.youtube.com/user/servicenowinc> | Facebook 
<https://www.facebook.com/servicenow>


*From: *oXygen-user  on behalf of 
Oxygen XML Editor Support (Radu Coravu) 

*Date: *Tuesday, December 7, 2021 at 11:32 PM
*To: *oxygen-user@oxygenxml.com 
*Subject: *Re: [oXygen-user] Possible to Put Code Templates in a 
Framework?


*[External Email]*

**

Hi Eliot,

For now you cannot save code templates at framework level. We have an 
internal issue registered for this and I added your contact details to 
it, adding the issue ID below for future reference:


    EXM-36264 Code templates at framework level

In the meantime maybe you can create custom Author actions but they 
will work only in the Author visual editing mode.


Or maybe you can store the code templates at project level and have a 
project.xpr saved in the Git project that everybody needs to open in 
Oxygen before editing.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 12/8/21 00:38, Eliot Kimber wrote:

We maintain a set of code templates that currently get bake into
options.xml that is then distributed via an add-on that sets
global options (and nothing else).

We maintain our frameworks in git and all authors clone that repo
and pull regularly to keep it up to date, making deployment and
update easier for writers (avoids having to update add-ons and
then restart Oxygen).

Reviewing the docs I see that code templates are stored in either
the global options or in project options but I didn’t see anything
about putting them in frameworks.

Is there a way to have code templates in frameworks so that we can
deploy new ones without having to update our add-on?

Thanks,

E.

_

*Eliot Kimber*

Sr Staff Content Engineer

O: 512 554 9368

M: 512 554 9368

servicenow.com <https://www.servicenow.com>

LinkedIn

<https://urldefense.com/v3/__https:/www.linkedin.com/company/servicenow__;!!N4vogdjhuJM!TwGoo-UgX_UOAI6BVcwwLYM9_MsaRyuT6Qx1ohw4LJLspJ8XuQM4EvFhB2SQwPvkQonkug$>
 |
Twitter

<https://urldefense.com/v3/__https:/twitter.com/servicenow__;!!N4vogdjhuJM!TwGoo-UgX_UOAI6BVcwwLYM9_MsaRyuT6Qx1ohw4LJLspJ8XuQM4EvFhB2SQwPtaz6Gvxg$>
 |
YouTube

<https://urldefense.com/v3/__https:/www.youtube.com/user/servicenowinc__;!!N4vogdjhuJM!TwGoo-UgX_UOAI6BVcwwLYM9_MsaRyuT6Qx1ohw4LJLspJ8XuQM4EvFhB2SQwPvTtDoB5A$>
 |
Facebook

<https://urldefense.com/v3/__https:/www.facebook.com/servicenow__;!!N4vogdjhuJM!TwGoo-UgX_UOAI6BVcwwLYM9_MsaRyuT6Qx1ohw4LJLspJ8XuQM4EvFhB2SQwPs8BMYr3Q$>



___

oXygen-user mailing list

oXygen-user@oxygenxml.com

https://www.oxygenxml.com/mailman/listinfo/oxygen-user  
<https://urldefense.com/v3/__https:/www.oxygenxml.com/mailman/listinfo/oxygen-user__;!!N4vogdjhuJM!TwGoo-UgX_UOAI6BVcwwLYM9_MsaRyuT6Qx1ohw4LJLspJ8XuQM4EvFhB2SQwPv87ymuCw$>


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Possible to Put Code Templates in a Framework?

2021-12-07 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Danny,

With the framework extension script (which is our new way of extending a 
framework configuration) you can refer to an XML file containing 
serialized Author actions, but not code templates.


https://www.oxygenxml.com/doc/versions/23.1/ug-editor/topics/framework-customization-script-usecases.html#framework-customization-script-usecases__section_qzt_5ry_jnb

Author actions can only be used in the Author visual editing mode while 
code templates are defined only globally or at project level and can be 
used also in the Text editing mode.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 12/8/21 07:09, dvint wrote:
Yes you can. I built a framework script to mange this. Oxygen support 
help me set this up, but I believe they exported the templates and 
that created an xml that was referenced by the framework script.


I can get you samples in the morning if they don't respond tonight.



Sent from my Verizon, Samsung Galaxy smartphone


 Original message 
From: Eliot Kimber 
Date: 12/7/21 8:56 PM (GMT-08:00)
To: oxygen-user@oxygenxml.com
Subject: [oXygen-user] Possible to Put Code Templates in a Framework?

We maintain a set of code templates that currently get bake into 
options.xml that is then distributed via an add-on that sets global 
options (and nothing else).


We maintain our frameworks in git and all authors clone that repo and 
pull regularly to keep it up to date, making deployment and update 
easier for writers (avoids having to update add-ons and then restart 
Oxygen).


Reviewing the docs I see that code templates are stored in either the 
global options or in project options but I didn’t see anything about 
putting them in frameworks.


Is there a way to have code templates in frameworks so that we can 
deploy new ones without having to update our add-on?


Thanks,

E.

_

*Eliot Kimber*

Sr Staff Content Engineer

O: 512 554 9368

M: 512 554 9368

servicenow.com 

LinkedIn  | Twitter 
 | YouTube 
 | Facebook 




___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Possible to Put Code Templates in a Framework?

2021-12-07 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Eliot,

For now you cannot save code templates at framework level. We have an 
internal issue registered for this and I added your contact details to 
it, adding the issue ID below for future reference:


    EXM-36264 Code templates at framework level

In the meantime maybe you can create custom Author actions but they will 
work only in the Author visual editing mode.


Or maybe you can store the code templates at project level and have a 
project.xpr saved in the Git project that everybody needs to open in 
Oxygen before editing.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 12/8/21 00:38, Eliot Kimber wrote:


We maintain a set of code templates that currently get bake into 
options.xml that is then distributed via an add-on that sets global 
options (and nothing else).


We maintain our frameworks in git and all authors clone that repo and 
pull regularly to keep it up to date, making deployment and update 
easier for writers (avoids having to update add-ons and then restart 
Oxygen).


Reviewing the docs I see that code templates are stored in either the 
global options or in project options but I didn’t see anything about 
putting them in frameworks.


Is there a way to have code templates in frameworks so that we can 
deploy new ones without having to update our add-on?


Thanks,

E.

_

*Eliot Kimber*

Sr Staff Content Engineer

O: 512 554 9368

M: 512 554 9368

servicenow.com 

LinkedIn  | Twitter 
 | YouTube 
 | Facebook 




___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] FOP configuration

2021-11-01 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Wendell,

Right the Preferences->"XML / PDF Output / FO Processors" page can be 
saved at Project level and you can set a "Configuration file" there 
using editor variables like "${pd}".


If you want full control over this you can also maybe distribute an 
entire set of FOP libraries with the framework, create an ANT build file 
in the framework which runs the transformations, then create pre-defined 
transformation scenarios at framework level to run the ANT scenarios.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 11/1/21 22:03, Wendell Piez wrote:

Hello friends,

I found the dialog box under Options / Preferences / XML/ PDF Output / 
FO Processors which looks promising.


Let me know if there's anything more I have missed, thanks!

-- Wendell

On Mon, Nov 1, 2021 at 10:42 AM Wendell Piez  
wrote:


Hello oXygenites:

Today I am endeavoring to follow guidelines for creating
Accessible PDFs, with "accessible" being in that technical sense
we all know, in addition to its more general sense.

Apache documentation (eg
https://xmlgraphics.apache.org/fop/2.3/accessibility.html)
describes how I can set an true in
the fop.xconf file to get at least some  accessibility features in
my PDFs.

Of course, I find a copy of this file in the libraries of the
oXygen distribution (and once also inside a DITA framework). It
has admin permissions.

To turn this feature on, is my best approach to edit this file
with admin rights or is there a better way?

Should I be considering using a framework for this project and if
so, how would I set it up for the framework? Assuming there is no
way to configure it per Project (maybe even better).

Best regards, Wendell

-- 
...Wendell Piez... ...wendell -at- nist -dot- gov...

...wendellpiez.com... ...pellucidliterature.org...
...pausepress.org...
...github.com/wendellpiez. ..
...gitlab.coko.foundation/wendell...



--
...Wendell Piez... ...wendell -at- nist -dot- gov...
...wendellpiez.com... ...pellucidliterature.org... ...pausepress.org...
...github.com/wendellpiez. .. 
...gitlab.coko.foundation/wendell...


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] [ANN] Writer Helper Add-on - the newest release in the Oxygen add-on library!

2021-10-13 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Yves,

I'm glad you enjoy the new add-on.

Based on Pieterjan's similar request we added an issue for this:

    EXM-49001 [Writer Helper] Automatically create reusable components

We do not have some precise future plans for it, we found useful for our 
interns to work on it in order to get more accustomed using the Oxygen 
APIs but indeed one direction would be to automatically create a 
reusable component and conref to it from all places.


My initial wish for the add-on was for it to be useful no matter what 
XML vocabulary you are using, so it does not have any DITA-specific 
features.


Also the add-on only takes the text content into account when finding 
similar content, so if your two similar paragraphs have different 
attributes or they contain key refs, like for example one of them has a 
keyref  and the other does not, we still report them 
as similar because we rely on the end user to make the final choice. So 
if we add tools to make changes to the content we would need to find 
perfect matches, paragraphs or blocks which have the same attributes and 
precisely the same XML structure.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 10/13/21 15:15, Yves Barbion wrote:

Hi Alin,

I have just tested the add-on and I like the Find Similar Content 
feature. Next question is, of course, whether there is some kind of 
clever feature to turn (or transform) all of these elements in the 
Results pane into a conkeyref and replace the identical content in one 
go. ;-)


Kind regards

Yves

On Fri, 8 Oct 2021 at 17:18, Alin Belu > wrote:


Hello,


Great news, everyone!Today,weannounce thereleaseofa newadd-on that
providesgreatsupport for helping technical writers - the Writer
Helper Add-on!

This newentry to the always-expanding Oxygen add-on library
contributesa side-view named 'Writer Helper' that
containsseveraltools intended to enhance the technical writers’
day-to-day activity:

Review-Selectfolders or files in the Project view and start a
review session for them. This is useful for reviewing a set of
documents.
SimilarContent-Select folders or files in the Project view, then
choose a list of elements to check for similarity. This is useful
for finding possible elements that can be reused instead of being
copy-pasted between documents.
Read Aloud-Selectcontent in the current document and use the Play
button to listen to how it is read by the operating system's
narrator. This is useful for those who want to review content by
listening to it.
Tips-View a list of editing tips tuned for technical writers. This
is useful for discovering productivity tips to make your editing
experience more efficient and productive.


To install the add-on, follow these instructions:

1. Go toHelp->Installnew add-onsto open an add-on selection dialog
box.

2. Enter or
pastehttp://www.oxygenxml.com/InstData/Addons/default/updateSite.xml
in
theShow add-ons fromfield.

3. Select theWriter Helperadd-on and clickNext.

4. Read the end-user license agreement. Then select theI accept
all terms of the end-user license agreementoption and clickFinish.

5. Restart.

1.
2.
3.
4.
5.


We hope that you willfind therelease of theWriter Helper
add-onusefuland any feedback will be welcomed!

Best regards,

Alin

-- 
Alin Belu

Oxygen XML Editor

___
oXygen-user mailing list
oXygen-user@oxygenxml.com 
https://www.oxygenxml.com/mailman/listinfo/oxygen-user



___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] '# ' in Markdown editor

2021-08-04 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Tony,

Thanks for the report, I added an internal issue to look into fixing this.

From version to version we might update the libraries which parse 
Markdown, we have also our own functionality which attempts to add some 
backmapping between the edited Markdown and the HTML preview, I suspect 
there is a bug on our side.


The "DITA" preview looks Ok though.

I also notices that in Oxygen's Markdown editor there is some red 
foreground around one of your links which you made bold:


- **focheck** はサブモジュールとして 
**[stf](https://github.com/Schematron/stf)**

I added an internal issue to have that sorted out as well.

Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 8/4/21 19:46, Tony Graham wrote:

Please open:

https://raw.githubusercontent.com/AntennaHouse/focheck/master/README.md

The '' causes Oxygen 23.1 to preview the following text
as if it's all , and the following titles get even bigger.  I don't
observe this happening in Oxygen Author 18.1.

Is there a Markdown workaround that still does the right thing on GitHub?

Regards,



Tony Graham.


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Unresloved index-key value error

2021-07-07 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Henry,

If you edit the transformation scenario and set the "clean.temp" 
parameter to "no", then publish, after the transformation you should 
have in the transformation temporary files folder a file named 
"topic.fo" which is the XSL-FO file on which Antenna House is applied.


Maybe you can open the XSL-FO file in Oxygen, format and indent it and 
search in it for "indexid-1393266570", maybe you will get some 
indication from what original DITA content the XSL-FO element containing 
the "indexid-1393266570" was produced.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 7/8/21 03:01, Henry Gorbsky wrote:


Hello,
We are  receiving an error when transforming a set of dita files into 
a PDF. The error message is very obscure, in that it is very difficult 
to pinpoint the source of the error. Here is the message:


[ahf] Unresolved index-key value: "indexid-1393266570".

As far as I know, there is no way to locate the indexid in a dita 
file/ditamap. We initially suspected that it may have been due to an 
empty index tag, but we have not been able to find such culprit. We 
are stymied at this point - any help with debugging this message would 
be greatly appreciated!


*regards*
Hank D.  Gorbsky




___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] How to inform the tool that generates sample instances which subtype to use for elements have abstract types?

2021-07-02 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Roger,

There is a "Type alternative strategy" setting in the "Options" tab. But 
I'm not sure if it helps or not. If you send us (supp...@oxygenxml.com) 
a small  sample XML Schema and some details maybe we can consider this 
for a future version.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 7/1/21 18:12, Roger L Costello wrote:

Hi Folks,

I really, really like the tool that generates sample XML files from an XML 
Schema.

But, ..

It has a problem ..

I have an element that is declared to have a type that is a complexType and the 
complexType is abstract. There are multiple concrete subtypes of the abstract 
complexType.

When the Oxygen tool gets to the element, it realizes that its type is an 
abstract complexType, so it randomly (?) picks one of the subtypes. And it 
almost always picks the wrong subtype.

So the generated XML instance document is wrong 

Is there a way to tell the Oxygen tool, "Hey, when you encounter this element, with 
this parent, then use this subtype"?

/Roger
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] [Ann] Oxygen Git Client add-on version 2.5.1 has been released!

2021-06-24 Thread Oxygen XML Editor Support (Radu Coravu)

Hi,

Just to update the public user's list with the private email exchange 
which followed, I asked Ray:



What version of Oxygen are you using.

Our Git add-on is compatible with Oxygen XML Editor/Author/Developer 
versions 21.1 or newer.



And he answered:


I’m using Oxygen XML Editor 23.1.

I removed the plugin from the extension folder of the com.oxygenxml in 
the preferences folder then reloaded the plugin through the ‘Install 
New Add-ons’.


The Git Client appeared and installed OK.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 6/18/21 15:43, Ray Lancashire wrote:


Dear Alin

Thank you for your email.

Git Client only appears when 'Show only Compatible add-ons' is 
disabled and is greyed out.


I've tried to download the plugin from Oxygen XML 
Editor/Author/Developer with the same result.


Kind regards

Ray Lancashire


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Displaying LaTeX in XML documents

2021-04-21 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Michael,

The plugin is Javascript based:

https://github.com/oxygenxml/wsaccess-javascript-sample-plugins/blob/master/latex-images-support/wsAccess.js

and has this condition to identify XML elements that it should render:

return "latex" == nodeContext.getNodeName() || ("foreign" == 
nodeContext.getNodeName() && "embed-latex" == 
nodeContext.getAttributeValue("outputclass"));

I think in your case the condition should be:

return "tex-math" == nodeContext.getNodeName() && "MathJax" == 
nodeContext.getAttributeValue("version");
You probably also need to modify the CSS Oxygen uses to edit JATS 
content to hide the text content from the element, probably something like:



tex-math[version=MathJax]{
    display:inline !important;
    white-space: -oxy-trim-when-ws-only !important;
}
tex-math[version=MathJax] * {
    display:none !important;
    white-space:normal !important;
}


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 4/21/21 22:15, Michael Boudreau wrote:


Hello,

The blog post at 
https://blog.oxygenxml.com/topics/adding-latex-equation-support-dita.html 
 
refers to a plugin that will create an image from LaTeX to display in 
Author mode.


I downloaded the ‘latex-images-support’ folder and installed it in my 
plugins folder. The math expression in the sample file—




A document containing LaTeX :
$x=\frac{1+y}{1+2z^2}$


is rendered correctly as an image when I view it in Author mode (using 
Oxygen 23.0).


I’d like to be able to use the plugin with JATS XML documents, which 
can contain LaTeX inside a  element, like so:


$x=\frac{1+y}{1+2z^2}$

or



Is there a way to configure or modify the plugin to handle this?

--

Michael R. Boudreau

Electronic Publishing Technology Manager

The University of Chicago Press

1427 E. 60^th Street

Chicago, IL 60637

www.journals.uchicago.edu 


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Save via WebDAV

2021-04-14 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Gary,

Adrian asked me to help you further.

I'm afraid using our Java APIs from a plugin we do not have control to 
allow a third party plugin to control where and how a resource is saved.


Maybe you can also look at other options Exist has for uploading content 
to their database:


http://exist-db.org/exist/apps/doc/uploading-files.xml

like the section about "Uploading files with XQuery". Or ask around on 
the Exist list, maybe there are ways to set this up on the server side 
instead of using Oxygen to drive the transformation.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 4/13/21 19:27, Gary Kopp wrote:


Thanks Adrian. Defining eXist WebDAV as a network drive is a great 
option, and I’m embarrassed that I didn’t think of that – it’s pretty 
obvious. If I want to take this to the next step (more automation), do 
you know if transformation output/results are API-accessible using the 
oXygen SDK?


--Gary

*From:* oXygen-user  *On Behalf Of 
*Oxygen XML Editor Support (Adrian Buza)

*Sent:* Tuesday, April 13, 2021 7:36 AM
*To:* oxygen-user@oxygenxml.com
*Subject:* Re: [oXygen-user] Save via WebDAV

Hi,

Both the results and/or output of an Oxygen transformation are 
designed to be saved locally.
So, no, there is no way to configure an Oxygen transformation scenario 
to output the result to a remote location (this includes an eXist-db 
database).


One trick you can use, if you have WebDAV enabled on your eXist-db 
server, is to mount the WebDAV repository as a network drive (or as a 
folder for Linux/macOS) and configure Oxygen to output to that mounted 
location (as if it was local).


Regards,
Adrian

Adrian Buza
oXygen XML Editor and Author Support

On 12.04.2021 00:01, Gary Kopp wrote:

I must be missing something … this is too complicated. I’m using
oXygen with eXist-db. All I want to do is save the results of an
XQuery query to the eXist database as a new document in a direct a
way as possible. Saving the results from the results window only
seems to support the local filesystem. I can jump through a few
hoops and get the results transferred to an editing window where I
can “Save to URI” and ultimately get it sent out via WebDAV, but
the dialogs for that are ridiculously convoluted IMO. Am I missing
a more direct way?

--Gary Kopp



___

oXygen-user mailing list

oXygen-user@oxygenxml.com  

https://www.oxygenxml.com/mailman/listinfo/oxygen-user  



___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Docbook to pdf customization

2021-04-05 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Philo,

I replied to you on the forum thread:
https://www.oxygenxml.com/forum/post61647.html#p61607

I'm not sure why Apache FOP uses the bold variant of that particular 
font instead of the plain font. If you can provide a font for tests 
maybe I could try to look into it.


Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com
On 4/2/2021 6:11 PM, Luxsci wrote:
I know this is a beginner question, but I am not sure what file I should 
modify to alter the transformation of docbook to pdf. I would like to 
change the font outputted by the pdf and also fix the numbering issue 
where there is no space between the number and the text (see 
attachment). Where would I go to customize the docbook to pdf transform?


OxygenPdfNumbering.jpg

I have tried copying the Docbook-pdf transform and editing the transform 
to change the parameter from Times New Roman to two different open type 
fonts. One transforms as the bold version, even though I have regular, 
italic, and bold installed. The other transforms as italic, even though 
I have the regular, italic, and bold installed. The numbering option is 
unclear to me.


For the font, here is what I tried and how it 
transformed:OxygenOutputModification.jpg


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Followup (strange rendering of some Tamil vowels when in TextMode in oXygen

2021-04-04 Thread Oxygen XML Editor Support (Radu Coravu)

Hello Jean-Luc,

We are not very familiar with Tamil but discrepancies like this are 
usually caused by the use of different fonts for rendering in the Text 
and Author pages.


In the Oxygen Preferences->"Appearance / Fonts" page there is a font for 
"Editor" - for the Text editing mode and a default font for the Author 
visual editing page. They are different so this might be the cause, your 
friend could try to set the "Editor" font to the same font used for 
Author for example or to try different other fonts as well, maybe she 
will find a better font to render Tamil on Mac.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 4/3/21 18:15, Jean-Luc Chevillard wrote:

Followup to my previous message (included below)


It occurs to me that my question might be clarified if I posted a 
direct comparison between the what is seen on (my) Window screen when 
oXygen is in text mode and what is seen on the screen of that friend 
who runs oxygen on a Mac.


What baffles me is the difference of treatment between the "M" element 
(line 13), where TamilRendering is fine, & the "l" element (line 15 to 
18), where proper rendering fails.


An extract of the file itself is as follows.

Thanks for your future help

-- Jean-Luc

https://twitter.com/JLC1956







    Cīkāḷattippurāṇam, Nakkīraccarukkam [beginning]

     sources: Cīkāḷatti Purāṇam, Karuṇaippirakāca 
Cuvamikaḷ, Civappirakāca Cuvamikaḷ,
    Vēlaiyacuvāmikaḷ ākiya mūvarum ceytaruḷiya, irāmānantayōkikaḷ 
eḻutiya uraiyuṭaṉ. Ed. by Pu.
    Caṇmuka Mutaliyār, Mataṟās Ṭaimaṇṭu Accukkūṭam, Ceṉṉai 1916, 
pp. 349-414. 


    
    1
    அறுசீர்கழிநெடிலடியாசீரியவிருத்தம்
    
    அமுதுறழ் தமிழொண் முத்த மையசந் தனமெல் வாசங்
    கமழ்குளிர் தென்ற லென்று கரையரும் பொருள்ப டாம
    லிமிழ்கடல் வரைப்பெ லாந்தோன் றெண்பொருள் படுநா டெள்ளித்
    தமிழ்முதல் பிறக்கு நாடாய்த் தயங்குமாற் பாண்டி நாடு.
    

    
    amut* uṟaḻ tamiḻ oḷ muttam aiya cantaṉam mel 
vācam
    kamaḻ kuḷir teṉṟal eṉṟu karai ~arum poruḷ 
paṭāmal
    imiḻ kaṭal varaipp* elām tōṉṟ* eḷ poruḷ paṭu nāṭ* 
eḷḷi+
    tamiḻ mutal piṟakkum nāṭ* āy+ tayaṅkum-āl pāṇṭi 
nāṭu.

    

    Putting to shame lands where easy objects occurs, 
appearing all within the
    boundaries of the roaring sea, without that there would 
occur rare objects called
    nectar-like Tamil, bright pearls, the soft fragrance of 
wonderful sandal, the fragrant
    cool south wind, the Pāṇṭiya land shines indeed as the 
land that horts [goods] beginning

    with Tamil. 
    


    
    2
    மேற்படி வேறு
    
    தன்கால் சுமக்கு முறுப்பிலான் றன்னே வலரா னிலைகலங்கிப்
    பொன்கா றிதலை முலைமடவார்ப் பொருத்து துணையா மாநிலத்து
    வன்கா றரியா துழல்வாரைத் தலையாற் சுமக்கு மலையைநகு
    மின்கார் மழைத்தோய் முடிமலய விலங்க லுடைத்தத் திருநாடு.
    

    
    taṉ kāl cumakkum uṟupp* ilāṉ taṉ +ē ~alarāl nilai 
kalaṅki+
    poṉ kāl titalai mulai maṭavār+ poruttu tuṇai ~ā mā 
nilattu
    val kāl tariyāt* uḻalvārai+ talaiyāṉ cumakkum 
malaiyai nakum
    miṉ kār maḻai+ tōy muṭi malaya vilaṅkal uṭaitt* a+ 
tiru nāṭu.

    

    The auspicious land possesses mount Malayam whose 
crown is touched by flashing
    rain clouds, that smiles at the mountain which bears on 
[its] head the one who moves
    about without standing still on [his] strong feet on the 
vast ground, being a helpmate
    for uniting with the women with breasts with 
gold-spreading beauty spots, being stirred
    up from [his] position by the flower arrows of the 
formless one who bears [the bow] on

    his foot. 
    






*



+

PREVIOUS MESSAGE

+


Greetings,



I have recently shared some XML files with a friend who has just 
bought and installed oXygen on a Macintosh. She has sent me some print 
screens.
There is a strange rendering of some Tamil vowels when in TextMode, 
but AuthorMode is fine. I am puzzled. I have not seen that behaviour 
in oXygen under Windows.


Do you have suggestions?

Thanks for your help

-- Jean-Luc


https://twitter.com/JLC1956







___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] short and long

2021-03-07 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Aaron,

In the Oxygen main menu you can show the Tools->"XML refactoring" 
dialog. The dialog should contain a "Convert to concept" XML refactoring 
action allowing you to convert any DITA topic type to a concept. Then 
you choose the files to change and you also have a Preview to check out 
what will happen.


There are also lots of other refactoring operations available there, if 
you need to build your own, you can use XSLT or XQuery update to create 
such XML refactoring operations:


https://www.oxygenxml.com/doc/versions/23.1/ug-editor/topics/custom-refactoring-operations-x-tools.html

There are lots of other DITA refactoring samples in this GitHub project:

https://github.com/oxygenxml/dita-refactoring-examples

Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 3/7/21 19:24, Aaron Mehl wrote:
I thought of one macro idea, I often refactor a task to a concept and 
I would record a macro to rename and move elements automatically. In 
fact combining refactoring with other actions as a macro would save me 
a lot of time.

Aaron

Sent from Mailspring 
<https://link.getmailspring.com/link/b9bf81a3-47bf-4bf4-aa57-8c3312e1c...@getmailspring.com/0?redirect=https%3A%2F%2Fgetmailspring.com%2F=b3h5Z2VuLXVzZXJAb3h5Z2VueG1sLmNvbQ%3D%3D>, 
the best free email app for work

On Mar 5 2021, at 11:49 am, Aaron Mehl  wrote:

Thanks,
Aaron

Sent from Mailspring

<https://link.getmailspring.com/link/b9bf81a3-47bf-4bf4-aa57-8c3312e1c...@getmailspring.com/1?redirect=https%3A%2F%2Fgetmailspring.com%2F=b3h5Z2VuLXVzZXJAb3h5Z2VueG1sLmNvbQ%3D%3D>,
the best free email app for work
    On Mar 5 2021, at 1:33 am, Oxygen XML Editor Support (Radu Coravu)
 wrote:

Hi Aaron,

If you are working with XML documents in the Author visual
editing mode, in the Oxygen main menu "Options->Menu Shortcut
keys" you can search for "capitalize" and you will find all
available actions, then you can assign keyboard shortcuts to
them. Otherwise you can find the same actions when you select
text, in the contextual menu in the "Text" submenu.

About macro recordings I'm afraid we do not yet have such a
feature. If we manage to add such a feature in a future Oxygen
version we'll contact you. Would you mind giving me an example
about what macros you would record if you had this option?

Regards,

Radu

|

|Radu Coravu|
|Oxygen XML Editor|

|
On 3/5/21 04:14, Aaron Mehl wrote:


Is there some way I can do an action and then assignment
to a keyboard shortcut?
I often capitalize letters that shouldn't be and on Frame
and Word there is a keyboard shortcut to change it
quickly. I didn't see such a shortcut in Oxygen (maybe
there is?).
I also see there is no way to record macros. I am using
Linux and would like to record/create macros.
How do I do this?
Thanks?
Aaron

Sent from Mailspring

<https://link.getmailspring.com/link/b9bf81a3-47bf-4bf4-aa57-8c3312e1c...@getmailspring.com/2?redirect=https%3A%2F%2Flink.getmailspring.com%2Flink%2F912E42AA-0763-4BA6-A236-BD434926EF5A%40getmailspring.com%2F0%3Fredirect%3Dhttps%253A%252F%252Fgetmailspring.com%252F%26recipient%3Db3h5Z2VuLXVzZXJAb3h5Z2VueG1sLmNvbQ%253D%253D=b3h5Z2VuLXVzZXJAb3h5Z2VueG1sLmNvbQ%3D%3D>,
the best free email app for work

|

|___|
|oXygen-user mailing list|
|oXygen-user@oxygenxml.com

<https://link.getmailspring.com/link/b9bf81a3-47bf-4bf4-aa57-8c3312e1c...@getmailspring.com/3?redirect=mailto%3AoXygen-user%40oxygenxml.com=b3h5Z2VuLXVzZXJAb3h5Z2VueG1sLmNvbQ%3D%3D>||https://www.oxygenxml.com/mailman/listinfo/oxygen-user

<https://link.getmailspring.com/link/b9bf81a3-47bf-4bf4-aa57-8c3312e1c...@getmailspring.com/4?redirect=https%3A%2F%2Fwww.oxygenxml.com%2Fmailman%2Flistinfo%2Foxygen-user=b3h5Z2VuLXVzZXJAb3h5Z2VueG1sLmNvbQ%3D%3D>|

|

||
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user

Sent from Mailspring

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] short and long

2021-03-04 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Aaron,

If you are working with XML documents in the Author visual editing mode, 
in the Oxygen main menu "Options->Menu Shortcut keys" you can search for 
"capitalize" and you will find all available actions, then you can 
assign keyboard shortcuts to them. Otherwise you can find the same 
actions when you select text, in the contextual menu in the "Text" submenu.


About macro recordings I'm afraid we do not yet have such a feature. If 
we manage to add such a feature in a future Oxygen version we'll contact 
you. Would you mind giving me an example about what macros you would 
record if you had this option?


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 3/5/21 04:14, Aaron Mehl wrote:
Is there some way I can do an action and then assignment to a keyboard 
shortcut?
I often capitalize letters that shouldn't be and on Frame and Word 
there is a keyboard shortcut to change it quickly. I didn't see such a 
shortcut in Oxygen (maybe there is?).
I also see there is no way to record macros. I am using Linux and 
would like to record/create macros.

How do I do this?
Thanks?
Aaron

Sent from Mailspring 
, 
the best free email app for work

Sent from Mailspring

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] View images in DITA Reusable Components in a different order: most recent files first?

2021-01-28 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Yves,

I answered you here:

https://www.oxygenxml.com/forum/post60840.html#p60840

Indeed it would be interesting to show the newest created image files 
first in the list of media resources.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 1/28/21 12:33, Yves Barbion wrote:

Hi group,

I see that the images in the DITA Reusable Components are arranged in 
alphabetical order. I guess there is no way to change this order, for 
example to see the most recent files first?


Kind regards

Yves

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Different indices not repected in Epub3 transformation

2020-12-14 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Bernhard, Bob,

Oxygen ships with the DocBook 1.79.2 XSLT stylesheets.
I looked at the folder where the DocBook to EPUB3 transformation scripts 
exist:


OXYGEN_INSTALL_DIR/frameworks/docbook/xsl/epub3

and it seems that about 7 years ago I'm the one who added a build file 
to build the EPUB after the XSLT transformations are done.


Question for Bob:
Should I update the DocBook XSLTs in Oxygen to a newer stable version? 
If so, which one would be that?


Question for Bernard:
My knowledge of DocBook indices and how they are used is quite limited. 
Could you give me precise details about how you expect the indices to 
work in the EPUB? I added your indices sample to a small DocBook 5 XML 
document I have, they seem to look similar when publishing to EPUB 3 or 
to PDF.


Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 12/14/2020 7:46 AM, Bob Stayton wrote:
I believe the problem lies with the version of DocBook XSL that ships 
with Oxygen.  This issue has been recorded as an issue and fixed in the 
Github source files, but a new release needs to be made so it can be 
incorporated into Oxygen.


The fix is not simple, so feel free to contact me directly if you want 
to incorporate it into your stylesheet.


Bob Stayton
b...@sagehill.net

On 12/10/2020 11:30 PM, Bernhard Kleine wrote:

Hi,

while docbook to pdf transformation does respect the different indices,
ant does not. Who may I have to contact and where to complain? The
following is totally mixed up.

    
     Scientific names
     
     
     Deutsche Namensliste
     
     
     Plants for Caterpillars
     
     
     General Index
     

Kind regards Bernhard


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


http://docbook.org/ns/docbook; version="5.0"
xmlns:xlink="http://www.w3.org/1999/xlink;>

Welcome to Docbook Support in oXygen


Inline Markup and Images

Scientific names


Deutsche Namensliste


Plants for Caterpillars


General Index


This sample shows that oXygen/ can be used to edit documents in conformity
with the
dockbookx.dtd.
The following Docbook figure is inserted using the imagedata
tag:

Lake in Fagaras






In order to preview this text in a Web browser, choose the Docbook HTML
transformation scenario. For this press the
Configure
Transformation
Scenario
button or the shortcut CTRL+SHIFT+C or (COMMAND+SHIFT+C
on Mac OS X), then select the scenario. Press Ok.
To apply the stylesheet, press the "Apply transformation scenario" button or to press
CTRL+SHIFT+T (COMMAND+SHIFT+T on Mac OS X). 


Lists and Tables
Here is a list of useful XML links:




http://www.xml.com;>http://www.xml.com




http://www.xml.org;>http://www.xml.org




http://www.w3c.org;>http://www.w3c.org




And here is the oXygen/ home site:http://www.oxygenxml.com/;
>http://www.oxygenxml.com/

Now some tables. To hide the colspecs, choose the Hide
colspec CSS from the CSS Alternatives toolbar.
The
column widths can be adjusted by dragging the column margins.

Sample CALS Table with no specified width and proportional column widths








Horizontal Span
a3
a4
a5




f1
f2
f3
f4
f5




b1
b2
b3
b4


Vertical Span 



c1

Re: [oXygen-user] Specifying multiple CSS files in an HTML5 transformation scenario

2020-02-28 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Kristen,

There is no such option in the base HTML5 output as far as I know. You 
will probably need to create a third CSS which imports those 2 CSSs and 
refer to that instead. But somehow your 2 CSSs will not be copied 
automatically to the output folder, probably if you refer to them in the 
DITA Map with "processing-role='resource-only'" will get them copied to 
the output folder.
Or you may add a DITA OT plugin which with a custom ANT build target 
copies these extra CSSs to the output folder.


Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 2/28/2020 2:34 PM, Kristen James Eberlein wrote:
What is the best way to specify multiple files in a DITA-OT 
transformation scenario for HTML5?


I can specify multiple CSS in a template descriptor file for oXygen 
WebHelp, but I'm not sure how best to accomplish this in an HTML5 
transformation scenario.


Currently:

args.copycss=yes
args.css=bronto_responsive.css
args.cssroot=${homeDir/Documents/helpdocs/web-help/css

I have two other CSS files that should be used in the transformation ...


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Preference for indicating which DITA elements are automatically assigned values for the @id attribute

2020-02-17 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Kris,

This setting can be configured if you open a DITA topic in the Author 
visual editing mode by going to the top menu "DITA->ID Options...".
If you want to share some default ID settings with others, there is an 
XML file located in:


OXYGEN_INSTALL_DIR\frameworks\dita\resources\idGenerationDefaultOptions.xml

which you can overwrite from a DITA framework extension folder.

Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 2/15/2020 3:45 PM, Kristen James Eberlein wrote:
I remember that controlling which DITA elements automatically were 
assigned an @id attribute was handled through *Options > Preferences*. 
But I cannot seem to find the specific page ...


--
Best,
Kris

Kristen James Eberlein
Chair, OASIS DITA Technical Committee
OASIS Distinguished Contributor
Principal consultant, Eberlein Consulting LLC
www.eberleinconsulting.com
+1 919 622-1501; kriseberlein (skype)


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Request for changes in xquery indentation

2020-01-06 Thread Oxygen XML Editor Support (Radu Coravu)

Hi France,

Thanks for remembering to do this. I added an internal issue with ID 
"EXM-44828" to look into your sample and try to improve our format and 
indent based on your sample.


Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 12/28/2019 2:42 PM, France Baril wrote:

Hi,

At the last DITA Europe Conference, I discussed xquery indentation in 
Oxygen with Radu. As there are no universal rules, he proposed I send my 
suggestions. So here are some suggestions that would truly help me.


If they don't get unanimous approval, I would suggest that some of them 
become configurable in preferences.


I attached an xml file that is indented as I prefer (so please do open 
it without automatic indent). I included comments that indicate the 
proposed changes. When you apply indent you can experience the issues 
yourself.


Thank you

--
France Baril
Architecte documentaire / Documentation architect
france.ba...@architextus.com 

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] oXygen 21.x running on Windows: Is there a way to make icons smaller?

2019-12-18 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Kris,

Right, if we manage to implement it I will also find such a feature 
useful when using Oxygen with a low resolution projector to present 
pieces of XML or XSLT content to the audience because the action would 
free available screen space.


Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 12/18/2019 1:44 AM, Kristen James Eberlein wrote:

Hi, Radu.

I think a "Hide toolbars" action would be very helpful.

Best,
Kris

Kristen James Eberlein
Chair, OASIS DITA Technical Committee
Principal consultant, Eberlein Consulting
www.eberleinconsulting.com
+1 919 622-1501; kriseberlein (skype)

On 12/17/2019 2:50 AM, Radu Coravu wrote:

Hi Kristen,

Somehow for this use case in which you have a small screen area and 
the toolbars get in the way I had this idea of adding a new action 
called "Hide toolbars" to the Oxygen "Window" menu.
There is already an action there called "Maximize editing area" which 
hides the side views so maybe these two actions would go well together.


Both actions (the one which hides side views and the one which hides 
the toolbars) would be toggle actions and you could assign keyboard 
shortcuts to them so that when you want to maximize the editing area 
you could hide both the side views and the toolbars.
The main menu has most actions inside it anyway and the content 
completion window makes the Author toolbar redundant in a way. Also 
the regular shortcuts for saving, opening files would still work.


So maybe people could increase the editing area and edit distraction 
free and by hiding toolbars and side views.


Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 12/16/2019 7:44 PM, Kristen James Eberlein wrote:
Thank, George. I know (and appreciate!) that the tool bars are 
configurable. I've (temporarily, I hope) removed all of them to get 
more room to work. But it is less than optimal, and I would not want 
to screen share with any clients while oXygen is configured like this.


Best,
Kris

Kristen James Eberlein
Chair, OASIS DITA Technical Committee
Principal consultant, Eberlein Consulting
www.eberleinconsulting.com
+1 919 622-1501; kriseberlein (skype)

On 12/16/2019 8:51 AM, George Bina wrote:

Hi Kristen,

I guess one of my colleagues will respond with more details 
regarding the icons size, it may be an issue with the HiDPI 
detecttion and we have support to manually control that:
https://www.oxygenxml.com/doc/versions/21.1/ug-editor/topics/custom-system-properties.html?hl=hidpi#custom-system-properties__hidpi-scaling 



However, the toolbars are fully configurable, you can remove or 
arrange the toolbar as you want:
https://www.oxygenxml.com/doc/versions/21.1/ug-editor/topics/configure-toolbars-x-editing2.html 



Best Regards,
George
--
George Cristian Bina
 XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 12/14/19 2:06 PM, Kristen James Eberlein wrote:
I'd like to move to oXygen 21.x, but I'm being blocked by the size 
of the icons. In the screen capture below, you can see how little 
room I have for editing ...


Is there an option to use smaller icons? Did I do something wrong 
in the installation?


--
Best,
Kris

Kristen James Eberlein
Chair, OASIS DITA Technical Committee
Principal consultant, Eberlein Consulting
www.eberleinconsulting.com
+1 919 622-1501; kriseberlein (skype)


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user




___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Questions about spell checking

2019-12-10 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Kris,

Thanks for the feedback, I will add an internal issue to consider adding 
more settings for ignoring various constructs when the spell check is 
performed.
How about if the end users wrap these particular identifiers in some 
specific DITA inline element like  and you instruct the spell 
checker to ignore all code phrases when spell checking?


Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 12/9/2019 6:27 PM, Kristen James Eberlein wrote:
I'm working with a client to get rid of spelling errors in their 
content. After making changes to Spell check configuration and then to 
the DITA source, the errors have moved from over 10,000 to under 400.


I was glad to see that I could configure Spell check to ignore words 
with digits and mixed-case words.


*A question:* Can I configure some additional options, for example, to 
ignore words that contain an underscore? words that contain a period?


--
Best,
Kris

Kristen James Eberlein
Chair, OASIS DITA Technical Committee
Principal consultant, Eberlein Consulting
www.eberleinconsulting.com
+1 919 622-1501; kriseberlein (skype)


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Non-breaking spaces in fragments via framework

2019-12-05 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Christian,

Please see some suggestions below:


I tried  which caused my whole framework to NOT be read by Oxygen XML 
Author.


The "" is an entity reference. If your XML document does not refer 
to a DTD which defines this entity reference.
Also you should use the 
"ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation" 
operation to insert the entity reference.
But whatever operation I'm using I cannot reproduce the part with the 
framework not being read by Oxygen XML Author. Are you manually making 
changes to the ".framework" file or are you using Oxygen's document type 
edit dialog for this?



I tried  which just created a regular space.


Again, try to use the "InsertOrReplaceFragmentOperation" instead of 
"InsertOrReplaceTextOperation".
As Jirka said, you can also use Oxygen's status bar to look at the 
hexadecimal equivalent of the character



Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 12/5/2019 5:39 PM, Christian Achter wrote:

Dear mailinglist members,

this might be a trivial problem, but even after a longer research I 
haven't found a solution to it. I try to insert a non-breaking space via 
a button created by a framework.


I use the following code within an :

     
     
     
     
     
     
     
     text
*{CODE_FOR_THE_NON-BREAKING_SPACE}*
     
     
     
     
ro.sync.ecss.extensions.commons.operations.InsertOrReplaceTextOperation
     
     

I added a placeholder CODE_FOR_THE_NON-BREAKING_SPACE above to show you 
were I want to fill in my non-breaking space.


I tried  which caused my whole framework to NOT be read by Oxygen 
XML Author.

I tried  which just created a regular space.
I tried #160; which just created exactly these characters as a 
string in my XML document.

I tried several other things which all didn't work.

What do I have to put between my opening and closing  tags?

Thanks in advance and kind regards
Christian Achter




___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Different licenses for oXygen scripting?

2019-11-18 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Kris,

The Oxygen Scripting license is a special bought license which coners 
these cases:


https://www.oxygenxml.com/oxygen_scripting.html

If you or your client write to "sa...@oxygenxml.com" you can request a 
trial scripting license so that they can test to see how that goes.


Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 11/18/2019 2:50 PM, Kristen James Eberlein wrote:
I am working with a client to stabilize their Web Help build. I've 
suggested that they incorporate the checks from the DITA Map 
Completeness Check into their automated GitLab build, in order to reduce 
errors in their DITA source.


Their infrastructure team attempted to do so, but ran into a error: "No 
valid Oxygen-Scripting license found." The client does have a license 
key for "Scripting"; is that the license key for Web Help only?


My client is a small division of a HUGE company that outsources their 
software purchases to a vendor, so I'm trying to do some legwork here.


My apologies if this is the inappropriate channel for this 
communication! My best to everyone at SyncroSoft.



___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Dynamic parameter in oxy_path

2019-10-28 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Christian,

I replied to you on the StackOverflow post:

https://stackoverflow.com/questions/58581679/xpath-and-css-in-oxygen-xml-author-how-to-create-a-dynamic-parameter-in-oxy-xpa/58586584#58586584

Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 10/25/2019 4:25 PM, Christian Achter wrote:

Dear mailinglist members.

I am creating an Oxygen framework to display XML data in Oxygen XML 
Author's Author mode. This is part of the XML I have with two nodes  
in it:



     
     
     
     
     
     
Aarberg,
     Peter von
     
     König
     (ca. 
1300–vor 1372)

     
     
     
     
     hkg:orgKey="#n_123_456">Best CEO they ever had

     
     
     
     

     
     
     Altenburger Hofdruckerei
     
     
     
     
     


The upper  node has an atribute hkg:orgKey="#n_123_456" pointing to 
second element's xml:id="n_123_456". I use the following CSS to display 
the value of  of the second element in the visual 
representation of the first element:


affiliation:after {
     content: " role: " oxy_textfield(
         edit, "@role")
         " Organization ID: " oxy_textfield(
         edit, "@hkg:orgKey")
         "Organization name: " oxy_xpath(
"/TEI/text/body/div/ab[@xml:id='n_123_456']/seg[@type='name']/orgName/text()"
         )
         " " oxy_url("gfx/link_register.png");
         link: attr("hkg:orgKey")
}

This works fine. But now I need to create the line

"/TEI/text/body/div/ab[@xml:id='n_123_456']/seg[@type='name']/orgName/text()" 



dynamically which means: Instead of the specific value xml:id n_123_456 
it should use whatever the value of the attribute @hkg:orgKey of the 
node  is. I tried this:


"/TEI/text/body/div/ab[@xml:id=@hkg:orgKey]/seg[@type='name']/orgName/text()" 



but it doesn't work. I also tried other variations like 
ab[@xml:id='@hkg:orgKey'] or ab[@xml:id=attr('hkg:orgKey')] and many 
more but none of them gave me the expected result.


Maybe it is a syntax problem. I really hope there will be a solution to 
this and I would be very thankful for assistance. Any help is appreciated.


I tried to send as much code as needed but of course shortened some 
parts not relevant in this case. If something is missing (or too much) 
please let me know.


Thanks in advance and kind regards
Christian Achter
University of Bern


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] How to customize the default DITA topic validation scenario

2019-10-25 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Kristen,

When automatic or manual validation is performed on a DITA topic, we 
have about 3 validation stages, a stage in which the DTD/schema is used 
to check for errors, a stage in which a custom Schematron schema is used 
to check for errors and a stage in which a DITA specific error scanner 
is used to check for more errors.
Our DITA specific error scanner for topics only checks for broken table 
layouts and for references to missing topics but it could be improved to 
also check for broken references to IDs in the same topic. I will add an 
internal issue to do this. Hypothetically the error scanner could also 
be improved to report links to other topics which have missing IDs but 
this would mean that the validation would not be fast anymore, it would 
need to also load those referenced topics and look into them. But for 
IDs located in the same topic it's no problem.


For now maybe you can create a custom Schematron schema to do this extra 
check:


https://blog.oxygenxml.com/2017/02/sharing-schematron-validation-rules.html

Some time ago we created this experimental Schematron schema:


OXYGEN_INSTALL_DIR\frameworks\dita\resources\dita-1.2-for-xslt2-links-checker.sch


which actually looks inside the referenced topics for the IDs. It might 
also work for references inside the current topic.


Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 10/24/2019 7:41 PM, Kristen James Eberlein wrote:

I am cleaning up DITA source for a client.

I am finding errors that are flagged by the "DITAmap Completeness Check" 
that are not caught by the standard DITA topic validation.


In particular, if a topic contains a (broken) cross reference to another 
element within the same topic, the topic validation does not catch that 
error.


Is there a way to set up a custom DITA topic validation that will catch 
this sort of error?


Best,
Kris

Kristen James Eberlein
Chair, OASIS DITA Technical Committee
Principal consultant, Eberlein Consulting
www.eberleinconsulting.com
+1 919 622-1501; kriseberlein (skype)
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] schematron validation in a batch file

2019-10-09 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Lou,

We plan to have in the future an Oxygen command line tool allowing 
validation and transformation. So I added your feedback (which covers 
very well the use case) to the opened internal issue, we will get back 
to you when we do.
So for now you can probably put something together using Jing for 
RelaxNG validation and the Schematron stylesheets but indeed you would 
still need some kind of detector to read the header from each XML file 
and get the xml-model instructions there, obtain the schemas and use 
them for validation (which is more or less what Oxygen does).


Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 10/9/2019 12:57 PM, Lou Burnard wrote:

One of the features of oXygen which I really love is the way it allows
me to combine schema validation with RELAXNG and with schematron just by
adding a couple of PIs to the top of my file. But this requires me to
fire up oXygen and open up each file one by one which is not so
convenient if I have 100 or more independent documents to validate. I
would rather do this in a bash script, along with all the other
pre-validation sanitation work. But

(a) only oXygen will take any notice of my PIs (obviously)

(b) none of the open source validators I've looked at seems to have a
hook for including schematron validation

(c) oxyGen will do a batch validation of documents included in a project
file, which is close to what I want, but still requires me to fire up
oXygen, make the project file and click a couple of times, so not really
a batch process

Maybe someone else has found a way round this, or could explain to me
why it's just not possible. And how exactly does oXygen do this magic?




___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] '<' in validation scenario names?

2019-09-26 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Tony,

Thanks for the report, I added an issue on our side to look into this.
I guess the label used in the Problems view is HTML aware so it tries to 
interpret the "<" as a special character and removes it. But the labels 
used to present scenario names in the list of scenarios are not HTML aware.

I do not have a sensible workaround but you could try this:
In Oxygen's main menu Edit->Insert from Character Map you can search for 
"less than" in the character descriptions. You should find a character 
called "Small Less-than Sign" which could be used instead of the regular 
less than sign. This seemed to work on my side although certain fonts 
may not be able to render it.


Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 9/25/2019 9:32 PM, Tony Graham wrote:

I have a validation scenario for Schematron checking of
pseudo-attributes of '' PIs.  The people editing the documents
are quite used to seeing the PIs referred to as ''.

If I include '' in the scenario name, it shows as '' in
the 'Configure validation scenario(s)' dialog box but as '?pdf?>' in the
'Problems' panel.

If I include '?pdf?>' in the scenario name, it shows as '?pdf?>'
in the 'Configure validation scenario(s)' dialog box and as '' in
the 'Problems' panel.

Is there a way for '<' to show in both places?

Using  XML Editor 21.1, build 2019090904.

Regards,


Tony Graham.

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] PI between visible in Author mode?

2019-08-14 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Tony,

About this remark:


I also haven't found a way to insert a PI between  in Author mode.


That's because usually when moving inside a table the cursor moves from 
one row to another and does not stop between the rows.
In the Oxygen Preferences->"Editor / Edit Modes / Author / Cursor 
Navigation" page there is a checkbox called "Quick navigation in tables" 
which can be disabled to allow the cursor to also be placed between 
rows. But I think it's best to create some kind of custom Author action 
based on a pre-existing operation like "InsertFragmentOperation":


https://www.oxygenxml.com/doc/versions/21.1/ug-editor/topics/dg-default-author-operations.html#dg-default-author-operations__insertfragmentoperation

The action defined in the framework configuration could be called 
"Insert a page break processing instruction before current row". And it 
could be added for example to the contextual menu when you right click 
inside a table cell.


Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 8/13/2019 10:17 AM, Tony Graham wrote:

On 13/08/2019 07:14, Oxygen XML Editor Support (Radu Coravu) wrote:

I will add an issue for this but I can give no guarantees that this
will be done. It's something quite hard to implement using our
current architecture and the use cases are not very frequent.


Thanks anyway.

I also haven't found a way to insert a PI between  in Author mode.


Maybe you can try as a workaround to implement some kind of side view
in which the processing instructions are shown and edited when the
cursor is places on a table row and then use our API to make changes
to the processing instructions and update the XML document.


We already have info-level Schematron  as a budget way of
locating the PIs. I'll look into what can be done once the PI is
selected by clicking on the little blue bar.

Regards,


Tony Graham.

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] PI between visible in Author mode?

2019-08-13 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Tony,

I will add an issue for this but I can give no guarantees that this will 
be done. It's something quite hard to implement using our current 
architecture and the use cases are not very frequent.
Maybe you can try as a workaround to implement some kind of side view in 
which the processing instructions are shown and edited when the cursor 
is places on a table row and then use our API to make changes to the 
processing instructions and update the XML document.


Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 8/12/2019 7:34 PM, Tony Graham wrote:

On 12/08/2019 12:42, Oxygen XML Editor Support (Radu Coravu) wrote:

Using our current visual rendering, there is no way for us to display
the processing instructions between rows and keep the table layout.


Thank you for the confirmation.


So you either change the display of the entire table to "block" in
which case the processing instructions should start showing up or you
keep the table layout but the processing instructions will not be
shown.


Can you add a feature request for PIs between table rows to show in
Author mode? That is seen as important at this end.

Regards,


Tony Graham.

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] PI between visible in Author mode?

2019-08-12 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Tony,

Using our current visual rendering, there is no way for us to display 
the processing instructions between rows and keep the table layout.
So you either change the display of the entire table to "block" in which 
case the processing instructions should start showing up or you keep the 
table layout but the processing instructions will not be shown.


Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 8/9/2019 2:39 PM, Tony Graham wrote:

I have processing instructions that can appear almost anywhere in an
XHTML document.  This includes appearing between table rows:

  

  

Most PIs are visible in Author mode because of the CSS rule in oXygen's
'authorDefaults.css':

oxy|processing-instruction {
display:-oxy-morph !important;
color: rgb(139, 38, 201) !important;
white-space:pre-wrap !important;
border-width:0px !important;
margin:0px !important;
padding: 0px !important;
}

However, the PIs between  are not visible in Author mode with
 XML Editor 21.1, build 2019061404.

Neither of these have worked for me:

 tbody > oxy|processing-instruction {
display: table-row !important;
 }

 tbody > oxy|processing-instruction {
display: table-cell !important;
 }

(Yes, there are  parents of the PIs.)

Is there a way for the PIs between  to be visible (and editable)
when in Author mode?

Regards,


Tony Graham.

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Managing revisions

2019-07-09 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Yves,

It's actually more related to the fact that I do not know what they want 
to obtain, do they want to build a what's new list automatically when 
publishing or do they just want to mark modified content in the PDF/HTML 
so that internal reviewers focus on it when reviewing?


Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 7/9/2019 10:03 AM, Yves Barbion wrote:

Hi Radu

Thank for your detailed comments. Fair enough, I fully understand that
there have to be enough users who request this feature before you invest
the resources to implement this.

Kind regards

Yves

On Mon, 8 Jul 2019 at 14:49, Oxygen XML Editor Support (Radu Coravu)
mailto:supp...@oxygenxml.com>> wrote:

Hi Yves,

Coming back to your request:

>   Track changes automatically, i.e. without having to change the
@rev attribute manually

Honestly I don't think that's a good idea.
Looking at how many changes our technical documentation writer does
between releases, how many spell check errors he fixes, how much
content
he reuses, how much phrasing of existing paragraphs he changes, some of
the changes the technical writer does should not appear as revisions
because they are small bug fixes in the existing DITA content.
So having the application mark as revisions every DITA element in which
changes have been done will generate in the end a very large list of
revisions, a list which will be overwhelming to read by anyone.
Also if I change a single character in a paragraph (a spell check) that
entire paragraph which may span half a page will be marked as a
revision.

To whom is this revision list destined? Is it for the end user (like a
list of new features) or is it for an internal reviewer?
If the list is for the end user maybe it should be manually created
because the end user does not need to know that a certain paragraph was
re-written to improve its readability.
If the list is for an internal reviewer, maybe the tech writers should
use change tracking instead because change tracking and comments
already
can be made to appear in the published output.

The problem with adding new functionality to Oxygen is making sure that
functionality covers as many similar use cases as possible. If I only
cover a company's use case but my support for revisions is not generic
enough to cover the use cases of other companies, then it's not worth
implementing it.
So ideally I would need to be in direct contact with two or more
companies requiring this and understand if we can build a solution
which
would satisfy lots of various company-specific needs.
Because in the end, if the revision-related improvements are kind of
company-specific it's not worth in investing resources to add the
improvements in Oxygen.
In a way this is why Oxygen has API, this is why we have support for
plugins, for custom validation and why the publishing can be
customized,
in order to cover company specific requirements with company specific
customizations made by a company which could have a separate contract
with that company based on providing this service.

Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 7/8/2019 2:52 PM, Yves Barbion wrote:
> Thank you for your reply, Radu.
>
> So I understand that some custom development work would need to be
done,
> using the various technologies (oXygen plugin, CSS, XSLT...). We are
> getting requests like these quite regularly from our oXygen customers,
> so I think it would be very nice to have this as a standard feature in
> one of the next releases of oXygen XML Author/Editor.
>
> Kind regards
>
> Yves
>
    >
    >
    > On Mon, 8 Jul 2019 at 09:38, Oxygen XML Editor Support (Radu Coravu)
> mailto:supp...@oxygenxml.com>
<mailto:supp...@oxygenxml.com <mailto:supp...@oxygenxml.com>>> wrote:
>
> Hi Yves,
>
> I see no one else answered this on the Oxygen Users List.
>
> I'm linking to the similar thread you started on the DITA
Users List:
>
>
 https://groups.yahoo.com/neo/groups/dita-users/conversations/topics/44837
>
> My answers for your questions would be:
>
> > Track changes automatically, i.e. without having to
change the
> @rev attribute manually
>
> By "track changes" you mean automatically setting the @rev
attribute on
> modified elements. And this can be done with a custom Oxygen
plugin.
>
> > Indicate the changed paragraphs with change bars in the PDF
> (using Miramo)
>
> Using our DITA + CSS = P

Re: [oXygen-user] Managing revisions

2019-07-08 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Yves,

Coming back to your request:


  Track changes automatically, i.e. without having to change the @rev attribute 
manually


Honestly I don't think that's a good idea.
Looking at how many changes our technical documentation writer does 
between releases, how many spell check errors he fixes, how much content 
he reuses, how much phrasing of existing paragraphs he changes, some of 
the changes the technical writer does should not appear as revisions 
because they are small bug fixes in the existing DITA content.
So having the application mark as revisions every DITA element in which 
changes have been done will generate in the end a very large list of 
revisions, a list which will be overwhelming to read by anyone.
Also if I change a single character in a paragraph (a spell check) that 
entire paragraph which may span half a page will be marked as a revision.


To whom is this revision list destined? Is it for the end user (like a 
list of new features) or is it for an internal reviewer?
If the list is for the end user maybe it should be manually created 
because the end user does not need to know that a certain paragraph was 
re-written to improve its readability.
If the list is for an internal reviewer, maybe the tech writers should 
use change tracking instead because change tracking and comments already 
can be made to appear in the published output.


The problem with adding new functionality to Oxygen is making sure that 
functionality covers as many similar use cases as possible. If I only 
cover a company's use case but my support for revisions is not generic 
enough to cover the use cases of other companies, then it's not worth 
implementing it.
So ideally I would need to be in direct contact with two or more 
companies requiring this and understand if we can build a solution which 
would satisfy lots of various company-specific needs.
Because in the end, if the revision-related improvements are kind of 
company-specific it's not worth in investing resources to add the 
improvements in Oxygen.
In a way this is why Oxygen has API, this is why we have support for 
plugins, for custom validation and why the publishing can be customized, 
in order to cover company specific requirements with company specific 
customizations made by a company which could have a separate contract 
with that company based on providing this service.


Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 7/8/2019 2:52 PM, Yves Barbion wrote:

Thank you for your reply, Radu.

So I understand that some custom development work would need to be done,
using the various technologies (oXygen plugin, CSS, XSLT...). We are
getting requests like these quite regularly from our oXygen customers,
so I think it would be very nice to have this as a standard feature in
one of the next releases of oXygen XML Author/Editor.

Kind regards

Yves



On Mon, 8 Jul 2019 at 09:38, Oxygen XML Editor Support (Radu Coravu)
mailto:supp...@oxygenxml.com>> wrote:

Hi Yves,

I see no one else answered this on the Oxygen Users List.

I'm linking to the similar thread you started on the DITA Users List:

https://groups.yahoo.com/neo/groups/dita-users/conversations/topics/44837

My answers for your questions would be:

> Track changes automatically, i.e. without having to change the
@rev attribute manually

By "track changes" you mean automatically setting the @rev attribute on
modified elements. And this can be done with a custom Oxygen plugin.

> Indicate the changed paragraphs with change bars in the PDF
(using Miramo)

Using our DITA + CSS = PDF plugin this could quite easily be done, add
some CSS selectors which add borders for elements containing the @rev
attribute.

> Generate a list of revisions

You would need some kind of custom XSLT processing going through all
topics and creating maybe a DITA topic containing links to all changed
topics.

Regards,
Radu

Radu Coravu
 XML Editor
http://www.oxygenxml.com

On 7/4/2019 10:57 AM, Yves Barbion wrote:
> Hi group
>
> I'm using oXygen XML Editor version 21 to author DITA-structured
content
> and I was wondering how to manage revisions. This is what I'd like
to do:
>
>   * Track changes automatically, i.e. without having to change the
@rev
> attribute manually
>   * Indicate the changed paragraphs with change bars in the PDF (using
> Miramo)
>   * Generate a list of revisions
>
> I'm not using a CCMS or a version management system at this moment.
>
> Any ideas?
>
> Thanks
>
> Yves
>
>
> ___
> oXygen-user mailing list
> oXygen-user@oxygenxml.com <mailto:oXygen-user@oxygenxml.com>
> https://www.oxygenxml.com/mailman/list

  1   2   >