[oXygen-user] Need help with a Schematron rule

2024-02-14 Thread Frank Dissinger

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 <https://www.facebook.com/akgsoftware/>| Xing 
<https://www.xing.com/pages/akgsoftware>| LinkedIn 
<https://www.linkedin.com/company/18590571>| YouTube 
<https://www.youtube.com/c/AKGSoftware-infrastructure>


AKG Software Consulting GmbH

*AKG Software Consulting GmbH*
Uhlandstr. 12
D-79423 Heitersheim
www.akgsoftware.de <https://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 
<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] Need help with a Schematron rule

2024-02-14 Thread Frank Dissinger

Hm,


The rule incorrectly outputs the warning when there is no blank in the 
element, even with the change you're proposing.



All DITA elements seem to have a class attribute. The other Schematron 
rules I am using are all written with class attributes and they work.



I don't know if the following has to do with this issue. Since today I 
am always getting the following error when I save a Schematron rule. I 
then click "Save anyway".


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

I don't know what is causing this.





Am 14.02.2024 um 10:02 schrieb David Maus:

Moin!

On Wed, 14 Feb 2024 09:48:18 +0100,
Frank Dissinger wrote:

[1  ]
[1.1  ]
[1.2  ]
Hi all,

I want to write a Schematron rule which checks whether a keyref'ed element 
contains a blank character.

WRONG:

CORRECT: 

I adapted another rule and tried the following, but it does not work as 
expected.
In addition, it should apply to any keyref'ed element, not only to .

   http://purl.oclc.org/dsdl/schematron;>
 
   No blank allowed inside 
keyref'ed ph elements
 
   

Your rule matches all elements with @keyref and with an @class
attribute that contains 'ph'.

The two examples do not have a @class attribute, thus the rule doesn't
fire.

Maybe rewrite the rule as

sch:rule context="*[@keyref]"?

HTH,
   -- David




Any help would be greatly appreciated.

Regards,

Frank

--

Frank Dissinger

Documentation Manager



CGS ORIS GmbH

emailfrank.dissin...@cgs-oris.com  | Webwww.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

--

*Frank Dissinger*

Documentation Manager



*CGS ORIS 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] Need help with a Schematron rule

2024-02-14 Thread Frank Dissinger

Hi all,


I want to write a Schematron rule which checks whether a keyref'ed 
element contains a blank character.



WRONG:    

CORRECT: 


I adapted another rule and tried the following, but it does not work as 
expected.

In addition, it should apply to any keyref'ed element, not only to .


  xmlns:sch="http://purl.oclc.org/dsdl/schematron;>

    
  No blank allowed 
inside keyref'ed ph elements

    
  


Any help would be greatly appreciated.


Regards,

Frank

--

*Frank Dissinger*

Documentation Manager



*CGS ORIS 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] Understanding @colsep and @rowsep

2023-04-13 Thread Frank Dissinger

Thank you to Radu and the others who replied to my question.


I understand that the best way to create tables with grid lines 
everywhere is when you set both @frame, @colsep and @rowsep = "1" for 
the  element.


It can be done differently, but this is likely to be rendered correctly 
with every default transformation and needs less effort than having to 
set @colsep and @rowsep for other elements like  or each and 
every .


I have adjusted my Schematron rules accordingly.



Regards,

Frank



Am 13.04.2023 um 07:29 schrieb 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 
<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] Understanding @colsep and @rowsep

2023-04-12 Thread Frank Dissinger

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 
<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] Understanding @colsep and @rowsep

2023-04-12 Thread Frank Dissinger

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 
<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] Struggling with conkeyref/conaction=pushafter

2023-03-29 Thread Frank Dissinger

Hi Franz-Josef,


Thank you for your reply.

The problem is that I do not want create any duplicates at all. All I 
want is inject additional information into a topic.



Regards,

Frank



Am 29.03.2023 um 07:44 schrieb Franz-Josef Knelangen:


