Re: [oXygen-user] copyright symbol not from Alegreya font but from Arial
If you are using DocBook, add your font name to the parameter named 'dingbat.font.family'. Bob Stayton b...@sagehill.net On 10/25/2019 3:52 AM, Bernhard Kleine wrote: Hi, I had this already solved, but after a hard disk crash I have to do it again: My text (a copyright marker on the second page after the title page) shows the symbol as arial while the proper symbol of the Alegreya font is present on the desktop. the one in the pdf the same in inkscape. Which paramater do I have to change to get the proper symbol of the font? Regards Bernhard ___ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user ___ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
[oXygen-user] Dynamic parameter in oxy_path
Dear mailinglist members. I am creating an Oxygen framework to display XML data in Oxygen XML Author's Author mode. This is part of the XML I have with two nodes in it: Aarberg, Peter von König (ca. 1300–vor 1372) hkg:orgKey="#n_123_456">Best CEO they ever had Altenburger Hofdruckerei The upper node has an atribute hkg:orgKey="#n_123_456" pointing to second element's xml:id="n_123_456". I use the following CSS to display the value of of the second element in the visual representation of the first element: affiliation:after { content: " role: " oxy_textfield( edit, "@role") " Organization ID: " oxy_textfield( edit, "@hkg:orgKey") "Organization name: " oxy_xpath( "/TEI/text/body/div/ab[@xml:id='n_123_456']/seg[@type='name']/orgName/text()" ) " " oxy_url("gfx/link_register.png"); link: attr("hkg:orgKey") } This works fine. But now I need to create the line "/TEI/text/body/div/ab[@xml:id='n_123_456']/seg[@type='name']/orgName/text()" dynamically which means: Instead of the specific value xml:id n_123_456 it should use whatever the value of the attribute @hkg:orgKey of the node is. I tried this: "/TEI/text/body/div/ab[@xml:id=@hkg:orgKey]/seg[@type='name']/orgName/text()" but it doesn't work. I also tried other variations like ab[@xml:id='@hkg:orgKey'] or ab[@xml:id=attr('hkg:orgKey')] and many more but none of them gave me the expected result. Maybe it is a syntax problem. I really hope there will be a solution to this and I would be very thankful for assistance. Any help is appreciated. I tried to send as much code as needed but of course shortened some parts not relevant in this case. If something is missing (or too much) please let me know. Thanks in advance and kind regards Christian Achter University of Bern ___ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
[oXygen-user] copyright symbol not from Alegreya font but from Arial
Hi, I had this already solved, but after a hard disk crash I have to do it again: My text (a copyright marker on the second page after the title page) shows the symbol as arial while the proper symbol of the Alegreya font is present on the desktop. the one in the pdf the same in inkscape. Which paramater do I have to change to get the proper symbol of the font? Regards Bernhard signature.asc Description: OpenPGP digital signature ___ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
Re: [oXygen-user] How to customize the default DITA topic validation scenario
Thanks, Radu. I would not want the topic validation to go looking at links to other topics, but it would be good if it found problems with links within the topic. I like to train authors to always validate every topic that they modify -- and to trust that "all is well" if validation run without errors! Thanks for adding an internal issue, and for all your hard work in supporting oXygen users and delivering such an outstanding product. Best, Kris Kristen James Eberlein Chair, OASIS DITA Technical Committee Principal consultant, Eberlein Consulting www.eberleinconsulting.com +1 919 622-1501; kriseberlein (skype) On 10/25/2019 2:49 AM, Oxygen XML Editor Support (Radu Coravu) wrote: Hi Kristen, When automatic or manual validation is performed on a DITA topic, we have about 3 validation stages, a stage in which the DTD/schema is used to check for errors, a stage in which a custom Schematron schema is used to check for errors and a stage in which a DITA specific error scanner is used to check for more errors. Our DITA specific error scanner for topics only checks for broken table layouts and for references to missing topics but it could be improved to also check for broken references to IDs in the same topic. I will add an internal issue to do this. Hypothetically the error scanner could also be improved to report links to other topics which have missing IDs but this would mean that the validation would not be fast anymore, it would need to also load those referenced topics and look into them. But for IDs located in the same topic it's no problem. For now maybe you can create a custom Schematron schema to do this extra check: https://blog.oxygenxml.com/2017/02/sharing-schematron-validation-rules.html Some time ago we created this experimental Schematron schema: OXYGEN_INSTALL_DIR\frameworks\dita\resources\dita-1.2-for-xslt2-links-checker.sch which actually looks inside the referenced topics for the IDs. It might also work for references inside the current topic. Regards, Radu Radu Coravu XML Editor http://www.oxygenxml.com On 10/24/2019 7:41 PM, Kristen James Eberlein wrote: I am cleaning up DITA source for a client. I am finding errors that are flagged by the "DITAmap Completeness Check" that are not caught by the standard DITA topic validation. In particular, if a topic contains a (broken) cross reference to another element within the same topic, the topic validation does not catch that error. Is there a way to set up a custom DITA topic validation that will catch this sort of error? Best, Kris Kristen James Eberlein Chair, OASIS DITA Technical Committee Principal consultant, Eberlein Consulting www.eberleinconsulting.com +1 919 622-1501; kriseberlein (skype) ___ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user ___ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user ___ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
Re: [oXygen-user] How to customize the default DITA topic validation scenario
Hi Kristen, When automatic or manual validation is performed on a DITA topic, we have about 3 validation stages, a stage in which the DTD/schema is used to check for errors, a stage in which a custom Schematron schema is used to check for errors and a stage in which a DITA specific error scanner is used to check for more errors. Our DITA specific error scanner for topics only checks for broken table layouts and for references to missing topics but it could be improved to also check for broken references to IDs in the same topic. I will add an internal issue to do this. Hypothetically the error scanner could also be improved to report links to other topics which have missing IDs but this would mean that the validation would not be fast anymore, it would need to also load those referenced topics and look into them. But for IDs located in the same topic it's no problem. For now maybe you can create a custom Schematron schema to do this extra check: https://blog.oxygenxml.com/2017/02/sharing-schematron-validation-rules.html Some time ago we created this experimental Schematron schema: OXYGEN_INSTALL_DIR\frameworks\dita\resources\dita-1.2-for-xslt2-links-checker.sch which actually looks inside the referenced topics for the IDs. It might also work for references inside the current topic. Regards, Radu Radu Coravu XML Editor http://www.oxygenxml.com On 10/24/2019 7:41 PM, Kristen James Eberlein wrote: I am cleaning up DITA source for a client. I am finding errors that are flagged by the "DITAmap Completeness Check" that are not caught by the standard DITA topic validation. In particular, if a topic contains a (broken) cross reference to another element within the same topic, the topic validation does not catch that error. Is there a way to set up a custom DITA topic validation that will catch this sort of error? Best, Kris Kristen James Eberlein Chair, OASIS DITA Technical Committee Principal consultant, Eberlein Consulting www.eberleinconsulting.com +1 919 622-1501; kriseberlein (skype) ___ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user ___ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user