From support at oxygenxml.com Wed Feb 1 07:58:12 2023 From: support at oxygenxml.com (Oxygen XML Editor Support (Adrian Buza)) Date: Wed, 1 Feb 2023 15:58:12 +0200 Subject: [oXygen-user] [Ann] New maintenance build available for oXygen 25.0 (2023013006) Message-ID: Dear oXygen users, We announce the release of a new maintenance build (2023013006) for oXygen 25.0 (XML Editor, XML Developer, XML Author, XML WebHelp, PDF Chemistry, Publishing Engine). The build number can be verified in the Help -> About dialog box from the application (next to the version number). You can download the new installation kits from our web site: http://www.oxygenxml.com/download.html Here you can find the complete list of bug-fixes: http://www.oxygenxml.com/build_history.html#2023013006 You can follow our oXygen release/build RSS feed here: http://www.oxygenxml.com/rssBuildID.xml Please let us know if you encounter any problems with this new build. Regards, Adrian -- Adrian Buza oXygen XML Editor and Author Support From Sascha.Nothofer at reinmedical.com Thu Feb 2 02:28:07 2023 From: Sascha.Nothofer at reinmedical.com (Sascha Nothofer) Date: Thu, 2 Feb 2023 08:28:07 +0000 Subject: [oXygen-user] Conkeyrefs not rendered on map-level In-Reply-To: References: Message-ID: Hi Radu, thanks for your analysis of my issue! Your questions and thoughts helped me to track down the problem. If you try to publish a map containing a title (or data element) with a conkeyref like this <ph conkeyref="key/productName"/>... and if the reused element contains another element with an id attribute like this ...... then the DITA OT 3.7.3 (Oxygen 25.0 build in) is not able to resolve the reference on map level. For example the pdf front page title does not contain the referenced content. If you use conref instead, everything is fine. Conkeyrefs from topic to topic are also resolved as expected. It looks like a OT bug. Thx! Sascha > Currently I want to switch from Oxygen 23 to 25.0 including an > extracted build-in DITA-OT3.x with custom pdf2 plugin but In the > updated?environment we have the following effect: > > > In almost all DITAVAL contexts (we have a lot) the variable texts are > not rendered into the DITA Map anymore without error messages. > This looks like an editing problem, in such cases we are interested in knowing what those particular error messages state. Ideally we would also have a small sample DITA project to reproduce the problem on our side. You can do this with a separate off list email. > > Just a few DITAVAL contexts produce output as before. > By output do you mean publishing? yes, html or pdf. We have no problems in Oxygen/Author. All references are displayed fine. > > In published content topics/chapters everything is fine -> conkeyrefs > are resolved. > So the publishing is fine? Only the DITA Maps Manager has problems displaying the keyrefs? No problem in Maps Manager. The problem is only in preprocessing output and following. > > Also Oxygen Author WYSIWYG resolves all conkeyrefs as expected in > topics and in the map. > Ok, so the main editor area seems to work. > > > In the pre-processing output (?_MERGED.xml) the specific map elements > do not contain the variable text but conref attributes with wrong > transformed links: > The conrefs contain ?path/topic.dita#ElementID? instead of > ?path/ditatopic.dita#topicID/ElementID? > > In correct output contexts there are no conref attrubtes rendered into > output, just the elements with resolved text. > So there is also a publishing problem as well? Oxygen 25.0 comes bundled with DITA OT 3.7 from what I remember, maybe there is some incompatibility between your custom PDF plugin and DITA OT 3.7. Do you have also a DITA DTD specialization plugin? If so did you install it in the DITA OT bundled with Oxygen 25.0? yes > I guess, there could be many different reasons for this. I tried a lot > and couldn?t reproduced the problem in a simple test project. I also > did?nt manage to simplify our project to a working state. > I somehow suspect you may have some DITA specialization for certain topics. I'm not sure. If you can reproduce about the same problem when editing and when publishing, the problem is usually somewhere in the DITA Open Toolkit publishing engine, some plugin which may not be installed. Regards, Radu Radu Coravu Oxygen XML Editor [https://reinmedical.com/en/node/1499/view-as-image] [cid:image690462.png at 57dd3af6.4dab699c] Kontakt | Contact Rein Medical GmbH T: +49 2161 6984 - 131 Monforts Quartier 23 M: Schwalmstra?e 301 F: +49 2161 6984 - 231 41238 M?nchengladbach E: sascha.nothofer at reinmedical.com Germany W: https://www.reinmedical.com S: Rechtliches | Legal Gesch?ftsf?hrer: Dieter Cyganek, Stephan Rein, Thorsten Godulla, Hisakazu Harada, Akira Suzuki Registergericht: Amtsgericht M?nchengladbach HRB 15810 Ust.-ID-Nr.: DE811604837 WEE-Reg.-Nr.: DE 59730470 [https://reinmedical.com/en/node/1498/view-as-image] Diese E-Mail ist ausschlie?lich f?r den angegebenen Empf?nger bestimmt. Sie kann Informationen enthalten, welche vertraulich sind und durch die Verschwiegenheit gesch?tzt werden. Diese E-Mail darf nur von diesem Empf?nger gelesen, ausgedruckt, aufbewahrt, kopiert und verbreitet werden. Sollten Sie diese Mitteilung irrt?mlich erhalten haben, bitten wir Sie, den Absender zu benachrichtigen, s?mtliche Ausdrucke zu vernichten und diese E-Mail zu l?schen. This message may contain confidential information and is intended only for the specified recipient. If you are not the specified recipient you should not disseminate, distribute or copy this e-mail. Please notify the specified sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ________________________________ Von: oXygen-user im Auftrag von oxygen-user-request at oxygenxml.com Gesendet: Mittwoch, 25. Januar 2023 19:00 An: oxygen-user at oxygenxml.com Betreff: oXygen-user Digest, Vol 139, Issue 17 Send oXygen-user mailing list submissions to oxygen-user at oxygenxml.com To subscribe or unsubscribe via the World Wide Web, visit https://www.oxygenxml.com/mailman/listinfo/oxygen-user or, via email, send a message with subject or body 'help' to oxygen-user-request at oxygenxml.com You can reach the person managing the list at oxygen-user-owner at oxygenxml.com When replying, please edit your Subject line so it is more specific than "Re: Contents of oXygen-user digest..." Today's Topics: 1. Re: Inserting child elements automatically (Oxygen XML Editor Support (Radu Coravu)) 2. Re: Conkeyrefs not rendered on map-level (Oxygen XML Editor Support (Radu Coravu)) ---------------------------------------------------------------------- Message: 1 Date: Wed, 25 Jan 2023 08:06:34 +0200 From: "Oxygen XML Editor Support (Radu Coravu)" To: oxygen-user at oxygenxml.com Subject: Re: [oXygen-user] Inserting child elements automatically Message-ID: Content-Type: text/plain; charset="utf-8"; Format="flowed" Hi Frank, Let's split your use cases in two: 1) Inserting elements using Oxygen's actions (toolbars, menus) 2) Inserting elements using the content completion window. 1) Let's take table insertion for example: If you edit your DITA framework extension that is defined in the Preferences->"Document Type Association" page, it has an "Author=>Actions" tab. If you edit the action "insert.table", it calls an operation named "ro.sync.ecss.extensions.dita.topic.table.InsertTableOperation" with certain parameters. One of the parameters is named "cellFragment", you can set its value to "

". There are other ways to change a table, for example insert a new column, insert a new row. So actions like "insert.table.row.below" or "insert.table.column.after" which also need to be changed accordingly. 2) Inserting elements like using the content completion window. Your DITA extension framework customization can contain a "cc_config.xml" file which defines that for certain elements, if they are inserted, another element should be inserted inside them as well: https://www.oxygenxml.com/doc/ug-editor/topics/configure-elements-attr-cc-individually.html#configure-elements-attr-cc-individually__examples_configuring_elements Hope this helps. Regards, Radu Radu Coravu Oxygen XML Editor On 1/24/23 11:49, Frank Dissinger wrote: > > Hi list, > > > Whenever this is valid, I wrap text in a

element. I would like > oXygen to automatically insert

as a child element when inserting > , (for the table cells of course), , > , ... and many more. How do I do this? > > > Regards, > > Frank > > -- > > *Frank Dissinger* > > Documentation Manager > > .................................................................... > > *CGS Publishing Technologies International GmbH* > > *Email *frank.dissinger at cgs-oris.com | *Web* www.cgs-oris.com > CGS ORIS - Homepage www.cgs-oris.com Smart software solutions & media for the printing and packaging industry. Simple to use, for all of your needs related to color management, proofing, prototyping and certification. > > *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany > > *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 > > *Commercial register* Offenbach, HRB no. 21495 > > *Managing directors* Bernd R?ckert, Christoph Thommessen > > > https://www.cgs-oris.com/Signatur.png [https://www.cgs-oris.com/Signatur.png] [https://www.cgs-oris.com/media/k2/items/cache/b689fad0280b286c898256c8d3b6ee9e_M.jpg] CGS ORIS - Signatur www.cgs-oris.com Hainburg, Germany (December 13, 2022) ? Last week CGS ORIS already released new versions of its proofing and prototyping solutions: Now the updates of the color management applications for four- and multi-color printing are available, too. PRESS MATCHER 4.2 and X GAMUT 4.2 contain a great amount of... > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > https://www.oxygenxml.com/mailman/listinfo/oxygen-user -------------- next part -------------- An HTML attachment was scrubbed... URL: ------------------------------ Message: 2 Date: Wed, 25 Jan 2023 11:38:18 +0200 From: "Oxygen XML Editor Support (Radu Coravu)" To: oxygen-user at oxygenxml.com Subject: Re: [oXygen-user] Conkeyrefs not rendered on map-level Message-ID: Content-Type: text/plain; charset="utf-8"; Format="flowed" Hi Sasha, Usually problems can be either editing problems or publishing problems or problems which affect both editing and publishing. > Currently I want to switch from Oxygen 23 to 25.0 including an > extracted build-in DITA-OT3.x with custom pdf2 plugin but In the > updated?environment we have the following effect: > > > In almost all DITAVAL contexts (we have a lot) the variable texts are > not rendered into the DITA Map anymore without error messages. > This looks like an editing problem, in such cases we are interested in knowing what those particular error messages state. Ideally we would also have a small sample DITA project to reproduce the problem on our side. You can do this with a separate off list email. > > Just a few DITAVAL contexts produce output as before. > By output do you mean publishing? > > In published content topics/chapters everything is fine -> conkeyrefs > are resolved. > So the publishing is fine? Only the DITA Maps Manager has problems displaying the keyrefs? > > Also Oxygen Author WYSIWYG resolves all conkeyrefs as expected in > topics and in the map. > Ok, so the main editor area seems to work. > > > In the pre-processing output (?_MERGED.xml) the specific map elements > do not contain the variable text but conref attributes with wrong > transformed links: > The conrefs contain ?path/topic.dita#ElementID? instead of > ?path/ditatopic.dita#topicID/ElementID? > > In correct output contexts there are no conref attrubtes rendered into > output, just the elements with resolved text. > So there is also a publishing problem as well? Oxygen 25.0 comes bundled with DITA OT 3.7 from what I remember, maybe there is some incompatibility between your custom PDF plugin and DITA OT 3.7. Do you have also a DITA DTD specialization plugin? If so did you install it in the DITA OT bundled with Oxygen 25.0? > I guess, there could be many different reasons for this. I tried a lot > and couldn?t reproduced the problem in a simple test project. I also > did?nt manage to simplify our project to a working state. > I somehow suspect you may have some DITA specialization for certain topics. I'm not sure. If you can reproduce about the same problem when editing and when publishing, the problem is usually somewhere in the DITA Open Toolkit publishing engine, some plugin which may not be installed. Regards, Radu Radu Coravu Oxygen XML Editor On 1/23/23 17:19, Sascha Nothofer wrote: > > Hi DITA & Oxygen Users, > > Currently I want to switch from Oxygen 23 to 25.0 including an > extracted build-in DITA-OT3.x with custom pdf2 plugin but In the > updated?environment we have the following effect: > > > In almost all DITAVAL contexts (we have a lot) the variable texts are > not rendered into the DITA Map anymore without error messages. Just a > few DITAVAL contexts produce output as before. > > In published content topics/chapters everything is fine -> conkeyrefs > are resolved. Also Oxygen Author WYSIWYG resolves all conkeyrefs as > expected in topics and in the map. > > In the pre-processing output (?_MERGED.xml) the specific map elements > do not contain the variable text but conref attributes with wrong > transformed links: > The conrefs contain ?path/topic.dita#ElementID? instead of > ?path/ditatopic.dita#topicID/ElementID? > > In correct output contexts there are no conref attrubtes rendered into > output, just the elements with resolved text. > > I guess, there could be many different reasons for this. I tried a lot > and couldn?t reproduced the problem in a simple test project. I also > did?nt manage to simplify our project to a working state. > > > Maybe someone experienced a similar effect (conkeyrefs in topic > content resolved but not in map title/data elements) and can provide > hints for a possible cause and or solution. > > What I can say so far: > - It has nothing todowith the custom pdfplugin: same problem with > build-in pdf and html transformation scenarios. > - We are using only standard pdf parameter settings. > - It has nothing todo with filtering directly because I have deleted > all filter atts in the conkeyref chain in scope of the problem. Also > our props attribute specialization does not affect the problem. > - We do not use: > > - ?- scoped keys and ditavalref in maps > > -? - push-replace > > -? Same problem with and without DITA project files. > > - Problem is not caused by DITA topic content structures (I have > copied content from working to non-working context. > > I'm curious if someone has already seen something like this. > > Best Regards > > Sascha > > > > > > Kontakt | Contact Rein Medical GmbH > T: +49 2161 6984 - 131 Monforts Quartier 23 > *M:* > Schwalmstra?e 301 > *F:* +49 2161 6984 - 231 41238 M?nchengladbach > *E:* sascha.nothofer at reinmedical.com Germany > *W:* https://www.reinmedical.com > *S:* > > > > Rechtliches | Legal > Gesch?ftsf?hrer: Dieter Cyganek, Stephan Rein, Thorsten Godulla, > Hisakazu Harada, Akira Suzuki > Registergericht: Amtsgericht M?nchengladbach HRB 15810 > Ust.-ID-Nr.: DE811604837 > WEE-Reg.-Nr.: DE 59730470 > Diese E-Mail ist ausschlie?lich f?r den angegebenen Empf?nger > bestimmt. Sie kann Informationen enthalten, welche vertraulich sind > und durch die Verschwiegenheit gesch?tzt werden. Diese E-Mail darf nur > von diesem Empf?nger gelesen, ausgedruckt, aufbewahrt, kopiert und > verbreitet werden. Sollten Sie diese Mitteilung irrt?mlich erhalten > haben, bitten wir Sie, den Absender zu benachrichtigen, s?mtliche > Ausdrucke zu vernichten und diese E-Mail zu l?schen. > This message may contain confidential information and is intended only > for the specified recipient. If you are not the specified recipient > you should not disseminate, distribute or copy this e-mail. Please > notify the specified sender immediately by e-mail if you have received > this e-mail by mistake and delete this e-mail from your system. > > > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > https://www.oxygenxml.com/mailman/listinfo/oxygen-user -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image7e18df.png Type: image/png Size: 7476 bytes Desc: not available URL: ------------------------------ Subject: Digest Footer _______________________________________________ oXygen-user mailing list oXygen-user at oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user ------------------------------ End of oXygen-user Digest, Vol 139, Issue 17 ******************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image690462.png Type: image/png Size: 7476 bytes Desc: image690462.png URL: From support at oxygenxml.com Thu Feb 2 03:24:59 2023 From: support at oxygenxml.com (Oxygen XML Editor Support (Radu Coravu)) Date: Thu, 2 Feb 2023 11:24:59 +0200 Subject: [oXygen-user] Conkeyrefs not rendered on map-level In-Reply-To: References: Message-ID: <1f806080-93fe-f226-75d3-d6ddd6bebcb6@oxygenxml.com> Hi Sasha, Thanks for investigating this, I can reproduce the problem and added a DITA OT issue with samples for it: https://github.com/dita-ot/dita-ot/issues/4117 Regards, Radu Radu Coravu Oxygen XML Editor On 2/2/23 10:28, Sascha Nothofer wrote: > > Hi Radu, > > > thanks for your analysis of my issue! > Your questions and thoughts helped me to track down the problem. > > If you try to publish a map containing a title (or data element) with > a conkeyref like this > <ph conkeyref="key/productName"/>... > and if the reused element contains another element with an id > attribute like this > ...... > then the DITA OT 3.7.3 (Oxygen 25.0 build in) is not able to resolve > the reference on map level. > For example the pdf front page title does not contain the referenced > content. > > If you use conref instead, everything is fine. > Conkeyrefs from topic to topic are also resolved as expected. > > It looks like a OT bug. > > > Thx! > Sascha > > > > Currently I want to switch from Oxygen 23 to 25.0 including an > > extracted build-in DITA-OT3.x with custom pdf2 plugin but In the > > updated?environment we have the following effect: > > > > > > In almost all DITAVAL contexts (we have a lot) the variable texts are > > not rendered into the DITA Map anymore without error messages. > > > This looks like an editing problem, in such cases we are interested in > knowing what those particular error messages state. Ideally we would > also have a small sample DITA project to reproduce the problem on our > side. You can do this with a separate off list email. > > > > > > Just a few DITAVAL contexts produce output as before. > > > By output do you mean publishing? > > yes, html or pdf. We have no problems in Oxygen/Author. All references > are displayed fine. > > > > > > > In published content topics/chapters everything is fine -> conkeyrefs > > are resolved. > > > So the publishing is fine? Only the DITA Maps Manager has problems > displaying the keyrefs? > No problem in Maps Manager. The problem is only in preprocessing > output and following. > > > > Also Oxygen Author WYSIWYG resolves all conkeyrefs as expected in > > topics and in the map. > > > Ok, so the main editor area seems to work. > > > > > > In the pre-processing output (?_MERGED.xml) the specific map elements > > do not contain the variable text but conref attributes with wrong > > transformed links: > > The conrefs contain ?path/topic.dita#ElementID? instead of > > ?path/ditatopic.dita#topicID/ElementID? > > > > In correct output contexts there are no conref attrubtes rendered into > > output, just the elements with resolved text. > > > So there is also a publishing problem as well? Oxygen 25.0 comes bundled > with DITA OT 3.7 from what I remember, maybe there is some > incompatibility between your custom PDF plugin and DITA OT 3.7. > > Do you have also a DITA DTD specialization plugin? If so did you install > it in the DITA OT bundled with Oxygen 25.0? > > yes > > > I guess, there could be many different reasons for this. I tried a lot > > and couldn?t reproduced the problem in a simple test project. I also > > did?nt manage to simplify our project to a working state. > > > I somehow suspect you may have some DITA specialization for certain > topics. I'm not sure. If you can reproduce about the same problem when > editing and when publishing, the problem is usually somewhere in the > DITA Open Toolkit publishing engine, some plugin which may not be > installed. > > > Regards, > > Radu > > Radu Coravu > Oxygen XML Editor > > > > > > > Kontakt | Contact Rein Medical GmbH > T: +49 2161 6984 - 131 Monforts Quartier 23 > *M:* > Schwalmstra?e 301 > *F:* +49 2161 6984 - 231 41238 M?nchengladbach > *E:* sascha.nothofer at reinmedical.com Germany > *W:* https://www.reinmedical.com > *S:* > > > > Rechtliches | Legal > Gesch?ftsf?hrer: Dieter Cyganek, Stephan Rein, Thorsten Godulla, > Hisakazu Harada, Akira Suzuki > Registergericht: Amtsgericht M?nchengladbach HRB 15810 > Ust.-ID-Nr.: DE811604837 > WEE-Reg.-Nr.: DE 59730470 > Diese E-Mail ist ausschlie?lich f?r den angegebenen Empf?nger > bestimmt. Sie kann Informationen enthalten, welche vertraulich sind > und durch die Verschwiegenheit gesch?tzt werden. Diese E-Mail darf nur > von diesem Empf?nger gelesen, ausgedruckt, aufbewahrt, kopiert und > verbreitet werden. Sollten Sie diese Mitteilung irrt?mlich erhalten > haben, bitten wir Sie, den Absender zu benachrichtigen, s?mtliche > Ausdrucke zu vernichten und diese E-Mail zu l?schen. > This message may contain confidential information and is intended only > for the specified recipient. If you are not the specified recipient > you should not disseminate, distribute or copy this e-mail. Please > notify the specified sender immediately by e-mail if you have received > this e-mail by mistake and delete this e-mail from your system. > > > ------------------------------------------------------------------------ > *Von:* oXygen-user im Auftrag von > oxygen-user-request at oxygenxml.com > *Gesendet:* Mittwoch, 25. Januar 2023 19:00 > *An:* oxygen-user at oxygenxml.com > *Betreff:* oXygen-user Digest, Vol 139, Issue 17 > Send oXygen-user mailing list submissions to > oxygen-user at oxygenxml.com > > To subscribe or unsubscribe via the World Wide Web, visit > https://www.oxygenxml.com/mailman/listinfo/oxygen-user > or, via email, send a message with subject or body 'help' to > oxygen-user-request at oxygenxml.com > > You can reach the person managing the list at > oxygen-user-owner at oxygenxml.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of oXygen-user digest..." > > > Today's Topics: > > ?? 1. Re: Inserting child elements automatically > ????? (Oxygen XML Editor Support (Radu Coravu)) > ?? 2. Re: Conkeyrefs not rendered on map-level > ????? (Oxygen XML Editor Support (Radu Coravu)) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 25 Jan 2023 08:06:34 +0200 > From: "Oxygen XML Editor Support (Radu Coravu)" > > To: oxygen-user at oxygenxml.com > Subject: Re: [oXygen-user] Inserting child elements automatically > Message-ID: > Content-Type: text/plain; charset="utf-8"; Format="flowed" > > Hi Frank, > > > Let's split your use cases in two: > > 1) Inserting elements using Oxygen's actions (toolbars, menus) > > 2) Inserting elements using the content completion window. > > > 1) > > > Let's take table insertion for example: > > > If you edit your DITA framework extension that is defined in the > Preferences->"Document Type Association" page, it has an > "Author=>Actions" tab. > > If you edit the action "insert.table", it calls an operation named > "ro.sync.ecss.extensions.dita.topic.table.InsertTableOperation" with > certain parameters. One of the parameters is named "cellFragment", you > can set its value to "