Frank:

>> 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...


I use a generated prefix to realize duplicates. The affected topics 
all start with an underscore, _topic-name.dita, so that the generated 
topics look like


  * bahn_topic-name.html
  * strasse_topic-name.html

Greetings

Franz-Josef




bahn







strasse




*
Franz-Josef Knelangen**
*Leiter Dokumentation

Main:   +49 7634 5612-0

Facebook <https://www.facebook.com/akgsoftware/>| Xing 
<https://www.xing.com/pages/akgsoftware>| LinkedIn 
<https://www.linkedin.com/company/18590571>| YouTube 
<https://www.youtube.com/c/AKGSoftware-infrastructure>


AKG Software Consulting GmbH

*AKG Software Consulting GmbH*
Uhlandstr. 12
D-79423 Heitersheim
www.akgsoftware.de <https://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.)**






___
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] Struggling with conkeyref/conaction=pushafter

2023-03-28 Thread Frank Dissinger

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? 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 
<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. 

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

2023-03-27 Thread Frank Dissinger

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 
<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] IDs for new DITA topics

2023-03-27 Thread Frank Dissinger
I would like to add that I have defined topic templates in my custom 
framework in which I have used the same setting which I used for "DITA > 
ID Option". For example:




"generalTask.dtd">



    xxxTITLExxx
    xxxSHORTDESCRIPTIONxxx
    
    
        
            xxxFIRST_STEPxxx
        
    
    




Am 27.03.2023 um 10:43 schrieb Frank Dissinger:


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 
<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>

--

*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] IDs for new DITA topics

2023-03-27 Thread Frank Dissinger

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 
<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] Do I need a namespace declaration in dita root elements?

2023-03-22 Thread Frank Dissinger

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 
<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] Spell check exceptions per file?

2023-03-20 Thread Frank Dissinger

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 
<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] Learned Words

2023-03-20 Thread Frank Dissinger

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 
<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] Ditamap archive?

2023-03-14 Thread Frank Dissinger

*Great! Thank you!*





Am 14.03.2023 um 14:54 schrieb Radu Coravu:


Hi Frank,


Yes, there is a contextual menu action for this in the DITA Maps 
Manager view:



https://www.oxygenxml.com/doc/ug-editor/topics/dita-maps-manager.html#dita-maps-manager__dlentry_nhl_dgk_54b


Regards,

Radu

Radu Coravu
Oxygen XML Editor
On 3/14/23 15:52, Frank Dissinger wrote:


Hi all,


Does oXygen provide a tool which creates a ZIP archive of a ditamap 
with all referenced files?



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] Ditamap archive?

2023-03-14 Thread Frank Dissinger

Hi all,


Does oXygen provide a tool which creates a ZIP archive of a ditamap with 
all referenced files?



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] Schematron rule

2023-02-22 Thread Frank Dissinger

HI Wendell,


Thank you very much. Works like a charm.


Regards,


Frank


Am 22.02.2023 um 14:22 schrieb Wendell Piez:

Frank,

There is an interesting feature of Schematron's design useful in a 
case like yours, namely that within a pattern, only one rule may apply 
to any element, and the first rule wins.


This means we can pre-empt the application of rules by writing other 
rules.


For example:



  
  
    li must have children
  



The second rule says "an li must have children". The first rule 
intervenes for li elements that have @conref or an ancestor with 
@conref - it does no checking so it is silent.


Try it and see how it goes --

Cheers, Wendell



On Wed, Feb 22, 2023 at 7:35 AM Frank Dissinger 
 wrote:


Hi all,


I need a Schemtron rule which indicates an error when 
elements do not have any child elements. No error schould be
indicated for  elements with an "conkeyref" attribute and also
for  elements which are children of any element with a
"conkeyref" attribute.


I have defined two separate rules...


  
    
  List does not contain any child
elements
    
  

  
    
  List does not contain any child
elements
    

  


... but I think I need to combine them into a single rule with an
OR or AND operator.


  
    
  List does not contain any child
elements
    

  


However, this syntax is invalid. Can somebody help me?


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] Schematron rule

2023-02-22 Thread Frank Dissinger

Hi all,


I need a Schemtron rule which indicates an error when  elements do 
not have any child elements. No error schould be indicated for  
elements with an "conkeyref" attribute and also for  elements which 
are children of any element with a "conkeyref" attribute.



I have defined two separate rules...


  
    
  List does not contain any child 
elements

    
  

  
    
  List does not contain any child 
elements

    

  


... but I think I need to combine them into a single rule with an OR or 
AND operator.



  
    
  List does not contain any child 
elements

    

  


However, this syntax is invalid. Can somebody help me?


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] Inserting current date into DITA file

2023-02-14 Thread Frank Dissinger

Hi Radu,


Works like a charm. Thank you!!!


Regards,

Frank





Am 14.02.2023 um 10:27 schrieb 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] Expand/Collapse all with one cliock

2023-02-14 Thread Frank Dissinger
These commands do what they say: The expand or collapse ALL. What I want 
is: Expand or collapse only sibling elements (elements on the same level 
as the element on which I click).






Am 13.02.2023 um 22:29 schrieb Stefan Jung:

Frank,

Have you tried the "collapse all" in the contextual menu?

Best


Gesendet mit OX Mail

Frank Dissinger <http://frank.dissin...@cgs-oris.com>> hat am February 13, 2023 um 
6:32 PM geschrieben:


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
<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>


--

*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] Adding attributes to images inserted from DITA Reusable Components view

2023-02-14 Thread Frank Dissinger

...because I do not know how to do it. 



Am 13.02.2023 um 22:32 schrieb Stefan Jung:

Hi Frank,

If you always want to add the same attributes to all
images and Schematron is not good enough, why don't you create a new 
element which has these attributes set by default? Or you override the 
XSLT templates and add the attributes during the DITA-OT transformation?


BR



Gesendet mit OX Mail

Frank Dissinger <http://frank.dissin...@cgs-oris.com>> hat am February 13, 2023 um 
6:28 PM geschrieben:


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
<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>


--

*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] Inserting current date into DITA file

2023-02-14 Thread Frank Dissinger

Hi Stefan,


Thank you for your reply. I already did a similar thing for the 
MiramoPDF plug-in:



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

    
       
    


It was a matter of just adding this code to a "custom.xsl" file. In 
oXygen's CHM tranformation, I wouldn't know where add this code. I am 
not XSLT savvy enough.



Regards,

Frank




Am 13.02.2023 um 22:39 schrieb Stefan Jung:

Hi Frank,

It depends a little bit where exactly you want to have that code and 
for what purpose. If you are looking for an inline element, which can 
be inserted everywhere, you can create a new element or you use, for 
example, a phrase element with an outputclass attribute and then 
inject the date in the format of your choice in XSLT.




Best regards



Gesendet mit OX Mail

Frank Dissinger <http://frank.dissin...@cgs-oris.com>> hat am February 13, 2023 um 
5:37 PM geschrieben:


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>


--

*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] Inserting current date into DITA file

2023-02-14 Thread Frank Dissinger

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;>
    

*

    
       
    *



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] Adding attributes to images inserted from DITA Reusable Components view

2023-02-14 Thread Frank Dissinger

Hi Radu,


Thank you for your reply. Sorry, what I meant was the "cc_config.xml" 
configuration file, not Schematron, of course. Sorry for the confusion. 
What I currently do is:



    
    
    


I would also like to have this attribute applied when inserting images 
using the "DITA Reusable Components  > Media" tab. Thank you for 
registering my feature request.



Regards,

Frank





Am 14.02.2023 um 07:29 schrieb 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 
<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] Expand/Collapse all with one cliock

2023-02-13 Thread Frank Dissinger

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 
<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] Adding attributes to images inserted from DITA Reusable Components view

2023-02-13 Thread Frank Dissinger

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 
<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] Hyphenation in Author mode?

2023-02-13 Thread Frank Dissinger

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 
<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] Inserting current date into DITA file

2023-02-13 Thread Frank Dissinger

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] Image and table width in Author mode

2023-02-13 Thread Frank Dissinger

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.

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 th

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

2023-02-09 Thread Frank Dissinger

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 
<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] DITA footnotes in Author mode

2023-02-09 Thread Frank Dissinger

Hi list,


oXygen does not seem to have any special styling for DITA footnotes in 
Author mode. They are just shown as inline elements in italics.



Has anybody managed to style footnots with CSS in a way similar to how 
they would like on a page, i.e. on the bottom of the page with ascending 
numbers and a superscript number at the location where the footnote is 
referenced?



I made some attempts with "fn {position: absolute; bottom: -2em}", but 
was not CSS-skilled enough to prevent the footnotes all being placed on 
top of each other. And I don't know how to implement a counter for 
elements that are scattered over the element tree (not children of the 
same element).



Any ideas?


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] FM/OXY: Different DITA code for "conkeyref"

2023-01-26 Thread Frank Dissinger

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 
<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] Inserting child elements automatically

2023-01-24 Thread Frank Dissinger

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/>


*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] DITA Reusable Components list (Keys tab) does not update

2023-01-18 Thread Frank Dissinger
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 <https://www.facebook.com/akgsoftware/>| Xing 
<https://www.xing.com/pages/akgsoftware>| LinkedIn 
<https://www.linkedin.com/company/18590571>| YouTube 
<https://www.youtube.com/c/AKGSoftware-infrastructure>


AKG Software Consulting GmbH

*AKG Software Consulting GmbH*
Uhlandstr. 12
D-79423 Heitersheim
www.akgsoftware.de <https://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 
<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] DITA Reusable Components list (Keys tab) does not update

2023-01-18 Thread 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 <https://www.facebook.com/akgsoftware/>| Xing 
<https://www.xing.com/pages/akgsoftware>| LinkedIn 
<https://www.linkedin.com/company/18590571>| YouTube 
<https://www.youtube.com/c/AKGSoftware-infrastructure>


AKG Software Consulting GmbH

*AKG Software Consulting GmbH*
Uhlandstr. 12
D-79423 Heitersheim
www.akgsoftware.de <https://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 
<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] DITA Reusable Components list (Keys tab) does not update

2023-01-18 Thread Frank Dissinger

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 
<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] CSS validation warnings

2023-01-18 Thread Frank Dissinger

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*

*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] CSS validation warnings

2023-01-18 Thread Frank Dissinger

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 
<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] Going from FrameMaker to oXygen

2023-01-11 Thread Frank Dissinger

Hi Radu,


Thank you also for this reply (on the DITA Users List).


Regards,


Frank





Am 07.12.2022 um 08:10 schrieb Radu Coravu via groups.io:


Hi Frank,


Here are some answers to your remarks, if you need more help about how 
Oxygen works you can contact us directly:




  * It seems that a DITA map loads all the referenced submaps and
displays all of these maps in a single window panel (as if this
was a single file). In FM I see only the references and open the
submaps as separate files by double-clicking on them.

In Oxygen a DITA Map can be opened both in the DITA Maps Manager view 
and in the main editing area where it can be edited in either the 
Author or the Text editing modes.


I will assume you are referring to opening a DITA Map in the Author 
visual editing mode. In the Oxygen Preferences->"DITA / Maps" page you 
have a checkbox named "Expand references to other maps when opening a 
map in the Author mode".



  * I feel lost in these maps. There are lots of big fonts, frames,
colored backgrounds, icons... Can I customize the appearance? For
example, by defining CSS-like styles for the DITA elements
displayed on the screen?

Yes, sure. The visual editing is CSS based. We have a CSS inspector 
view which can be used to debug what CSS styles apply to render a 
certain element in a certain way:


https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/author-css-inspector-view.html

and you can contribute your own CSS for customizing the editing aspects:

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


  * The Outline view is a bit similar to FM's Structure View. But I
am used to setting the cursor into the Structure View to
precisely define the point where to insert an element. This does
not work in oXygen.

Different applications have different features. Oxygen has a tooltip 
window showing the context which appears when moving the caret in the 
content, it also has various tags display modes which may be useful to 
properly place the cursor. Maybe you can use those instead of the Outline.


  * I'd like to see text and images without any tags in one window
panel and the DITA structure with elements and attributes in a
separate panel. I know I can switch off tags and use the Outline
view, but I am not sure if this really gives me full control over
everything...

The Oxygen Outline is mostly intended to show the structure of the 
content and allow you to select elements.


  * How does oXygen visualize conditionalized content
(included/excluded via a ditaval file)?


Here's a link to the Oxygen user guide:

https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/dita-profiling-conditional-text.html

with some videos/webinars referenced at the end.


  * Can I define a fixed page size in oXygen? I'd like to set a page
width (height is not important) to make sure that images fit on
the page and that table columns are not too narrow (in PDF
deliverables). Setting an image resolution is also important.

By default Oxygen shows a US-letter outline around an edited DITA 
topic. But this does not impose maximum width constraints, in a way in 
this regard Oxygen behaves more like a web browser, not like a PDF 
renderer.



Hope this helps.


Regards,

Radu

Radu Coravu
Oxygen XML Editor


On 12/6/22 18:42, Frank Dissinger wrote:


Hi all,


Are there any passionate long-term structured FrameMaker users who 
have changed to oXygen as a DITA editor? Has anybody tried to set up 
the oXygen authoring environment as close as possible to FrameMaker's 
WYSIWYG view? Or at least in a way that makes the switch as painless 
as possible for a FrameMaker user?



I've been using FrameMaker V11+DITA-FMx as a DITA editor for many 
years -- until recently also as a PDF transformation engine, which I 
have now replaced with MiramoPDF. I have used oXygen for a few years 
only and mostly as a transformation engine. With FM I am stuck with 
an old DITA implementation and the DITA-FMx plug-in is not developed 
any further. This is why I would like to use oXygen as a DITA editor 
instead. But I find it very hard to make the switch: The way DITA 
maps, topics, tags, structures... are presented is so different and I 
haven't the time to learn oXygen properly and in full detail. It's 
such a powerful tool with tons of features. So I thought there may be 
someone who can help me getting started -- at least with setting up 
the user interface and authoring environment.



A few examples of things I am struggling with right away when I look 
at how oXygen presents my DITA files:


  * It seems that a DITA map loads all the referenced submaps and
displays all of these maps in a single window panel (as if this
was a single file). In FM I see only the references and open the
submaps as separate files by double-clicking o

[oXygen-user] Going from FrameMaker to oXygen

2023-01-11 Thread Frank Dissinger

Hi Chris,


Thank you again for your reply (on the DITA Users List). I haven't had 
the time to read it in full detail and try out some of the suggestions 
until now.


 * /Selecting just the opening tag and pressing Enter will allow you to
   change the element from one type to another./

How would you select just the opening tag? If I do that in Author mode, 
the opening and closing tag with everything in between gets selected. 
When I then press Enter, I can surround the tag with another. In Text 
mode, the tag gets deleted when I press Enter.


 * /We have a "Show Page Width" alternative CSS style that helps
   writers visualize page width, as a guide to table and figure sizing./

Would you mind sharing this style with me?


Thank you.


Best regards,


Frank


Am 07.12.2022 um 13:24 schrieb Chris Papademetrious:

Hi Frank,

If you are not using the DITA Perspective in Oxygen, I suggest 
enabling it:


https://www.oxygenxml.com/doc/versions/25.0/ug-author/topics/dita-perspective.html

It applies a collection of settings that are useful for DITA editing.

Some more random thoughts:

  * We also find the tag-based map view in an editing window to be
somewhat overwhelming. We primarily edit maps in the following views:
  o DITA Maps Manager - adding and restructuring content
  o Editor window, Text view - fine-timing map attributes or
element structures
  * Use keyboard shortcuts in the DITA Maps Manager - cursor keys to
move around and expand/collapse, and type the names of files to
auto-move to that matching file.
  * When you select a topic editing window, if a map referencing that
topic is open in the DITA Maps Manager, it will scroll to that
topic's map entry.
  o This is useful when you have multiple topic editing tabs open
and you want to quickly see the map context of each one while
editing.
  * We bind a Ctrl-` (backtick) hotkey to toggling full tags on/off,
which makes it effortless to switch them on and off during
editing. This is a huge help!!
  o I can provide details on how to configure this.
  * Oxygen has a lot of clever shortcuts for element operations in the
editor. For example,
  o Selecting just the opening tag and pressing Enter will allow
you to change the element from one type to another.
  o Placing the cursor just after the opening tag and pressing
Backspace will unwrap the tag but keep its content.
  o Using Tab/Shift-tab at the beginning of list items can change
their list level, including the element structure work needed
to make it happen.
  * In editing windows, there is an element ancestry shown at the top
for the current cursor position. This can be useful, especially
when tags are hidden and you want to select some containing
element (like an entire  element when the cursor is
somewhere inside its content).
  * We use shared CSS that configures the Oxygen editor, PDF output,
and WebHelp output to all share a common style.
  o As we also come from a FrameMaker background, our writers
wanted Oxygen's editing window to be as close to the PDF as
possible.
  o We have a "Show Page Width" alternative CSS style that helps
writers visualize page width, as a guide to table and figure
sizing.
  * Using Find in Files and XPath/XQuery Builder to quickly find
content in your maps can be helpful. Oxygen's search capability is
very fast.


Feel free to ask for more details on any aspect of this!

 - Chris


*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


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


[oXygen-user] Going from FrameMaker to oXygen -- Print-ready/Outline view issues

2023-01-10 Thread Frank Dissinger

Hi Stefan,


Thank you for your input and the userful links. I am climbing up the 
learnign curve...



Regards,


Frank





Am 04.01.2023 um 06:33 schrieb Stefan Jung:


Hi Frank,

Maybe you should not try to make Oxygen so FrameMaker-ish. I'm in a 
similar transition phase and my "unstructured" FrameMaker writers get 
used to the Oxygen way if working very fast.


I'd recommend using the keyboard more and the mouse less. You can 
navigate with your arrow keys, also between elements. You can press 
Enter, to insert an element. You do not need to move, for example, 
after a step element to insert a new one. This is not necessary. 
Oxygen is smart enough to determine where you probably want to insert 
the element and Oxygen will not allow you to create invalid XML 
structures in Author mode. Use ALT+Enter to edit attributes.


You don't need to place your caret between elements in outline view, 
because it allows you to add elements after and element (here you 
still think in FrameMaker UI).


Please read 
https://www.oxygenxml.com/doc/versions/24.1/ug-editor/topics/text-navigate-document-content.html 

and https://blog.oxygenxml.com/topics/general_tips_and_tricks.html and 
https://www.oxygenxml.com/doc/versions/24.1/ug-editor/topics/common-shortcut-keys.html 



BR
Stefan

Gesendet mit OX Mail

Frank Dissinger <http://frank.dissin...@cgs-oris.com>> hat am January 4, 2023 um 5:45 
AM geschrieben:


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 
<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


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


[oXygen-user] Going from FrameMaker to oXygen -- Print-ready/Outline view issues

2023-01-09 Thread Frank Dissinger

Hi Kris,


Thank you for your reply.


I fully agree with the requirements you describe.


In FrameMaker I was used to work in WYSIWYG view with no tags displayed. 
The Structure View and the formatting styles in the Editor window gave 
me enough information about the DITA tags and structure. I used the 
Elements window to insert or wrap elements and edited Attributes using 
the Structure View or a DITA-FMx dialog.



When I now view my DITA topics in oXygen I would like to see them in a 
similar way just because otherwise I wouldn't be sure if it is really 
the same document. Sounds strange perhaps, but it is indeed extremely 
confusing to me to see something that seems to be different. Perhaps 
after some time, when I am conversant with oXygen, I may have more 
confidence in other views...



So in oXygen I prefer the "No tags" view. With this there are still lots 
of icons (for opening link targets, expand/collapse sections...) and 
additional text ("Short description", "Result", ...) which I would 
prefer to hide. Most of this can be done using the "Print-ready" style 
and lots of CSS code which I take from the CSS Inspector window and adapt.



However, this means that I would have to rely on the Outline view, the 
Attributes window and the breadcrumbs to see the structure. These tools 
do not give me the same information, convenience and capabilities that I 
am used in FrameMaker. I therefore thought it could be a workaround to 
quickly toggle my preferred view ("Print ready") and "Full tags" (or 
"Full tags with attributs") using a keyboard shortcut. However, there 
are no shortcuts for styles.



But I discovered that you can define keyboard shortcuts for "No tags", 
"Full tags", etc. And Radu gave me CSS code that creates a button in 
every topic that toggles between "No tags" and the last tags view chosen 
for the topic. I was able to get rid of some texts like "Short 
description" (which I indicate using a color) and the like using some 
more CSS code. The extra icons are still there, but they do not take up 
much room so I can live with them (and they are usful).



Best regards,


Frank



Am 04.01.2023 um 06:42 schrieb Kristen James Eberlein:


Hi, Frank.

I have not used FrameMaker for almost two decades, so I cannot be of 
much help in your quest to “set up the Author mode in a way which 
comes close to what I was used in FrameMaker”. Whether or not you can 
do that, I truly don’t know.


It might be the case that it would be helpful for you to state your 
needs as functional requirements – While Oxygen might not offer the 
same authoring nuances/interface as FrameMaker, if it can be done in 
XML, Oxygen offers a way to do it!


For example, here are the requirements that I inferred from your e-mail:

  * As an author, I want to have a WYSIWYG interface that looks
similar to how content is rendered for my company. (Easy to do
with CSS and an Oxygen framework.)
  * As an author, I want to easily navigate in a lengthy XML document.
(This is what the Outline view is optimized for, to enable you to
locate a specific element rapidly.)
  * As an author, I want to have a WYSIWYG view where I can easily
view the underlying structure, both elements and attributes. (For
me, here is where I use the authoring view with full tags and
attributes turned on.)

Some of this, of course, might depend on what you mean by WYSWYG … 
Does WYSIWYG encompass the Oxygen Author view with “full tags and 
attributes”? Or are you primarily interested in the “no tags” view? If 
the latter, you can view the structure by looking at the breadcrumbs 
that are displayed at the top of the window, under the topic title, 
and the attributes by keeping the “Attributes” view open.


I think all Oxygen users have slightly different preferences, and they 
certainly can also be affected by whether one has an external monitor 
or is simply working within the confines of a small laptop or tablet 
screen.


Change is hard. Inevitably, when you switch tools, I think you run 
into a need to shift at least a little of your habits and preferences.


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:* Tuesday, January 3, 2023 12:36 PM
*To:* Oxygen User Mailing List 
*Subject:* [oXygen-user] Going from FrameMaker to oXygen -- 
Print-ready/Outline view issues


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 bot

[oXygen-user] Going from FrameMaker to oXygen / Outline View / Text duplicates

2023-01-09 Thread Frank Dissinger

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 Houser
Group Wellesley, Inc.
Consultant and Trainer, Technical Publishing
arh on Twitter
412-450-0532



On Dec 8, 2022, at 10:37 AM, Frank Dissinger 
 wrote:


Thank you,

Chris
Radu
Stefan
Thomas
Yves

for your replies, this valuable information and for offering me 
your help.


I have already made some initial progress. I have successfully 
created a custom framework with my own CSS file and are getting my 
topic editor window panel look more and more the way I like

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

2023-01-09 Thread Frank Dissinger

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 > 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 
<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] Going from FrameMaker to oXygen -- Print-ready/Outline view issues

2023-01-09 Thread Frank Dissinger

Thank you, Radu, for the CSS code.


I have successfully implemented this button and it is a good workaround 
until a keyboard shortcut is available.



I have made it to always stick at the top right of the Editor window 
using the CSS property "position: fixed".



Unfortunately, this CSS code does not work with the "Print ready" style, 
only when it is disabled. As a result, I had to adjust a few more CSS 
styles to reimplement the visual representation that I wanted.



Regards,


Frank



Am 04.01.2023 um 07:54 schrieb 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 
<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] Going from FrameMaker to oXygen / FM Structure View vs. oXy Outline View / Feature request

2023-01-09 Thread Frank Dissinger

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 Houser
Group Wellesley, Inc.
Consultant and Trainer, Technical Publishing
arh on Twitter
412-450-0532



On Dec 8, 2022, at 10:37 AM, Frank Dissinger 
 wrote:


Thank you,

Chris
Radu
Stefan
Thomas
Yves

for your replies, this valuable information and for offering me your 
help.


I have already made some initial progress. I have successfully 
created a custom framework with my own CSS file and are getting my 
topic editor window panel look more and more the way I like (using 
the 'print-ready' display style).


I'll try to dig a bit deeper into this matter and will collect the 
questions and issues as I get on with this. I'll then come back to you.


Best regards,

Frank


Am 06.12.2022 um 17:42 schrieb Frank Dissinger:

Hi all,

Are there any passionate long-term structured FrameMaker users who 
have changed to oXygen as a DITA editor? Has anybody tried to set up 
the oXygen authoring environment as close as possible to 
FrameMaker's WYSIWYG view? Or at least in a way that makes the 
switch as painless as possible for a FrameMaker user?


I've been using FrameMaker V11+DITA-FMx as a DITA editor for many 
years -- until recently also as a PDF transformation engine, which I 
have now replaced with MiramoPDF. I have used oXygen for a few years 
only and mostly as a transformation engine. With FM I am stuck with 
an old DITA implementation and the DITA-FMx plug-in is not developed 
any further. This is why I would like to use oXygen as a DITA editor 
instead. But I find it very hard to make the switch: The way DITA 
maps, topics, tags, structures... are presented is so different and 
I haven't the time to learn oXygen properly and in full detail. It's 
such a powerful tool with tons of features. So I thought there may 
be someone who can help me getting started -- at least with setting 
up the user interface and authoring environment.


A few examples of things I am struggling with right away when I look 
at how oXygen presents my DITA files:


  * It seems that a DITA map loads all the referenced submaps and
displays all of these maps in a single window panel (as if this
was a single file). In FM I see only the references and open the
submaps as separate files by double-clicking on them.
  * I feel lost in these maps. There are lots of big fonts, frames,
colored backgrounds, icons... Can I customize the appearance?
For example, by defining CSS-like styles for the DITA elemen

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

2023-01-03 Thread Frank Dissinger

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 
<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


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


[oXygen-user] Going from FrameMaker to oXygen -- Print-ready/Outline view issues

2023-01-03 Thread Frank Dissinger

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 
<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