". > > There are other ways to change a table, for example insert a new column, > insert a new row. So actions like "insert.table.row.below" or > "insert.table.column.after" which also need to be changed accordingly. > > > 2) Inserting elements like using the content completion window. > > Your DITA extension framework customization can contain a > "cc_config.xml" file which defines that for certain elements, if they > are inserted, another element should be inserted inside them as well: > > https://www.oxygenxml.com/doc/ug-editor/topics/configure-elements-attr-cc-individually.html#configure-elements-attr-cc-individually__examples_configuring_elements > > > Hope this helps. > > > Regards, > > Radu > > > Radu Coravu > Oxygen XML Editor > > On 1/24/23 11:49, Frank Dissinger wrote: > > > > Hi list, > > > > > > Whenever this is valid, I wrap text in a

element. I would like > > oXygen to automatically insert

as a child element when inserting > >

, (for the table cells of course), , > > , ... and many more. How do I do this? > > > > > > Regards, > > > > Frank > > > > -- > > > > *Frank Dissinger* > > > > Documentation Manager > > > > .................................................................... > > > > *CGS Publishing Technologies International GmbH* > > > > *Email *frank.dissinger at cgs-oris.com | *Web* www.cgs-oris.com > > > > CGS ORIS - Homepage > www.cgs-oris.com > Smart software solutions & media for the printing and packaging > industry. Simple to use, for all of your needs related to color > management, proofing, prototyping and certification. > > > > > > *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany > > > > *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 > > > > *Commercial register* Offenbach, HRB no. 21495 > > > > *Managing directors* Bernd R?ckert, Christoph Thommessen > > > > > > https://www.cgs-oris.com/Signatur.png > > > > > CGS ORIS - Signatur > www.cgs-oris.com > Hainburg, Germany (December 13, 2022) ? Last week CGS ORIS already > released new versions of its proofing and prototyping solutions: Now > the updates of the color management applications for four- and > multi-color printing are available, too. PRESS MATCHER 4.2 and X GAMUT > 4.2 contain a great amount of... > > > > > > _______________________________________________ > > oXygen-user mailing list > > oXygen-user at oxygenxml.com > > https://www.oxygenxml.com/mailman/listinfo/oxygen-user > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > > ------------------------------ > > Message: 2 > Date: Wed, 25 Jan 2023 11:38:18 +0200 > From: "Oxygen XML Editor Support (Radu Coravu)" > > To: oxygen-user at oxygenxml.com > Subject: Re: [oXygen-user] Conkeyrefs not rendered on map-level > Message-ID: > Content-Type: text/plain; charset="utf-8"; Format="flowed" > > Hi Sasha, > > > Usually problems can be either editing problems or publishing problems > or problems which affect both editing and publishing. > > > > Currently I want to switch from Oxygen 23 to 25.0 including an > > extracted build-in DITA-OT3.x with custom pdf2 plugin but In the > > updated?environment we have the following effect: > > > > > > In almost all DITAVAL contexts (we have a lot) the variable texts are > > not rendered into the DITA Map anymore without error messages. > > > This looks like an editing problem, in such cases we are interested in > knowing what those particular error messages state. Ideally we would > also have a small sample DITA project to reproduce the problem on our > side. You can do this with a separate off list email. > > > > Just a few DITAVAL contexts produce output as before. > > > By output do you mean publishing? > > > > In published content topics/chapters everything is fine -> conkeyrefs > > are resolved. > > > So the publishing is fine? Only the DITA Maps Manager has problems > displaying the keyrefs? > > > > Also Oxygen Author WYSIWYG resolves all conkeyrefs as expected in > > topics and in the map. > > > Ok, so the main editor area seems to work. > > > > > > In the pre-processing output (?_MERGED.xml) the specific map elements > > do not contain the variable text but conref attributes with wrong > > transformed links: > > The conrefs contain ?path/topic.dita#ElementID? instead of > > ?path/ditatopic.dita#topicID/ElementID? > > > > In correct output contexts there are no conref attrubtes rendered into > > output, just the elements with resolved text. > > > So there is also a publishing problem as well? Oxygen 25.0 comes bundled > with DITA OT 3.7 from what I remember, maybe there is some > incompatibility between your custom PDF plugin and DITA OT 3.7. > > Do you have also a DITA DTD specialization plugin? If so did you install > it in the DITA OT bundled with Oxygen 25.0? > > > I guess, there could be many different reasons for this. I tried a lot > > and couldn?t reproduced the problem in a simple test project. I also > > did?nt manage to simplify our project to a working state. > > > I somehow suspect you may have some DITA specialization for certain > topics. I'm not sure. If you can reproduce about the same problem when > editing and when publishing, the problem is usually somewhere in the > DITA Open Toolkit publishing engine, some plugin which may not be > installed. > > > Regards, > > Radu > > Radu Coravu > Oxygen XML Editor > > On 1/23/23 17:19, Sascha Nothofer wrote: > > > > Hi DITA & Oxygen Users, > > > > Currently I want to switch from Oxygen 23 to 25.0 including an > > extracted build-in DITA-OT3.x with custom pdf2 plugin but In the > > updated?environment we have the following effect: > > > > > > In almost all DITAVAL contexts (we have a lot) the variable texts are > > not rendered into the DITA Map anymore without error messages. Just a > > few DITAVAL contexts produce output as before. > > > > In published content topics/chapters everything is fine -> conkeyrefs > > are resolved. Also Oxygen Author WYSIWYG resolves all conkeyrefs as > > expected in topics and in the map. > > > > In the pre-processing output (?_MERGED.xml) the specific map elements > > do not contain the variable text but conref attributes with wrong > > transformed links: > > The conrefs contain ?path/topic.dita#ElementID? instead of > > ?path/ditatopic.dita#topicID/ElementID? > > > > In correct output contexts there are no conref attrubtes rendered into > > output, just the elements with resolved text. > > > > I guess, there could be many different reasons for this. I tried a lot > > and couldn?t reproduced the problem in a simple test project. I also > > did?nt manage to simplify our project to a working state. > > > > > > Maybe someone experienced a similar effect (conkeyrefs in topic > > content resolved but not in map title/data elements) and can provide > > hints for a possible cause and or solution. > > > > What I can say so far: > > - It has nothing todowith the custom pdfplugin: same problem with > > build-in pdf and html transformation scenarios. > > - We are using only standard pdf parameter settings. > > - It has nothing todo with filtering directly because I have deleted > > all filter atts in the conkeyref chain in scope of the problem. Also > > our props attribute specialization does not affect the problem. > > - We do not use: > > > > - ?- scoped keys and ditavalref in maps > > > > -? - push-replace > > > > -? Same problem with and without DITA project files. > > > > - Problem is not caused by DITA topic content structures (I have > > copied content from working to non-working context. > > > > I'm curious if someone has already seen something like this. > > > > Best Regards > > > > Sascha > > > > > > > > > >??????? > > Kontakt | Contact????? Rein Medical GmbH > > T:???? +49 2161 6984 - 131????? Monforts Quartier 23 > > *M:* > >??????? Schwalmstra?e 301 > > *F:*?? +49 2161 6984 - 231????? 41238 M?nchengladbach > > *E:* sascha.nothofer at reinmedical.com? Germany > > *W:* https://www.reinmedical.com > > *S:* > > > > > > > > Rechtliches | Legal > > Gesch?ftsf?hrer:?????? Dieter Cyganek, Stephan Rein, Thorsten Godulla, > > Hisakazu Harada, Akira Suzuki > > Registergericht:?????? Amtsgericht M?nchengladbach HRB 15810 > > Ust.-ID-Nr.:?? DE811604837 > > WEE-Reg.-Nr.:? DE 59730470 > > Diese E-Mail ist ausschlie?lich f?r den angegebenen Empf?nger > > bestimmt. Sie kann Informationen enthalten, welche vertraulich sind > > und durch die Verschwiegenheit gesch?tzt werden. Diese E-Mail darf nur > > von diesem Empf?nger gelesen, ausgedruckt, aufbewahrt, kopiert und > > verbreitet werden. Sollten Sie diese Mitteilung irrt?mlich erhalten > > haben, bitten wir Sie, den Absender zu benachrichtigen, s?mtliche > > Ausdrucke zu vernichten und diese E-Mail zu l?schen. > > This message may contain confidential information and is intended only > > for the specified recipient. If you are not the specified recipient > > you should not disseminate, distribute or copy this e-mail. Please > > notify the specified sender immediately by e-mail if you have received > > this e-mail by mistake and delete this e-mail from your system. > > > > > > > > _______________________________________________ > > oXygen-user mailing list > > oXygen-user at oxygenxml.com > > https://www.oxygenxml.com/mailman/listinfo/oxygen-user > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: image7e18df.png > Type: image/png > Size: 7476 bytes > Desc: not available > URL: > > > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > https://www.oxygenxml.com/mailman/listinfo/oxygen-user > > > ------------------------------ > > End of oXygen-user Digest, Vol 139, Issue 17 > ******************************************** > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > https://www.oxygenxml.com/mailman/listinfo/oxygen-user -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image690462.png Type: image/png Size: 7476 bytes Desc: not available URL: From frank.dissinger at cgs-oris.com Thu Feb 9 03:11:42 2023 From: frank.dissinger at cgs-oris.com (Frank Dissinger) Date: Thu, 9 Feb 2023 10:11:42 +0100 Subject: [oXygen-user] DITA footnotes in Author mode Message-ID: 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.dissinger at cgs-oris.com | *Web* www.cgs-oris.com *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 *Commercial register* Offenbach, HRB no. 21495 *Managing directors* Bernd R?ckert, Christoph Thommessen https://www.cgs-oris.com/Signatur.png -------------- next part -------------- An HTML attachment was scrubbed... URL: From george at oxygenxml.com Thu Feb 9 03:48:53 2023 From: george at oxygenxml.com (George Bina) Date: Thu, 9 Feb 2023 11:48:53 +0200 Subject: [oXygen-user] DITA footnotes in Author mode In-Reply-To: References: Message-ID: <5608dae9-74fb-315f-b648-52f53b324bae@oxygenxml.com> Hi Frank, I did something for a variant of TEI vocabulary used for articles, you can find the project https://github.com/georgebina/jteiPlus The notes are numbered and set on the right side as callouts and collapesed by default, with an inline action to be expanded. The relevant CSS is https://github.com/georgebina/jteiPlus/blob/master/frameworks/tei-custom/css/sideNotes.css and you can try it online using the web author at https://www.oxygenxml.com/oxygen-xml-web-author/app/oxygen.html?url=webdav-https%3A%2F%2Fwww.oxygenxml.com%2Foxygen-xml-web-author%2Fplugins-dispatcher%2Fwebdav-server%2Fjtei%2FDEMOjtei-8-eide-source.xml&stylesheet-titles=Footnotes&author=Anonymous&highlightedActions=%5B%7B%22id%22%3A%22Author%2FShareSession%22%7D%5D I used z-index to bring the note you have the mouse over to the front :). Hope this example helps! Best Regards, George -- George Cristian Bina XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 2/9/23 11:11 AM, Frank Dissinger wrote: > 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.dissinger at cgs-oris.com | *Web* www.cgs-oris.com > > > *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany > > *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 > > *Commercial register* Offenbach, HRB no. 21495 > > *Managing directors* Bernd R?ckert, Christoph Thommessen > > > https://www.cgs-oris.com/Signatur.png > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > https://www.oxygenxml.com/mailman/listinfo/oxygen-user From frank.dissinger at cgs-oris.com Thu Feb 9 07:08:03 2023 From: frank.dissinger at cgs-oris.com (Frank Dissinger) Date: Thu, 9 Feb 2023 14:08:03 +0100 Subject: [oXygen-user] Image and table width in Author mode Message-ID: <5e951c8a-c4be-314d-21f4-a3314949d860@cgs-oris.com> 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.dissinger at cgs-oris.com | *Web* www.cgs-oris.com *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 *Commercial register* Offenbach, HRB no. 21495 *Managing directors* Bernd R?ckert, Christoph Thommessen https://www.cgs-oris.com/Signatur.png -------------- next part -------------- An HTML attachment was scrubbed... URL: From support at oxygenxml.com Fri Feb 10 01:42:18 2023 From: support at oxygenxml.com (Oxygen XML Editor Support (Radu Coravu)) Date: Fri, 10 Feb 2023 09:42:18 +0200 Subject: [oXygen-user] Image and table width in Author mode In-Reply-To: <5e951c8a-c4be-314d-21f4-a3314949d860@cgs-oris.com> References: <5e951c8a-c4be-314d-21f4-a3314949d860@cgs-oris.com> Message-ID: Hi Frank, Please see some remarks below: > All my images have PNG format and an "otherprops="fmdpi:xxx" attribute > where xxx is usually 150, in some cases 140, 160 or similar. > FrameMaker, my previous XML editor, honors this attribute and scales > the images appropriately. > Well it honors its own Frame specific custom attributes which are not defined in the DITA specification. Are you still publishing to PDF using Frame? > I notice that oXygen displays images bigger in its editor compared to > 150 dpi images in FrameMaker. > Oxygen's default DPI is about 96 which is closer to the Web output. We have some CSS settings to change the DPI when publishing DITA to PDF using our CSS based engine: https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/dcpp_images.html but we do not have settings to change the DPI in the visual editor on a per-image base. > I would need to reduce all images to about 66% of their size (= by > factor 1.5). Unfortunately I do not know of any CSS style which scales > images based on their own pixel size. Percentage values in CSS apply > to the widht or height of the viewport. > Yes, I also do not see a possible way to do this with CSS. DITA elements allow setting the width or scale attributes on them. Like: > and Oxygen takes this into account. But we take it into account because we know it's DITA, not because of a certain CSS rule which could be modified to cover another attribute. > > > Likewise, I would? like to make sure that table columns are not too > narrow on the PDF pages. > Most XML editors are not what you see is what you get especially because XML can be published to multiple formats. The PDF may have a different font, it splits into pages, it has a certain page width... best you can do is to try and make things look more like the published content in the visual editor and check the PDF from time to time. Regards, Radu Radu Coravu Oxygen XML Editor On 2/9/23 15:08, Frank Dissinger wrote: > > Hi list, > > > I publish DITA content as online help and PDF. In oXygen's Author mode > I would like to make sure that images do not exceed the width of the > A4-sized PDF pages. Sometimes I also place two or more inline images > side by side in a paragraph and want to make sure if all of them fit > on the line or if there is a line break between them. > > > All my images have PNG format and an "otherprops="fmdpi:xxx" attribute > where xxx is usually 150, in some cases 140, 160 or similar. > FrameMaker, my previous XML editor, honors this attribute and scales > the images appropriately. > > > I notice that oXygen displays images bigger in its editor compared to > 150 dpi images in FrameMaker. I would need to reduce all images to > about 66% of their size (= by factor 1.5). Unfortunately I do not know > of any CSS style which scales images based on their own pixel size. > Percentage values in CSS apply to the widht or height of the viewport. > > > Likewise, I would? like to make sure that table columns are not too > narrow on the PDF pages. > > > What can I do? Any ideas are welcome. > > > Regards, > > Frank > > -- > > *Frank Dissinger* > > Documentation Manager > > .................................................................... > > *CGS Publishing Technologies International GmbH* > > *Email *frank.dissinger at cgs-oris.com | *Web* www.cgs-oris.com > > > *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany > > *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 > > *Commercial register* Offenbach, HRB no. 21495 > > *Managing directors* Bernd R?ckert, Christoph Thommessen > > > https://www.cgs-oris.com/Signatur.png > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > https://www.oxygenxml.com/mailman/listinfo/oxygen-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From kris at eberleinconsulting.com Fri Feb 10 03:19:42 2023 From: kris at eberleinconsulting.com (Kristen James Eberlein) Date: Fri, 10 Feb 2023 09:19:42 +0000 Subject: [oXygen-user] Image and table width in Author mode In-Reply-To: <5e951c8a-c4be-314d-21f4-a3314949d860@cgs-oris.com> References: <5e951c8a-c4be-314d-21f4-a3314949d860@cgs-oris.com> Message-ID: Frank, I think you are trying to make Oxygen Editor look and function just like FrameMaker. That?s not realistic or doable. What are the use cases or business requirements that caused you to shift to using Oxygen as an authoring and editing environment? Is shifting back to FrameMaker an option for you? You cannot expect to use FrameMaker-specific markup (such as "otherprops="fmdpi:xxx") and have it recognized in Oxygen Editor. Best, Kris Kristen James Eberlein Chair, OASIS DITA Technical Committee Owner, Eberlein Consulting LLC kris at eberleinconsulting.com Skype: kriseberlein; voice: +1 (919) 622-1501 From: oXygen-user On Behalf Of Frank Dissinger Sent: Thursday, February 9, 2023 8:08 AM To: Oxygen User Mailing List Subject: [oXygen-user] Image and table width in Author mode 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.dissinger at cgs-oris.com | Web www.cgs-oris.com Address Kettelerstr. 24 | D-63512 Hainburg | Germany Phone +49 6182 9626-27 | Fax +49 6182 9626-99 Commercial register Offenbach, HRB no. 21495 Managing directors Bernd R?ckert, Christoph Thommessen [https://www.cgs-oris.com/Signatur.png] -------------- next part -------------- An HTML attachment was scrubbed... URL: From tgraham at antenna.co.jp Fri Feb 10 04:48:05 2023 From: tgraham at antenna.co.jp (Tony Graham) Date: Fri, 10 Feb 2023 10:48:05 +0000 Subject: [oXygen-user] Image and table width in Author mode In-Reply-To: <5e951c8a-c4be-314d-21f4-a3314949d860@cgs-oris.com> References: <5e951c8a-c4be-314d-21f4-a3314949d860@cgs-oris.com> Message-ID: On 09/02/2023 13:08, Frank Dissinger wrote: ... > 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. FrameMaker honours it because it is FrameMaker-specific. > 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. There was an 'image-resolution' property in a previous CSS GCPM WD [1], but it's not in any current CSS spec. It let you specify whether to use the DPI in the image, a specified DPI, or 'CSS pixels'. Antenna House Formatter implements it [2] (also as 'axf:image-resolution' in XSL-FO). > Likewise, I would like to make sure that table columns are not too > narrow on the PDF pages. You might need to start a new thread for that, because everyone so far has fixated on the image resolution question. Regards, Tony Graham. -- Senior Architect XML Division Antenna House, Inc. ---- Skerries, Ireland tgraham at antenna.co.jp [1] https://www.w3.org/TR/2010/WD-css3-gcpm-20100608/#image-resolution [2] https://www.antenna.co.jp/AHF/help/en/ahf-ext.html#axf.image-resolution From frank.dissinger at cgs-oris.com Mon Feb 13 06:55:50 2023 From: frank.dissinger at cgs-oris.com (Frank Dissinger) Date: Mon, 13 Feb 2023 13:55:50 +0100 Subject: [oXygen-user] Image and table width in Author mode In-Reply-To: References: <5e951c8a-c4be-314d-21f4-a3314949d860@cgs-oris.com> Message-ID: <60043831-c10c-6dac-d74b-85937b4f9dd1@cgs-oris.com> 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 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 >> >> ------------------------------------------------------------------------ Am 10.02.2023 um 11:48 schrieb Tony Graham: > On 09/02/2023 13:08, Frank Dissinger wrote: > ... >> 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. > > FrameMaker honours it because it is FrameMaker-specific. > >> 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. > > There was an 'image-resolution' property in a previous CSS GCPM WD [1], > but it's not in any current CSS spec.? It let you specify whether to use > the DPI in the image, a specified DPI, or 'CSS pixels'. > > Antenna House Formatter implements it [2] (also as > 'axf:image-resolution' in XSL-FO). > >> Likewise, I would? like to make sure that table columns are not too >> narrow on the PDF pages. > > You might need to start a new thread for that, because everyone so far > has fixated on the image resolution question. > > Regards, > > > Tony Graham. -- *Frank Dissinger* Documentation Manager .................................................................... *CGS Publishing Technologies International GmbH* *Email *frank.dissinger at cgs-oris.com | *Web* www.cgs-oris.com *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 *Commercial register* Offenbach, HRB no. 21495 *Managing directors* Bernd R?ckert, Christoph Thommessen https://www.cgs-oris.com/Signatur.png -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank.dissinger at cgs-oris.com Mon Feb 13 10:36:44 2023 From: frank.dissinger at cgs-oris.com (Frank Dissinger) Date: Mon, 13 Feb 2023 17:36:44 +0100 Subject: [oXygen-user] Inserting current date into DITA file Message-ID: <5bd6cbba-e3ee-5776-0a64-285a9d293390@cgs-oris.com> 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.dissinger at cgs-oris.com | *Web* www.cgs-oris.com *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 *Commercial register* Offenbach, HRB no. 21495 *Managing directors* Bernd R?ckert, Christoph Thommessen https://www.cgs-oris.com/Signatur.png -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank.dissinger at cgs-oris.com Mon Feb 13 11:22:43 2023 From: frank.dissinger at cgs-oris.com (Frank Dissinger) Date: Mon, 13 Feb 2023 18:22:43 +0100 Subject: [oXygen-user] Hyphenation in Author mode? Message-ID: Can words be hyphenated automatically in Author mode? -- *Frank Dissinger* Documentation Manager .................................................................... *CGS Publishing Technologies International GmbH* *Email *frank.dissinger at cgs-oris.com | *Web* www.cgs-oris.com *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 *Commercial register* Offenbach, HRB no. 21495 *Managing directors* Bernd R?ckert, Christoph Thommessen https://www.cgs-oris.com/Signatur.png -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank.dissinger at cgs-oris.com Mon Feb 13 11:28:05 2023 From: frank.dissinger at cgs-oris.com (Frank Dissinger) Date: Mon, 13 Feb 2023 18:28:05 +0100 Subject: [oXygen-user] Adding attributes to images inserted from DITA Reusable Components view Message-ID: <69d699b0-e0fc-3f7e-9fdd-d94021132ad3@cgs-oris.com> 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.dissinger at cgs-oris.com | *Web* www.cgs-oris.com *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 *Commercial register* Offenbach, HRB no. 21495 *Managing directors* Bernd R?ckert, Christoph Thommessen https://www.cgs-oris.com/Signatur.png -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank.dissinger at cgs-oris.com Mon Feb 13 11:32:00 2023 From: frank.dissinger at cgs-oris.com (Frank Dissinger) Date: Mon, 13 Feb 2023 18:32:00 +0100 Subject: [oXygen-user] Expand/Collapse all with one cliock Message-ID: <8e218da9-c418-97ce-294e-aa9a47ceeb66@cgs-oris.com> 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.dissinger at cgs-oris.com | *Web* www.cgs-oris.com *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 *Commercial register* Offenbach, HRB no. 21495 *Managing directors* Bernd R?ckert, Christoph Thommessen https://www.cgs-oris.com/Signatur.png -------------- next part -------------- An HTML attachment was scrubbed... URL: From support at oxygenxml.com Tue Feb 14 00:03:11 2023 From: support at oxygenxml.com (Oxygen XML Editor Support (Radu Coravu)) Date: Tue, 14 Feb 2023 08:03:11 +0200 Subject: [oXygen-user] Image and table width in Author mode In-Reply-To: <60043831-c10c-6dac-d74b-85937b4f9dd1@cgs-oris.com> References: <5e951c8a-c4be-314d-21f4-a3314949d860@cgs-oris.com> <60043831-c10c-6dac-d74b-85937b4f9dd1@cgs-oris.com> Message-ID: Hi Frank, So: > The DITA attribute "scale" would do the trick. [But strangely enough > only if set to about "80" %, and not "61" % , which would be the > equivalent to "92/150" dpi). However, I do not want to scale images in > the published output, only in the editor. > In my opinion adding the @scale attribute in the XML document just to make things look in a certain way in the editor is not a good way to proceed. > > The good thing is: MiramoPDF ignores the "scale" attribute and leaves > the images as they are in the PDF. > Looks like a bug in Miramo. > > The bad thing: oXygen applies this scaling in the CHM files (as > expected, of course). > Works as expected. > > > Isn't there any trick to make the oXygen editor believe the "scale" > attribute was set to "80", but without actually applying this > attribute to the dita data? Couldn't this be implemented somehow? > Not yet. Maybe with a Java based plugin a listener could be added to automatically add a default @scale attribute to each image element, such default attributes not being serialized in the final XML content but being taken into account... but this would need to be pursued further... For our CSS-based PDF processor we have this "image-resolution" CSS property: https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/dcpp_images.html I added an internal issue based on your feedback to consider taking it into account in the editor as well: ??? EXM-52435 Take into account image-resolution property when displaying images Regards, Radu Radu Coravu Oxygen XML Editor On 2/13/23 14:55, Frank Dissinger wrote: > > Hi Radu, Kris, Stefan and Tony, > > > Thank you for your replies. > > > I do not use FrameMaker anymore, neither for editing nor for > publishing to PDF. I use MiramoPDF for publishing to PDF and oXygen > for publishing to CHM. Shifting back to FM is definitely not an option > for me. > > > The only thing I currently do is compare how DITA files look like in > FM and oXygen to make sure they are presented in a similar way. I must > be sure that the files are OK. If I see them completely differently, I > get confused and start worrying that something has gone wrong... > > > The DITA attribute "scale" would do the trick. [But strangely enough > only if set to about "80" %, and not "61" % , which would be the > equivalent to "92/150" dpi). However, I do not want to scale images in > the published output, only in the editor. The good thing is: MiramoPDF > ignores the "scale" attribute and leaves the images as they are in the > PDF. The bad thing: oXygen applies this scaling in the CHM files (as > expected, of course). > > > Isn't there any trick to make the oXygen editor believe the "scale" > attribute was set to "80", but without actually applying this > attribute to the dita data? Couldn't this be implemented somehow? > > > The use case is: In the editor window I would like to have a good > estimate of how wide images are to see if they exceed the borders of > an A4-sized page. This is especially important when I place multiple > inline images in the same paragraph so that they are shown side by > side. It looks ugly if there is a line break just because one of the > image is a few pixels too wide. In FrameMaker I could see this exactly > and then I would tweak the images a little in Photoshop to cut off a > few pixels... > > > It is good to know that there is an option in MiramoPDF (and other PDF > rendering engines) that scales images automatically down to make them > fit on the page. But this is not applicable to the use case I have > just described. Moreover, the images may get blurred. I always sharpen > them when I scale them down in Photoshop and make sure that text is > still readable. > > > As a workaround, can I display a kind of ruler in the oXygen window? I > would like to see a thin vertical line at a user-defined pixel or mm > position on the right-hand side of the editor window. This line would > mark the end of the text column. I could do this with CSS (fixed > width, border right), but the line shifts to the right if an image is > wider. > > > Best regards, > > Frank > > ------------------------------------------------------------------------ > Am 10.02.2023 um 08:42 schrieb Oxygen XML Editor Support (Radu Coravu): >> >> Hi Frank, >> >> >> Please see some remarks below: >> >>> All my images have PNG format and an "otherprops="fmdpi:xxx" >>> attribute where xxx is usually 150, in some cases 140, 160 or >>> similar. FrameMaker, my previous XML editor, honors this attribute >>> and scales the images appropriately. >>> >> Well it honors its own Frame specific custom attributes which are not >> defined in the DITA specification. >> >> Are you still publishing to PDF using Frame? >> >>> I notice that oXygen displays images bigger in its editor compared >>> to 150 dpi images in FrameMaker. >>> >> Oxygen's default DPI is about 96 which is closer to the Web output. >> >> We have some CSS settings to change the DPI when publishing DITA to >> PDF using our CSS based engine: >> >> https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/dcpp_images.html >> >> but we do not have settings to change the DPI in the visual editor on >> a per-image base. >> >>> I would need to reduce all images to about 66% of their size (= by >>> factor 1.5). Unfortunately I do not know of any CSS style which >>> scales images based on their own pixel size. Percentage values in >>> CSS apply to the widht or height of the viewport. >>> >> Yes, I also do not see a possible way to do this with CSS. DITA >> elements allow setting the width or scale attributes on them. >> Like: >> >>> >> and Oxygen takes this into account. But we take it into account >> because we know it's DITA, not because of a certain CSS rule which >> could be modified to cover another attribute. >>> >>> >>> Likewise, I would? like to make sure that table columns are not too >>> narrow on the PDF pages. >>> >> Most XML editors are not what you see is what you get especially >> because XML can be published to multiple formats. The PDF may have a >> different font, it splits into pages, it has a certain page width... >> best you can do is to try and make things look more like the >> published content in the visual editor and check the PDF from time to >> time. >> >> >> Regards, >> >> Radu >> >> Radu Coravu >> Oxygen XML Editor >> >> >> On 2/9/23 15:08, Frank Dissinger wrote: >>> >>> Hi list, >>> >>> >>> I publish DITA content as online help and PDF. In oXygen's Author >>> mode I would like to make sure that images do not exceed the width >>> of the A4-sized PDF pages. Sometimes I also place two or more inline >>> images side by side in a paragraph and want to make sure if all of >>> them fit on the line or if there is a line break between them. >>> >>> >>> All my images have PNG format and an "otherprops="fmdpi:xxx" >>> attribute where xxx is usually 150, in some cases 140, 160 or >>> similar. FrameMaker, my previous XML editor, honors this attribute >>> and scales the images appropriately. >>> >>> >>> I notice that oXygen displays images bigger in its editor compared >>> to 150 dpi images in FrameMaker. I would need to reduce all images >>> to about 66% of their size (= by factor 1.5). Unfortunately I do not >>> know of any CSS style which scales images based on their own pixel >>> size. Percentage values in CSS apply to the widht or height of the >>> viewport. >>> >>> >>> Likewise, I would? like to make sure that table columns are not too >>> narrow on the PDF pages. >>> >>> >>> What can I do? Any ideas are welcome. >>> >>> >>> Regards, >>> >>> Frank >>> >>> > ------------------------------------------------------------------------ > Am 10.02.2023 um 11:48 schrieb Tony Graham: >> On 09/02/2023 13:08, Frank Dissinger wrote: >> ... >>> 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. >> >> FrameMaker honours it because it is FrameMaker-specific. >> >>> 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. >> >> There was an 'image-resolution' property in a previous CSS GCPM WD [1], >> but it's not in any current CSS spec.? It let you specify whether to use >> the DPI in the image, a specified DPI, or 'CSS pixels'. >> >> Antenna House Formatter implements it [2] (also as >> 'axf:image-resolution' in XSL-FO). >> >>> Likewise, I would? like to make sure that table columns are not too >>> narrow on the PDF pages. >> >> You might need to start a new thread for that, because everyone so far >> has fixated on the image resolution question. >> >> Regards, >> >> >> Tony Graham. > -- > > *Frank Dissinger* > > Documentation Manager > > .................................................................... > > *CGS Publishing Technologies International GmbH* > > *Email *frank.dissinger at cgs-oris.com | *Web* www.cgs-oris.com > > > *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany > > *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 > > *Commercial register* Offenbach, HRB no. 21495 > > *Managing directors* Bernd R?ckert, Christoph Thommessen > > > https://www.cgs-oris.com/Signatur.png > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > https://www.oxygenxml.com/mailman/listinfo/oxygen-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From support at oxygenxml.com Tue Feb 14 00:10:58 2023 From: support at oxygenxml.com (Oxygen XML Editor Support (Radu Coravu)) Date: Tue, 14 Feb 2023 08:10:58 +0200 Subject: [oXygen-user] Inserting current date into DITA file In-Reply-To: <5bd6cbba-e3ee-5776-0a64-285a9d293390@cgs-oris.com> References: <5bd6cbba-e3ee-5776-0a64-285a9d293390@cgs-oris.com> Message-ID: <242d4073-0a0d-d820-a3aa-ecea1c5d5bb0@oxygenxml.com> 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.dissinger at cgs-oris.com | *Web* www.cgs-oris.com > > > *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany > > *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 > > *Commercial register* Offenbach, HRB no. 21495 > > *Managing directors* Bernd R?ckert, Christoph Thommessen > > > https://www.cgs-oris.com/Signatur.png > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > https://www.oxygenxml.com/mailman/listinfo/oxygen-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From support at oxygenxml.com Tue Feb 14 00:16:52 2023 From: support at oxygenxml.com (Oxygen XML Editor Support (Radu Coravu)) Date: Tue, 14 Feb 2023 08:16:52 +0200 Subject: [oXygen-user] Hyphenation in Author mode? In-Reply-To: References: Message-ID: Hi Frank, We do not have such a possibility for the editor. I added an internal issue to consider this for a future version: ??? EXM-52436 Take into account hyphenation in the Author mode Regards, Radu Radu Coravu Oxygen XML Editor On 2/13/23 19:22, Frank Dissinger wrote: > > Can words be hyphenated automatically in Author mode? > > -- > > *Frank Dissinger* > > Documentation Manager > > .................................................................... > > *CGS Publishing Technologies International GmbH* > > *Email *frank.dissinger at cgs-oris.com | *Web* www.cgs-oris.com > > > *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany > > *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 > > *Commercial register* Offenbach, HRB no. 21495 > > *Managing directors* Bernd R?ckert, Christoph Thommessen > > > https://www.cgs-oris.com/Signatur.png > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > https://www.oxygenxml.com/mailman/listinfo/oxygen-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From support at oxygenxml.com Tue Feb 14 00:29:47 2023 From: support at oxygenxml.com (Oxygen XML Editor Support (Radu Coravu)) Date: Tue, 14 Feb 2023 08:29:47 +0200 Subject: [oXygen-user] Adding attributes to images inserted from DITA Reusable Components view In-Reply-To: <69d699b0-e0fc-3f7e-9fdd-d94021132ad3@cgs-oris.com> References: <69d699b0-e0fc-3f7e-9fdd-d94021132ad3@cgs-oris.com> Message-ID: 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.dissinger at cgs-oris.com | *Web* www.cgs-oris.com > > > *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany > > *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 > > *Commercial register* Offenbach, HRB no. 21495 > > *Managing directors* Bernd R?ckert, Christoph Thommessen > > > https://www.cgs-oris.com/Signatur.png > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > https://www.oxygenxml.com/mailman/listinfo/oxygen-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From support at oxygenxml.com Tue Feb 14 00:40:02 2023 From: support at oxygenxml.com (Oxygen XML Editor Support (Radu Coravu)) Date: Tue, 14 Feb 2023 08:40:02 +0200 Subject: [oXygen-user] Expand/Collapse all with one cliock In-Reply-To: <8e218da9-c418-97ce-294e-aa9a47ceeb66@cgs-oris.com> References: <8e218da9-c418-97ce-294e-aa9a47ceeb66@cgs-oris.com> Message-ID: <72cddc8e-4f6a-5f58-efba-60a50e17c8ee@oxygenxml.com> Hi Frank, I'm afraid we do not have such a feature. So such an action would expand/collapse all sibling elements of the element on which you double-click or click using a certain modifier? I added an internal issue to consider your request for a future version: EXM-52438 Mouse shortcuts using modifiers to expand/collapse children or sibling elements Regards, Radu Radu Coravu Oxygen XML Editor On 2/13/23 19:32, Frank Dissinger wrote: > > Hi list, > > > Is it possible to expand/collapse all items at the same level with > just one click? I tried all combinations such as Ctrl-click, > Alt-click, Shift-Ctrl-click etc., but to know avail. I refer to the > Project window, DITA Maps Manager and Outline view. This would be a > useful feature. FrameMaker can do it! ? > > > Regards, > > Frank > > -- > > *Frank Dissinger* > > Documentation Manager > > .................................................................... > > *CGS Publishing Technologies International GmbH* > > *Email *frank.dissinger at cgs-oris.com | *Web* www.cgs-oris.com > > > *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany > > *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 > > *Commercial register* Offenbach, HRB no. 21495 > > *Managing directors* Bernd R?ckert, Christoph Thommessen > > > https://www.cgs-oris.com/Signatur.png > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > https://www.oxygenxml.com/mailman/listinfo/oxygen-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank.dissinger at cgs-oris.com Tue Feb 14 02:31:12 2023 From: frank.dissinger at cgs-oris.com (Frank Dissinger) Date: Tue, 14 Feb 2023 09:31:12 +0100 Subject: [oXygen-user] Adding attributes to images inserted from DITA Reusable Components view In-Reply-To: References: <69d699b0-e0fc-3f7e-9fdd-d94021132ad3@cgs-oris.com> Message-ID: <1765490f-99b2-b2ee-4ece-83b45dad4174@cgs-oris.com> 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.dissinger at cgs-oris.com | *Web* www.cgs-oris.com *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 *Commercial register* Offenbach, HRB no. 21495 *Managing directors* Bernd R?ckert, Christoph Thommessen https://www.cgs-oris.com/Signatur.png -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank.dissinger at cgs-oris.com Tue Feb 14 02:50:09 2023 From: frank.dissinger at cgs-oris.com (Frank Dissinger) Date: Tue, 14 Feb 2023 09:50:09 +0100 Subject: [oXygen-user] Inserting current date into DITA file In-Reply-To: <242d4073-0a0d-d820-a3aa-ecea1c5d5bb0@oxygenxml.com> References: <5bd6cbba-e3ee-5776-0a64-285a9d293390@cgs-oris.com> <242d4073-0a0d-d820-a3aa-ecea1c5d5bb0@oxygenxml.com> Message-ID: <5c4c0064-f768-cbf6-e858-e14d45822217@cgs-oris.com> 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 ?? ? * ?? ? ?? ???? ?? ?? ?* 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.dissinger at cgs-oris.com | *Web* www.cgs-oris.com >> >> >> *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany >> >> *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 >> >> *Commercial register* Offenbach, HRB no. 21495 >> >> *Managing directors* Bernd R?ckert, Christoph Thommessen >> >> >> https://www.cgs-oris.com/Signatur.png >> >> >> _______________________________________________ >> oXygen-user mailing list >> oXygen-user at oxygenxml.com >> https://www.oxygenxml.com/mailman/listinfo/oxygen-user > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > https://www.oxygenxml.com/mailman/listinfo/oxygen-user -- *Frank Dissinger* Documentation Manager .................................................................... *CGS Publishing Technologies International GmbH* *Email *frank.dissinger at cgs-oris.com | *Web* www.cgs-oris.com *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 *Commercial register* Offenbach, HRB no. 21495 *Managing directors* Bernd R?ckert, Christoph Thommessen https://www.cgs-oris.com/Signatur.png -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank.dissinger at cgs-oris.com Tue Feb 14 03:00:58 2023 From: frank.dissinger at cgs-oris.com (Frank Dissinger) Date: Tue, 14 Feb 2023 10:00:58 +0100 Subject: [oXygen-user] Inserting current date into DITA file In-Reply-To: <648142987.201967.1676324395296@office.mailbox.org> References: <5bd6cbba-e3ee-5776-0a64-285a9d293390@cgs-oris.com> <648142987.201967.1676324395296@office.mailbox.org> Message-ID: Hi Stefan, Thank you for your reply. I already did a similar thing for the MiramoPDF plug-in: ??? ?? ? ?? ???? ?? ?? ? 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 > 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.dissinger at cgs-oris.com | *Web* www.cgs-oris.com > > > *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany > > *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 > > *Commercial register* Offenbach, HRB no. 21495 > > *Managing directors* Bernd R?ckert, Christoph Thommessen > > > https://www.cgs-oris.com/Signatur.png > > -- *Frank Dissinger* Documentation Manager .................................................................... *CGS Publishing Technologies International GmbH* *Email *frank.dissinger at cgs-oris.com | *Web* www.cgs-oris.com *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 *Commercial register* Offenbach, HRB no. 21495 *Managing directors* Bernd R?ckert, Christoph Thommessen https://www.cgs-oris.com/Signatur.png -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank.dissinger at cgs-oris.com Tue Feb 14 03:02:31 2023 From: frank.dissinger at cgs-oris.com (Frank Dissinger) Date: Tue, 14 Feb 2023 10:02:31 +0100 Subject: [oXygen-user] Adding attributes to images inserted from DITA Reusable Components view In-Reply-To: <1759816826.201665.1676323967304@office.mailbox.org> References: <69d699b0-e0fc-3f7e-9fdd-d94021132ad3@cgs-oris.com> <1759816826.201665.1676323967304@office.mailbox.org> Message-ID: ...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 > 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.dissinger at cgs-oris.com | *Web* www.cgs-oris.com > > > *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany > > *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 > > *Commercial register* Offenbach, HRB no. 21495 > > *Managing directors* Bernd R?ckert, Christoph Thommessen > > > https://www.cgs-oris.com/Signatur.png > > -- *Frank Dissinger* Documentation Manager .................................................................... *CGS Publishing Technologies International GmbH* *Email *frank.dissinger at cgs-oris.com | *Web* www.cgs-oris.com *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 *Commercial register* Offenbach, HRB no. 21495 *Managing directors* Bernd R?ckert, Christoph Thommessen https://www.cgs-oris.com/Signatur.png -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank.dissinger at cgs-oris.com Tue Feb 14 03:04:20 2023 From: frank.dissinger at cgs-oris.com (Frank Dissinger) Date: Tue, 14 Feb 2023 10:04:20 +0100 Subject: [oXygen-user] Expand/Collapse all with one cliock In-Reply-To: <1434668952.201571.1676323775242@office.mailbox.org> References: <8e218da9-c418-97ce-294e-aa9a47ceeb66@cgs-oris.com> <1434668952.201571.1676323775242@office.mailbox.org> Message-ID: 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 > 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.dissinger at cgs-oris.com | *Web* www.cgs-oris.com > > > *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany > > *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 > > *Commercial register* Offenbach, HRB no. 21495 > > *Managing directors* Bernd R?ckert, Christoph Thommessen > > > https://www.cgs-oris.com/Signatur.png > > -- *Frank Dissinger* Documentation Manager .................................................................... *CGS Publishing Technologies International GmbH* *Email *frank.dissinger at cgs-oris.com | *Web* www.cgs-oris.com *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 *Commercial register* Offenbach, HRB no. 21495 *Managing directors* Bernd R?ckert, Christoph Thommessen https://www.cgs-oris.com/Signatur.png -------------- next part -------------- An HTML attachment was scrubbed... URL: From support at oxygenxml.com Tue Feb 14 03:27:46 2023 From: support at oxygenxml.com (Oxygen XML Editor Support (Radu Coravu)) Date: Tue, 14 Feb 2023 11:27:46 +0200 Subject: [oXygen-user] Inserting current date into DITA file In-Reply-To: <5c4c0064-f768-cbf6-e858-e14d45822217@cgs-oris.com> References: <5bd6cbba-e3ee-5776-0a64-285a9d293390@cgs-oris.com> <242d4073-0a0d-d820-a3aa-ecea1c5d5bb0@oxygenxml.com> <5c4c0064-f768-cbf6-e858-e14d45822217@cgs-oris.com> Message-ID: <7e59ec44-150f-a12e-fd29-11bf09183de6@oxygenxml.com> 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 > ?? ?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.dissinger at cgs-oris.com | *Web* www.cgs-oris.com >>> >>> >>> *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany >>> >>> *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 >>> >>> *Commercial register* Offenbach, HRB no. 21495 >>> >>> *Managing directors* Bernd R?ckert, Christoph Thommessen >>> >>> >>> https://www.cgs-oris.com/Signatur.png >>> >>> >>> _______________________________________________ >>> oXygen-user mailing list >>> oXygen-user at oxygenxml.com >>> https://www.oxygenxml.com/mailman/listinfo/oxygen-user >> >> _______________________________________________ >> oXygen-user mailing list >> oXygen-user at oxygenxml.com >> https://www.oxygenxml.com/mailman/listinfo/oxygen-user > -- > > *Frank Dissinger* > > Documentation Manager > > .................................................................... > > *CGS Publishing Technologies International GmbH* > > *Email *frank.dissinger at cgs-oris.com | *Web* www.cgs-oris.com > > > *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany > > *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 > > *Commercial register* Offenbach, HRB no. 21495 > > *Managing directors* Bernd R?ckert, Christoph Thommessen > > > https://www.cgs-oris.com/Signatur.png > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > https://www.oxygenxml.com/mailman/listinfo/oxygen-user -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: com.oxygenxml.expand.macros.xhtml.zip Type: application/zip Size: 1191 bytes Desc: not available URL: From frank.dissinger at cgs-oris.com Tue Feb 14 04:11:43 2023 From: frank.dissinger at cgs-oris.com (Frank Dissinger) Date: Tue, 14 Feb 2023 11:11:43 +0100 Subject: [oXygen-user] Inserting current date into DITA file In-Reply-To: <7e59ec44-150f-a12e-fd29-11bf09183de6@oxygenxml.com> References: <5bd6cbba-e3ee-5776-0a64-285a9d293390@cgs-oris.com> <242d4073-0a0d-d820-a3aa-ecea1c5d5bb0@oxygenxml.com> <5c4c0064-f768-cbf6-e858-e14d45822217@cgs-oris.com> <7e59ec44-150f-a12e-fd29-11bf09183de6@oxygenxml.com> Message-ID: <3b91d5ac-3152-2a61-1a54-8ce6259c3d84@cgs-oris.com> 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 >> > ?? ?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.dissinger at cgs-oris.com | *Web* www.cgs-oris.com *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 *Commercial register* Offenbach, HRB no. 21495 *Managing directors* Bernd R?ckert, Christoph Thommessen https://www.cgs-oris.com/Signatur.png -------------- next part -------------- An HTML attachment was scrubbed... URL: From csteele at minitab.com Wed Feb 15 10:17:31 2023 From: csteele at minitab.com (Cody Steele) Date: Wed, 15 Feb 2023 16:17:31 +0000 Subject: [oXygen-user] Inserting child elements automatically In-Reply-To: References: <2eb96caf-d156-45b2-5dce-655fb9d39efb@cgs-oris.com> Message-ID: I was following along with Frank's questions. My interest was in editing the author action insert.url.reference for a web link by adding something like inside of the XREF element. It doesn't look like any of the arguments for ro.sync.ecss.extensions.dita.link.InsertXrefOperation lets you insert a fragment. Is it correct that I should proceed to the involving the DITA extension framework or is there another method that makes more sense to you? Thanks, Cody ________________________________ From: oXygen-user on behalf of Oxygen XML Editor Support (Radu Coravu) Sent: Wednesday, January 25, 2023 1:06 AM To: oxygen-user at oxygenxml.com Subject: Re: [oXygen-user] Inserting child elements automatically *Warning* This email originates from outside of Minitab. Do not open attachments or click links unless you are sure this email comes from a known sender and you know the content is safe. Hi Frank, Let's split your use cases in two: 1) Inserting elements using Oxygen's actions (toolbars, menus) 2) Inserting elements using the content completion window. 1) Let's take table insertion for example: If you edit your DITA framework extension that is defined in the Preferences->"Document Type Association" page, it has an "Author=>Actions" tab. If you edit the action "insert.table", it calls an operation named "ro.sync.ecss.extensions.dita.topic.table.InsertTableOperation" with certain parameters. One of the parameters is named "cellFragment", you can set its value to "

". There are other ways to change a table, for example insert a new column, insert a new row. So actions like "insert.table.row.below" or "insert.table.column.after" which also need to be changed accordingly. 2) Inserting elements like using the content completion window. Your DITA extension framework customization can contain a "cc_config.xml" file which defines that for certain elements, if they are inserted, another element should be inserted inside them as well: https://www.oxygenxml.com/doc/ug-editor/topics/configure-elements-attr-cc-individually.html#configure-elements-attr-cc-individually__examples_configuring_elements Hope this helps. Regards, Radu Radu Coravu Oxygen XML Editor On 1/24/23 11:49, Frank Dissinger wrote: Hi list, Whenever this is valid, I wrap text in a

element. I would like oXygen to automatically insert

as a child element when inserting

, (for the table cells of course), , , ... and many more. How do I do this? Regards, Frank -- Frank Dissinger Documentation Manager .................................................................... CGS Publishing Technologies International GmbH Email frank.dissinger at cgs-oris.com | Web www.cgs-oris.com Address Kettelerstr. 24 | D-63512 Hainburg | Germany Phone +49 6182 9626-27 | Fax +49 6182 9626-99 Commercial register Offenbach, HRB no. 21495 Managing directors Bernd R?ckert, Christoph Thommessen [https://www.cgs-oris.com/Signatur.png] _______________________________________________ oXygen-user mailing list oXygen-user at oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user Minitab, LLC, Quality Plaza, 1829 Pine Hall Rd, State College PA 16801-3210, USA Minitab Limited, England and Wales, Company No. 3061730, Unit E1-2 Brandon Court, Progress Way, Coventry, CV3 2TE, United Kingdom Minitab Sarl, 17-21 rue Saint-Fiacre, 75002 Paris, 419 061 361 R.C.S Paris, France Minitab Pty Ltd, Level 10, 20 Martin Place, Sydney NSW 2000, Australia Minitab GmbH, Theatinerstra?e 11, 80333 M?nchen, Germany, Gesch?ftsf?hrer: Bruce Pincus, Handelsregister: Amtsgericht M?nchen; HRB 225635 Minitab HK Limited, Room 3703, 37th Floor, Lee Garden One, 33 Hysan Avenue, Causeway Bay, Hong Kong Confidentiality Notice: This email and any attachment(s) may contain confidential and proprietary information, some or all of which may be legally privileged. It is for the intended use of the individual(s) or entity named on the email. If you are not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient(s), you must not use, disclose, distribute, copy, print or rely on this email. If you have received this email in error, please immediately return it to the sender and delete it and any attachments from your system. Thank you. Privacy Notice: All incoming email communications are monitored. Please refer to our Privacy Policy for information on how Minitab collects, manages, and uses personal data. Update your email preferences to choose the types of emails you receive or Unsubscribe. -------------- next part -------------- An HTML attachment was scrubbed... URL: From support at oxygenxml.com Thu Feb 16 00:00:12 2023 From: support at oxygenxml.com (Oxygen XML Editor Support (Radu Coravu)) Date: Thu, 16 Feb 2023 08:00:12 +0200 Subject: [oXygen-user] Inserting child elements automatically In-Reply-To: References: <2eb96caf-d156-45b2-5dce-655fb9d39efb@cgs-oris.com> Message-ID: <024c5028-d0db-076d-e02b-407d4c8a7a82@oxygenxml.com> Hello Cody, Indeed the "InsertXrefOperation" Java operation does not have a parameter to specify some fixed text to insert inside the link, I added an internal issue based on your feedback. I do not have an easy workaround for you, it's possible that what you want would be possible with a Java based extension which would somehow listen for inserted links and add that text inside the inserted link. But coming back to your use case which seems to be to always add custom text inside a link to a web page, I would rather suggest using a custom Schematron schema to signal as a validation error to the end user that the link is empty: https://blog.oxygenxml.com/topics/sharing_schematron_validation_rules.html So a Schematron schema like this would report a user friendly warning if there is an empty link: > queryBinding="xslt2" > xmlns:sqf="http://www.schematron-quickfix.com/validator/process"> > ??? > ??????? > ??????????? An external link should have > custom link text set inside. > ??????? > ??? > Regards, Radu Radu Coravu Oxygen XML Editor On 2/15/23 18:17, Cody Steele wrote: > I was following along with Frank's questions. > > My interest was in editing the author action insert.url.reference for > a web link by adding something like > inside of the XREF element. It doesn't look like any of the arguments > for ro.sync.ecss.extensions.dita.link.InsertXrefOperation lets you > insert a fragment. Is it correct that I should proceed to the > involving the DITA extension framework or is there another method that > makes more sense to you? > > Thanks, > > Cody > ------------------------------------------------------------------------ > *From:* oXygen-user on behalf of > Oxygen XML Editor Support (Radu Coravu) > *Sent:* Wednesday, January 25, 2023 1:06 AM > *To:* oxygen-user at oxygenxml.com > *Subject:* Re: [oXygen-user] Inserting child elements automatically > > ***Warning* This email originates from outside of Minitab. Do not open > attachments or click links unless you are sure this email comes from a > known sender and you know the content is safe. > > Hi Frank, > > > Let's split your use cases in two: > > 1) Inserting elements using Oxygen's actions (toolbars, menus) > > 2) Inserting elements using the content completion window. > > > 1) > > > Let's take table insertion for example: > > > If you edit your DITA framework extension that is defined in the > Preferences->"Document Type Association" page, it has an > "Author=>Actions" tab. > > If you edit the action "insert.table", it calls an operation named > "ro.sync.ecss.extensions.dita.topic.table.InsertTableOperation" with > certain parameters. One of the parameters is named "cellFragment", you > can set its value to "

". > > There are other ways to change a table, for example insert a new > column, insert a new row. So actions like "insert.table.row.below" or > "insert.table.column.after" which also need to be changed accordingly. > > > 2) Inserting elements like using the content completion window. > > Your DITA extension framework customization can contain a > "cc_config.xml" file which defines that for certain elements, if they > are inserted, another element should be inserted inside them as well: > > https://www.oxygenxml.com/doc/ug-editor/topics/configure-elements-attr-cc-individually.html#configure-elements-attr-cc-individually__examples_configuring_elements > > > > Hope this helps. > > > Regards, > > Radu > > > Radu Coravu > Oxygen XML Editor > On 1/24/23 11:49, Frank Dissinger wrote: >> >> Hi list, >> >> >> Whenever this is valid, I wrap text in a

element. I would like >> oXygen to automatically insert

as a child element when inserting >>

, (for the table cells of course), , >> , ... and many more. How do I do this? >> >> >> Regards, >> >> Frank >> >> -- >> >> *Frank Dissinger* >> >> Documentation Manager >> >> .................................................................... >> >> *CGS Publishing Technologies International GmbH* >> >> *Email *frank.dissinger at cgs-oris.com >> | *Web* www.cgs-oris.com >> >> >> *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany >> >> *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 >> >> *Commercial register* Offenbach, HRB no. 21495 >> >> *Managing directors* Bernd R?ckert, Christoph Thommessen >> >> >> https://www.cgs-oris.com/Signatur.png >> >> >> _______________________________________________ >> oXygen-user mailing list >> oXygen-user at oxygenxml.com >> https://www.oxygenxml.com/mailman/listinfo/oxygen-user > > > *Minitab, LLC*, Quality Plaza, 1829 Pine Hall Rd, State College PA > 16801-3210, USA > *Minitab Limited*, England and Wales, Company No. 3061730, Unit E1-2 > Brandon Court, Progress Way, Coventry, CV3 2TE, United Kingdom > *Minitab Sarl*, 17-21 rue Saint-Fiacre, 75002 Paris, 419 061 361 R.C.S > Paris, France > *Minitab Pty Ltd*, Level 10, 20 Martin Place, Sydney NSW 2000, Australia > *Minitab GmbH*, Theatinerstra?e 11, 80333 M?nchen, Germany, > Gesch?ftsf?hrer: Bruce Pincus, Handelsregister: Amtsgericht M?nchen; > HRB 225635 > *Minitab HK Limited*, Room 3703, 37th Floor, Lee Garden One, 33 Hysan > Avenue, Causeway Bay, Hong Kong > > *Confidentiality Notice:* This email and any attachment(s) may contain > confidential and proprietary information, some or all of which may be > legally privileged. It is for the intended use of the individual(s) or > entity named on the email. If you are not the intended recipient, or > the employee or agent responsible for delivering it to the intended > recipient(s), you must not use, disclose, distribute, copy, print or > rely on this email. If you have received this email in error, please > immediately return it to the sender and delete it and any attachments > from your system. Thank you. > > *Privacy Notice:* All incoming email communications are monitored. > Please refer to our Privacy Policy > for information on how > Minitab collects, manages, and uses personal data. > > Update your email preferences > to choose the > types of emails you receive or Unsubscribe > . > > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > https://www.oxygenxml.com/mailman/listinfo/oxygen-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From alex_jitianu at sync.ro Thu Feb 16 01:54:57 2023 From: alex_jitianu at sync.ro (Alex Jitianu) Date: Thu, 16 Feb 2023 09:54:57 +0200 Subject: [oXygen-user] Inserting child elements automatically In-Reply-To: <024c5028-d0db-076d-e02b-407d4c8a7a82@oxygenxml.com> References: <2eb96caf-d156-45b2-5dce-655fb9d39efb@cgs-oris.com> <024c5028-d0db-076d-e02b-407d4c8a7a82@oxygenxml.com> Message-ID: <915ea2f3-c01b-11a6-4d51-5e562887fc7b@sync.ro> Hi, Another option would be to cascade [1] the existing action with a a new one that inserts a comment or a placeholder that is removed once the user types text [2]: To summarize it you will have to: - create one action that inserts this comment - create one action based on /ExecuteMultipleActionsOperation [2] /that cascades the xref and the previous action - you replace the xref action from the toolbar with this new action based on /ExecuteMultipleActionsOperation/ [1] https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/dg-default-author-operations.html#dg-default-author-operations__executemultipleactionsoperation [2] https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/dg-placeholder-css-extension.html Best regards, Alex -- Alex Jitianu XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 2/16/2023 8:00 AM, Oxygen XML Editor Support (Radu Coravu) wrote: > > Hello Cody, > > > Indeed the "InsertXrefOperation" Java operation does not have a > parameter to specify some fixed text to insert inside the link, I > added an internal issue based on your feedback. I do not have an easy > workaround for you, it's possible that what you want would be possible > with a Java based extension which would somehow listen for inserted > links and add that text inside the inserted link. > > > But coming back to your use case which seems to be to always add > custom text inside a link to a web page, I would rather suggest using > a custom Schematron schema to signal as a validation error to the end > user that the link is empty: > > > https://blog.oxygenxml.com/topics/sharing_schematron_validation_rules.html > > > So a Schematron schema like this would report a user friendly warning > if there is an empty link: > >> > queryBinding="xslt2" >> ??? xmlns:sqf="http://www.schematron-quickfix.com/validator/process"> >> ??? >> ??????? >> ??????????? An external link should have >> custom link text set inside. >> ??????? >> ??? >> > > Regards, > > Radu > > Radu Coravu > Oxygen XML Editor > On 2/15/23 18:17, Cody Steele wrote: >> I was following along with Frank's questions. >> >> My interest was in editing the author action insert.url.reference for >> a web link by adding something like >> inside of the XREF element. It doesn't look like any of the arguments >> for ro.sync.ecss.extensions.dita.link.InsertXrefOperation lets you >> insert a fragment. Is it correct that I should proceed to the >> involving the DITA extension framework or is there another method >> that makes more sense to you? >> >> Thanks, >> >> Cody >> ------------------------------------------------------------------------ >> *From:* oXygen-user on behalf of >> Oxygen XML Editor Support (Radu Coravu) >> *Sent:* Wednesday, January 25, 2023 1:06 AM >> *To:* oxygen-user at oxygenxml.com >> *Subject:* Re: [oXygen-user] Inserting child elements automatically >> >> ***Warning* This email originates from outside of Minitab. Do not >> open attachments or click links unless you are sure this email comes >> from a known sender and you know the content is safe. >> >> Hi Frank, >> >> >> Let's split your use cases in two: >> >> 1) Inserting elements using Oxygen's actions (toolbars, menus) >> >> 2) Inserting elements using the content completion window. >> >> >> 1) >> >> >> Let's take table insertion for example: >> >> >> If you edit your DITA framework extension that is defined in the >> Preferences->"Document Type Association" page, it has an >> "Author=>Actions" tab. >> >> If you edit the action "insert.table", it calls an operation named >> "ro.sync.ecss.extensions.dita.topic.table.InsertTableOperation" with >> certain parameters. One of the parameters is named "cellFragment", >> you can set its value to "

". >> >> There are other ways to change a table, for example insert a new >> column, insert a new row. So actions like "insert.table.row.below" or >> "insert.table.column.after" which also need to be changed accordingly. >> >> >> 2) Inserting elements like using the content completion window. >> >> Your DITA extension framework customization can contain a >> "cc_config.xml" file which defines that for certain elements, if they >> are inserted, another element should be inserted inside them as well: >> >> https://www.oxygenxml.com/doc/ug-editor/topics/configure-elements-attr-cc-individually.html#configure-elements-attr-cc-individually__examples_configuring_elements >> >> >> >> Hope this helps. >> >> >> Regards, >> >> Radu >> >> >> Radu Coravu >> Oxygen XML Editor >> On 1/24/23 11:49, Frank Dissinger wrote: >>> >>> Hi list, >>> >>> >>> Whenever this is valid, I wrap text in a

element. I would like >>> oXygen to automatically insert

as a child element when inserting >>>

, (for the table cells of course), , >>> , ... and many more. How do I do this? >>> >>> >>> Regards, >>> >>> Frank >>> >>> -- >>> >>> *Frank Dissinger* >>> >>> Documentation Manager >>> >>> .................................................................... >>> >>> *CGS Publishing Technologies International GmbH* >>> >>> *Email *frank.dissinger at cgs-oris.com >>> | *Web* www.cgs-oris.com >>> >>> >>> *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany >>> >>> *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 >>> >>> *Commercial register* Offenbach, HRB no. 21495 >>> >>> *Managing directors* Bernd R?ckert, Christoph Thommessen >>> >>> >>> https://www.cgs-oris.com/Signatur.png >>> >>> >>> _______________________________________________ >>> oXygen-user mailing list >>> oXygen-user at oxygenxml.com >>> https://www.oxygenxml.com/mailman/listinfo/oxygen-user >> >> >> *Minitab, LLC*, Quality Plaza, 1829 Pine Hall Rd, State College PA >> 16801-3210, USA >> *Minitab Limited*, England and Wales, Company No. 3061730, Unit E1-2 >> Brandon Court, Progress Way, Coventry, CV3 2TE, United Kingdom >> *Minitab Sarl*, 17-21 rue Saint-Fiacre, 75002 Paris, 419 061 361 >> R.C.S Paris, France >> *Minitab Pty Ltd*, Level 10, 20 Martin Place, Sydney NSW 2000, Australia >> *Minitab GmbH*, Theatinerstra?e 11, 80333 M?nchen, Germany, >> Gesch?ftsf?hrer: Bruce Pincus, Handelsregister: Amtsgericht M?nchen; >> HRB 225635 >> *Minitab HK Limited*, Room 3703, 37th Floor, Lee Garden One, 33 Hysan >> Avenue, Causeway Bay, Hong Kong >> >> *Confidentiality Notice:* This email and any attachment(s) may >> contain confidential and proprietary information, some or all of >> which may be legally privileged. It is for the intended use of the >> individual(s) or entity named on the email. If you are not the >> intended recipient, or the employee or agent responsible for >> delivering it to the intended recipient(s), you must not use, >> disclose, distribute, copy, print or rely on this email. If you have >> received this email in error, please immediately return it to the >> sender and delete it and any attachments from your system. Thank you. >> >> *Privacy Notice:* All incoming email communications are monitored. >> Please refer to our Privacy Policy >> for information on >> how Minitab collects, manages, and uses personal data. >> >> Update your email preferences >> to choose the >> types of emails you receive or Unsubscribe >> . >> >> >> _______________________________________________ >> oXygen-user mailing list >> oXygen-user at oxygenxml.com >> https://www.oxygenxml.com/mailman/listinfo/oxygen-user > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > https://www.oxygenxml.com/mailman/listinfo/oxygen-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From csteele at minitab.com Thu Feb 16 10:30:28 2023 From: csteele at minitab.com (Cody Steele) Date: Thu, 16 Feb 2023 16:30:28 +0000 Subject: [oXygen-user] Inserting child elements automatically In-Reply-To: <915ea2f3-c01b-11a6-4d51-5e562887fc7b@sync.ro> References: <2eb96caf-d156-45b2-5dce-655fb9d39efb@cgs-oris.com> <024c5028-d0db-076d-e02b-407d4c8a7a82@oxygenxml.com> <915ea2f3-c01b-11a6-4d51-5e562887fc7b@sync.ro> Message-ID: Thank you, Alex and Radu. I was able to get a version of both of these solutions working in short-order and will demo to my team. With respect to the solution based on the actions, I wasn't able to get the processing instruction to go in as a fragment. I was able to get non-placeholder text to enter just fine. Perhaps it's a css issue because the link target is shown as placeholder text by default? It was really helpful to see both of these. I can envision several other cases where I can use both approaches to perform other tasks that I've been working on. ________________________________ From: oXygen-user on behalf of Alex Jitianu Sent: Thursday, February 16, 2023 2:54 AM To: oxygen-user at oxygenxml.com Subject: Re: [oXygen-user] Inserting child elements automatically Hi, Another option would be to cascade [1] the existing action with a a new one that inserts a comment or a placeholder that is removed once the user types text [2]: To summarize it you will have to: - create one action that inserts this comment - create one action based on ExecuteMultipleActionsOperation [2] that cascades the xref and the previous action - you replace the xref action from the toolbar with this new action based on ExecuteMultipleActionsOperation [1] https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/dg-default-author-operations.html#dg-default-author-operations__executemultipleactionsoperation [2] https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/dg-placeholder-css-extension.html Best regards, Alex -- Alex Jitianu XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 2/16/2023 8:00 AM, Oxygen XML Editor Support (Radu Coravu) wrote: Hello Cody, Indeed the "InsertXrefOperation" Java operation does not have a parameter to specify some fixed text to insert inside the link, I added an internal issue based on your feedback. I do not have an easy workaround for you, it's possible that what you want would be possible with a Java based extension which would somehow listen for inserted links and add that text inside the inserted link. But coming back to your use case which seems to be to always add custom text inside a link to a web page, I would rather suggest using a custom Schematron schema to signal as a validation error to the end user that the link is empty: https://blog.oxygenxml.com/topics/sharing_schematron_validation_rules.html So a Schematron schema like this would report a user friendly warning if there is an empty link: queryBinding="xslt2" xmlns:sqf="http://www.schematron-quickfix.com/validator/process"> An external link should have custom link text set inside. Regards, Radu Radu Coravu Oxygen XML Editor On 2/15/23 18:17, Cody Steele wrote: I was following along with Frank's questions. My interest was in editing the author action insert.url.reference for a web link by adding something like inside of the XREF element. It doesn't look like any of the arguments for ro.sync.ecss.extensions.dita.link.InsertXrefOperation lets you insert a fragment. Is it correct that I should proceed to the involving the DITA extension framework or is there another method that makes more sense to you? Thanks, Cody ________________________________ From: oXygen-user on behalf of Oxygen XML Editor Support (Radu Coravu) Sent: Wednesday, January 25, 2023 1:06 AM To: oxygen-user at oxygenxml.com Subject: Re: [oXygen-user] Inserting child elements automatically *Warning* This email originates from outside of Minitab. Do not open attachments or click links unless you are sure this email comes from a known sender and you know the content is safe. Hi Frank, Let's split your use cases in two: 1) Inserting elements using Oxygen's actions (toolbars, menus) 2) Inserting elements using the content completion window. 1) Let's take table insertion for example: If you edit your DITA framework extension that is defined in the Preferences->"Document Type Association" page, it has an "Author=>Actions" tab. If you edit the action "insert.table", it calls an operation named "ro.sync.ecss.extensions.dita.topic.table.InsertTableOperation" with certain parameters. One of the parameters is named "cellFragment", you can set its value to "

". There are other ways to change a table, for example insert a new column, insert a new row. So actions like "insert.table.row.below" or "insert.table.column.after" which also need to be changed accordingly. 2) Inserting elements like using the content completion window. Your DITA extension framework customization can contain a "cc_config.xml" file which defines that for certain elements, if they are inserted, another element should be inserted inside them as well: https://www.oxygenxml.com/doc/ug-editor/topics/configure-elements-attr-cc-individually.html#configure-elements-attr-cc-individually__examples_configuring_elements Hope this helps. Regards, Radu Radu Coravu Oxygen XML Editor On 1/24/23 11:49, Frank Dissinger wrote: Hi list, Whenever this is valid, I wrap text in a

element. I would like oXygen to automatically insert

as a child element when inserting

, (for the table cells of course), , , ... and many more. How do I do this? Regards, Frank -- Frank Dissinger Documentation Manager .................................................................... CGS Publishing Technologies International GmbH Email frank.dissinger at cgs-oris.com | Web www.cgs-oris.com Address Kettelerstr. 24 | D-63512 Hainburg | Germany Phone +49 6182 9626-27 | Fax +49 6182 9626-99 Commercial register Offenbach, HRB no. 21495 Managing directors Bernd R?ckert, Christoph Thommessen [https://www.cgs-oris.com/Signatur.png] _______________________________________________ oXygen-user mailing list oXygen-user at oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user Minitab, LLC, Quality Plaza, 1829 Pine Hall Rd, State College PA 16801-3210, USA Minitab Limited, England and Wales, Company No. 3061730, Unit E1-2 Brandon Court, Progress Way, Coventry, CV3 2TE, United Kingdom Minitab Sarl, 17-21 rue Saint-Fiacre, 75002 Paris, 419 061 361 R.C.S Paris, France Minitab Pty Ltd, Level 10, 20 Martin Place, Sydney NSW 2000, Australia Minitab GmbH, Theatinerstra?e 11, 80333 M?nchen, Germany, Gesch?ftsf?hrer: Bruce Pincus, Handelsregister: Amtsgericht M?nchen; HRB 225635 Minitab HK Limited, Room 3703, 37th Floor, Lee Garden One, 33 Hysan Avenue, Causeway Bay, Hong Kong Confidentiality Notice: This email and any attachment(s) may contain confidential and proprietary information, some or all of which may be legally privileged. It is for the intended use of the individual(s) or entity named on the email. If you are not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient(s), you must not use, disclose, distribute, copy, print or rely on this email. If you have received this email in error, please immediately return it to the sender and delete it and any attachments from your system. Thank you. Privacy Notice: All incoming email communications are monitored. Please refer to our Privacy Policy for information on how Minitab collects, manages, and uses personal data. Update your email preferences to choose the types of emails you receive or Unsubscribe. _______________________________________________ oXygen-user mailing list oXygen-user at oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user _______________________________________________ oXygen-user mailing list oXygen-user at oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank.dissinger at cgs-oris.com Wed Feb 22 06:35:19 2023 From: frank.dissinger at cgs-oris.com (Frank Dissinger) Date: Wed, 22 Feb 2023 13:35:19 +0100 Subject: [oXygen-user] Schematron rule Message-ID: <05c1c14f-88c0-4fe7-61fc-5ad34c734560@cgs-oris.com> 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.dissinger at cgs-oris.com | *Web* www.cgs-oris.com *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 *Commercial register* Offenbach, HRB no. 21495 *Managing directors* Bernd R?ckert, Christoph Thommessen https://www.cgs-oris.com/Signatur.png -------------- next part -------------- An HTML attachment was scrubbed... URL: From wapiez at wendellpiez.com Wed Feb 22 07:22:03 2023 From: wapiez at wendellpiez.com (Wendell Piez) Date: Wed, 22 Feb 2023 08:22:03 -0500 Subject: [oXygen-user] Schematron rule In-Reply-To: <05c1c14f-88c0-4fe7-61fc-5ad34c734560@cgs-oris.com> References: <05c1c14f-88c0-4fe7-61fc-5ad34c734560@cgs-oris.com> Message-ID: 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 < frank.dissinger at cgs-oris.com> 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.dissinger at cgs-oris.com | *Web* www.cgs-oris.com > > *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany > > *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 > > *Commercial register* Offenbach, HRB no. 21495 > > *Managing directors* Bernd R?ckert, Christoph Thommessen > > > [image: https://www.cgs-oris.com/Signatur.png] > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > https://www.oxygenxml.com/mailman/listinfo/oxygen-user > -- ...Wendell Piez... ...wendell -at- nist -dot- gov... ...wendellpiez.com... ...pellucidliterature.org... ...pausepress.org... ...github.com/wendellpiez... ...gitlab.coko.foundation/wendell... -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank.dissinger at cgs-oris.com Wed Feb 22 07:57:15 2023 From: frank.dissinger at cgs-oris.com (Frank Dissinger) Date: Wed, 22 Feb 2023 14:57:15 +0100 Subject: [oXygen-user] Schematron rule In-Reply-To: References: <05c1c14f-88c0-4fe7-61fc-5ad34c734560@cgs-oris.com> Message-ID: <976e444c-5956-99cd-c1c4-9b280e72b784@cgs-oris.com> 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.dissinger at cgs-oris.com | *Web* www.cgs-oris.com > > > *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany > > *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99 > > *Commercial register* Offenbach, HRB no. 21495 > > *Managing directors* Bernd R?ckert, Christoph Thommessen > > > https://www.cgs-oris.com/Signatur.png > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alin_belu at oxygenxml.com Thu Feb 23 02:24:12 2023 From: alin_belu at oxygenxml.com (Alin Belu) Date: Thu, 23 Feb 2023 10:24:12 +0200 Subject: [oXygen-user] [ANN] New versions for the JSON Schema Documentation Add-on and the OpenAPI Documentation Add-on! Message-ID: <6be80763-2661-be8b-986c-9cea0f5342bc@oxygenxml.com> Hello everyone, We are excited to announce the release of the newest versions for the *JSON Schema Documentation Add-on* and the *OpenAPI Documentation Add-on*! The *JSON Schema Documentation Add-on version 4.1.0* brings the following enhancements: * Significant improvements were made to the documentation generation for large JSON schemas. * Text content is now wrapped so that it can no longer exceed cell margins. * Schema definitions are now presented even if they are not referenced. * The rendering problems related to diagrams and JSON Pointers are now fixed. * Various performance improvements and bug fixes were implemented, including some broken links and encoding issues. The *OpenAPI Documentation Add-on version 2.1.0* sees the implementation of useful upgrades, such as: * When generating OpenAPI documentation, you now have the option to include hyperlinks for the diagrams displayed for each JSON schema component. The hyperlink navigates you to the definition of that component. * The OpenAPI Documentation action is now properly aligned in the Generate Documentation menu on macOS distributions. * Links from the Source code section are now functional. * Implemented various layout and rendering improvements. For more information regarding the *JSON Schema Documentation Add-on*, check out the following page from our documentation: https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/json-schema-documentation-generator-x-tools.html For more information regarding the *OpenAPI Documentation Add-on*, check out the following page from our documentation: https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/openapi-documentation-generator.html We hope you will find these new versions of our add-ons useful and as always, your feedback is welcome! Best regards, Alin -- Alin Belu Oxygen XML Editor -------------- next part -------------- An HTML attachment was scrubbed... URL: From lou.burnard at retired.ox.ac.uk Mon Feb 27 07:34:33 2023 From: lou.burnard at retired.ox.ac.uk (Lou Burnard) Date: Mon, 27 Feb 2023 13:34:33 +0000 Subject: [oXygen-user] Validation problem Message-ID: I have a RELAXNG schema which contains embedded schematron rules and a document which begins with two xml-model PIs like this: When I validate this document using the default CTRL-SHIFT-V option, or using a predefined validation scenario, only Schematron validation errors are reported. When I validate by selecting "Validate with" and specifying the schema URL again, errors reported by jing also appear. Is this the intended behaviour? Why? I am using XML Editor 24.1, build 2022030807 on Ubuntu 20.04 -------------- next part -------------- An HTML attachment was scrubbed... URL: From support at oxygenxml.com Mon Feb 27 07:46:21 2023 From: support at oxygenxml.com (Oxygen XML Editor Support (Radu Coravu)) Date: Mon, 27 Feb 2023 15:46:21 +0200 Subject: [oXygen-user] Validation problem In-Reply-To: References: Message-ID: <94a63451-a496-95fd-0fe6-d0d358b9dd98@oxygenxml.com> Hi Lou, Strange. Let's say I have a stock TEI document "abc.xml" like this one below which has a similar reference to the TEI schemas (both as RNG and SCH): > > href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" > > ?? type="application/xml" > schematypens="http://relaxng.org/ns/structure/1.0"?> > href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" > type="application/xml" > ?? ?schematypens="http://purl.oclc.org/dsdl/schematron"?> > > ? > > ? > ? > ????? > ????????

    Some text here.

    > ????? > ?
    >
    I go to the Oxygen main menu "Window->Show view" and show the "Information" view. Then validate the XML document, in the Information view I get some information like this: > [ 15:42:54] - start scanning file:/.../abc.xml with schema: > file:/../frameworks/tei/xml/tei/custom/schema/relaxng/tei_all.rng > [ 15:42:54] - Found 1 problem > [ 15:42:54] - Schematron Error Scanner - start scanning > file:/../abc.xml with schema: > file:/../tei/xml/tei/custom/schema/relaxng/tei_all.rng > [ 15:42:54] - No problems found Do you get similar messages in the Oxygen Information view? Regards, Radu Radu Coravu Oxygen XML Editor On 2/27/23 15:34, Lou Burnard wrote: > I have a RELAXNG schema which contains embedded schematron rules and a > document which begins with two xml-model PIs like this: > > schematypens="http://relaxng.org/ns/structure/1.0"?> > schematypens="http://purl.oclc.org/dsdl/schematron"?> > > When I validate this document using the default CTRL-SHIFT-V option, > or using a predefined validation scenario, only Schematron validation > errors are reported. When I validate by selecting "Validate with" and > specifying the schema URL again, errors reported by jing also appear. > > Is this the intended behaviour? Why? > > I am using XML Editor 24.1, build 2022030807 on Ubuntu 20.04 > > > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > https://www.oxygenxml.com/mailman/listinfo/oxygen-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From lou.burnard at retired.ox.ac.uk Mon Feb 27 08:03:43 2023 From: lou.burnard at retired.ox.ac.uk (Lou Burnard) Date: Mon, 27 Feb 2023 14:03:43 +0000 Subject: [oXygen-user] Validation problem In-Reply-To: <94a63451-a496-95fd-0fe6-d0d358b9dd98@oxygenxml.com> References: <94a63451-a496-95fd-0fe6-d0d358b9dd98@oxygenxml.com> Message-ID: Hi Radu Thanks for the quick response. When I apply the default validation scenario I see this [ 13:58:35] - <<< Start scanning using validation scenario ??????Scenario Name: odd4crit_data ??????Scenario Storage Type: Global Level ??????Default Scenario: No [ 13:58:35] - << Validation Unit (1 of 1): ??????File to validate URL: file:/home/lou/Public/odd4crit/odd4crit_data.xml ??????Validation Unit Type: XML Document ??????Validation Unit Engine: [ 13:58:37] - Schematron Error Scanner - start scanning file:/home/lou/Public/odd4crit/odd4crit_data.xml with schema: file:/home/lou/Public/odd4crit/out/odd4crit.rng [ 13:58:37] - Found 7 problems [ 13:58:37] - >> [ 13:58:37] - End >>> When I explicitly select the URL of my RNG file, I see this: [ 14:01:10] - start scanning file:/home/lou/Public/odd4crit/odd4crit_data.xml with schema: file:/home/lou/Public/odd4crit/out/odd4crit.rng [ 14:01:10] - Found 2 problems [ 14:01:10] - Schematron Error Scanner - start scanning file:/home/lou/Public/odd4crit/odd4crit_data.xml with schema: file:/home/lou/Public/odd4crit/out/odd4crit.rng [ 14:01:10] - Found 7 problems (which is what I would prefer to see!) ________________________________ From: oXygen-user on behalf of Oxygen XML Editor Support (Radu Coravu) Sent: Monday, February 27, 2023 1:46 PM To: oxygen-user at oxygenxml.com Subject: Re: [oXygen-user] Validation problem Hi Lou, Strange. Let's say I have a stock TEI document "abc.xml" like this one below which has a similar reference to the TEI schemas (both as RNG and SCH): type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?> type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> >

    Some text here.

    I go to the Oxygen main menu "Window->Show view" and show the "Information" view. Then validate the XML document, in the Information view I get some information like this: [ 15:42:54] - start scanning file:/.../abc.xml with schema: file:/../frameworks/tei/xml/tei/custom/schema/relaxng/tei_all.rng [ 15:42:54] - Found 1 problem [ 15:42:54] - Schematron Error Scanner - start scanning file:/../abc.xml with schema: file:/../tei/xml/tei/custom/schema/relaxng/tei_all.rng [ 15:42:54] - No problems found Do you get similar messages in the Oxygen Information view? Regards, Radu Radu Coravu Oxygen XML Editor On 2/27/23 15:34, Lou Burnard wrote: I have a RELAXNG schema which contains embedded schematron rules and a document which begins with two xml-model PIs like this: ?> ?> When I validate this document using the default CTRL-SHIFT-V option, or using a predefined validation scenario, only Schematron validation errors are reported. When I validate by selecting "Validate with" and specifying the schema URL again, errors reported by jing also appear. Is this the intended behaviour? Why? I am using XML Editor 24.1, build 2022030807 on Ubuntu 20.04 _______________________________________________ oXygen-user mailing list oXygen-user at oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From support at oxygenxml.com Mon Feb 27 08:15:27 2023 From: support at oxygenxml.com (Oxygen XML Editor Support (Radu Coravu)) Date: Mon, 27 Feb 2023 16:15:27 +0200 Subject: [oXygen-user] Validation problem In-Reply-To: References: <94a63451-a496-95fd-0fe6-d0d358b9dd98@oxygenxml.com> Message-ID: Hi Lou, The problem seems to be the validation scenario named "odd4crit_data". You do not need a validation scenario if the XML file references directly the schemas. And probably in your validation scenario you mentioned only the Schematron validation as a stage and did not add a validation stage for the Relax NG based validation. So Oxygen does what your validation scenario says and skips Relax NG based validation, Regards, Radu Radu Coravu Oxygen XML Editor On 2/27/23 16:03, Lou Burnard wrote: > Hi Radu > Thanks for the quick response. > When I apply the default validation scenario I see this > > [ 13:58:35] - <<< Start scanning using validation scenario > ??????Scenario Name: odd4crit_data > ??????Scenario Storage Type: Global Level > ??????Default Scenario: No > [ 13:58:35] - << Validation Unit (1 of 1): > ??????File to validate URL: > file:/home/lou/Public/odd4crit/odd4crit_data.xml > ??????Validation Unit Type: XML Document > ??????Validation Unit Engine: > [ 13:58:37] - Schematron Error Scanner - start scanning > file:/home/lou/Public/odd4crit/odd4crit_data.xml with schema: > file:/home/lou/Public/odd4crit/out/odd4crit.rng > [ 13:58:37] - Found 7 problems > [ 13:58:37] - >> > [ 13:58:37] - End >>> > > When I explicitly select the URL of my RNG file, I see this: > > [ 14:01:10] - start scanning > file:/home/lou/Public/odd4crit/odd4crit_data.xml with schema: > file:/home/lou/Public/odd4crit/out/odd4crit.rng > [ 14:01:10] - Found 2 problems > [ 14:01:10] - Schematron Error Scanner - start scanning > file:/home/lou/Public/odd4crit/odd4crit_data.xml with schema: > file:/home/lou/Public/odd4crit/out/odd4crit.rng > [ 14:01:10] - Found 7 problems > > (which is what I would prefer to see!) > ------------------------------------------------------------------------ > *From:* oXygen-user on behalf of > Oxygen XML Editor Support (Radu Coravu) > *Sent:* Monday, February 27, 2023 1:46 PM > *To:* oxygen-user at oxygenxml.com > *Subject:* Re: [oXygen-user] Validation problem > > Hi Lou, > > > Strange. > > > Let's say I have a stock TEI document "abc.xml" like this one below > which has a similar reference to the TEI schemas (both as RNG and SCH): > > >> >> > href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" >> >> ?? type="application/xml" >> schematypens="http://relaxng.org/ns/structure/1.0" >> ?> >> > href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" >> >> type="application/xml" >> ?? ?schematypens="http://purl.oclc.org/dsdl/schematron" >> ?> >> > >> ? >> >> ? >> ? >> ????? >> ????????

    Some text here.

    >> ????? >> ?
    >>
    > > I go to the Oxygen main menu "Window->Show view" and show the > "Information" view. > > Then validate the XML document, in the Information view I get some > information like this: > > >> [ 15:42:54] - start scanning file:/.../abc.xml >> with schema: >> file:/../frameworks/tei/xml/tei/custom/schema/relaxng/tei_all.rng >> >> [ 15:42:54] - Found 1 problem >> [ 15:42:54] - Schematron Error Scanner - start scanning >> file:/../abc.xml with schema: >> file:/../tei/xml/tei/custom/schema/relaxng/tei_all.rng >> >> [ 15:42:54] - No problems found > > Do you get similar messages in the Oxygen Information view? > > > Regards, > > Radu > > Radu Coravu > Oxygen XML Editor > On 2/27/23 15:34, Lou Burnard wrote: >> I have a RELAXNG schema which contains embedded schematron rules and >> a document which begins with two xml-model PIs like this: >> >> > ? ? ? ? ? ? schematypens="http://relaxng.org/ns/structure/1.0" >> ?> >> > ? ? ? ? ? ? schematypens="http://purl.oclc.org/dsdl/schematron" >> ?> >> >> When I validate this document using the default CTRL-SHIFT-V option, >> or using a predefined validation scenario, only Schematron validation >> errors are reported. When I validate by selecting "Validate with" and >> specifying the schema URL again, errors reported by jing also appear. >> >> Is this the intended behaviour? Why? >> >> I am using XML Editor 24.1, build 2022030807 on Ubuntu 20.04 >> >> >> >> _______________________________________________ >> oXygen-user mailing list >> oXygen-user at oxygenxml.com >> https://www.oxygenxml.com/mailman/listinfo/oxygen-user > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > https://www.oxygenxml.com/mailman/listinfo/oxygen-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From lou.burnard at retired.ox.ac.uk Mon Feb 27 08:21:48 2023 From: lou.burnard at retired.ox.ac.uk (Lou Burnard) Date: Mon, 27 Feb 2023 14:21:48 +0000 Subject: [oXygen-user] Validation problem In-Reply-To: References: <94a63451-a496-95fd-0fe6-d0d358b9dd98@oxygenxml.com> Message-ID: Sadly, I dont think so. I suppressed the validation scenario,. and just ask for default validation, and again I get reports of schematron rules only [ 14:19:22] - Schematron Error Scanner - start scanning file:/home/lou/Public/odd4crit/odd4crit_data.xml with schema: file:/home/lou/Public/odd4crit/out/odd4crit.rng [ 14:19:22] - Found 7 problems ________________________________ From: oXygen-user on behalf of Oxygen XML Editor Support (Radu Coravu) Sent: Monday, February 27, 2023 2:15 PM To: oxygen-user at oxygenxml.com Subject: Re: [oXygen-user] Validation problem Hi Lou, The problem seems to be the validation scenario named "odd4crit_data". You do not need a validation scenario if the XML file references directly the schemas. And probably in your validation scenario you mentioned only the Schematron validation as a stage and did not add a validation stage for the Relax NG based validation. So Oxygen does what your validation scenario says and skips Relax NG based validation, Regards, Radu Radu Coravu Oxygen XML Editor On 2/27/23 16:03, Lou Burnard wrote: Hi Radu Thanks for the quick response. When I apply the default validation scenario I see this [ 13:58:35] - <<< Start scanning using validation scenario ??????Scenario Name: odd4crit_data ??????Scenario Storage Type: Global Level ??????Default Scenario: No [ 13:58:35] - << Validation Unit (1 of 1): ??????File to validate URL: file:/home/lou/Public/odd4crit/odd4crit_data.xml ??????Validation Unit Type: XML Document ??????Validation Unit Engine: [ 13:58:37] - Schematron Error Scanner - start scanning file:/home/lou/Public/odd4crit/odd4crit_data.xml with schema: file:/home/lou/Public/odd4crit/out/odd4crit.rng [ 13:58:37] - Found 7 problems [ 13:58:37] - >> [ 13:58:37] - End >>> When I explicitly select the URL of my RNG file, I see this: [ 14:01:10] - start scanning file:/home/lou/Public/odd4crit/odd4crit_data.xml with schema: file:/home/lou/Public/odd4crit/out/odd4crit.rng [ 14:01:10] - Found 2 problems [ 14:01:10] - Schematron Error Scanner - start scanning file:/home/lou/Public/odd4crit/odd4crit_data.xml with schema: file:/home/lou/Public/odd4crit/out/odd4crit.rng [ 14:01:10] - Found 7 problems (which is what I would prefer to see!) ________________________________ From: oXygen-user on behalf of Oxygen XML Editor Support (Radu Coravu) Sent: Monday, February 27, 2023 1:46 PM To: oxygen-user at oxygenxml.com Subject: Re: [oXygen-user] Validation problem Hi Lou, Strange. Let's say I have a stock TEI document "abc.xml" like this one below which has a similar reference to the TEI schemas (both as RNG and SCH): type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?> type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> >

    Some text here.

    I go to the Oxygen main menu "Window->Show view" and show the "Information" view. Then validate the XML document, in the Information view I get some information like this: [ 15:42:54] - start scanning file:/.../abc.xml with schema: file:/../frameworks/tei/xml/tei/custom/schema/relaxng/tei_all.rng [ 15:42:54] - Found 1 problem [ 15:42:54] - Schematron Error Scanner - start scanning file:/../abc.xml with schema: file:/../tei/xml/tei/custom/schema/relaxng/tei_all.rng [ 15:42:54] - No problems found Do you get similar messages in the Oxygen Information view? Regards, Radu Radu Coravu Oxygen XML Editor On 2/27/23 15:34, Lou Burnard wrote: I have a RELAXNG schema which contains embedded schematron rules and a document which begins with two xml-model PIs like this: ?> ?> When I validate this document using the default CTRL-SHIFT-V option, or using a predefined validation scenario, only Schematron validation errors are reported. When I validate by selecting "Validate with" and specifying the schema URL again, errors reported by jing also appear. Is this the intended behaviour? Why? I am using XML Editor 24.1, build 2022030807 on Ubuntu 20.04 _______________________________________________ oXygen-user mailing list oXygen-user at oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user _______________________________________________ oXygen-user mailing list oXygen-user at oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From support at oxygenxml.com Mon Feb 27 09:36:29 2023 From: support at oxygenxml.com (Oxygen XML Editor Support (Radu Coravu)) Date: Mon, 27 Feb 2023 17:36:29 +0200 Subject: [oXygen-user] Validation problem In-Reply-To: References: <94a63451-a496-95fd-0fe6-d0d358b9dd98@oxygenxml.com> Message-ID: Hi Lou, So if you clear the entire content of the "Information" view and then validate the XML file, you get in the Information view only details about the Schematron validation being applied, right? So just the two lines of logging that you previously attached right? Maybe you can email us directly (support at oxygenxml.com), send us some samples to reproduce the problem and we can try to look further into this. Regards, Radu Radu Coravu Oxygen XML Editor On 2/27/23 16:21, Lou Burnard wrote: > Sadly, I dont think so. I suppressed the validation scenario,. and > just ask for default validation, and again I get reports of schematron > rules only > > [ 14:19:22] - Schematron Error Scanner - start scanning > file:/home/lou/Public/odd4crit/odd4crit_data.xml with schema: > file:/home/lou/Public/odd4crit/out/odd4crit.rng > [ 14:19:22] - Found 7 problems > > ------------------------------------------------------------------------ > *From:* oXygen-user on behalf of > Oxygen XML Editor Support (Radu Coravu) > *Sent:* Monday, February 27, 2023 2:15 PM > *To:* oxygen-user at oxygenxml.com > *Subject:* Re: [oXygen-user] Validation problem > > Hi Lou, > > > The problem seems to be the validation scenario named "odd4crit_data". > You do not need a validation scenario if the XML file references > directly the schemas. And probably in your validation scenario you > mentioned only the Schematron validation as a stage and did not add a > validation stage for the Relax NG based validation. So Oxygen does > what your validation scenario says and skips Relax NG based validation, > > > Regards, > > Radu > > Radu Coravu > Oxygen XML Editor > > > On 2/27/23 16:03, Lou Burnard wrote: >> Hi Radu >> Thanks for the quick response. >> When I apply the default validation scenario I see this >> >> [ 13:58:35] - <<< Start scanning using validation scenario >> ??????Scenario Name: odd4crit_data >> ??????Scenario Storage Type: Global Level >> ??????Default Scenario: No >> [ 13:58:35] - << Validation Unit (1 of 1): >> ??????File to validate URL: >> file:/home/lou/Public/odd4crit/odd4crit_data.xml >> >> ??????Validation Unit Type: XML Document >> ??????Validation Unit Engine: >> [ 13:58:37] - Schematron Error Scanner - start scanning >> file:/home/lou/Public/odd4crit/odd4crit_data.xml >> with schema: >> file:/home/lou/Public/odd4crit/out/odd4crit.rng >> >> [ 13:58:37] - Found 7 problems >> [ 13:58:37] - >> >> [ 13:58:37] - End >>> >> >> When I explicitly select the URL of my RNG file, I see this: >> >> [ 14:01:10] - start scanning >> file:/home/lou/Public/odd4crit/odd4crit_data.xml >> with schema: >> file:/home/lou/Public/odd4crit/out/odd4crit.rng >> >> [ 14:01:10] - Found 2 problems >> [ 14:01:10] - Schematron Error Scanner - start scanning >> file:/home/lou/Public/odd4crit/odd4crit_data.xml >> with schema: >> file:/home/lou/Public/odd4crit/out/odd4crit.rng >> >> [ 14:01:10] - Found 7 problems >> >> (which is what I would prefer to see!) >> ------------------------------------------------------------------------ >> *From:* oXygen-user >> on behalf of Oxygen XML >> Editor Support (Radu Coravu) >> >> *Sent:* Monday, February 27, 2023 1:46 PM >> *To:* oxygen-user at oxygenxml.com >> >> *Subject:* Re: [oXygen-user] Validation problem >> >> Hi Lou, >> >> >> Strange. >> >> >> Let's say I have a stock TEI document "abc.xml" like this one below >> which has a similar reference to the TEI schemas (both as RNG and SCH): >> >> >>> >>> >> href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" >>> >>> >>> ?? type="application/xml" >>> schematypens="http://relaxng.org/ns/structure/1.0" >>> ?> >>> >> href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" >>> >>> type="application/xml" >>> ?? ?schematypens="http://purl.oclc.org/dsdl/schematron" >>> ?> >>> > >>> ? >>> >>> ? >>> ? >>> ????? >>> ????????

    Some text here.

    >>> ????? >>> ?
    >>>
    >> >> I go to the Oxygen main menu "Window->Show view" and show the >> "Information" view. >> >> Then validate the XML document, in the Information view I get some >> information like this: >> >> >>> [ 15:42:54] - start scanning file:/.../abc.xml >>> with schema: >>> file:/../frameworks/tei/xml/tei/custom/schema/relaxng/tei_all.rng >>> >>> [ 15:42:54] - Found 1 problem >>> [ 15:42:54] - Schematron Error Scanner - start scanning >>> file:/../abc.xml with schema: >>> file:/../tei/xml/tei/custom/schema/relaxng/tei_all.rng >>> >>> [ 15:42:54] - No problems found >> >> Do you get similar messages in the Oxygen Information view? >> >> >> Regards, >> >> Radu >> >> Radu Coravu >> Oxygen XML Editor >> On 2/27/23 15:34, Lou Burnard wrote: >>> I have a RELAXNG schema which contains embedded schematron rules and >>> a document which begins with two xml-model PIs like this: >>> >>> >> schematypens="http://relaxng.org/ns/structure/1.0" >>> ?> >>> >> schematypens="http://purl.oclc.org/dsdl/schematron" >>> ?> >>> >>> When I validate this document using the default CTRL-SHIFT-V option, >>> or using a predefined validation scenario, only Schematron >>> validation errors are reported. When I validate by selecting >>> "Validate with" and specifying the schema URL again, errors reported >>> by jing also appear. >>> >>> Is this the intended behaviour? Why? >>> >>> I am using XML Editor 24.1, build 2022030807 on Ubuntu 20.04 >>> >>> >>> >>> _______________________________________________ >>> oXygen-user mailing list >>> oXygen-user at oxygenxml.com >>> https://www.oxygenxml.com/mailman/listinfo/oxygen-user >> >> _______________________________________________ >> oXygen-user mailing list >> oXygen-user at oxygenxml.com >> https://www.oxygenxml.com/mailman/listinfo/oxygen-user > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > https://www.oxygenxml.com/mailman/listinfo/oxygen-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From kris at eberleinconsulting.com Mon Feb 27 12:49:26 2023 From: kris at eberleinconsulting.com (Kristen James Eberlein) Date: Mon, 27 Feb 2023 18:49:26 +0000 Subject: [oXygen-user] Oxygen connector for AEM Guides Message-ID: Do I get this from AEM or Oxygen? Best, Kris Kristen James Eberlein Chair, OASIS DITA Technical Committee Owner, Eberlein Consulting LLC kris at eberleinconsulting.com Skype: kriseberlein; voice: +1 (919) 622-1501 -------------- next part -------------- An HTML attachment was scrubbed... URL: From radu_coravu at sync.ro Mon Feb 27 22:21:43 2023 From: radu_coravu at sync.ro (Radu Coravu) Date: Tue, 28 Feb 2023 06:21:43 +0200 Subject: [oXygen-user] Oxygen connector for AEM Guides In-Reply-To: References: Message-ID: <3a10cd4e-3f72-8838-f36e-ce00fafc566e@sync.ro> Hi Kris, AEM created, maintains and distributes the connector. Regards, Radu Radu Coravu Oxygen XML Editor On 2/27/23 20:49, Kristen James Eberlein wrote: > > Do I get this from AEM or Oxygen? > > Best, > > Kris > > Kristen James Eberlein > Chair, OASIS DITA Technical Committee > Owner, Eberlein Consulting LLC > kris at eberleinconsulting.com > > Skype: kriseberlein; voice: +1 (919) 622-1501 > > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > https://www.oxygenxml.com/mailman/listinfo/oxygen-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From kris at eberleinconsulting.com Tue Feb 28 03:15:50 2023 From: kris at eberleinconsulting.com (Kristen James Eberlein) Date: Tue, 28 Feb 2023 09:15:50 +0000 Subject: [oXygen-user] Oxygen connector for AEM Guides In-Reply-To: <3a10cd4e-3f72-8838-f36e-ce00fafc566e@sync.ro> References: <3a10cd4e-3f72-8838-f36e-ce00fafc566e@sync.ro> Message-ID: Thanks, Radu. I suspected that was the case! Best, Kris Kristen James Eberlein Chair, OASIS DITA Technical Committee Owner, Eberlein Consulting LLC kris at eberleinconsulting.com Skype: kriseberlein; voice: +1 (919) 622-1501 From: oXygen-user On Behalf Of Radu Coravu Sent: Monday, February 27, 2023 11:22 PM To: oxygen-user at oxygenxml.com Subject: Re: [oXygen-user] Oxygen connector for AEM Guides Hi Kris, AEM created, maintains and distributes the connector. Regards, Radu Radu Coravu Oxygen XML Editor On 2/27/23 20:49, Kristen James Eberlein wrote: Do I get this from AEM or Oxygen? Best, Kris Kristen James Eberlein Chair, OASIS DITA Technical Committee Owner, Eberlein Consulting LLC kris at eberleinconsulting.com Skype: kriseberlein; voice: +1 (919) 622-1501 _______________________________________________ oXygen-user mailing list oXygen-user at oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user -------------- next part -------------- An HTML attachment was scrubbed... URL: